@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@200;300;400;500&display=swap');

:root {
    --bg-primary: #faf7f4;
    --bg-secondary: #f0e9e2;
    --bg-dark: #3d2e25;
    --text-primary: #4a3b32;
    --text-secondary: #8a7568;
    --text-accent: #7a5c4d;
    --gold-soft: #c9a87c;
    --warm-glow: rgba(201, 168, 124, 0.15);
    --shadow-soft: rgba(122, 92, 77, 0.08);
    --shadow-medium: rgba(122, 92, 77, 0.15);
    --blur-bg: rgba(255, 255, 255, 0.45);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.8;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* ==================== PARTICLES ==================== */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ==================== SECTION NAV DOTS ==================== */
.section-nav {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-nav.visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    cursor: pointer;
    padding: 4px 0;
    -webkit-tap-highlight-color: transparent;
}

.nav-dot span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.35;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(201, 168, 124, 0);
}

.nav-dot.active span {
    width: 10px;
    height: 10px;
    background: var(--gold-soft);
    opacity: 1;
    box-shadow: 0 0 12px rgba(201, 168, 124, 0.4);
}

.nav-dot:hover span {
    opacity: 0.8;
    transform: scale(1.3);
}

/* Tooltip label */
.nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 12px);
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(201, 168, 124, 0.15);
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.nav-dot:hover::before,
.nav-dot:active::before {
    opacity: 1;
    transform: translateX(0);
}

/* Dark section adjustments */
.section-nav.on-dark .nav-dot span {
    background: rgba(248, 245, 242, 0.5);
}

.section-nav.on-dark .nav-dot.active span {
    background: var(--gold-soft);
}

.section-nav.on-dark .nav-dot::before {
    background: rgba(61, 46, 37, 0.7);
    color: rgba(248, 245, 242, 0.7);
    border-color: rgba(201, 168, 124, 0.2);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .section-nav {
        right: 10px;
        gap: 12px;
    }
    .nav-dot span {
        width: 7px;
        height: 7px;
    }
    .nav-dot.active span {
        width: 9px;
        height: 9px;
    }
    .nav-dot::before {
        font-size: 0.58rem;
        padding: 3px 8px;
    }
}

/* ==================== MUSIC TOGGLE ==================== */
.music-toggle {
    position: fixed;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201,168,124,0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.music-toggle:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.08);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.music-toggle svg {
    width: 20px; height: 20px;
    fill: var(--text-accent);
    transition: opacity 0.3s;
}

.music-toggle .bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
}

.music-toggle .bar {
    width: 3px;
    background: var(--text-accent);
    border-radius: 2px;
    transition: height 0.3s;
}

.music-toggle.playing .bar {
    animation: musicBar 0.8s ease infinite alternate;
}

.music-toggle .bar:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-toggle .bar:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.music-toggle .bar:nth-child(3) { height: 4px; animation-delay: 0.3s; }
.music-toggle .bar:nth-child(4) { height: 8px; animation-delay: 0.1s; }

@keyframes musicBar {
    0% { height: 4px; }
    100% { height: 16px; }
}

.music-toggle:not(.playing) .bar {
    height: 3px !important;
    animation: none;
}

/* ==================== HERO / OPENING ==================== */
#hero {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 500;
    background: linear-gradient(160deg, #faf7f4 0%, #f0e9e2 40%, #e8ddd4 100%);
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

#hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--warm-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

#hero.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.hero-line {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    color: var(--text-accent);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.hero-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-sub {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(25px);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.8rem;
    position: relative;
    z-index: 2;
}

.hero-sub.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-begin {
    margin-top: 3rem;
    padding: 1rem 3rem;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-accent);
    border: 1px solid rgba(122, 92, 77, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(25px);
    position: relative;
    z-index: 99999;
    overflow: hidden;
}

.btn-begin.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-begin::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,168,124,0.1), transparent);
    transition: left 0.8s;
}

.btn-begin:hover::before { left: 100%; }

.btn-begin:hover {
    background: var(--text-accent);
    color: #fff;
    border-color: var(--text-accent);
    box-shadow: 0 12px 40px rgba(122, 92, 77, 0.25);
    transform: translateY(-2px);
}

/* ==================== MAIN CONTENT ==================== */
#main-content {
    position: relative;
    z-index: 10;
    display: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

#main-content.active {
    display: block;
    opacity: 1;
}

/* ==================== SECTIONS ==================== */
.scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    overflow: hidden;
}

.scene-inner {
    max-width: 640px;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 20px 60px var(--shadow-soft), 0 1px 0 rgba(255,255,255,0.6) inset;
    text-align: center;
}

/* Scene titles */
.scene-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--text-accent);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(25px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.scene.revealed .scene-title {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal text lines */
.reveal-line {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 2;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.scene.revealed .reveal-line {
    opacity: 1;
    transform: translateY(0);
}

.scene.revealed .reveal-line:nth-child(2) { transition-delay: 0.5s; }
.scene.revealed .reveal-line:nth-child(3) { transition-delay: 1.0s; }
.scene.revealed .reveal-line:nth-child(4) { transition-delay: 1.5s; }
.scene.revealed .reveal-line:nth-child(5) { transition-delay: 2.0s; }
.scene.revealed .reveal-line:nth-child(6) { transition-delay: 2.5s; }
.scene.revealed .reveal-line:nth-child(7) { transition-delay: 3.0s; }
.scene.revealed .reveal-line:nth-child(8) { transition-delay: 3.5s; }

/* Spotlight glow behind text sections */
.spotlight {
    position: absolute;
    top: 50%; left: 50%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--warm-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: 0;
}

.scene.revealed .spotlight { opacity: 1; }

/* ==================== TIMELINE ==================== */
.timeline-wrap {
    position: relative;
    margin: 2.5rem 0;
    padding: 0.5rem 0;
}

.timeline-line {
    position: absolute;
    left: 22px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--bg-secondary) 10%, var(--bg-secondary) 90%, transparent);
}

.timeline-line-progress {
    position: absolute;
    left: 22px;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--gold-soft), var(--text-accent));
    transition: height 3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.scene.revealed .timeline-line-progress { height: 100%; }

.tl-event {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.tl-event:last-child { margin-bottom: 0; }

.scene.revealed .tl-event { opacity: 1; transform: translateX(0); }
.scene.revealed .tl-event:nth-child(3) { transition-delay: 0.4s; }
.scene.revealed .tl-event:nth-child(4) { transition-delay: 0.8s; }
.scene.revealed .tl-event:nth-child(5) { transition-delay: 1.2s; }
.scene.revealed .tl-event:nth-child(6) { transition-delay: 1.6s; }

.tl-dot {
    position: absolute;
    left: 14px; top: 6px;
    width: 16px; height: 16px;
    background: #fff;
    border: 2.5px solid var(--gold-soft);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(201, 168, 124, 0.1);
    transition: all 0.5s ease;
}

.tl-dot.final {
    width: 20px; height: 20px;
    left: 12px; top: 4px;
    background: var(--gold-soft);
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(201, 168, 124, 0.4);
}

.tl-event:hover .tl-dot {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(201, 168, 124, 0.3);
}

.tl-year {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-accent);
    margin-bottom: 0.3rem;
}

.tl-desc {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-quote {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-accent);
    padding: 2rem 1.5rem;
    margin: 3rem 0 2rem;
    border-top: 1px solid rgba(201, 168, 124, 0.2);
    border-bottom: 1px solid rgba(201, 168, 124, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s ease 2.2s;
    line-height: 1.8;
}

.scene.revealed .timeline-quote { opacity: 1; transform: translateY(0); }

/* ==================== TIMER ==================== */
.timer-container {
    margin: 2.5rem auto 0;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.6);
    max-width: 480px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s ease 2.6s;
}

.scene.revealed .timer-container { opacity: 1; transform: translateY(0); }

.timer-label-top {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-soft);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.timer-unit { text-align: center; }

.timer-val {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text-accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.timer-lbl {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ==================== GALLERY / MEMORIES ==================== */
.memories-intro {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1s ease 0.3s;
}

.scene.revealed .memories-intro { opacity: 1; transform: translateY(0); }

.polaroid-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.polaroid {
    background: #fff;
    padding: 12px 12px 40px;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.05);
    max-width: 380px;
    width: 100%;
    transform: rotate(var(--rot, 0deg)) scale(0.9);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.scene.revealed .polaroid {
    opacity: 1;
    transform: rotate(var(--rot, 0deg)) scale(1);
}

.scene.revealed .polaroid:nth-child(1) { transition-delay: 0.3s; }
.scene.revealed .polaroid:nth-child(2) { transition-delay: 0.7s; }

.polaroid:hover {
    transform: rotate(0deg) scale(1.03) !important;
    box-shadow: 0 25px 70px rgba(0,0,0,0.12);
}

.polaroid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    transition: transform 4s ease;
}

.polaroid:hover img { transform: scale(1.05); }

.polaroid-caption {
    position: absolute;
    bottom: 2px;
    left: 0; right: 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.6rem;
    color: var(--text-secondary);
}

/* ==================== WHAT I FEEL (DARK) ==================== */
.scene-dark {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #ede5dc 30%, #e0d5ca 100%);
}

.scene-dark .reveal-line {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-accent);
    line-height: 2.2;
}

/* ==================== HIDDEN MESSAGE / SECRET ==================== */
.secret-prompt {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-accent);
    margin-bottom: 0.5rem;
}

.secret-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 2rem;
}

.secret-input {
    width: 100%;
    max-width: 240px;
    padding: 14px 22px;
    border: 1px solid rgba(201, 168, 124, 0.3);
    border-radius: 50px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.7);
    color: var(--text-primary);
    outline: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-input:focus {
    border-color: var(--gold-soft);
    box-shadow: 0 0 30px rgba(201, 168, 124, 0.15);
}

.btn-unlock {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 12px 32px;
    background: var(--text-accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 400;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-unlock:hover {
    background: #5e4538;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122, 92, 77, 0.25);
}

.error-msg {
    font-size: 0.8rem;
    color: #c47a6a;
    margin-top: 0.8rem;
    opacity: 0;
    transition: opacity 0.5s;
    height: 1.2rem;
}

.secret-revealed {
    margin-top: 2.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-revealed.open {
    max-height: 400px;
    opacity: 1;
    padding-top: 1.5rem;
}

.secret-revealed p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-style: italic;
    color: var(--text-accent);
    line-height: 2;
    margin-bottom: 0.3rem;
}

.glass-card.glowing {
    box-shadow: 0 0 60px rgba(201, 168, 124, 0.25), 0 20px 60px var(--shadow-soft);
    border-color: rgba(201, 168, 124, 0.3);
    transition: all 2s ease;
}

/* ==================== FINAL SECTION ==================== */
#scene-final {
    background: var(--bg-dark);
    min-height: 120vh;
    position: relative;
}

#scene-final::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-dark));
    z-index: 1;
}

.final-line {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: rgba(248, 245, 242, 0.8);
    text-align: center;
    opacity: 0;
    transform: translateY(25px);
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
}

.scene.revealed .final-line:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.scene.revealed .final-line:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 2.5s; }

.final-big {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: #fff;
    text-align: center;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 40px rgba(201, 168, 124, 0.3);
}

.scene.revealed .final-big { opacity: 1; transform: translateY(0) scale(1); transition-delay: 4.5s; }

.final-epilogue {
    text-align: center;
    margin-top: 5rem;
    opacity: 0;
    transition: all 2s ease 7s;
}

.scene.revealed .final-epilogue { opacity: 1; }

.final-epilogue p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: rgba(248, 245, 242, 0.5);
    line-height: 2;
}

.final-heart {
    display: inline-block;
    font-size: 1.5rem;
    margin-top: 2rem;
    animation: heartPulse 2s ease-in-out infinite;
    opacity: 0;
    transition: opacity 2s ease 8.5s;
}

.scene.revealed .final-heart { opacity: 1; }

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Heart burst particles */
.burst-heart {
    position: absolute;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 50;
    opacity: 0;
}

@keyframes burstOut {
    0% { transform: scale(0) translate(0, 0); opacity: 1; }
    100% { transform: scale(1.2) translate(var(--bx), var(--by)); opacity: 0; }
}

/* ==================== MEMORY VAULT ==================== */
.vault-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.3);
}

.scene.revealed .vault-icon {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: vaultPulse 3s ease-in-out infinite 1.5s;
}

@keyframes vaultPulse {
    0%, 100% { transform: scale(1); filter: grayscale(0.3); }
    50% { transform: scale(1.1); filter: grayscale(0) drop-shadow(0 0 12px rgba(201,168,124,0.4)); }
}

.vault-title {
    transition-delay: 0.3s !important;
}

.vault-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1.2s ease 0.6s;
}

.scene.revealed .vault-sub {
    opacity: 1;
    transform: translateY(0);
}

.vault-input-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1.2s ease 0.9s;
}

.scene.revealed .vault-input-wrap {
    opacity: 1;
    transform: translateY(0);
}

.vault-input {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    border: 1px solid rgba(201, 168, 124, 0.25);
    border-radius: 50px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    background: rgba(255,255,255,0.65);
    color: var(--text-primary);
    outline: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vault-input::placeholder {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.vault-input:focus {
    border-color: var(--gold-soft);
    box-shadow: 0 0 40px rgba(201, 168, 124, 0.12), 0 0 0 3px rgba(201, 168, 124, 0.06);
    background: rgba(255,255,255,0.85);
}

.btn-vault-unlock {
    margin-top: 1.4rem;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--text-accent), #6b4d3e);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-vault-unlock::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.7s;
}

.btn-vault-unlock:hover::before { left: 100%; }

.btn-vault-unlock:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(122, 92, 77, 0.3);
}

.btn-vault-unlock:active {
    transform: translateY(-1px);
}

.vault-error {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    min-height: 1.4rem;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.vault-error.show {
    opacity: 1;
}

.vault-hint {
    margin-top: 2rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.5;
    letter-spacing: 1px;
}

.vault-hint-label {
    font-weight: 500;
    color: var(--gold-soft);
}

/* Vault card glow on unlock */
#vaultCard.vault-glowing {
    box-shadow: 0 0 80px rgba(201, 168, 124, 0.3), 0 20px 60px var(--shadow-soft);
    border-color: rgba(201, 168, 124, 0.4);
    transition: all 1.5s ease;
}

/* ==================== MEMORY VAULT OVERLAY ==================== */
.mv-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 100000;
    background: rgba(61, 46, 37, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: none;
    opacity: 0;
    transition: background 1.2s ease, backdrop-filter 1.2s ease, -webkit-backdrop-filter 1.2s ease, opacity 0.8s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mv-overlay.active {
    pointer-events: auto;
    opacity: 1;
    display: block;
    background: rgba(61, 46, 37, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.mv-close {
    position: fixed;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2010;
    color: rgba(248, 245, 242, 0.7);
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
}

.mv-overlay.active .mv-close {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1s;
}

.mv-close:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: scale(1.1);
}

.mv-close svg {
    width: 20px; height: 20px;
}

.mv-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 2rem 4rem;
}

/* Memory header */
.mv-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-overlay.active .mv-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.mv-date-badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-soft);
    background: rgba(201, 168, 124, 0.1);
    border: 1px solid rgba(201, 168, 124, 0.2);
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.mv-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(201, 168, 124, 0.2);
}

.mv-description {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    font-weight: 300;
    color: rgba(248, 245, 242, 0.6);
    max-width: 500px;
    line-height: 1.8;
}

/* Memory gallery */
.mv-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    max-width: 600px;
    width: 100%;
    margin-bottom: 3rem;
}

.mv-photo {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 10px 10px 44px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(40px) rotate(var(--mr, 0deg));
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mv-photo:nth-child(1) { --mr: -1.5deg; }
.mv-photo:nth-child(2) { --mr: 1deg; }
.mv-photo:nth-child(3) { --mr: -0.5deg; }
.mv-photo:nth-child(4) { --mr: 1.5deg; }

.mv-overlay.active .mv-photo {
    opacity: 1;
    transform: translateY(0) rotate(var(--mr, 0deg));
}

.mv-overlay.active .mv-photo:nth-child(1) { transition-delay: 1s; }
.mv-overlay.active .mv-photo:nth-child(2) { transition-delay: 1.4s; }
.mv-overlay.active .mv-photo:nth-child(3) { transition-delay: 1.8s; }
.mv-overlay.active .mv-photo:nth-child(4) { transition-delay: 2.2s; }

.mv-photo:hover {
    transform: translateY(-5px) rotate(0deg) !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.mv-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    transition: transform 4s ease;
}

.mv-photo:hover img {
    transform: scale(1.04);
}

.mv-photo-caption {
    position: absolute;
    bottom: 12px;
    left: 0; right: 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* Video in polaroid frame */
.mv-video-wrap {
    padding-bottom: 44px;
}

.mv-video-wrap video {
    display: block;
    width: 100%;
    border-radius: 2px;
    background: #000;
}

/* Memory note (bottom) */
.mv-note {
    text-align: center;
    max-width: 500px;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(25px);
    transition: all 1.5s ease;
}

.mv-overlay.active .mv-note {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.5s;
}

.mv-note-line {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(248, 245, 242, 0.7);
    line-height: 2.2;
    margin-bottom: 0.2rem;
}

.mv-note-heart {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    display: inline-block;
    animation: heartPulse 2s ease-in-out infinite;
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 768px) {
    .timer-grid { grid-template-columns: repeat(6, 1fr); }

    .polaroid-stack {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .polaroid { max-width: 320px; }

    .glass-card { padding: 4rem 3rem; }

    .scene { padding: 8rem 3rem; }

    .mv-gallery {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 800px;
    }

    .mv-photo { max-width: 340px; }

    .mv-content { padding: 6rem 3rem 4rem; }
}

@media (max-width: 480px) {
    .glass-card { padding: 2.5rem 1.5rem; border-radius: 22px; }
    .scene { padding: 4rem 1.2rem; }
    .polaroid { padding: 8px 8px 32px; }
    .vault-input { max-width: 280px; font-size: 0.88rem; }
    .vault-input::placeholder { font-size: 0.7rem; }
    .mv-photo { padding: 8px 8px 36px; }
    .mv-content { padding: 5rem 1.2rem 3rem; }
}

/* ==================== CINEMATIC UPGRADES ==================== */

/* Hero Overrides */
#hero {
    background: #050505; /* Deep cinematic dark */
}
#hero::before {
    background: radial-gradient(circle, rgba(201, 168, 124, 0.08) 0%, transparent 60%);
    width: 600px; height: 600px;
}
.hero-line {
    color: #eaeaea;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.hero-sub {
    color: #aaaaaa;
}
.btn-begin {
    color: #eaeaea;
    border-color: rgba(255,255,255,0.2);
}
.btn-begin:hover {
    background: #eaeaea;
    color: #050505;
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

/* Scene Dream */
#scene-dream {
    position: relative;
    background: #080706;
    overflow: hidden;
}
.dream-bg-parallax {
    position: absolute;
    top: -10%; left: 0; right: 0; bottom: -10%;
    background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.9)), url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23111" /><circle cx="50" cy="50" r="2" fill="%23fff" opacity="0.1" /></svg>');
    background-size: cover;
    z-index: 0;
    opacity: 0.5;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.1, 0.5, 0.1, 1);
}
.train-ambience {
    position: absolute;
    bottom: 10%; width: 200%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 124, 0.3), transparent);
    z-index: 1;
    animation: trainPass 4s linear infinite;
    opacity: 0.3;
}
@keyframes trainPass {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}
.spotlight-theatre {
    background: radial-gradient(ellipse at top, rgba(201, 168, 124, 0.15) 0%, transparent 60%);
    width: 600px; height: 800px;
    top: 0; left: 50%; transform: translateX(-50%);
    opacity: 0;
}
#scene-dream.revealed .spotlight-theatre {
    opacity: 1;
    animation: theatreSpotlight 4s ease-in-out infinite alternate;
}
@keyframes theatreSpotlight {
    0% { transform: translateX(-50%) translateY(-20px); opacity: 0.6; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 1; }
}
.dream-card {
    background: rgba(15, 12, 10, 0.6);
    border-color: rgba(201, 168, 124, 0.1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    color: #e0e0e0;
}
.dream-card .scene-title {
    color: var(--gold-soft);
    text-shadow: 0 0 20px rgba(201, 168, 124, 0.2);
}
.dream-card .reveal-line {
    color: #d0d0d0;
}
.dream-card .emphasis {
    color: #fff;
    font-weight: 500;
    margin-top: 1.5rem;
    font-size: 1.15rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-shadow: 0 0 15px rgba(255,255,255,0.3);
}

/* Hidden Interactive Elements */
.hidden-star {
    position: absolute;
    bottom: 10%; right: 15%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.5s ease;
    z-index: 20;
    filter: drop-shadow(0 0 5px rgba(201,168,124,0));
}
.hidden-star:hover {
    opacity: 1;
    transform: scale(1.5) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(201,168,124,0.8));
}

.hidden-message-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}
.hidden-message-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.hidden-message-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    font-style: italic;
    text-align: center;
    max-width: 80%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease 0.3s;
    text-shadow: 0 0 30px rgba(255,255,255,0.2);
}
.hidden-message-overlay.active .hidden-message-text {
    opacity: 1;
    transform: translateY(0);
}

/* Final Surprise Upgrades */
.final-stars-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="50" r="1" fill="%23fff" opacity="0.3"/><circle cx="150" cy="120" r="1.5" fill="%23fff" opacity="0.2"/><circle cx="80" cy="180" r="1" fill="%23fff" opacity="0.4"/></svg>') repeat;
    opacity: 0;
    transition: opacity 4s ease;
    z-index: 0;
}
#scene-final.revealed .final-stars-bg {
    opacity: 1;
}
.final-suspense {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--gold-soft);
    text-shadow: 0 0 30px rgba(201, 168, 124, 0.4);
    opacity: 0;
}
.final-reveal-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 3s ease, max-height 3s ease;
}
.final-reveal-content.show {
    opacity: 1;
    max-height: 1000px;
}
.glowing-heart-massive {
    font-size: 4rem;
    text-align: center;
    margin: 4rem 0;
    animation: massiveHeartPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.4));
}
@keyframes massiveHeartPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.4)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 80px rgba(255, 0, 0, 0.7)); }
}

/* Cinematic Vault Overlay Environment */
.cinematic-overlay {
    background: rgba(10, 8, 6, 0);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cinematic-overlay.active {
    background: rgba(10, 8, 6, 0.95);
    backdrop-filter: blur(40px);
}
.mv-environment {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(201,168,124,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 2s ease;
}

.cinematic-overlay.active .mv-environment {
    opacity: 1;
    animation: envBreathe 8s ease-in-out infinite alternate;
}

/* ==================== GLOBAL CINEMATIC ATMOSPHERE ==================== */
.global-film-grain {
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    /* background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>'); */
    opacity: 0.05;
    pointer-events: none;
    z-index: 9998;
    animation: grainShimmer 8s steps(10) infinite;
}
@keyframes grainShimmer {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

.global-light-leaks {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at top left, rgba(201, 168, 124, 0.08) 0%, transparent 40%),
                radial-gradient(ellipse at bottom right, rgba(122, 92, 77, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 900;
    mix-blend-mode: overlay;
    animation: lightLeakBreathe 15s ease-in-out infinite alternate;
}
@keyframes lightLeakBreathe {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.global-vignette {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.6) 120%);
    pointer-events: none;
    z-index: 900;
}

/* ==================== HUMAN TOUCHES ==================== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&display=swap');

.handwritten-scribble {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text-accent);
    position: absolute;
    opacity: 0.7;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.hr-top-right {
    top: 15%; right: 10%;
    transform: rotate(4deg);
}
.hr-bottom-left {
    bottom: 10%; left: 10%;
    transform: rotate(-6deg);
    color: var(--gold-soft);
}
.handwritten-caption {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem !important;
    color: #5a4b41 !important;
}

/* ==================== CINEMATIC SCENE ANIMATIONS ==================== */
.scene-inner {
    transition: transform 1.5s cubic-bezier(0.1, 0.7, 0.3, 1), opacity 1.5s ease;
}
.cinematic-zoom .scene-inner {
    transform: scale(0.95);
    opacity: 0;
}
.scene.revealed.cinematic-zoom .scene-inner {
    transform: scale(1);
    opacity: 1;
}

.cinematic-pan .scene-inner {
    transform: translateY(40px);
    opacity: 0;
}
.scene.revealed.cinematic-pan .scene-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Timeline upgrades */
.timeline-line-progress {
    overflow: visible;
}
.timeline-glow-point {
    position: absolute;
    bottom: -6px; left: -5px; width: 12px; height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(201,168,124,0.6);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.scene.revealed .timeline-glow-point {
    opacity: 1;
    transition-delay: 1s;
}

.hoverable-year {
    cursor: pointer;
    position: relative;
    display: inline-block;
}
.hoverable-year::after {
    content: attr(data-msg);
    position: absolute;
    bottom: 110%; left: 0;
    white-space: nowrap;
    background: rgba(255,255,255,0.9);
    color: var(--text-accent);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.hoverable-year:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Polaroids */
.polaroid-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.1, 0.7, 0.3, 1), box-shadow 0.6s ease !important;
}
.polaroid-3d:hover {
    transform: rotate(0deg) scale(1.05) translateZ(30px) !important;
    z-index: 10;
}
.film-texture {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.08"/></svg>');
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: multiply;
}

/* Breathing Glow (What I Feel) */
.breathing-glow-bg {
    position: absolute;
    top: 50%; left: 50%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 124, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: deepPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
@keyframes deepPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.slow-reveal {
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.scene.revealed .slow-reveal:nth-child(2) { transition-delay: 1.0s; }
.scene.revealed .slow-reveal:nth-child(3) { transition-delay: 2.0s; }
.scene.revealed .slow-reveal:nth-child(4) { transition-delay: 3.0s; }
.scene.revealed .slow-reveal:nth-child(5) { transition-delay: 4.0s; }
.scene.revealed .slow-reveal:nth-child(6) { transition-delay: 5.0s; }
