/* ═══════════════════════════════════════════════════════════════
   ROMANTISCHE ANNIVERSARY WEBSITE — Stylesheet
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Jost:wght@300;400;500&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --cream:        #fdf8f2;
  --cream-2:      #f8f0e6;
  --blush:        #f4c5ce;
  --blush-light:  #fde8ec;
  --rose:         #d4838f;
  --rose-deep:    #b5606c;
  --gold:         #c9a76e;
  --gold-light:   #e8d5a8;
  --dark:         #1c1818;
  --dark-2:       #2c2222;
  --text:         #3a2e2e;
  --text-mid:     #6b5a5a;
  --text-light:   #9e8888;
  --white:        #ffffff;

  --ff-display: 'Cormorant Garamond', serif;
  --ff-body:    'Jost', sans-serif;

  --r:    16px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 4px 20px rgba(180,100,110,.1);
  --shadow:    0 10px 40px rgba(180,100,110,.15);
  --shadow-lg: 0 24px 80px rgba(180,100,110,.2);
  --glow-pink: 0 0 60px rgba(244,197,206,.35);
  --glow-gold: 0 0 40px rgba(201,167,110,.25);

  --t: 0.4s cubic-bezier(.4,0,.2,1);
  --t-fast: 0.22s ease;
  --t-slow: 0.9s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Canvas (Particles) ────────────────────────────────────────── */
#particle-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── Sections ──────────────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: 100px 24px;
  width: 100%;
}

.section--full {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 24px;
}

.container {
  width: 100%; max-width: 1100px; margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  text-align: center;
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem,5vw,3.8rem);
  font-weight: 300;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-title--light { color: white; }

.section-desc {
  font-size: .95rem;
  color: var(--text-light);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

/* ── Divider ───────────────────────────────────────────────────── */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 0 auto 64px; max-width: 300px;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blush), transparent);
}
.ornament-heart { color: var(--rose); font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════════
   1. INTRO
   ═══════════════════════════════════════════════════════════════ */
#intro {
  background: radial-gradient(ellipse at 30% 40%, #fde8ec 0%, #fdf8f2 40%, #f8f0e6 100%);
  overflow: hidden;
}

.intro-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
  text-align: center;
}

.intro-badge {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose-deep); font-weight: 400;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244,197,206,.5);
  border-radius: 50px; padding: 8px 24px;
  box-shadow: var(--shadow-sm), var(--glow-pink);
  opacity: 0; animation: fadeUp 1.2s .2s ease both;
}

.intro-names {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -.01em; line-height: 1;
  opacity: 0; animation: fadeUp 1.4s .5s ease both;
}

.intro-names .amp {
  color: var(--rose);
  font-style: italic;
  font-weight: 300;
  display: inline-block;
  animation: heartPulse 2.5s 2s ease-in-out infinite;
}

@keyframes heartPulse {
  0%,100% { transform: scale(1); }
  14%     { transform: scale(1.18); }
  28%     { transform: scale(1); }
  42%     { transform: scale(1.1); }
  70%     { transform: scale(1); }
}

.intro-tagline {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 300; font-style: italic;
  color: var(--text-mid);
  max-width: 600px;
  opacity: 0; animation: fadeUp 1.4s .8s ease both;
}

.intro-date {
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  opacity: 0; animation: fadeUp 1.4s 1.1s ease both;
}

.intro-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 1s 2s ease both;
  cursor: pointer;
}

.scroll-text {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-light);
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(45deg);
  animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%     { transform: rotate(45deg) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════
   2. BANNER — Halbes Jahr
   ═══════════════════════════════════════════════════════════════ */
#banner {
  background: linear-gradient(155deg, #1c1818 0%, #2c1e1e 55%, #1c1818 100%);
  padding: 100px 24px;
}

.banner-inner {
  text-align: center; max-width: 900px; margin: 0 auto;
}

.banner-label {
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; font-weight: 300;
}

.banner-number {
  font-family: var(--ff-display);
  font-size: clamp(7rem, 24vw, 16rem);
  font-weight: 300; line-height: .9;
  color: white;
  text-shadow: 0 0 120px rgba(244,197,206,.2);
  display: block; margin-bottom: 8px;
}

.banner-unit {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem,4vw,2.8rem);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.7);
  display: block; margin-bottom: 60px;
}

.banner-stats {
  display: flex; justify-content: center;
  gap: 0; flex-wrap: wrap;
  border: 1px solid rgba(244,197,206,.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 600px; margin: 0 auto;
}

.stat-item {
  flex: 1; min-width: 130px;
  padding: 28px 20px;
  border-right: 1px solid rgba(244,197,206,.12);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--ff-display);
  font-size: 2.2rem; font-weight: 400;
  color: var(--gold); display: block; line-height: 1;
  margin-bottom: 8px;
}

.stat-lbl {
  font-size: .65rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4); font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   3. LOVE LETTER
   ═══════════════════════════════════════════════════════════════ */
#letter {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 100px 24px;
}

.letter-wrap { max-width: 720px; margin: 0 auto; }

.letter-paper {
  background: rgba(253,248,242,.98);
  border-radius: var(--r-lg);
  padding: 60px 52px;
  box-shadow: var(--shadow-lg), 0 0 100px rgba(244,197,206,.15);
  position: relative; overflow: hidden;
  min-height: 320px;
}

.letter-paper::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blush), var(--gold), var(--rose), var(--gold), var(--blush));
}

.letter-paper::after {
  content: '"';
  position: absolute; top: 20px; right: 36px;
  font-family: var(--ff-display);
  font-size: 8rem; font-weight: 300;
  color: rgba(244,197,206,.2);
  line-height: 1;
  pointer-events: none;
}

.letter-lines { min-height: 200px; }

.letter-line {
  font-family: var(--ff-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 400; line-height: 2;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform .7s ease;
  min-height: 1em;
}

.letter-line.vis {
  opacity: 1; transform: translateY(0);
}

.letter-line.empty { min-height: .6em; }

.letter-line.sign {
  font-style: italic; color: var(--rose-deep);
  font-weight: 500; margin-top: 12px;
}

.letter-cursor {
  display: inline-block; width: 2px; height: 1.15em;
  background: var(--rose); vertical-align: middle;
  margin-left: 3px;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.letter-btn-area {
  text-align: center; margin-top: 40px;
}

.btn-rose {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: white; border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer;
  transition: var(--t);
  box-shadow: 0 8px 28px rgba(180,96,108,.35);
}

.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(180,96,108,.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(244,197,206,.5);
  color: white;
  padding: 13px 36px; border-radius: 50px;
  font-family: var(--ff-body);
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: var(--t);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(244,197,206,.12);
  border-color: var(--blush);
}

/* ═══════════════════════════════════════════════════════════════
   4. GALLERY
   ═══════════════════════════════════════════════════════════════ */
#gallery { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item {
  border-radius: var(--r);
  overflow: hidden; cursor: pointer;
  position: relative;
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  aspect-ratio: 4/3;
}

.gallery-item:first-child {
  grid-column: span 2; grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow), var(--glow-pink);
  z-index: 2;
}

.gallery-item img,
.gallery-item video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,24,.55) 0%, transparent 55%);
  opacity: 0; transition: var(--t);
  display: flex; align-items: flex-end;
  padding: 18px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item-label {
  color: rgba(255,255,255,.85);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}

.play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.play-circle {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: var(--t);
}

.gallery-item:hover .play-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.play-triangle {
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid var(--rose-deep);
  margin-left: 4px;
}

.gallery-empty {
  grid-column: 1 / -1; text-align: center;
  padding: 80px 20px;
}

.gallery-empty-icon { font-size: 3.5rem; margin-bottom: 20px; display: block; }
.gallery-empty-title {
  font-family: var(--ff-display); font-size: 1.6rem;
  font-weight: 300; color: var(--text-mid); margin-bottom: 10px;
}
.gallery-empty-text { color: var(--text-light); font-size: .9rem; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(10,8,8,.96);
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
  backdrop-filter: blur(24px);
}

#lightbox.open {
  opacity: 1; pointer-events: all;
}

.lb-wrap {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 70px 80px;
}

.lb-media {
  max-width: 100%; max-height: 80vh;
  border-radius: var(--r);
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
  object-fit: contain;
  transition: opacity .3s ease;
}

.lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%; color: white; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--t-fast); backdrop-filter: blur(8px);
}

.lb-close:hover { background: rgba(255,255,255,.18); }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%; color: white;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--t-fast); backdrop-filter: blur(8px);
  font-size: 1.1rem;
}

.lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

.lb-counter {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.45);
  font-size: .72rem; letter-spacing: .15em;
}

/* ═══════════════════════════════════════════════════════════════
   5. TIMELINE
   ═══════════════════════════════════════════════════════════════ */
#timeline {
  background: linear-gradient(180deg, var(--cream) 0%, #fde8ec 45%, var(--cream) 100%);
}

.timeline-list {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: 20px 0;
}

.tl-spine {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom,
    transparent 0%, var(--blush) 15%,
    var(--rose) 50%, var(--blush) 85%, transparent 100%);
  transform: translateX(-50%);
}

.tl-item {
  display: flex; align-items: center;
  gap: 40px; margin-bottom: 64px; position: relative;
}

.tl-item:nth-child(even) { flex-direction: row-reverse; }

.tl-dot {
  flex-shrink: 0; z-index: 2;
  width: 52px; height: 52px;
  background: white;
  border: 2px solid var(--blush);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm), var(--glow-pink);
  transition: var(--t);
}

.tl-item:hover .tl-dot {
  border-color: var(--rose);
  transform: scale(1.12);
  box-shadow: var(--shadow), var(--glow-pink);
}

.tl-card {
  flex: 1;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(244,197,206,.28);
  border-radius: var(--r-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}

.tl-item:hover .tl-card {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(244,197,206,.55);
}

.tl-date {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose); font-weight: 400; margin-bottom: 8px;
}

.tl-title {
  font-family: var(--ff-display);
  font-size: 1.45rem; font-weight: 500;
  color: var(--text); margin-bottom: 10px;
}

.tl-text {
  font-size: .9rem; color: var(--text-mid); line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════
   6. WHY I LOVE YOU
   ═══════════════════════════════════════════════════════════════ */
#love { background: var(--cream); }

.love-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  max-width: 960px; margin: 0 auto;
}

.love-card {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(244,197,206,.28);
  border-radius: var(--r-lg);
  padding: 38px 28px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--t); position: relative; overflow: hidden;
}

.love-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--gold), var(--rose));
  opacity: 0; transition: var(--t);
}

.love-card:hover::before { opacity: 1; }

.love-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow), var(--glow-pink);
  border-color: rgba(244,197,206,.55);
}

.love-icon {
  font-size: 2.6rem; display: block; margin-bottom: 16px;
}

.love-title {
  font-family: var(--ff-display);
  font-size: 1.35rem; font-weight: 500;
  color: var(--text); margin-bottom: 12px;
}

.love-text {
  font-size: .88rem; color: var(--text-mid); line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════
   7. FINALE
   ═══════════════════════════════════════════════════════════════ */
#finale {
  background: linear-gradient(160deg, #1c1818 0%, #2c1a1a 50%, #1c1818 100%);
  overflow: hidden;
}

.finale-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(244,197,206,.08) 0%, transparent 70%);
  pointer-events: none;
}

.finale-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
  text-align: center;
}

.finale-symbol {
  font-size: 4.5rem;
  animation: finale-pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(244,197,206,.5));
}

@keyframes finale-pulse {
  0%,100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(244,197,206,.4)); }
  50%      { transform: scale(1.08); filter: drop-shadow(0 0 50px rgba(244,197,206,.8)); }
}

.finale-message {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 300; color: white; line-height: 1.15;
}

.finale-sub {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic; font-weight: 300;
  color: var(--blush);
}

.finale-date {
  font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING MUSIC PLAYER
   ═══════════════════════════════════════════════════════════════ */
#music-player {
  position: fixed; bottom: 24px; left: 24px; z-index: 200;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(244,197,206,.4);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
  cursor: pointer; transition: var(--t);
  user-select: none;
}

#music-player:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

#music-player.hidden { display: none; }

.music-disc {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: discSpin 4s linear infinite;
  font-size: .7rem; color: white;
  flex-shrink: 0;
}

.music-disc.paused { animation-play-state: paused; }

@keyframes discSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.music-info { display: flex; flex-direction: column; }

.music-title {
  font-size: .72rem; color: var(--text); font-weight: 400; line-height: 1.3;
}

.music-status {
  font-size: .62rem; color: var(--text-light); letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════════════════
   NAV DOTS
   ═══════════════════════════════════════════════════════════════ */
#nav-dots {
  position: fixed; right: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex; flex-direction: column; gap: 14px;
}

.nd {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(180,100,110,.22);
  cursor: pointer; position: relative;
  transition: var(--t-fast);
}

.nd.active { background: var(--rose); transform: scale(1.5); }
.nd:hover  { background: var(--rose); transform: scale(1.3); }

.nd-label {
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: 4px 12px; border-radius: 20px;
  font-size: .65rem; white-space: nowrap; color: var(--text);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  box-shadow: var(--shadow-sm);
}

.nd:hover .nd-label { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   EASTER EGG
   ═══════════════════════════════════════════════════════════════ */
#egg-trigger {
  position: fixed; bottom: 28px; right: 28px;
  width: 34px; height: 34px; z-index: 200;
  cursor: pointer; opacity: 0;
  transition: opacity .3s ease;
  font-size: 1.4rem; line-height: 1;
}

#egg-trigger:hover { opacity: .35 !important; }

#egg-modal {
  position: fixed; inset: 0;
  background: rgba(10,8,8,.92);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
  backdrop-filter: blur(28px);
}

#egg-modal.open { opacity: 1; pointer-events: all; }

.egg-card {
  background: rgba(253,248,242,.97);
  border-radius: var(--r-xl);
  padding: 64px 52px; max-width: 480px; width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 120px rgba(244,197,206,.25);
  animation: eggPop .6s cubic-bezier(.175,.885,.32,1.275) both;
}

@keyframes eggPop {
  from { transform: scale(.4) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}

.egg-emoji { font-size: 4rem; display: block; margin-bottom: 24px; }

.egg-text {
  font-family: var(--ff-display);
  font-size: 1.25rem; font-style: italic;
  color: var(--text); line-height: 1.85; white-space: pre-line;
}

.egg-close {
  margin-top: 36px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: white; border: none;
  padding: 13px 34px; border-radius: 50px;
  cursor: pointer; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  transition: var(--t);
}

.egg-close:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(180,96,108,.4); }

/* ═══════════════════════════════════════════════════════════════
   CONFETTI CANVAS
   ═══════════════════════════════════════════════════════════════ */
#confetti-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 800;
  display: none;
}

#confetti-canvas.active { display: block; }

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .85s ease, transform .85s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }
.reveal-d6 { transition-delay: .6s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .tl-spine { left: 26px; }

  .tl-item,
  .tl-item:nth-child(even) {
    flex-direction: column;
    padding-left: 66px;
    align-items: flex-start;
    gap: 0;
  }

  .tl-dot {
    position: absolute; left: 0; top: 0;
    width: 42px; height: 42px; font-size: 1.1rem;
  }

  .tl-card { width: 100%; }

  .gallery-item:first-child {
    grid-column: span 1; grid-row: span 1;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 768px) {
  #nav-dots { display: none; }

  .section { padding: 80px 20px; }

  .letter-paper { padding: 40px 28px; }

  .lb-wrap { padding: 60px 16px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }

  .banner-stats { flex-direction: row; }

  #music-player { bottom: 16px; left: 16px; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .love-grid    { grid-template-columns: 1fr; }
  .banner-stats { flex-direction: column; gap: 0; }
  .stat-item    { border-right: none; border-bottom: 1px solid rgba(244,197,206,.12); }
  .stat-item:last-child { border-bottom: none; }
}
