/* 
  ROMANTIC PINK DESIGN SYSTEM & STYLESHEET
  Theme: Romantic Pink Glassmorphism, Gentle Floating Heart Background, Mobile-Optimized
*/

:root {
    --primary-pink: #ff477e;
    --secondary-pink: #ff758c;
    --light-pink: #ffb3c1;
    --soft-bg-pink: #fff0f3;
    --deep-magenta: #a4133c;
    --gold-accent: #ffb703;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px 0 rgba(255, 105, 135, 0.25);
    --font-heading: 'Dancing Script', cursive;
    --font-sub: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #feada6 100%);
    background-attachment: fixed;
    color: #2b2b2b;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
}

/* FLOATING LOVE BACKGROUND CONTAINER (STAYS BEHIND TEXT) */
#heart-container, #confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    color: var(--primary-pink);
    user-select: none;
    pointer-events: none;
    animation: floatUpGentle 6s linear forwards;
    opacity: 0.45;
    filter: drop-shadow(0 2px 4px rgba(255, 71, 126, 0.25));
}

@keyframes floatUpGentle {
    0% {
        transform: translateY(105vh) scale(0.6) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.45;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) scale(0.9) rotate(180deg);
        opacity: 0;
    }
}

/* AUDIO PLAYER WIDGET */
.audio-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.music-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 10px 18px;
    border-radius: 30px;
    color: #4a1525;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.music-btn.playing {
    background: rgba(255, 71, 126, 0.85);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 71, 126, 0.4);
}

.music-btn.playing .music-icon {
    animation: spinMusic 3s linear infinite;
}

@keyframes spinMusic {
    100% { transform: rotate(360deg); }
}

/* GLASSMORPHISM CARD UTILITY */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--glass-shadow);
    padding: 35px 25px;
    position: relative;
    z-index: 2;
}

/* SCREEN CONTAINER & TRANSITIONS */
.screen-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.screen-container.hidden, .main-content.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

/* STAGE 1: QUIZ CARD */
.quiz-card {
    max-width: 480px;
    width: 100%;
    text-align: center;
    animation: cardAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lock-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.quiz-title {
    font-family: var(--font-heading);
    font-size: 38px;
    color: var(--deep-magenta);
    margin-bottom: 8px;
}

.quiz-subtitle {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 25px;
}

.quiz-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-label {
    font-size: 15px;
    color: #2b2b2b;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#anniversary-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    border: 2px solid rgba(255, 117, 140, 0.4);
    outline: none;
    font-family: var(--font-body);
    font-size: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

#anniversary-input:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 15px rgba(255, 71, 126, 0.3);
    background: #ffffff;
}

.btn-primary {
    background: linear-gradient(135deg, #ff477e, #ff758c);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 16px;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 71, 126, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 71, 126, 0.6);
}

.quiz-error-msg {
    color: var(--deep-magenta);
    font-size: 13px;
    font-weight: 600;
    min-height: 20px;
}

.shake {
    animation: shakeAnim 0.4s ease;
}

@keyframes shakeAnim {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-pink);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 10px;
}

/* STAGE 2: MAIN CONTENT */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 100px 20px;
    position: relative;
    z-index: 2;
    animation: fadeInMain 1s ease forwards;
}

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

/* HERO SECTION */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.75);
    color: var(--deep-magenta);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #ff477e, #ffea00, #ff758c);
    box-shadow: 0 10px 25px rgba(255, 71, 126, 0.4);
    animation: pulseRing 3s infinite ease-in-out;
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 25px rgba(255, 71, 126, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 15px 35px rgba(255, 71, 126, 0.6); }
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--deep-magenta);
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.6);
}

.hero-subtitle {
    font-family: var(--font-sub);
    font-size: 26px;
    color: #ff2a6d;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-desc {
    max-width: 650px;
    margin: 0 auto 35px auto;
    font-size: 16px;
    color: #333333;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.4);
    padding: 12px 20px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

/* RELATIONSHIP TIMER */
.timer-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.timer-card h3 {
    font-family: var(--font-sub);
    color: var(--deep-magenta);
    margin-bottom: 20px;
    font-size: 18px;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.time-box {
    background: rgba(255, 255, 255, 0.75);
    padding: 15px 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.time-box span {
    display: block;
    font-family: var(--font-sub);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-pink);
}

.time-box small {
    font-size: 12px;
    color: #555;
    font-weight: 600;
}

.timer-subtext {
    font-size: 13px;
    color: #555;
    font-style: italic;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-header h2 {
    font-family: var(--font-sub);
    font-size: 32px;
    color: var(--deep-magenta);
    margin-bottom: 8px;
}

.section-header p {
    color: #444;
    font-size: 15px;
}

/* CAKE SECTION */
.cake-section {
    margin-bottom: 80px;
    text-align: center;
}

.cake-container {
    height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.cake {
    position: relative;
    width: 220px;
    height: 180px;
}

.plate {
    width: 270px;
    height: 20px;
    background: #ffffff;
    border-radius: 20px;
    position: absolute;
    bottom: -10px;
    left: -25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.layer {
    position: absolute;
    width: 220px;
    border-radius: 16px 16px 8px 8px;
}

.layer-bottom {
    height: 60px;
    bottom: 0;
    background: #ff758c;
}

.layer-middle {
    height: 60px;
    bottom: 50px;
    background: #ffb3c1;
}

.layer-top {
    height: 60px;
    bottom: 100px;
    background: #ffe5ec;
}

.icing {
    position: absolute;
    top: 20px;
    width: 220px;
    height: 30px;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
}

.drips span {
    position: absolute;
    top: 45px;
    width: 20px;
    height: 25px;
    background: #ffffff;
    border-radius: 0 0 15px 15px;
}

.drips span:nth-child(1) { left: 10px; height: 28px; }
.drips span:nth-child(2) { left: 55px; height: 35px; }
.drips span:nth-child(3) { left: 100px; height: 22px; }
.drips span:nth-child(4) { left: 145px; height: 38px; }
.drips span:nth-child(5) { left: 185px; height: 25px; }

/* CANDLES */
.candles-wrapper {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    cursor: pointer;
    z-index: 10;
}

.candle {
    width: 14px;
    height: 50px;
    background: repeating-linear-gradient(45deg, #ff477e, #ff477e 6px, #ffffff 6px, #ffffff 12px);
    border-radius: 4px;
    position: relative;
    transition: transform 0.2s ease;
}

.candle:hover {
    transform: scale(1.1);
}

.flame {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 22px;
    background: radial-gradient(ellipse at bottom, #ffea00 0%, #ff6d00 60%, transparent 100%);
    border-radius: 50% 50% 20% 20%;
    box-shadow: 0 0 15px #ffea00, 0 0 25px #ff6d00;
    animation: flicker 0.6s infinite alternate ease-in-out;
}

@keyframes flicker {
    0% { transform: translateX(-50%) scale(1) rotate(-2deg); }
    100% { transform: translateX(-50%) scale(1.15) rotate(2deg); }
}

.candle.blown-out .flame {
    display: none;
}

.smoke {
    display: none;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 20px;
    background: rgba(200, 200, 200, 0.6);
    border-radius: 10px;
    filter: blur(3px);
}

.candle.blown-out .smoke {
    display: block;
    animation: smokeUp 1.5s forwards ease-out;
}

@keyframes smokeUp {
    0% { opacity: 0.8; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-30px) scale(2.5); }
}

.status-badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--deep-magenta);
    font-size: 14px;
}

.pulse {
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 71, 126, 0.2); }
    50% { box-shadow: 0 0 22px rgba(255, 71, 126, 0.6); }
}

/* GIFT BOX SECTION */
.gift-section {
    margin-bottom: 80px;
    text-align: center;
}

.gift-box-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.gift-box {
    position: relative;
    width: 140px;
    height: 140px;
    cursor: pointer;
    animation: bounceGift 2s infinite ease-in-out;
}

@keyframes bounceGift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

.gift-body {
    width: 140px;
    height: 110px;
    background: linear-gradient(135deg, #ff477e, #a4133c);
    border-radius: 16px;
    position: absolute;
    bottom: 0;
    box-shadow: 0 10px 25px rgba(164, 19, 60, 0.4);
}

.gift-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 100%;
    background: #ffea00;
}

.gift-lid {
    width: 152px;
    height: 35px;
    background: #ff5c8a;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: -6px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.gift-lid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 100%;
    background: #ffea00;
}

.gift-bow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 25px;
    border: 5px solid #ffea00;
    border-radius: 50% 50% 0 0;
}

.gift-box:hover {
    animation: shakeGift 0.3s ease infinite;
}

@keyframes shakeGift {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.tap-hint {
    font-size: 14px;
    color: var(--deep-magenta);
    font-weight: 600;
}

/* REASONS FLIP CARDS GRID */
.reasons-section {
    margin-bottom: 80px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.flip-card {
    background-color: transparent;
    height: 180px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 22px;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--glass-border);
}

.flip-card-front {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

.flip-card-front span {
    font-size: 32px;
    margin-bottom: 8px;
}

.flip-card-front h4 {
    font-family: var(--font-sub);
    font-size: 18px;
    color: var(--deep-magenta);
}

.flip-card-front small {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

.flip-card-back {
    background: linear-gradient(135deg, #ff477e, #ff758c);
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 25px rgba(255, 71, 126, 0.35);
}

.flip-card-back p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* POLAROID GALLERY CATEGORIES */
.gallery-section {
    margin-bottom: 80px;
}

.category-title {
    font-family: var(--font-sub);
    font-size: 22px;
    color: var(--deep-magenta);
    margin-bottom: 22px;
    padding-left: 10px;
    border-left: 4px solid var(--primary-pink);
}

.polaroid-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.polaroid-card {
    background: #ffffff;
    padding: 12px 12px 22px 12px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    width: 260px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.polaroid-card.rotate-left {
    transform: rotate(-2.5deg);
}

.polaroid-card.rotate-right {
    transform: rotate(2.5deg);
}

.polaroid-card:hover {
    transform: scale(1.06) rotate(0deg) translateY(-8px);
    box-shadow: 0 20px 35px rgba(255, 71, 126, 0.3);
    z-index: 5;
}

.polaroid-img-wrapper {
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f7;
}

.polaroid-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.polaroid-card:hover img {
    transform: scale(1.08);
}

.polaroid-caption {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #333;
    text-align: center;
    margin-top: 12px;
}

/* LIGHTBOX MODAL */
.lightbox-content {
    max-width: 700px;
    width: 92%;
    text-align: center;
    position: relative;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-img-box {
    width: 100%;
    max-height: 75vh;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: #000;
}

.lightbox-img-box img {
    width: 100%;
    height: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #ffffff;
    margin-top: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.white-btn {
    background: rgba(255, 255, 255, 0.85) !important;
    color: #111 !important;
}

/* FOOTER */
.site-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 14px;
    color: #444;
}

.copyright {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* MODAL OVERLAY & PAPER LETTER */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none !important;
    opacity: 0;
}

.glass-modal {
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 71, 126, 0.2);
    color: var(--primary-pink);
}

.letter-paper {
    background: #fffdfa;
    background-image: radial-gradient(#ffe5ec 1px, transparent 0);
    background-size: 20px 20px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03), 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.letter-stamp {
    position: absolute;
    top: 25px;
    right: 25px;
    border: 2px dashed var(--primary-pink);
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 6px;
    transform: rotate(6deg);
}

.letter-title {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--deep-magenta);
    margin-bottom: 20px;
    border-bottom: 2px dashed #ffb3c1;
    padding-bottom: 10px;
}

.letter-paragraph {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.letter-signature {
    margin-top: 30px;
    text-align: right;
}

.letter-signature p {
    font-size: 14px;
    color: #666;
}

.handwritten-sig {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--primary-pink);
    display: block;
    margin-top: 5px;
}

.hint-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
}

.hint-card h3 {
    color: var(--deep-magenta);
    font-family: var(--font-sub);
    font-size: 22px;
    margin-bottom: 15px;
}

.hint-card ul {
    text-align: left;
    margin: 15px 0 20px 25px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.hint-card code {
    background: #ffe5ec;
    color: var(--deep-magenta);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* RESPONSIVE BREAKPOINTS (MOBILE FRIENDLY) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }

    .hero-avatar {
        width: 120px;
        height: 120px;
    }

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

    .polaroid-grid {
        flex-direction: flex-wrap;
        justify-content: center;
    }

    .polaroid-card {
        width: 100%;
        max-width: 300px;
    }

    .audio-widget {
        top: 15px;
        right: 15px;
    }

    .glass-card {
        padding: 25px 18px;
    }

    .letter-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
    }

    .quiz-title {
        font-size: 30px;
    }

    .cake {
        width: 180px;
        height: 150px;
    }

    .layer {
        width: 180px;
    }

    .plate {
        width: 220px;
        left: -20px;
    }

    .candles-wrapper {
        gap: 20px;
    }

    .gift-box {
        width: 120px;
        height: 120px;
    }

    .gift-body {
        width: 120px;
        height: 95px;
    }

    .gift-lid {
        width: 132px;
    }
}
