/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-purple: #e8e0f5;
    --bg-lavender: #ddd3f0;
    --pink-light: #f9a8d4;
    --pink-medium: #f472b6;
    --pink-dark: #db2777;
    --pink-btn: #fbcfe8;
    --text-dark: #831843;
    --text-medium: #be185d;
    --blue-cute: #a8d8ea;
    --blue-dark: #7dd3fc;
    --chat-blue: #bfdbfe;
    --white: #ffffff;
    --shadow: rgba(131, 24, 67, 0.15);
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, var(--bg-purple) 0%, var(--bg-lavender) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* ===== FLOATING HEARTS ===== */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    color: #f43f5e;
    opacity: 0.4;
    animation: floatUp linear infinite;
    font-size: 20px;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1);
        opacity: 0;
    }
}

/* ===== LOCK SCREEN ===== */
.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-purple) 0%, var(--bg-lavender) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.lock-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lock-content {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 1s ease;
}

.lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--pink-dark);
    animation: heartbeat 1.5s ease-in-out infinite;
}

.lock-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(219, 39, 119, 0.3));
}

.lock-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.lock-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    font-weight: 500;
}

.countdown-box {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    min-width: 70px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}

.countdown-item span {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink-dark);
    line-height: 1;
}

.countdown-item label {
    font-size: 0.75rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    display: block;
    font-weight: 600;
}

.lock-hint {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--text-medium);
    opacity: 0.8;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content.hidden {
    display: none;
}

/* ===== PAGES ===== */
.page {
    display: none;
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 0.6s ease;
}

.page.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

/* ===== GIFT LABEL ===== */
.gift-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0.7;
}

/* ===== CARD BOX ===== */
.card-box {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    margin: 20px auto;
}

.pink-bow {
    width: 80px;
    height: 50px;
    margin: -55px auto 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.pink-bow.small {
    width: 60px;
    height: 38px;
    margin: -45px auto 10px;
}

.pink-bow svg {
    width: 100%;
    height: 100%;
}

/* ===== LANDING PAGE ===== */
.landing-decoration {
    position: relative;
    height: 0;
}

.deco-whales {
    position: absolute;
    top: -20px;
    right: -10px;
    width: 100px;
    z-index: 2;
}

.whales-svg {
    width: 100%;
    animation: gentleBob 3s ease-in-out infinite;
}

.deco-plane {
    position: absolute;
    bottom: -60px;
    left: -20px;
    width: 80px;
    z-index: 2;
}

.plane-svg {
    width: 100%;
    animation: flyPlane 4s ease-in-out infinite;
}

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

@keyframes flyPlane {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -5px) rotate(2deg); }
    50% { transform: translate(0, -8px) rotate(0deg); }
    75% { transform: translate(-5px, -3px) rotate(-2deg); }
}

.landing-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.9rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.6);
}

.landing-question {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 28px;
    font-weight: 600;
}

.button-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-pink {
    background: linear-gradient(135deg, var(--pink-btn) 0%, var(--pink-light) 100%);
    border: 2px solid var(--pink-medium);
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(244, 114, 182, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-pink:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 24px rgba(244, 114, 182, 0.4);
}

.btn-pink:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-pink-outline {
    background: transparent;
    border: 2px solid var(--pink-medium);
    color: var(--text-medium);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.btn-pink-outline:hover {
    background: var(--pink-btn);
    transform: translateY(-2px);
}

/* ===== GIFT PAGE ===== */
.gift-decoration {
    position: relative;
    height: 0;
}

.deco-bunny {
    position: absolute;
    top: 10px;
    left: -30px;
    width: 90px;
    z-index: 2;
}

.bunny-svg {
    width: 100%;
    animation: gentleBob 3.5s ease-in-out infinite;
}

.deco-mailbox {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 70px;
    z-index: 2;
}

.mailbox-svg {
    width: 100%;
    animation: gentleBob 4s ease-in-out infinite reverse;
}

.gift-heading {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.gift-sub {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--text-medium);
    margin-bottom: 28px;
    font-weight: 600;
}

.gift-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.gift-btn {
    background: linear-gradient(135deg, var(--pink-btn) 0%, #fce7f3 100%);
    border: 2px solid var(--pink-medium);
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 20px 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(244, 114, 182, 0.2);
    min-width: 100px;
}

.gift-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(244, 114, 182, 0.35);
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink-btn) 100%);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.6rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

/* ===== GIFT 1: FLOWERS ===== */
.flowers-scene {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 20px;
    position: relative;
    min-height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px var(--shadow);
}

.chat-bubble {
    background: var(--chat-blue);
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 180px;
    text-align: center;
    line-height: 1.4;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

.bubble-left {
    border-bottom-left-radius: 4px;
}

.bubble-left::after {
    left: 16px;
    border-top-color: var(--chat-blue);
    border-bottom: 0;
}

.bubble-right {
    border-bottom-right-radius: 4px;
    background: #ddd3f0;
}

.bubble-right::after {
    right: 16px;
    border-top-color: #ddd3f0;
    border-bottom: 0;
}

.bubble-1 {
    position: absolute;
    top: 20px;
    left: 10px;
}

.bubble-2 {
    position: absolute;
    top: 100px;
    left: 10px;
}

.bubble-3 {
    position: absolute;
    top: 20px;
    right: 10px;
}

.bubble-4 {
    position: absolute;
    top: 100px;
    right: 10px;
}

.bouquet-container {
    display: flex;
    justify-content: center;
    padding: 80px 0 40px;
}

.bouquet-svg {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    animation: gentleBob 4s ease-in-out infinite;
}

.deco-hamster {
    position: absolute;
    bottom: 60px;
    left: 10px;
    width: 70px;
}

.hamster-svg {
    width: 100%;
    animation: gentleBob 3s ease-in-out infinite reverse;
}

.deco-plane-small {
    position: absolute;
    top: 160px;
    right: 20px;
    width: 50px;
}

.plane-svg-small {
    width: 100%;
    animation: flyPlane 5s ease-in-out infinite;
}

.click-me-btn {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--chat-blue) 0%, #a5c4f7 100%);
    border: 2px solid #7aaef7;
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(100, 149, 237, 0.3);
    animation: gentleBob 2s ease-in-out infinite;
}

.click-me-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(100, 149, 237, 0.4);
}

/* ===== GIFT 2: REASONS ===== */
.reasons-scene {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 20px;
    position: relative;
    min-height: 520px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px var(--shadow);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.reason-card {
    background: linear-gradient(135deg, var(--pink-btn) 0%, #fce7f3 100%);
    border-radius: 16px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--pink-light);
    box-shadow: 0 4px 16px rgba(244, 114, 182, 0.15);
    position: relative;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.reason-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(244, 114, 182, 0.25);
}

.reason-card.flipped {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-color: #7aaef7;
}

.reason-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.reason-card.flipped .reason-front {
    display: none;
}

.reason-back {
    display: none;
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 600;
}

.reason-card.flipped .reason-back {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.reason-num {
    font-family: 'Pacifico', cursive;
    font-size: 1.4rem;
    color: var(--pink-medium);
    line-height: 1;
}

.reason-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.reason-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.deco-stars {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    pointer-events: none;
}

.stars-svg {
    width: 100%;
    animation: gentleBob 3s ease-in-out infinite;
}

/* ===== GIFT 3: MEMORIES ===== */
.memories-scene {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 20px;
    position: relative;
    min-height: 520px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px var(--shadow);
}

.memories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.memory-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.memory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.memory-card.featured {
    grid-column: span 2;
}

.memory-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px dashed var(--pink-light);
}

.memory-card.featured .memory-placeholder {
    aspect-ratio: 2 / 1;
}

.memory-placeholder span {
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 600;
}

.memory-caption {
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

.deco-camera {
    position: absolute;
    bottom: 70px;
    left: 10px;
    width: 70px;
}

.camera-svg {
    width: 100%;
    animation: gentleBob 3.5s ease-in-out infinite reverse;
}

/* ===== LETTER PAGE ===== */
.letter-scene {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 20px;
    position: relative;
    min-height: 520px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px var(--shadow);
}

.xoxo-text {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--pink-medium);
    text-align: right;
    padding-right: 20px;
    margin-bottom: 10px;
    transform: rotate(-5deg);
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.6);
}

.letter-paper {
    background: linear-gradient(180deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: 12px;
    padding: 24px 20px;
    max-width: 340px;
    margin: 0 auto 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.letter-lines {
    background-image: repeating-linear-gradient(
        transparent,
        transparent 27px,
        #93c5fd 27px,
        #93c5fd 28px
    );
    padding: 4px 8px;
}

.letter-text {
    font-family: 'Caveat', cursive;
    font-size: 1.35rem;
    color: var(--text-dark);
    line-height: 28px;
    font-weight: 600;
    margin: 0;
}

.letter-signature {
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem;
    color: var(--pink-dark);
    text-align: right;
    margin-top: 12px;
    line-height: 28px;
}

.deco-cat {
    position: absolute;
    bottom: 60px;
    left: 5px;
    width: 90px;
}

.cat-svg {
    width: 100%;
    animation: gentleBob 3.5s ease-in-out infinite;
}

/* ===== QR PAGE ===== */
.qr-scene {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 20px;
    position: relative;
    min-height: 480px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px var(--shadow);
    text-align: center;
}

.qr-bubble {
    display: inline-block;
    background: var(--chat-blue);
    border-radius: 16px;
    padding: 12px 24px;
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    position: relative;
}

.qr-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: var(--chat-blue);
    border-bottom: 0;
}

.qr-code-box {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.qr-placeholder {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--pink-light);
}

.qr-svg {
    width: 200px;
    height: 200px;
    display: block;
}

.qr-hint {
    font-size: 0.75rem;
    color: var(--text-medium);
    margin-top: 8px;
    font-weight: 600;
}

.deco-record {
    position: absolute;
    bottom: 20px;
    left: 15px;
    width: 80px;
}

.record-svg {
    width: 100%;
    animation: gentleBob 4s ease-in-out infinite reverse;
}

.restart-area {
    position: absolute;
    bottom: 30px;
    right: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.restart-area:hover {
    transform: scale(1.1);
}

.restart-text {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 700;
    margin-bottom: 4px;
}

.restart-heart {
    width: 45px;
    height: 55px;
    margin: 0 auto;
}

.restart-heart svg {
    width: 100%;
    height: 100%;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ===== FINAL PAGE ===== */
.final-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
}

.final-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 12px 48px var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
    max-width: 380px;
    width: 100%;
    animation: fadeInUp 0.8s ease;
}

.final-bow {
    width: 80px;
    height: 50px;
    margin: -65px auto 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.final-bow svg { width: 100%; height: 100%; }

.final-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: block;
}

.final-title {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.6);
}

.final-sub {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--text-medium);
    font-weight: 600;
    margin-bottom: 24px;
}

.final-message {
    background: linear-gradient(135deg, #fce7f3 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 8px;
}

.final-message p {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.final-stars {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 2rem;
    animation: gentleBob 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .lock-title {
        font-size: 1.7rem;
    }

    .countdown-item {
        padding: 12px 14px;
        min-width: 60px;
    }

    .countdown-item span {
        font-size: 1.6rem;
    }

    .landing-title {
        font-size: 1.5rem;
    }

    .card-box {
        padding: 30px 20px;
    }

    .gift-grid {
        flex-direction: column;
        align-items: center;
    }

    .gift-btn {
        width: 100%;
        max-width: 200px;
    }

    .chat-bubble {
        font-size: 0.75rem;
        max-width: 140px;
        padding: 8px 12px;
    }

    .bouquet-svg {
        width: 140px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .reason-card {
        min-height: 100px;
    }

    .memories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .memory-card.featured {
        grid-column: span 2;
    }

    .letter-text {
        font-size: 1.15rem;
        line-height: 28px;
    }

    .qr-svg {
        width: 160px;
        height: 160px;
    }

    .deco-whales,
    .deco-bunny,
    .deco-mailbox,
    .deco-hamster,
    .deco-cat,
    .deco-record,
    .deco-stars,
    .deco-camera {
        display: none;
    }

    .deco-plane {
        width: 50px;
        left: -5px;
    }
}

@media (min-width: 768px) {
    .card-box {
        padding: 50px 40px;
    }

    .landing-title {
        font-size: 2.3rem;
    }

    .flowers-scene,
    .reasons-scene,
    .memories-scene,
    .letter-scene,
    .qr-scene {
        padding: 40px 30px;
    }

    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .memories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .memory-card.featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .memory-card.featured .memory-placeholder {
        aspect-ratio: 1;
    }
}
