/* ============================================
   DICLE'S 22ND BIRTHDAY — COMPLETE STYLESHEET
   ============================================ */

/* ── VARIABLES ── */
:root {
    --bg:         #060312;
    --bg-s:       #09041c;
    --bg-card:    rgba(18, 12, 45, 0.72);
    --purple:     #8b5cf6;
    --purple-lt:  #c084fc;
    --purple-dk:  #4c1d95;
    --pink:       #ec4899;
    --pink-lt:    #f472b6;
    --orange:     #f97316;
    --gold:       #eab308;
    --teal:       #38bdf8;
    --green:      #22c55e;
    --red:        #ef4444;
    --text:       #f8fafc;
    --muted:      #94a3b8;
    --glass:      rgba(139,92,246,.18);
    --glow-p:     0 0 28px rgba(139,92,246,.5);
    --glow-k:     0 0 28px rgba(236,72,153,.5);
    --ease:       cubic-bezier(0.16, 1, 0.3, 1);
    --font-h:     'Cinzel', serif;
    --font-hand:  'Caveat', cursive;
    --font-b:     'Outfit', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--font-b); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; background: none; }
code { font-family: monospace; font-size: .88em; color: var(--purple-lt); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020109; }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,.6); }

/* ── CANVASES ── */
#particle-canvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .65; }
#confetti-canvas  { position: fixed; inset: 0; z-index: 200; pointer-events: none; }

/* ── FLOATING DECOR ── */
.floating-decor {
    position: fixed;
    left: var(--dx); top: var(--dy);
    font-size: 1.8rem; pointer-events: none; z-index: 2;
    opacity: .12; user-select: none;
    animation: floatLoop var(--spd) ease-in-out infinite alternate;
    transform: scale(var(--sc));
    will-change: transform;
}
@keyframes floatLoop {
    0%   { transform: translate(0,0) scale(var(--sc)) rotate(0deg); }
    50%  { transform: translate(22px,-40px) scale(calc(var(--sc)*1.1)) rotate(7deg); }
    100% { transform: translate(-15px,25px) scale(calc(var(--sc)*.9)) rotate(-7deg); }
}



/* ── SCROLL REVEAL ── */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-fade {
    opacity: 0; transition: opacity .75s ease, transform .75s var(--ease);
}
.reveal       { transform: translateY(30px); }
.reveal-up    { transform: translateY(45px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-fade  { transform: none; }
.reveal.visible, .reveal-up.visible, .reveal-left.visible,
.reveal-right.visible, .reveal-fade.visible { opacity: 1; transform: none; }

/* ── SHARED SECTION ── */
main { position: relative; z-index: 10; }
section { min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 90px 24px; position: relative; }
.section-container { width: 100%; max-width: 1100px; display: flex; flex-direction: column; align-items: center; gap: 52px; }
.section-header { text-align: center; max-width: 700px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.section-tag { font-size: .78rem; font-weight: 800; letter-spacing: 3.5px; text-transform: uppercase; color: var(--pink); }
.section-title {
    font-family: var(--font-h); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 20%, var(--purple-lt) 60%, var(--pink));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.section-desc em { color: rgba(139,92,246,.7); font-style: normal; font-size: .88em; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero-section {
    overflow: hidden; text-align: center; position: relative;
    background: radial-gradient(ellipse 80% 65% at 50% 40%, rgba(139,92,246,.14) 0%, rgba(236,72,153,.05) 55%, transparent 100%);
}
.hero-bg-glow {
    position: absolute; inset: -50%; z-index: 0; pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(139,92,246,.09) 0%, transparent 60%);
    animation: glowPulse 9s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes glowPulse { 0% { transform: scale(1); } 100% { transform: scale(1.4) rotate(4deg); } }

.hero-content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 28px; max-width: 860px; }

.badge-wrap { animation: badgeFloat 3s ease-in-out infinite alternate; will-change: transform; }
@keyframes badgeFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }
.birthday-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    padding: 8px 26px; border-radius: 30px; font-size: .82rem; font-weight: 800; letter-spacing: 2.5px;
    border: 1px solid rgba(255,255,255,.15); box-shadow: var(--glow-p);
}

.hero-title { font-family: var(--font-h); display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.ht-line-1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--purple-lt));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    opacity: 0; animation: slideUp .8s var(--ease) .2s forwards;
}
.ht-line-2 {
    font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700;
    background: linear-gradient(135deg, var(--purple-lt), var(--pink-lt));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    opacity: 0; animation: slideUp .8s var(--ease) .4s forwards;
}
.ht-line-3 {
    font-size: clamp(4.5rem, 12vw, 8.5rem); font-weight: 900; letter-spacing: 6px;
    background: linear-gradient(135deg, var(--purple) 10%, var(--pink) 50%, var(--orange) 90%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(139,92,246,.3));
    opacity: 0; animation: slideUp .85s var(--ease) .65s forwards;
}
@keyframes slideUp { from { opacity:0; transform: translateY(35px); } to { opacity:1; transform: translateY(0); } }

.hero-subtitle { font-size: 1.2rem; color: var(--muted); line-height: 1.8; max-width: 580px; opacity: 0; animation: fadeIn .8s ease 1.1s forwards; }
@keyframes fadeIn { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform: translateY(0); } }

.scroll-hint {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--muted); font-size: .88rem; font-weight: 600; letter-spacing: 1px;
    transition: color .3s ease; margin-top: 14px;
    opacity: 0; animation: fadeIn .8s ease 1.4s forwards;
}
.scroll-hint:hover { color: var(--pink-lt); }
.scroll-hint i { font-size: 1.1rem; color: var(--purple-lt); }
.bounce-arrow { animation: bounceY 2s ease-in-out infinite; will-change: transform; }
@keyframes bounceY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Orbit rings removed — they spin 24/7 and drain CPU for barely-visible decoration */
.orbit { display: none; }
@keyframes spinOrbit { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════
   CAKE & CANDLES
   ══════════════════════════════════════════ */
.cake-section { background: radial-gradient(ellipse at center, rgba(30,15,70,.5) 0%, transparent 65%); }
.candle-counter {
    background: rgba(18,12,45,.9); border: 1px solid rgba(139,92,246,.4);
    padding: 10px 30px; border-radius: 30px;
    font-weight: 800; font-size: 1.1rem; box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
#candle-count-display { color: var(--pink); text-shadow: var(--glow-k); font-size: 1.3rem; }
.cake-scene { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.candles-row { position: relative; width: 100%; height: 80px; margin-bottom: -8px; z-index: 20; }

/* Individual candle */
.candle {
    position: absolute; bottom: 0; width: 9px;
    border-radius: 4px 4px 2px 2px; cursor: pointer;
    transform-origin: bottom center;
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
    transition: filter .8s ease;
}
.candle:hover:not(.extinguished):not(.blowing-out) { transform: scale(1.2) translateY(-3px); }
.candle::before {
    content: ''; position: absolute; top: -6px; left: 3px;
    width: 2px; height: 7px; background: #475569; border-radius: 1px;
    transition: background .5s ease, height .3s ease;
}
.candle.extinguished::before { background: #1e293b; height: 5px; top: -5px; }

/* Flame */
.flame {
    position: absolute; top: -22px; left: -3px; width: 15px; height: 20px;
    background: radial-gradient(circle at 50% 75%, #fff 5%, var(--gold) 30%, var(--orange) 65%, transparent 100%);
    border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
    box-shadow: 0 0 10px var(--orange), 0 0 22px var(--gold);
    animation: flameFlicker 1.4s ease-in-out infinite alternate;
    transform-origin: bottom center; will-change: transform, opacity;
}
@keyframes flameFlicker {
    0%   { transform: scale(1) rotate(-2deg); opacity: .92; }
    50%  { transform: scale(1.06) rotate(1.5deg); opacity: 1; }
    100% { transform: scale(.96) rotate(-1.5deg); opacity: .9; }
}

/* ── BLOW-OUT ANIMATION ── */
@keyframes blowOut {
    0%   { transform: scale(1) rotate(-2deg); opacity: 1; }
    12%  { transform: scale(1.6, 0.5) skewX(-20deg) rotate(8deg); opacity: 1; }
    28%  { transform: scale(0.5, 1.5) rotate(-8deg); opacity: .85; }
    48%  { transform: scale(0.35) rotate(5deg); opacity: .5; }
    70%  { transform: scale(0.12) rotate(-2deg); opacity: .2; }
    100% { transform: scale(0); opacity: 0; }
}
.candle.blowing-out .flame {
    animation: blowOut .68s ease-out forwards !important;
    animation-iteration-count: 1 !important;
}
.candle.extinguished .flame { opacity: 0; transform: scale(0); pointer-events: none; animation: none !important; }
.candle.extinguished { filter: brightness(.5) saturate(.2) sepia(.4); }

/* Sparks */
@keyframes sparkFly {
    0%   { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--sx), var(--sy)) scale(0); opacity: 0; }
}
.spark {
    position: absolute; top: -18px; left: 4px;
    width: 5px; height: 5px; border-radius: 50%;
    pointer-events: none; z-index: 30;
    animation: sparkFly .5s ease-out forwards;
}

/* Smoke */
@keyframes smokePuff {
    0%   { transform: translateY(0) scale(1); opacity: .55; }
    60%  { transform: translateY(-22px) scale(3.5) translateX(2px); opacity: .25; }
    100% { transform: translateY(-44px) scale(7) translateX(-4px); opacity: 0; }
}
.smoke {
    position: absolute; top: -24px; left: 2px; width: 5px; height: 5px;
    background: rgba(203,213,225,.5); border-radius: 50%; pointer-events: none;
    animation: smokePuff 1s ease-out forwards;
}

#cake-svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); }

/* ══════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════ */
.gallery-section { background: radial-gradient(ellipse at top, rgba(139,92,246,.1) 0%, transparent 55%); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; width: 100%; }
.gallery-item {
    position: relative; border-radius: 18px; overflow: hidden;
    aspect-ratio: 4/3; cursor: zoom-in;
    border: 1px solid var(--glass); box-shadow: 0 8px 24px rgba(0,0,0,.35);
    transition: transform .38s var(--ease), box-shadow .38s ease, border-color .38s ease;
    opacity: 0; transform: translateY(28px);
}
.gallery-item.visible { opacity: 1; transform: translateY(0); }
.gallery-item:hover { transform: scale(1.04) translateY(-4px); box-shadow: 0 18px 40px rgba(139,92,246,.25), var(--glow-p); border-color: rgba(139,92,246,.45); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }

.photo-fallback {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    font-size: 2.8rem; color: rgba(255,255,255,.8); pointer-events: none;
}
.photo-fallback span { font-size: .85rem; font-weight: 600; letter-spacing: 1px; opacity: .85; }

.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px 16px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.78));
    color: #fff; font-size: .9rem; font-weight: 500;
    transform: translateY(5px); opacity: 0; transition: all .32s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }

/* Hover zoom-in icon overlay */
.gallery-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; background: rgba(0,0,0,.15); }
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-zoom i { font-size: 2rem; color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }

/* ── LIGHTBOX ── */
.lightbox {
    position: fixed; inset: 0; z-index: 500;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: all; }
.lb-overlay { position: absolute; inset: 0; background: rgba(2,1,9,.94); backdrop-filter: blur(6px); cursor: pointer; }
.lb-box {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    align-items: center; gap: 14px; max-width: 88vw; max-height: 90vh;
    animation: lbZoomIn .35s var(--ease);
}
@keyframes lbZoomIn { from { transform: scale(.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lb-img-wrap { max-width: 100%; max-height: 76vh; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.65); }
.lb-img-wrap img { max-width: 100%; max-height: 76vh; object-fit: contain; display: block; }
.lb-fallback {
    width: 600px; max-width: 80vw; height: 420px; max-height: 60vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; font-size: 3rem; border-radius: 14px;
}
.lb-caption { color: rgba(255,255,255,.82); font-size: 1rem; text-align: center; max-width: 540px; font-weight: 500; }
.lb-close {
    position: absolute; top: -46px; right: 0;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    color: #fff; width: 38px; height: 38px; border-radius: 50%;
    font-size: 1rem; display: flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.lb-close:hover { background: rgba(236,72,153,.4); border-color: var(--pink); transform: scale(1.1); }

/* ══════════════════════════════════════════
   VIDEO SECTION
   ══════════════════════════════════════════ */
.video-section { background: radial-gradient(ellipse at center, rgba(20,10,55,.5) 0%, transparent 62%); }
.video-wrapper {
    width: 100%; max-width: 720px; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--glass); box-shadow: 0 20px 55px rgba(0,0,0,.5), var(--glow-p);
    background: var(--bg-card); backdrop-filter: blur(14px);
    position: relative;
}
.video-cover {
    padding: 72px 48px; display: flex; flex-direction: column;
    align-items: center; gap: 24px; text-align: center;
    background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(236,72,153,.09));
}
.video-gift-icon { font-size: 4.2rem; animation: giftBounce 1.8s ease-in-out infinite alternate; will-change: transform; }
@keyframes giftBounce { 0% { transform: scale(1) rotate(-5deg); } 100% { transform: scale(1.12) rotate(5deg); } }
.video-cover-title { font-family: var(--font-h); font-size: 1.45rem; font-weight: 700; letter-spacing: .5px; }
.video-cover-sub { color: var(--muted); font-size: 1rem; }
.video-open-btn {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff; font-size: 1.08rem; font-weight: 800;
    padding: 14px 40px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,.15); box-shadow: var(--glow-p);
    transition: all .35s var(--ease); display: flex; align-items: center; gap: 10px;
}
.video-open-btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: var(--glow-k); }
#video-player { width: 100%; display: block; background: #000; }

/* ── VİDEO KİLİT KAPLAĞI ── */
.video-lock-overlay {
    position: absolute; inset: 0; z-index: 20;
    background: rgba(6, 3, 18, 0.88);
    backdrop-filter: blur(14px);
    display: flex; align-items: center; justify-content: center;
    border-radius: inherit;
    transition: opacity .8s ease, transform .8s var(--ease), visibility .8s ease;
}
.video-lock-overlay.unlocked {
    opacity: 0;
    transform: scale(1.06);
    visibility: hidden;
    pointer-events: none;
}
.vlo-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 18px; text-align: center; padding: 40px 36px; max-width: 400px;
}
.vlo-lock-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(139, 92, 246, 0.14);
    border: 1.5px solid rgba(139, 92, 246, 0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--purple-lt);
    animation: lockPulse 2.2s ease-in-out infinite alternate;
}
@keyframes lockPulse {
    0%   { transform: scale(1);    box-shadow: 0 0 0  rgba(139,92,246,.2); }
    100% { transform: scale(1.1);  box-shadow: var(--glow-p); }
}
.vlo-title {
    font-family: var(--font-h); font-size: 1.5rem; font-weight: 900; letter-spacing: .5px;
}
.vlo-desc { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.vlo-progress-track {
    width: 220px; height: 6px;
    background: rgba(139, 92, 246, 0.15); border-radius: 3px; overflow: hidden;
}
.vlo-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border-radius: 3px;
    transition: width .45s var(--ease);
    box-shadow: 0 0 8px rgba(236, 72, 153, .5);
}
.vlo-progress-label {
    font-size: .82rem; font-weight: 700; color: var(--muted);
}

/* ══════════════════════════════════════════
   MESSAGES WALL
   ══════════════════════════════════════════ */
.messages-section { background: radial-gradient(ellipse at bottom, rgba(236,72,153,.08) 0%, transparent 58%); }
.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 32px;
    width: 100%;
    align-items: stretch;
}
.message-card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px 26px; border-radius: 4px;
    position: relative; cursor: default;
    box-shadow: 5px 7px 22px rgba(0,0,0,.38), 1px 1px 0 rgba(255,255,255,.08) inset;
    transition: transform .38s var(--ease), box-shadow .38s ease;
    opacity: 0; transform: translateY(28px);
}
.message-card.visible { opacity: 1; transform: translateY(0) rotate(var(--card-rot)); }
.message-card:hover {
    transform: translateY(-7px) rotate(calc(var(--card-rot) * 0.5)) scale(1.03) !important;
    box-shadow: 7px 12px 32px rgba(0,0,0,.42); z-index: 5;
}
/* Folded corner */
.message-card::after {
    content: '';
    position: absolute; bottom: 0; right: 0;
    width: 28px; height: 28px;
    background: linear-gradient(225deg, rgba(0,0,0,.18) 50%, transparent 50%);
}
/* Pin at top */
.message-card::before {
    content: '📌'; position: absolute; top: -16px; left: 50%;
    transform: translateX(-50%); font-size: 1.5rem;
}
.msg-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.msg-emoji { font-size: 1.6rem; }
.msg-meta { display: flex; flex-direction: column; }
.msg-name { font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: #1e293b; }
.msg-role { font-size: .78rem; color: #475569; font-weight: 600; }
.msg-text { font-family: var(--font-hand); font-size: 1.18rem; line-height: 1.72; color: #1e293b; }



/* ══════════════════════════════════════════
   QUIZ
   ══════════════════════════════════════════ */
.quiz-section { background: radial-gradient(ellipse at center, rgba(99,102,241,.1) 0%, transparent 62%); }
.quiz-card {
    width: 100%; max-width: 680px;
    background: var(--bg-card); backdrop-filter: blur(16px);
    border: 1px solid var(--glass); border-radius: 24px;
    padding: 50px 46px;
    box-shadow: 0 20px 55px rgba(0,0,0,.4);
}
.quiz-screen { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

/* Start */
.quiz-start-icon { font-size: 3.8rem; animation: bounceY 1.8s ease-in-out infinite; }
.quiz-screen-title { font-family: var(--font-h); font-size: 1.75rem; font-weight: 900; }
.quiz-screen-sub { color: var(--muted); font-size: 1rem; }
.quiz-primary-btn {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff; font-size: 1.12rem; font-weight: 800;
    padding: 14px 48px; border-radius: 50px;
    box-shadow: var(--glow-p); transition: all .35s var(--ease); letter-spacing: .5px;
}
.quiz-primary-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--glow-k); }

/* Question screen (override text-align) */
#quiz-question-screen { align-items: flex-start; text-align: left; width: 100%; }
.quiz-progress-bar { width: 100%; height: 6px; background: rgba(139,92,246,.18); border-radius: 3px; overflow: hidden; }
.quiz-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: 3px; transition: width .55s var(--ease); box-shadow: 0 0 8px rgba(236,72,153,.5); }
.quiz-meta { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.quiz-q-num { font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.quiz-score-live { font-size: .85rem; font-weight: 700; color: var(--gold); }
.quiz-question-text { font-family: var(--font-h); font-size: 1.32rem; font-weight: 700; line-height: 1.45; width: 100%; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.quiz-option {
    background: rgba(139,92,246,.07); border: 1.5px solid rgba(139,92,246,.22);
    border-radius: 14px; padding: 14px 18px; font-size: 1rem; font-weight: 600; color: var(--text);
    text-align: left; transition: all .3s var(--ease); display: flex; align-items: center; gap: 10px;
}
.quiz-option:hover:not(:disabled) { background: rgba(139,92,246,.16); border-color: var(--purple-lt); transform: translateY(-2px); }
.quiz-option:disabled { cursor: default; }
.quiz-option.correct { background: rgba(34,197,94,.15) !important; border-color: var(--green) !important; color: #86efac !important; }
.quiz-option.wrong   { background: rgba(239,68,68,.15) !important; border-color: var(--red) !important; color: #fca5a5 !important; }
.option-letter {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    background: rgba(139,92,246,.2); display: flex; align-items: center; justify-content: center;
    font-size: .82rem; font-weight: 800;
}
.quiz-option.correct .option-letter { background: rgba(34,197,94,.35); }
.quiz-option.wrong   .option-letter { background: rgba(239,68,68,.35); }
.quiz-next-btn {
    align-self: flex-end; background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff; font-size: 1rem; font-weight: 700;
    padding: 12px 34px; border-radius: 50px;
    box-shadow: var(--glow-p); transition: all .3s var(--ease);
}
.quiz-next-btn:hover { transform: translateY(-2px); box-shadow: var(--glow-k); }

/* Result */
.quiz-result-emoji { font-size: 5rem; animation: popIn .65s var(--ease); }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.quiz-result-title { font-family: var(--font-h); font-size: 1.8rem; font-weight: 900; }
.quiz-final-score {
    font-family: var(--font-h); font-size: 3.5rem; font-weight: 900;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.quiz-max-score { font-size: 1.8rem; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.quiz-result-msg { color: var(--muted); font-size: 1.05rem; max-width: 380px; line-height: 1.65; }
.quiz-retry-btn {
    background: transparent; border: 2px solid var(--purple); color: var(--purple-lt);
    font-size: 1rem; font-weight: 700; padding: 12px 32px; border-radius: 50px;
    transition: all .3s var(--ease);
}
.quiz-retry-btn:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }

/* ══════════════════════════════════════════
   CLOSING / FINAL
   ══════════════════════════════════════════ */
.closing-section {
    min-height: 100vh; position: relative; overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(139,92,246,.18) 0%, rgba(236,72,153,.07) 40%, transparent 70%);
}
.closing-glow { position: absolute; inset: -30%; z-index: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(139,92,246,.07) 0%, transparent 60%); animation: glowPulse 10s ease-in-out infinite alternate; will-change: transform; }
.closing-content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; max-width: 700px; }
.closing-icon { font-size: 5.5rem; }
.closing-title {
    font-family: var(--font-h); font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.3; letter-spacing: .5px;
    background: linear-gradient(135deg, #fff 20%, var(--purple-lt) 60%, var(--pink));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.closing-sig { font-family: var(--font-hand); font-size: 1.6rem; color: var(--purple-lt); }
.sibling-counter {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--bg-card); backdrop-filter: blur(14px);
    border: 1px solid var(--glass); border-radius: 22px;
    padding: 26px 56px; box-shadow: var(--glow-p);
}
.counter-num {
    font-family: var(--font-h); font-size: 3.8rem; font-weight: 900;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.counter-label { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 1px; }
.confetti-btn {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff; font-size: 1.12rem; font-weight: 800;
    padding: 16px 48px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,.15); box-shadow: var(--glow-p);
    transition: all .35s var(--ease); letter-spacing: .5px;
    animation: btnPulse 2.5s infinite;
}
.confetti-btn:hover { transform: translateY(-4px) scale(1.06); box-shadow: var(--glow-k); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer { background: #020109; border-top: 1px solid rgba(139,92,246,.1); padding: 36px 20px; text-align: center; position: relative; z-index: 10; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer-inner p { font-weight: 600; color: #cbd5e1; }
.footer-sub { font-size: .8rem; color: #475569; font-weight: 400; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
    .ht-line-3 { letter-spacing: 2px; }
    .quiz-card { padding: 36px 28px; }
    .quiz-options { grid-template-columns: 1fr; }
    .orbit { display: none; }
}
@media (max-width: 600px) {
    section { padding: 70px 16px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .messages-grid { grid-template-columns: 1fr; }
    .quiz-card { padding: 28px 20px; }
    .quiz-question-text { font-size: 1.15rem; }
    .sibling-counter { padding: 20px 34px; }
    .counter-num { font-size: 2.9rem; }
    .confetti-btn { padding: 14px 32px; font-size: 1rem; }
    .ht-line-3 { letter-spacing: 0; }
    .video-cover { padding: 50px 24px; }
}
