/**
 * Sarah (Sasha) Turns 24 - Soft Sunflower Yellow Design System
 * Palette:
 * - Primary: Sunflower Yellow (#FACC15 / #FBBF24)
 * - Soft Butter Cream (#FEF9C3 / #FEF08A)
 * - Warm Off-White (#FFFDF5)
 * - Warm Honey Amber (#D97706 / #CA8A04)
 * - Soft Warm Cocoa (#453528 / #574333) -> Gentle, soft contrast instead of harsh black
 * - Subtle Sage/Earthy accent (#84A98C)
 * Typography: 'Playfair Display', 'Poppins', 'Caveat'
 */

:root {
    --color-sunflower: #FACC15;
    --color-sunflower-deep: #F59E0B;
    --color-butter-light: #FEF9C3;
    --color-butter-soft: #FEF08A;
    --color-background: #FFFDF5;
    --color-background-warm: #FEFCE8;
    --color-honey-amber: #D97706;
    --color-soft-cocoa: #453528;
    --color-soft-cocoa-muted: #6B5542;
    --color-white: #FFFFFF;
    
    --sunflower-gradient: linear-gradient(135deg, #FDE047, #FBBF24);
    --honey-gradient: linear-gradient(135deg, #FACC15, #D97706);
    --butter-gradient: linear-gradient(180deg, #FFFDF5, #FEFCE8);
    --twilight-warm-gradient: linear-gradient(180deg, #382A1D, #4A3727);
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-handwritten: 'Caveat', cursive, sans-serif;
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-full: 9999px;
    --shadow-subtle: 0 4px 20px rgba(217, 119, 6, 0.08);
    --shadow-card: 0 8px 30px rgba(245, 158, 11, 0.12);
    --shadow-glow: 0 0 35px rgba(250, 204, 21, 0.35);
}

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

html, body {
    width: 100%;
    min-height: 100%;
    background-color: var(--color-background);
    color: var(--color-soft-cocoa);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Golden Sunbeams / Starlit Canvas */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FEF08A;
    border-radius: 50%;
    box-shadow: 0 0 8px #FACC15;
    animation: twinkle 3s infinite ease-in-out;
}

/* Floating Mascot Group (Spots the Cat & Toto the Car) */
.floating-mascot-group {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.floating-mascot-badge {
    background: rgba(255, 253, 245, 0.95);
    border: 1.5px solid var(--color-butter-soft);
    border-radius: var(--radius-full);
    padding: 0.45rem 0.95rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-soft-cocoa);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-mascot-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.3);
    background: #FEFCE8;
}

/* Celebration Canvas */
.celebration-canvas-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
}

/* Minimal Floating Control Layer */
.floating-control-layer {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 253, 245, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 25px rgba(69, 53, 40, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.35);
}

.btn-icon-control {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-soft-cocoa);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-icon-control:hover {
    background-color: var(--color-butter-light);
    transform: scale(1.08);
}

.floating-progress-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #E8DECE;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot.active {
    width: 18px;
    border-radius: 6px;
    background: var(--color-sunflower);
}

.progress-dot.completed {
    background: var(--color-honey-amber);
}

.stage-number-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-soft-cocoa-muted);
    margin-left: 0.25rem;
}

/* Screen Layouts & Container */
.screen-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5.5rem 1.25rem 3rem 1.25rem;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.screen-wrapper:not(.active-screen) {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.screen-wrapper.active-screen {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.screen-wrapper.exiting-screen {
    opacity: 0;
    transform: translateY(-15px);
}

/* Typography styles */
.display-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-soft-cocoa);
    letter-spacing: -0.02em;
}

.lead-subtitle {
    font-size: 1.1rem;
    color: var(--color-soft-cocoa-muted);
    line-height: 1.6;
}

.handwritten-caption {
    font-family: var(--font-handwritten);
    font-size: 1.6rem;
    color: var(--color-honey-amber);
    line-height: 1.3;
}

/* Sunflower Buttons */
.btn-dreamy-primary {
    background: var(--sunflower-gradient);
    color: #453528;
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: var(--radius-full);
    padding: 0.85rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-dreamy-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.45);
    color: #382A1D;
}

.btn-dreamy-secondary {
    background: rgba(255, 253, 245, 0.95);
    color: var(--color-soft-cocoa);
    border: 1.5px solid var(--color-butter-soft);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-dreamy-secondary:hover {
    background: var(--color-butter-light);
    color: var(--color-soft-cocoa);
    border-color: var(--color-sunflower);
    transform: translateY(-2px);
}

/* ==========================================================================
   Screen 01 — Mysterious Opening
   ========================================================================== */
#screen-1 {
    background: var(--twilight-warm-gradient);
    color: #FFFDF5;
}

.mysterious-box {
    max-width: 580px;
    width: 100%;
    text-align: center;
    padding: 3rem 1.5rem;
}

.mysterious-sparkle-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: floatGlow 3s infinite ease-in-out;
    cursor: pointer;
}

.opening-heading {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: #FFFDF5;
    margin-bottom: 1rem;
}

.opening-subtitle {
    font-size: 1.25rem;
    color: #FEF08A;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ==========================================================================
   Screen 02 — Birthday Identity
   ========================================================================== */
.identity-box {
    max-width: 640px;
    text-align: center;
}

.date-pill-badge {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    background: var(--color-butter-light);
    color: var(--color-honey-amber);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(250, 204, 21, 0.4);
}

.identity-big-number {
    font-family: var(--font-display);
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--sunflower-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    user-select: none;
    letter-spacing: -0.04em;
}

.identity-lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-soft-cocoa);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Screen 03 — Interactive Birthday Cake
   ========================================================================== */
.cake-stage-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.cake-visual-wrapper {
    position: relative;
    width: 260px;
    height: 240px;
    margin: 2rem auto;
}

.cake-tier {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 18px 18px 10px 10px;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.1);
}

.tier-bottom {
    bottom: 0;
    width: 240px;
    height: 90px;
    background: linear-gradient(180deg, #FEF9C3, #FEF08A);
    border-bottom: 8px solid #FACC15;
}

.tier-top {
    bottom: 85px;
    width: 170px;
    height: 75px;
    background: linear-gradient(180deg, #FFFDF5, #FEF9C3);
    border-bottom: 6px solid #FACC15;
}

.cake-frosting-drips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18px;
    background: radial-gradient(circle at 10px 0, #FFFFFF 10px, transparent 11px) repeat-x;
    background-size: 20px 20px;
}

.candles-group {
    position: absolute;
    bottom: 155px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 22px;
    align-items: flex-end;
}

.candle-stick {
    position: relative;
    width: 10px;
    height: 48px;
    background: repeating-linear-gradient(45deg, #FACC15, #FACC15 6px, #FFFFFF 6px, #FFFFFF 12px);
    border-radius: 4px;
}

.cake-flame {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 24px;
    background: radial-gradient(circle at 50% 80%, #FFF, #FEF08A 40%, #F59E0B 80%);
    border-radius: 50% 50% 20% 20%;
    box-shadow: 0 0 14px #FEF08A, 0 0 25px #F59E0B;
    animation: flameFlicker 1.2s infinite alternate ease-in-out;
    transform-origin: center bottom;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cake-flame.extinguished {
    opacity: 0;
    transform: translateX(-50%) scale(0.1);
    pointer-events: none;
}

.smoke-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(180, 180, 180, 0.45);
    border-radius: 50%;
    filter: blur(3px);
    animation: smokeDrift 2s forwards ease-out;
}

.mic-instruction-badge {
    background: rgba(255, 253, 245, 0.95);
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1.5px dashed var(--color-sunflower);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.wish-secured-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--color-butter-soft);
}

/* ==========================================================================
   Screen 04 — 24 Things About Sasha
   ========================================================================== */
.things-section-box {
    max-width: 1140px;
    width: 100%;
}

.things-header-wrap {
    text-align: center;
    margin-bottom: 2rem;
}

.things-progress-tracker {
    max-width: 320px;
    margin: 1rem auto 0 auto;
}

.tracker-bar-bg {
    width: 100%;
    height: 8px;
    background: #EFE6D4;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.tracker-bar-fill {
    height: 100%;
    background: var(--sunflower-gradient);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.thing-card-3d {
    perspective: 1000px;
    height: 195px;
    cursor: pointer;
    margin-bottom: 1.25rem;
    outline: none;
}

.thing-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.thing-card-3d.flipped .thing-card-inner {
    transform: rotateY(180deg);
}

.thing-card-front, .thing-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(250, 204, 21, 0.35);
}

.thing-card-front {
    background: #FFFFFF;
}

.thing-card-front .thing-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-sunflower-deep);
    line-height: 1;
}

.front-tap-hint {
    font-size: 0.75rem;
    color: var(--color-soft-cocoa-muted);
    margin-top: 0.4rem;
}

.thing-card-back {
    background: linear-gradient(135deg, #FFFDF5, #FEF9C3);
    transform: rotateY(180deg);
    text-align: left;
    justify-content: flex-start;
    overflow-y: auto;
}

.back-header {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 0.4rem;
}

.back-id {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-honey-amber);
}

.back-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-soft-cocoa);
    margin: 0;
}

.back-text {
    font-size: 0.85rem;
    color: var(--color-soft-cocoa-muted);
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   Screen 05 — Memory Lane (Travel & Polaroid Museum)
   ========================================================================== */
.gallery-section-box {
    max-width: 1200px;
    width: 100%;
}

.polaroid-scroll-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    padding: 2.5rem 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.polaroid-scroll-track::-webkit-scrollbar {
    display: none;
}

.polaroid-card {
    flex: 0 0 280px;
    background: #FFFFFF;
    padding: 1rem 1rem 1.5rem 1rem;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(69, 53, 40, 0.08);
    transform: rotate(var(--rotation, 0deg));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: center;
    user-select: none;
    border: 1px solid #F5EEDB;
}

.polaroid-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(69, 53, 40, 0.14);
    z-index: 5;
}

.polaroid-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #FEF9C3;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.polaroid-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-date {
    font-family: var(--font-handwritten);
    font-size: 1.2rem;
    color: var(--color-honey-amber);
    display: block;
}

.polaroid-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-soft-cocoa);
    margin: 0.2rem 0;
}

.polaroid-caption {
    font-size: 0.85rem;
    color: var(--color-soft-cocoa-muted);
    line-height: 1.35;
    margin: 0;
}

/* ==========================================================================
   Screen 06 — Sasha Psychology Exam
   ========================================================================== */
.quiz-section-box {
    max-width: 600px;
    width: 100%;
}

.quiz-question-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.75rem;
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--color-butter-soft);
}

.quiz-progress-bar-wrap {
    height: 6px;
    background: #EFE6D4;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: var(--color-sunflower-deep);
    transition: width 0.3s ease;
}

.quiz-q-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-honey-amber);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quiz-q-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-soft-cocoa);
    line-height: 1.4;
}

.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-opt-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #FFFEFA;
    border: 1.5px solid #EADBCC;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-soft-cocoa);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-opt-btn:hover:not(:disabled) {
    background: #FEF9C3;
    border-color: var(--color-sunflower);
    transform: translateX(4px);
}

.opt-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #D9CBBE;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.quiz-opt-btn.correct {
    background: #ECFDF5;
    border-color: #10B981;
    color: #065F46;
}

.quiz-opt-btn.correct .opt-indicator {
    background: #10B981;
    color: #FFF;
    border-color: #10B981;
}

.quiz-opt-btn.wrong {
    background: #FEF2F2;
    border-color: #EF4444;
    color: #991B1B;
}

.quiz-opt-btn.wrong .opt-indicator {
    background: #EF4444;
    color: #FFF;
    border-color: #EF4444;
}

.quiz-feedback-box {
    background: #FFFDF5;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1.5px solid var(--color-butter-soft);
    text-align: center;
}

.feedback-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-correct {
    background: #10B981;
    color: #FFF;
}

.badge-wrong {
    background: #F59E0B;
    color: #FFF;
}

.quiz-result-certificate {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    box-shadow: var(--shadow-card);
    border: 3px double var(--color-sunflower);
}

.certificate-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-honey-amber);
    letter-spacing: 0.1em;
}

.certificate-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
}

.certificate-score .score-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-sunflower-deep);
}

.certificate-stamp {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    color: var(--color-honey-amber);
    border: 2px dashed var(--color-honey-amber);
    display: inline-block;
    padding: 0.35rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    transform: rotate(-4deg);
}

/* ==========================================================================
   Screen 07 — Birthday Letter & 3D Wax Envelope
   ========================================================================== */
.letter-section-box {
    max-width: 680px;
    width: 100%;
    text-align: center;
}

.letter-envelope-wrapper {
    position: relative;
    width: 280px;
    height: 180px;
    margin: 1.5rem auto 2.5rem auto;
    cursor: pointer;
}

.envelope-body {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FEF9C3, #FEF08A);
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 140px solid transparent;
    border-right: 140px solid transparent;
    border-top: 95px solid #FDE047;
    transform-origin: top;
    transition: transform 0.6s ease;
    z-index: 3;
}

.envelope-wax-seal {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--color-honey-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 4;
    transition: transform 0.4s ease;
}

.letter-envelope-wrapper.opened .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.letter-envelope-wrapper.opened .envelope-wax-seal {
    transform: translateX(-50%) scale(0);
}

.letter-paper-card {
    background: #FFFEFB;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 45px rgba(69, 53, 40, 0.08);
    border: 1px solid #EFE4D2;
    text-align: left;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.letter-paper-card.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.letter-heading-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-soft-cocoa);
    margin-bottom: 1.5rem;
}

.letter-para {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-soft-cocoa-muted);
    margin-bottom: 1.25rem;
}

.letter-signature-text {
    font-family: var(--font-handwritten);
    font-size: 2rem;
    color: var(--color-honey-amber);
    margin-top: 2rem;
    text-align: right;
}

/* ==========================================================================
   Screen 08 — Suspense Transition
   ========================================================================== */
#screen-8 {
    background: var(--twilight-warm-gradient);
    color: #FFFDF5;
}

.suspense-box {
    max-width: 580px;
    text-align: center;
}

.suspense-line {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: #FFFDF5;
    margin-bottom: 1.5rem;
    transition: opacity 0.6s ease;
}

/* ==========================================================================
   Screen 09 — Final Surprise Gift Box
   ========================================================================== */
.surprise-stage-box {
    max-width: 640px;
    width: 100%;
    text-align: center;
}

.interactive-gift-box {
    position: relative;
    width: 200px;
    height: 180px;
    margin: 2rem auto;
    cursor: pointer;
}

.gift-box-base {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 140px;
    background: var(--sunflower-gradient);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(250, 204, 21, 0.35);
}

.gift-ribbon-v {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 100%;
    background: #D97706;
}

.gift-box-lid {
    position: absolute;
    top: 25px;
    left: -10px;
    width: 220px;
    height: 38px;
    background: #FACC15;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gift-bow {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
}

.interactive-gift-box.opened .gift-box-lid {
    transform: translateY(-80px) rotate(-15deg);
    opacity: 0.8;
}

.gift-light-burst {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(254, 240, 138, 0.85) 0%, rgba(250, 204, 21, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.gift-light-burst.active {
    transform: translate(-50%, -50%) scale(1.8);
}

.surprise-reveal-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.8rem;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--color-butter-soft);
}

.surprise-card-badge {
    background: var(--sunflower-gradient);
    color: #453528;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    display: inline-block;
    letter-spacing: 0.05em;
}

.surprise-card-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-soft-cocoa);
}

/* ==========================================================================
   Screen 10 — Grand Celebration & Finale
   ========================================================================== */
#screen-10 {
    background: radial-gradient(circle at center, #4A3727 0%, #2A1E14 100%);
    color: #FFFDF5;
}

.celebration-stage-box {
    max-width: 720px;
    width: 100%;
    text-align: center;
}

.cinematic-seq-line {
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: #FEF08A;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.celebration-finale-card {
    background: rgba(255, 253, 245, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    border: 1px solid rgba(254, 240, 138, 0.3);
    box-shadow: var(--shadow-glow);
}

.grand-heading {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--sunflower-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.celebration-sub1 {
    font-size: 1.5rem;
    color: #FFFDF5;
    font-weight: 600;
}

.celebration-sub2 {
    font-size: 1.2rem;
    color: #FEF08A;
    margin-bottom: 2rem;
}

/* Easter Egg Toast Container */
.easter-egg-toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.easter-egg-toast {
    background: rgba(56, 42, 29, 0.95);
    color: #FFFDF5;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--color-sunflower);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer Easter Egg */
.site-footer {
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-soft-cocoa-muted);
    z-index: 10;
}

.dev-heart-trigger {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s ease;
}

.dev-heart-trigger:hover {
    transform: scale(1.3);
}

.soap-easter-trigger,
.periplus-easter-trigger,
.running-easter-trigger,
.cycling-easter-trigger,
.yellow-easter-trigger,
.psychology-easter-trigger,
.spots-cameo-trigger,
.toto-cameo-trigger {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s ease;
}

.soap-easter-trigger:hover,
.periplus-easter-trigger:hover,
.running-easter-trigger:hover,
.cycling-easter-trigger:hover,
.yellow-easter-trigger:hover,
.psychology-easter-trigger:hover {
    transform: scale(1.25);
}

/* ==========================================================================
   Secret Code Access Gate
   ========================================================================== */
.secret-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #FFFDF5 0%, #FEF9C3 100%);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.secret-gate-overlay.gate-unlock-exit {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.secret-gate-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 3rem 2.2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 16px 45px rgba(245, 158, 11, 0.15);
    border: 2px solid var(--color-butter-soft);
    position: relative;
    z-index: 2;
}

.secret-gate-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(250, 204, 21, 0.3));
}

.secret-gate-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-soft-cocoa);
    margin-bottom: 0.5rem;
}

.secret-gate-subtitle {
    font-size: 0.95rem;
    color: var(--color-soft-cocoa-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.secret-gate-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-soft-cocoa);
    margin-bottom: 0.4rem;
    display: block;
}

.secret-gate-input {
    background: #FFFDF5;
    border: 1.5px solid #EADBCC;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    color: var(--color-soft-cocoa);
    transition: all 0.2s ease;
    box-shadow: none;
}

.secret-gate-input:focus {
    background: #FFFFFF;
    border-color: var(--color-sunflower);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.25);
    outline: none;
}

.secret-gate-feedback {
    min-height: 2.5rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.birthday-experience-hidden {
    display: none !important;
}
