@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
overflow-y: auto;

    font-family: 'DM Sans', sans-serif;
    color: #ffffff;

    background:
        radial-gradient(circle at 15% 20%, rgba(255, 80, 160, 0.18), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(120, 80, 255, 0.18), transparent 30%),
        linear-gradient(135deg, #090510, #16091f 50%, #08040e);

    position: relative;
}

/* =========================
   BACKGROUND GLOW
========================= */

body::before {
    content: "";
    position: fixed;

    width: 500px;
    height: 500px;

    left: -250px;
    top: -250px;

    background: rgba(255, 60, 150, 0.12);

    filter: blur(100px);
    border-radius: 50%;

    animation: glowMove 8s ease-in-out infinite alternate;

    pointer-events: none;
}

body::after {
    content: "";

    position: fixed;

    width: 450px;
    height: 450px;

    right: -220px;
    bottom: -220px;

    background: rgba(100, 80, 255, 0.12);

    filter: blur(100px);
    border-radius: 50%;

    animation: glowMove2 10s ease-in-out infinite alternate;

    pointer-events: none;
}

/* =========================
   MAIN SCREEN
========================= */

.welcome-screen {

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    position: relative;

    z-index: 2;
}

/* =========================
   GLASS CARD
========================= */

.card {

    width: min(92%, 540px);

    padding: 55px 35px;

    text-align: center;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 32px;

    backdrop-filter: blur(25px);

    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    animation: cardAppear 1.2s cubic-bezier(.2,.8,.2,1);

    position: relative;

    overflow: hidden;
}

/* Light reflection */

.card::before {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    background: rgba(255, 255, 255, 0.04);

    border-radius: 50%;

    top: -150px;
    right: -100px;

    filter: blur(10px);

    pointer-events: none;
}

/* =========================
   HEART
========================= */

.heart {

    font-size: 72px;

    filter:
        drop-shadow(0 0 15px rgba(255, 70, 150, 0.6))
        drop-shadow(0 0 35px rgba(255, 70, 150, 0.3));

    animation: heartbeat 2s ease-in-out infinite;
}

/* =========================
   TEXT
========================= */

.small-text {

    margin-top: 20px;

    font-size: 14px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.55);
}

h1 {

    margin-top: 22px;

    font-family: 'Playfair Display', serif;

    font-size: clamp(42px, 9vw, 68px);

    font-weight: 600;

    line-height: 1.05;

    background:
        linear-gradient(
            120deg,
            #ffffff,
            #ffb5d8,
            #ffffff
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-size: 200% auto;

    animation: textShine 5s linear infinite;
}

h2 {

    margin-top: 15px;

    font-family: 'Playfair Display', serif;

    font-size: 28px;

    font-weight: 500;

    color: #ff91c7;

    text-shadow:
        0 0 20px rgba(255, 100, 180, 0.35);
}

.message {

    margin: 25px auto 0;

    max-width: 400px;

    font-size: 16px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.72);
}

/* =========================
   BUTTON
========================= */

button {

    margin-top: 35px;

    padding: 16px 34px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 100px;

    background:
        linear-gradient(
            135deg,
            #ff4f9a,
            #c84cff
        );

    color: white;

    font-family: 'DM Sans', sans-serif;

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 0.3px;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(255, 60, 160, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

button:hover {

    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 15px 40px rgba(255, 60, 160, 0.4);
}

button:active {

    transform: scale(0.97);
}

/* =========================
   ANIMATIONS
========================= */

@keyframes heartbeat {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes cardAppear {

    from {

        opacity: 0;

        transform:
            translateY(40px)
            scale(0.96);

        filter: blur(8px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter: blur(0);
    }
}

@keyframes textShine {

    to {
        background-position: 200% center;
    }
}

@keyframes glowMove {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(150px, 120px);
    }
}

@keyframes glowMove2 {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-120px, -100px);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .card {

        padding: 45px 24px;

        border-radius: 26px;
    }

    .heart {

        font-size: 60px;
    }

    h2 {

        font-size: 25px;
    }

    .message {

        font-size: 15px;
    }

    button {

        width: 100%;

        padding: 16px;
    }
}
/* =========================
   SCREEN SYSTEM
========================= */

.screen {

    min-height: 100vh;

    width: 100%;

    display: none;

    justify-content: center;

    align-items: center;

    padding: 30px;

    position: relative;

    z-index: 2;

    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}


.screen.active {

    display: flex;

    opacity: 1;

    transform: translateY(0);
}


/* =========================
   STORY
========================= */

.story-container {

    width: min(92%, 650px);

    text-align: center;

    padding: 30px 0;

}


.story-container h1 {

    margin-top: 12px;

}


.story-intro {

    margin-top: 20px;

    color: rgba(255,255,255,0.65);

    line-height: 1.8;

}


/* =========================
   STORY CARDS
========================= */

.story-card {

    margin-top: 22px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 20px;

    text-align: left;

    background:
        rgba(255,255,255,0.055);

    border:
        1px solid rgba(255,255,255,0.1);

    border-radius: 22px;

    backdrop-filter: blur(15px);

    transition:

        transform 0.3s ease,

        background 0.3s ease;
}


.story-card:hover {

    transform: translateX(8px);

    background:
        rgba(255,255,255,0.08);
}


.story-number {

    min-width: 55px;

    height: 55px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ff4f9a,
            #c84cff
        );

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 8px 25px
        rgba(255,70,160,0.25);
}


.story-card h3 {

    font-family:
        'Playfair Display',
        serif;

    font-size: 22px;

    font-weight: 500;
}


.story-card p {

    margin-top: 7px;

    color:
        rgba(255,255,255,0.55);

    line-height: 1.5;

    font-size: 14px;
}


/* =========================
   MOBILE STORY
========================= */

@media (max-width: 600px) {

    .screen {

        padding: 20px;
    }


    .story-card {

        padding: 18px;

        gap: 15px;
    }


    .story-number {

        min-width: 48px;

        width: 48px;

        height: 48px;
    }


    .story-card h3 {

        font-size: 19px;
    }

}
/* =========================
   MEMORIES SECTION
========================= */

.memories-container {

    width: min(92%, 850px);

    text-align: center;

    padding: 30px 0;

    max-height: 95vh;

    overflow-y: auto;

}


/* Hide scrollbar */

.memories-container::-webkit-scrollbar {

    width: 0;

}


/* =========================
   MEMORY GRID
========================= */

.memory-grid {

    margin-top: 30px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}


/* =========================
   MEMORY CARD
========================= */

.memory-card {

    background:
        rgba(255, 255, 255, 0.055);

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: 22px;

    overflow: hidden;

    backdrop-filter: blur(15px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

}


.memory-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.35);

}


/* =========================
   PHOTO PLACEHOLDER
========================= */

.photo-placeholder {

    height: 210px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 10px;

    background:

        linear-gradient(
            135deg,
            rgba(255, 79, 154, 0.12),
            rgba(200, 76, 255, 0.12)
        );

}


.photo-placeholder span {

    font-size: 45px;

    filter:
        drop-shadow(
            0 0 15px
            rgba(255, 100, 180, 0.4)
        );

}


.photo-placeholder p {

    font-size: 12px;

    letter-spacing: 2px;

    color:
        rgba(255,255,255,0.45);

}


/* =========================
   MEMORY CAPTION
========================= */

.memory-caption {

    padding: 18px;

    text-align: left;

}


.memory-caption h3 {

    font-family:
        'Playfair Display',
        serif;

    font-size: 20px;

    font-weight: 500;

}


.memory-caption p {

    margin-top: 6px;

    font-size: 13px;

    line-height: 1.5;

    color:
        rgba(255,255,255,0.5);

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .memory-grid {

        grid-template-columns:
            1fr;

        gap: 16px;

    }


    .photo-placeholder {

        height: 190px;

    }


    .memories-container {

        width: 94%;

    }

}
/* =========================
   GAME SECTION
========================= */

.game-container {

    width: min(92%, 650px);

    text-align: center;

    padding: 30px 0;

}


/* Game subtitle */

.game-subtitle {

    margin-top: 15px;

    color:
        rgba(255,255,255,0.6);

    line-height: 1.7;

}


/* =========================
   QUIZ CARD
========================= */

.quiz-card {

    margin-top: 35px;

    padding: 35px 25px;

    background:
        rgba(255,255,255,0.055);

    border:
        1px solid rgba(255,255,255,0.1);

    border-radius: 28px;

    backdrop-filter: blur(20px);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,0.3);

}


/* Question number */

.question-number {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 2px;

    color:
        #ff91c7;

}


/* Question */

.quiz-card h3 {

    margin-top: 20px;

    font-family:
        'Playfair Display',
        serif;

    font-size: 25px;

    font-weight: 500;

    line-height: 1.4;

}


/* =========================
   ANSWERS
========================= */

.answers {

    margin-top: 25px;

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.answer-button {

    width: 100%;

    margin: 0;

    padding: 15px 18px;

    text-align: left;

    border-radius: 15px;

    background:
        rgba(255,255,255,0.06);

    border:
        1px solid rgba(255,255,255,0.1);

    box-shadow: none;

    font-size: 14px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;

}


.answer-button:hover {

    transform:
        translateX(5px);

    background:
        rgba(255,255,255,0.1);

    box-shadow: none;

}


/* Selected answer */

.answer-button.selected {

    background:
        linear-gradient(
            135deg,
            rgba(255,79,154,0.35),
            rgba(200,76,255,0.35)
        );

    border-color:
        rgba(255,145,199,0.6);

}


/* =========================
   NEXT BUTTON
========================= */

.next-button {

    margin-top: 25px;

    width: 100%;

}


.next-button:disabled {

    opacity: 0.45;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


/* =========================
   SCORE
========================= */

.score-display {

    margin-top: 20px;

    font-size: 13px;

    color:
        rgba(255,255,255,0.5);

}


.score-display span {

    color:
        #ff91c7;

    font-weight: 600;

}


/* =========================
   RESULT
========================= */

.result-container {

    width: min(92%, 550px);

    text-align: center;

    padding: 45px 30px;

    background:
        rgba(255,255,255,0.055);

    border:
        1px solid rgba(255,255,255,0.1);

    border-radius: 30px;

    backdrop-filter: blur(20px);

}


.result-icon {

    font-size: 70px;

    animation:
        heartbeat 2s infinite;

}


.result-score {

    margin-top: 25px;

    font-family:
        'Playfair Display',
        serif;

    font-size: 60px;

    color:
        #ff91c7;

}


.result-score span {

    text-shadow:
        0 0 25px
        rgba(255,100,180,0.4);

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .game-container {

        width: 94%;

    }


    .quiz-card {

        padding: 28px 18px;

    }


    .quiz-card h3 {

        font-size: 22px;

    }


    .answer-button {

        padding: 14px;

    }


    .result-score {

        font-size: 52px;

    }

}
/* =========================
   GAME 2 - CATCH THE HEARTS
========================= */

.heart-game-container {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.heart-game-container h1 {
    margin-bottom: 10px;
}

.heart-game-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.game-stat {
    min-width: 130px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.game-stat span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.game-stat strong {
    font-size: 20px;
}

.heart-game-area {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;

    border-radius: 28px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 80, 150, 0.10),
            transparent 45%
        ),
        rgba(255, 255, 255, 0.035);

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.35),
        inset 0 0 40px rgba(255, 255, 255, 0.02);
}

/* START MESSAGE */

.game-start-message {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 30px;
}

.game-start-message h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin: 5px 0 10px;
}

.game-start-message p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.big-heart {
    font-size: 65px;

    animation: heartPulse 1.2s ease-in-out infinite;
}

@keyframes heartPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1);
    }
}

/* FALLING / CLICKABLE HEART */

.game-heart {
    position: absolute;

    font-size: 38px;

    cursor: pointer;

    user-select: none;

    transform: translate(-50%, -50%);

    filter:
        drop-shadow(0 0 10px rgba(255, 80, 150, 0.7));

    animation: heartFloat 1.8s ease-in-out infinite;

    transition: transform 0.15s ease;
}

.game-heart:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

@keyframes heartFloat {

    0% {
        margin-top: 0;
    }

    50% {
        margin-top: -10px;
    }

    100% {
        margin-top: 0;
    }
}

/* HEART CATCH EFFECT */

.heart-caught {
    animation: heartCaught 0.25s ease forwards;
}

@keyframes heartCaught {

    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .heart-game-container {
        padding: 5px;
    }

    .heart-game-info {
        gap: 10px;
    }

    .game-stat {
        min-width: 105px;
        padding: 10px 15px;
    }

    .heart-game-area {
        height: 400px;
        border-radius: 22px;
    }

    .game-heart {
        font-size: 34px;
    }

}
/* =========================
   SCREEN 8 - FINAL SURPRISE
========================= */

#finalScreen {
    overflow-y: auto;
    overflow-x: hidden;
    align-items: flex-start;
    box-sizing: border-box;
}

.final-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    text-align: center;
    padding: 50px 30px;
}

.final-glow {
    position: absolute;
    width: 450px;
    height: 450px;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(255, 70, 150, 0.18),
        transparent 65%
    );

    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.final-heart {
    font-size: 75px;

    margin-bottom: 15px;

    animation:
        finalHeartFloat 2.5s ease-in-out infinite,
        finalHeartGlow 2s ease-in-out infinite;
}

@keyframes finalHeartFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes finalHeartGlow {

    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 70, 150, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(255, 70, 150, 0.9));
    }
}

.final-container h1 {
    font-family: 'Playfair Display', serif;

    font-size: clamp(38px, 6vw, 68px);

    line-height: 1.15;

    margin: 10px 0 20px;
}

.final-container h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #ff6b9d,
        #c084fc,
        #ff9ac1
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}

.final-divider {
    width: 80px;
    height: 2px;

    margin: 25px auto;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 120, 180, 0.8),
        transparent
    );
}

.final-message {
    max-width: 650px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 16px;

    line-height: 1.8;
}

.final-photo {
    width: min(100%, 430px);

    margin: 30px auto;

    padding: 8px;

    border-radius: 24px;

    background: linear-gradient(
        135deg,
        rgba(255, 100, 170, 0.4),
        rgba(180, 100, 255, 0.3)
    );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);
}

.final-photo-placeholder {
    aspect-ratio: 4 / 3;

    border-radius: 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 10px;

    background: rgba(20, 15, 30, 0.9);

    color: rgba(255, 255, 255, 0.5);

    font-size: 45px;
}

.final-photo-placeholder span {
    font-size: 12px;
    letter-spacing: 2px;
}

.final-ending {
    max-width: 550px;

    margin: 30px auto 15px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 15px;

    line-height: 1.7;
}

.final-signature {
    margin-top: 25px;

    font-family: 'Playfair Display', serif;

    font-size: 22px;

    font-style: italic;

    color: rgba(255, 180, 210, 0.9);
}


/* =========================
   FINAL SCREEN MOBILE
========================= */

@media (max-width: 600px) {

    .final-container {
        padding: 40px 20px;
    }

    .final-heart {
        font-size: 60px;
    }

    .final-message {
        font-size: 14px;
    }

    .final-ending {
        font-size: 14px;
    }

    .final-photo {
        margin: 25px auto;
    }

}
/* =====================================================
   RESPONSIVE DESIGN
   MOBILE + TABLET + LAPTOP + DESKTOP
===================================================== */

/* ---------- GENERAL ---------- */

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* ---------- LARGE LAPTOP / DESKTOP ---------- */

@media (min-width: 1025px) {

    .screen {
        padding: 40px;
    }

    .card {
        width: min(90%, 600px);
    }

    .story-container,
    .memories-container,
    .game-container,
    .heart-game-container,
    .final-container {
        width: 100%;
        max-width: 950px;
    }

}


/* ---------- TABLET ---------- */

@media (min-width: 601px) and (max-width: 1024px) {

    .screen {
        padding: 30px 24px;
    }

    .card {
        width: min(90%, 600px);
    }

    .story-container,
    .memories-container,
    .game-container,
    .heart-game-container,
    .final-container {
        width: 100%;
        max-width: 800px;
    }

    .memory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .heart-game-area {
        height: 420px;
    }

    .final-container {
        padding: 40px 25px;
    }

}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        min-height: 100%;
        overflow-x: hidden;
    }

    .screen {
        width: 100%;
        min-height: 100vh;
        padding: 20px 15px;
    }

    /* Main cards */

    .card {
        width: 100%;
        max-width: 430px;
        padding: 35px 22px;
    }

    /* Headings */

    h1 {
        font-size: clamp(32px, 9vw, 45px);
        line-height: 1.15;
    }

    h2 {
        font-size: clamp(22px, 6vw, 32px);
    }

    h3 {
        line-height: 1.3;
    }

    /* Buttons */

    button {
        max-width: 100%;
        min-height: 48px;
        padding: 13px 20px;
        font-size: 14px;
    }

    /* Story */

    .story-container {
        width: 100%;
        max-width: 500px;
        padding: 10px 0 35px;
    }

    .story-card {
        width: 100%;
        padding: 18px;
        gap: 14px;
    }

    .story-number {
        flex-shrink: 0;
    }

    /* Memories */

    .memories-container {
        width: 100%;
        max-width: 500px;
        padding: 10px 0 35px;
    }

    .memory-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .memory-card {
        width: 100%;
    }

    /* Quiz */

    .game-container {
        width: 100%;
        max-width: 500px;
        padding: 10px 0 35px;
    }

    .quiz-card {
        width: 100%;
        padding: 22px 16px;
    }

    .answers {
        width: 100%;
    }

    .answer-button {
        width: 100%;
        min-height: 50px;
    }

    .next-button {
        width: 100%;
    }

    /* Game 2 */

    .heart-game-container {
        width: 100%;
        max-width: 500px;
        padding: 10px 0 35px;
    }

    .heart-game-info {
        width: 100%;
        gap: 10px;
    }

    .game-stat {
        flex: 1;
        min-width: 0;
    }

    .heart-game-area {
        width: 100%;
        height: min(65vh, 430px);
        min-height: 350px;
        border-radius: 20px;
    }

    .game-heart {
        font-size: 34px;
        touch-action: manipulation;
    }

    /* Results */

    .result-container {
        width: 100%;
        max-width: 500px;
        padding: 30px 20px;
    }

    /* Final screen */

    #finalScreen {
        min-height: 100vh;
        padding: 25px 15px 60px;
        overflow-x: hidden;
        overflow-y: auto;
        align-items: flex-start;
    }

    .final-container {
        width: 100%;
        max-width: 500px;
        padding: 25px 10px 40px;
        margin: 0 auto;
    }

    .final-heart {
        font-size: 58px;
    }

    .final-container h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .final-message {
        width: 100%;
        font-size: 14px;
        line-height: 1.75;
    }

    .final-photo {
        width: 100%;
        max-width: 370px;
    }

    .final-photo-placeholder {
        min-height: 230px;
    }

    .final-ending {
        font-size: 14px;
        line-height: 1.7;
    }

    .final-signature {
        font-size: 20px;
        padding-bottom: 20px;
    }

}


/* ---------- VERY SMALL PHONES ---------- */

@media (max-width: 380px) {

    .screen {
        padding-left: 12px;
        padding-right: 12px;
    }

    .card {
        padding: 28px 18px;
    }

    h1 {
        font-size: 30px;
    }

    .story-card {
        padding: 15px;
    }

    .heart-game-area {
        min-height: 320px;
    }

    .game-heart {
        font-size: 30px;
    }

    .final-container {
        padding-left: 5px;
        padding-right: 5px;
    }

}
/* =========================
   ORIGINAL PHOTO RATIO
========================= */

.memory-card img {
    width: 100%;
    height: auto;
    display: block;
}

.final-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}
/* =========================
   FINAL LOVE QUESTION
========================= */

.love-question {
    margin-top: 40px;
    text-align: center;
    padding: 30px;
}

.love-question h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin-bottom: 12px;
}

.love-question p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.love-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 60px;
}

.yes-button,
.no-button {
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.yes-button {
    background: #ff4f81;
    color: white;
}

.yes-button:hover {
    transform: scale(1.08);
}

.no-button {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    z-index: 100;
}

.yes-success {
    text-align: center;
    animation: loveAppear 0.6s ease;
}

.big-love {
    font-size: 4rem;
    margin-bottom: 10px;
}

@keyframes loveAppear {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {

    .love-question {
        padding: 20px 10px;
    }

    .love-question h2 {
        font-size: 1.6rem;
    }

    .love-buttons {
        gap: 12px;
    }

    .yes-button,
    .no-button {
        padding: 12px 22px;
    }
}