/* ===== Base / faded pink + white theme ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(160deg, #fff5f7 0%, #ffe3ec 45%, #ffd6e8 100%);
    color: #6b4a55;
    margin: 0;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;   /* block horizontal scroll from petals, allow vertical scroll */
    position: relative;
    text-align: center;
    padding: 20px;
}

/* ===== Center card ===== */
.card {
    position: relative;
    z-index: 5;
    margin: auto;   /* centers when there's room, stays scrollable when taller than screen */
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 32px;
    padding: 48px 40px 44px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 18px 50px rgba(255, 150, 180, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: cardIn 0.8s ease-out;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Cat gif on top of the text ===== */
.cat-gif {
    width: 170px;
    height: auto;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 26px rgba(255, 140, 175, 0.35);
    animation: bob 3s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ===== The question ===== */
.question {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 2.1rem;
    line-height: 1.4;
    color: #d6648a;
    margin-bottom: 36px;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.6);
}

.subtext {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.7;
    color: #b85c7e;
    margin-bottom: 32px;
}

.heart {
    display: inline-block;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.25); }
}

/* ===== Buttons ===== */
.buttons {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    padding: 20px 46px;
    font-size: 1.45rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, font-size 0.25s ease, padding 0.25s ease, opacity 0.25s ease;
    color: #fff;
}

.btn-yes {
    background: linear-gradient(135deg, #ff8fb3, #ff5e95);
    box-shadow: 0 8px 20px rgba(255, 94, 149, 0.45);
}

.btn-yes:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 26px rgba(255, 94, 149, 0.55);
}

.btn-no {
    background: linear-gradient(135deg, #c9b8c0, #a98c98);
    box-shadow: 0 6px 16px rgba(150, 120, 135, 0.35);
}

.btn-go {
    background: linear-gradient(135deg, #ffb3d1, #ff7eb3 50%, #c89bff);
    box-shadow: 0 10px 24px rgba(255, 126, 179, 0.5);
    font-size: 1.25rem;
    padding: 18px 40px;
    animation: goPulse 1.6s ease-in-out infinite;
}

.btn-go:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 30px rgba(200, 155, 255, 0.6);
}

@keyframes goPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* ===== Confetti canvas (yes page) ===== */
.confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* ===== Date page: form fields ===== */
.card-wide {
    max-width: 620px;
}

.field {
    text-align: left;
    margin-bottom: 24px;
}

.field-label {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #b85c7e;
    margin-bottom: 10px;
    margin-left: 4px;
}

.cute-select {
    width: 100%;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    color: #6b4a55;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid #ffb3cd;
    border-radius: 18px;
    padding: 14px 18px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d6648a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cute-select:hover {
    border-color: #ff7eb3;
}

.cute-select:focus {
    outline: none;
    border-color: #ff5e95;
    box-shadow: 0 0 0 4px rgba(255, 143, 179, 0.25);
}

.cute-select optgroup {
    font-weight: 700;
    color: #d6648a;
}

.cute-select option {
    color: #6b4a55;
    font-weight: 600;
}

/* ===== Date page: confirmation box ===== */
.confirmation {
    margin-top: 26px;
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(255, 214, 232, 0.55);
    border: 2px dashed #ff9fc0;
    color: #b85c7e;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    animation: cardIn 0.4s ease-out;
}

.confirmation-ok {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ff7eb3;
    color: #d6648a;
}

.back-link {
    color: #ff5e95;
    font-weight: 700;
    text-decoration: underline;
}

.ps-note {
    margin-top: 22px;
    font-size: 0.82rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: #b89aa6;
}

/* ===== Falling sakura petals ===== */
.sakura-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -40px;
    background: radial-gradient(circle at 30% 30%, #ffd9e6, #ffb3cd);
    border-radius: 150% 0 150% 0;
    opacity: 0.85;
    will-change: transform;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(110vh) translateX(120px) rotate(540deg);
        opacity: 0.7;
    }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .question { font-size: 1.6rem; }
    .cat-gif { width: 140px; }
    .btn { padding: 16px 32px; font-size: 1.2rem; }
    .card { padding: 36px 24px 32px; }
}
