/* ===========================
   ROOT & RESET
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #050505;
  --gold: #FFD700;
  --gold-dim: rgba(255,215,0,0.4);
  --gold-glow: rgba(255,215,0,0.15);
  --pink: #FFC0CB;
  --pink-dim: rgba(255,192,203,0.3);
  --white: #FFFFFF;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --font-script: 'Dancing Script', cursive;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  cursor: none;
}

body.loaded { cursor: none; }

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===========================
   CUSTOM CURSOR
=========================== */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}

#cursor-trail {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

body:has(.start-btn:hover) #cursor,
body:has(button:hover) #cursor {
  width: 20px; height: 20px;
  background: var(--pink);
}

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

/* ===========================
   LOADER
=========================== */
#loader {
  position: fixed;
  inset: 0;
  background: #020202;
  z-index: 99000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 1s ease, visibility 1s ease;
}

#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loader-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  display: flex;
  gap: 0.02em;
}

.logo-letter {
  display: inline-block;
  color: var(--gold);
  opacity: 0;
  transform: translateY(30px);
  animation: letterDrop 0.6s ease forwards;
  text-shadow: 0 0 40px rgba(255,215,0,0.6);
}

@keyframes letterDrop {
  to { opacity: 1; transform: translateY(0); }
}

.loader-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
  color: var(--pink);
  letter-spacing: 0.5em;
  opacity: 0;
  animation: fadeIn 1s 1.2s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

.loader-bar-wrap {
  width: min(320px, 80vw);
  margin-top: 24px;
  opacity: 0;
  animation: fadeIn 0.5s 1.5s ease forwards;
}

.loader-bar {
  height: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--pink));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  transition: width 0.1s ease;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loader-percent {
  text-align: right;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 8px;
  font-weight: 300;
}

/* ===========================
   SITE WRAPPER
=========================== */
#site {
  position: relative;
  z-index: 1;
  transition: opacity 0.8s ease;
}

#site.hidden { opacity: 0; pointer-events: none; }
#site.visible { opacity: 1; pointer-events: all; }

/* ===========================
   HERO
=========================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,192,203,0.07) 0%, transparent 70%);
  animation: pulsate 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulsate {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-eyebrow, .reveal-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeIn 1s 0.3s ease forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  line-height: 0.95;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: titleRise 1s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.5s; }
.title-line:nth-child(2) { animation-delay: 0.8s; }

@keyframes titleRise {
  to { opacity: 1; transform: translateY(0); }
}

.gold { color: var(--gold); }
.italic { font-style: italic; }

.gold.italic {
  text-shadow: 0 0 80px rgba(255,215,0,0.4), 0 0 160px rgba(255,215,0,0.15);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  min-height: 2em;
  opacity: 0;
  animation: fadeIn 0.5s 1.5s ease forwards;
}

/* ===========================
   START BUTTON
=========================== */
.start-btn {
  position: relative;
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.1rem 3rem;
  cursor: none;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeIn 0.5s 2s ease forwards;
}

.start-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.start-btn:hover::before { opacity: 1; }
.start-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-glow), 0 0 60px var(--gold-glow);
  transform: scale(1.03);
}

.btn-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--gold));
  background-size: 300% 100%;
  animation: borderSpin 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.start-btn:hover .btn-glow { opacity: 0.5; }

@keyframes borderSpin {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ===========================
   SCROLL HINT
=========================== */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  opacity: 0;
  animation: fadeIn 1s 2.5s ease forwards;
  transition: opacity 0.5s ease;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===========================
   FLOATING HEARTS
=========================== */
.hearts-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-heart {
  position: absolute;
  bottom: -50px;
  font-size: 1rem;
  color: var(--pink);
  opacity: 0;
  animation: floatHeart linear forwards;
  filter: blur(0.5px);
}

@keyframes floatHeart {
  0% { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.5); }
  10% { opacity: 0.7; }
  90% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-110vh) rotate(360deg) scale(1.2); }
}

/* ===========================
   SECTIONS
=========================== */
.section {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0;
  z-index: 2;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
}

.section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 0.75rem;
  font-family: var(--font-serif);
}

/* ===========================
   GLASS CARD
=========================== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

/* ===========================
   SECTION 1: INTRO
=========================== */
.intro-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.intro-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.intro-card .section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}

.intro-body {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.intro-divider {
  margin: 2rem auto 0;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 1rem;
}

.card-glow-border {
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-dim), transparent, var(--pink-dim));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: borderRotate 6s linear infinite;
}

@keyframes borderRotate {
  0% { background: linear-gradient(0deg, var(--gold-dim), transparent, var(--pink-dim)); }
  100% { background: linear-gradient(360deg, var(--gold-dim), transparent, var(--pink-dim)); }
}

.intro-image-wrap { display: none; }

/* ===========================
   SECTION 2: GALLERY
=========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: none;
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.gallery-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,215,0,0.2);
  transition: all 0.4s ease;
}

.gal-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery-item:hover .gallery-placeholder { transform: scale(1.05); }
.gallery-item:hover .gallery-num { color: rgba(255,215,0,0.5); }
.gallery-item:hover .gal-glow { opacity: 1; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===========================
   SECTION 3: TIMELINE
=========================== */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), var(--gold-dim), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  opacity: 0;
  transition: all 0.8s ease;
}

.timeline-item[data-side="left"] {
  justify-content: flex-start;
  padding-right: calc(50% + 2rem);
  transform: translateX(-40px);
}

.timeline-item[data-side="right"] {
  justify-content: flex-end;
  padding-left: calc(50% + 2rem);
  transform: translateX(40px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-card {
  flex: 1;
  max-width: 380px;
}

.tl-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.tl-date {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.tl-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.tl-body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

/* ===========================
   SECTION 4: LOVE LETTER
=========================== */
.letter-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.letter-paper {
  background: rgba(255,252,245,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 4px;
  padding: 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.letter-paper::before {
  content: '';
  position: absolute;
  top: 0; left: 3rem;
  width: 1px;
  height: 100%;
  background: rgba(255,192,203,0.1);
}

.letter-texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 28px,
    rgba(255,255,255,0.025) 28px,
    rgba(255,255,255,0.025) 29px
  );
  pointer-events: none;
}

.letter-salutation {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--pink);
  margin-bottom: 1.5rem;
}

.letter-body {
  font-family: var(--font-script);
  font-size: 1.2rem;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  min-height: 6em;
}

.letter-cursor {
  display: inline;
  color: var(--gold);
  animation: blink 1s step-end infinite;
  font-family: var(--font-script);
  font-size: 1.2rem;
}

@keyframes blink { 50% { opacity: 0; } }

.letter-sign {
  margin-top: 2rem;
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  text-align: right;
}

.sign-name {
  color: var(--gold);
  font-size: 1.3rem;
}

.rose-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 8px;
  height: 10px;
  background: var(--pink);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0.6; }
  100% { transform: translateY(100%) rotate(360deg); opacity: 0; }
}

/* ===========================
   SECTION 5: REASONS
=========================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.reason-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  cursor: none;
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.4s ease;
}

.reason-card:hover {
  box-shadow: 0 20px 60px rgba(255,215,0,0.08), 0 0 40px rgba(255,192,203,0.05);
}

.reason-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  animation: iconFloat 4s ease-in-out infinite;
}

.reason-card:nth-child(2) .reason-icon { animation-delay: 0.5s; }
.reason-card:nth-child(3) .reason-icon { animation-delay: 1s; }
.reason-card:nth-child(4) .reason-icon { animation-delay: 1.5s; }
.reason-card:nth-child(5) .reason-icon { animation-delay: 2s; }
.reason-card:nth-child(6) .reason-icon { animation-delay: 2.5s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.reason-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.reason-card p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

/* ===========================
   SECTION 6: COUNTDOWN
=========================== */
#countdown { text-align: center; }

.countdown-wrap {
  margin-top: 2rem;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.count-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 2rem 2.5rem;
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.count-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.count-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 40px rgba(255,215,0,0.4);
  display: block;
}

.count-label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

.count-sep {
  color: var(--gold-dim);
  font-size: 1.2rem;
  padding-bottom: 1rem;
}

.countdown-caption {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--pink);
  margin-top: 2rem;
  letter-spacing: 0.1em;
}

/* ===========================
   SECTION 7: CAROUSEL
=========================== */
.carousel-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.slide-placeholder {
  height: 420px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(255,215,0,0.15);
}

.slide-caption {
  text-align: center;
  padding: 1.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,215,0,0.1);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255,215,0,0.2);
  box-shadow: 0 0 20px var(--gold-glow);
}

.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 1.5rem 0 0;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: none;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-dim);
  width: 20px;
  border-radius: 3px;
}

/* ===========================
   FINALE
=========================== */
#finale {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#finale-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.finale-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.finale-content {
  max-width: 800px;
  margin: 0 auto;
}

.finale-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  transition: opacity 1s ease;
}

.finale-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}

.finale-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.finale-line.gold {
  text-shadow: 0 0 80px rgba(255,215,0,0.5), 0 0 160px rgba(255,215,0,0.2);
}

.finale-sub {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-top: 2rem;
  line-height: 1.9;
  opacity: 0;
  transition: opacity 1.5s 0.8s ease;
}

#finale.visible .finale-eyebrow { opacity: 1; }
#finale.visible .finale-line { opacity: 1; transform: translateY(0); }
#finale.visible .finale-line:nth-child(2) { transition-delay: 0.3s; }
#finale.visible .finale-sub { opacity: 1; }

.replay-btn {
  margin-top: 3rem;
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: none;
  border-radius: 2px;
  transition: all 0.4s ease;
  opacity: 0;
  transition: opacity 1s 1.5s ease, all 0.4s ease;
}

#finale.visible .replay-btn { opacity: 1; }
.replay-btn:hover {
  background: var(--gold-glow);
  box-shadow: 0 0 30px var(--gold-glow);
}

/* ===========================
   MUSIC PLAYER
=========================== */
.music-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 300px;
  z-index: 9000;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  transform: translateY(120%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,215,0,0.2);
}

.music-player.show {
  transform: translateY(0);
  opacity: 1;
}

.music-player.minimized .player-body {
  display: none;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-album {
  width: 44px;
  height: 44px;
  position: relative;
}

.album-art {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #1a1a1a, #333, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vinylSpin 4s linear infinite paused;
  border: 2px solid rgba(255,215,0,0.3);
}

.album-art.spinning {
  animation-play-state: running;
}

@keyframes vinylSpin { to { transform: rotate(360deg); } }

.album-vinyl {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: repeating-conic-gradient(#111 0deg, #222 10deg);
}

.album-center {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  z-index: 1;
}

.player-meta { flex: 1; min-width: 0; }
.player-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-artist {
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.player-minimize {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
  cursor: none;
  padding: 0 0 0 0.5rem;
  transition: color 0.3s ease;
  line-height: 1;
}
.player-minimize:hover { color: var(--gold); }

.player-body { padding: 1rem 1.25rem; }

.player-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.player-time-current, .player-time-total {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  min-width: 28px;
}
.player-time-total { text-align: right; }

.player-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.player-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.player-thumb {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold-dim);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-bar:hover .player-thumb { opacity: 1; }

.player-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.play-pause {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: rgba(255,215,0,0.08);
  color: var(--gold);
  font-size: 0.9rem;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-pause:hover {
  background: rgba(255,215,0,0.2);
  box-shadow: 0 0 20px rgba(255,215,0,0.2);
}

.player-vol-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vol-icon {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.vol-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}

/* ===========================
   SCROLL-TRIGGERED REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item.wide { grid-column: span 1; }

  .timeline-line { display: none; }
  .timeline-item[data-side="left"],
  .timeline-item[data-side="right"] {
    justify-content: center;
    padding: 0 1rem;
  }
  .timeline-card { max-width: 100%; }
}

@media (max-width: 600px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .music-player { width: calc(100vw - 2rem); bottom: 1rem; right: 1rem; }
  .letter-paper { padding: 2rem 1.5rem; }
  .countdown-grid { gap: 0.5rem; }
  .count-box { min-width: 80px; padding: 1.25rem 1rem; }
}
