/* =====================================================
   ADRIAN & YASMIN — 6 MESES
   Art Deco Cinematic Love Letter
   ===================================================== */

/* ── DESIGN TOKENS ── */
:root {
  /* Art Deco Color Palette */
  --gold-50: #fdf8e8;
  --gold-100: #f9ecc4;
  --gold-200: #f0d68a;
  --gold-300: #e4bc4a;
  --gold-400: #d4a327;
  --gold-500: #c8952b;
  --gold-600: #a87120;
  --gold-700: #85511d;
  --gold-800: #6f4320;
  --gold-900: #60381f;

  --champagne: #f5e6d0;
  --ivory: #faf6f0;
  --cream: #f8f2e8;
  --pearl: #eee6d8;

  --dark-900: #0a0a0a;
  --dark-800: #121212;
  --dark-700: #1a1714;
  --dark-600: #252019;
  --dark-500: #302a20;
  --dark-400: #3d352a;

  --rose-gold: #c99b7c;
  --blush: #d4a89a;
  --wine: #722f37;
  --burgundy: #4a1525;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Outfit', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Transitions */
  --ease-romantic: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-slow: 1.2s;
  --duration-medium: 0.8s;
  --duration-fast: 0.4s;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--dark-800);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── PRELOADER ── */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-900);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 1.5s var(--ease-romantic), visibility 1.5s;
}

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

.preloader-content {
  text-align: center;
  animation: preloaderFadeIn 1.5s var(--ease-romantic) forwards;
}

.preloader-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: preloaderTextIn 1s 0.3s var(--ease-romantic) forwards;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--gold-200);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: preloaderTextIn 1s 0.6s var(--ease-romantic) forwards;
}

.preloader-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  margin: var(--space-md) auto;
  opacity: 0;
  animation: preloaderLineIn 1.2s 0.9s var(--ease-romantic) forwards;
}

.preloader-date {
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--gold-400);
  opacity: 0;
  animation: preloaderTextIn 1s 1.2s var(--ease-romantic) forwards;
}

.preloader-ornament {
  color: var(--gold-500);
  font-size: 1.5rem;
  opacity: 0;
  animation: preloaderTextIn 0.8s 0.2s var(--ease-romantic) forwards;
}

.preloader-ornament.top { margin-bottom: var(--space-md); }
.preloader-ornament.bottom { margin-top: var(--space-md); }

@keyframes preloaderFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes preloaderTextIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderLineIn {
  from { opacity: 0; width: 0; }
  to { opacity: 1; width: 60px; }
}

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

/* ── SCROLL NAV ── */
#scroll-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
}

#scroll-nav.visible {
  opacity: 1;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--gold-400);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.4s var(--ease-romantic);
  transform: rotate(45deg);
}

.nav-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: var(--gold-300);
  transition: all 0.4s var(--ease-romantic);
}

.nav-dot.active::before {
  width: 6px;
  height: 6px;
}

.nav-dot.active {
  border-color: var(--gold-300);
  box-shadow: 0 0 12px rgba(228, 188, 74, 0.3);
}

.nav-dot span {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-romantic);
  transform: translateY(-50%) rotate(-45deg) translateX(5px);
}

.nav-dot:hover span {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg) translateX(0);
}

/* ── MUSIC BUTTON ── */
.music-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-romantic);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.music-btn:hover {
  background: rgba(200, 149, 43, 0.15);
  border-color: var(--gold-300);
  transform: scale(1.1);
}

/* ── SECTIONS BASE ── */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold-200);
  letter-spacing: 0.04em;
}

.deco-bracket {
  font-size: 1.8rem;
  color: var(--gold-500);
  opacity: 0.6;
}

.section-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--gold-400);
  text-align: center;
  margin-top: -2rem;
  margin-bottom: var(--space-lg);
}

/* ── ART DECO ORNAMENTS ── */
.deco-ornament {
  color: var(--gold-500);
  width: 200px;
  height: auto;
  opacity: 0.5;
}

.deco-ornament.large {
  width: 300px;
}

.deco-line-horizontal {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: var(--space-lg) auto;
}

/* ── HERO SECTION ── */
.hero-section {
  background: radial-gradient(ellipse at center, var(--dark-600) 0%, var(--dark-900) 100%);
  padding: var(--space-xl) var(--space-md);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(200, 149, 43, 0.03) 80px,
      rgba(200, 149, 43, 0.03) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(200, 149, 43, 0.03) 80px,
      rgba(200, 149, 43, 0.03) 81px
    );
  pointer-events: none;
}

/* Art Deco Frame */
.art-deco-frame {
  position: absolute;
  inset: 30px;
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  width: 60px;
  height: 60px;
}

.frame-corner::before,
.frame-corner::after {
  content: '';
  position: absolute;
  background: var(--gold-500);
  opacity: 0.4;
}

.frame-corner.top-left { top: 0; left: 0; }
.frame-corner.top-left::before { top: 0; left: 0; width: 60px; height: 1px; }
.frame-corner.top-left::after { top: 0; left: 0; width: 1px; height: 60px; }

.frame-corner.top-right { top: 0; right: 0; }
.frame-corner.top-right::before { top: 0; right: 0; width: 60px; height: 1px; }
.frame-corner.top-right::after { top: 0; right: 0; width: 1px; height: 60px; }

.frame-corner.bottom-left { bottom: 0; left: 0; }
.frame-corner.bottom-left::before { bottom: 0; left: 0; width: 60px; height: 1px; }
.frame-corner.bottom-left::after { bottom: 0; left: 0; width: 1px; height: 60px; }

.frame-corner.bottom-right { bottom: 0; right: 0; }
.frame-corner.bottom-right::before { bottom: 0; right: 0; width: 60px; height: 1px; }
.frame-corner.bottom-right::after { bottom: 0; right: 0; width: 1px; height: 60px; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-md);
}

.hero-ornament-top,
.hero-ornament-bottom {
  display: flex;
  justify-content: center;
  margin: var(--space-md) 0;
}

.hero-pretext {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-md);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.name-line {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  color: var(--gold-200);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 0 60px rgba(228, 188, 74, 0.15);
}

.ampersand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-400);
  margin: -0.2em 0;
  opacity: 0.8;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

.divider-diamond {
  color: var(--gold-400);
  font-size: 0.6rem;
}

.hero-divider .divider-line:last-child {
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--champagne);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.scroll-indicator {
  margin-top: var(--space-xl);
}

.scroll-indicator p {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
}

.scroll-arrow {
  color: var(--gold-500);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ── HERO ANIMATIONS ── */
.animate-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-romantic), transform 1s var(--ease-romantic);
}

.animate-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── INTRO SECTION ── */
.intro-section {
  background: linear-gradient(180deg, var(--dark-900) 0%, var(--dark-700) 50%, var(--dark-800) 100%);
  padding: var(--space-2xl) var(--space-md);
}

.intro-content {
  max-width: 750px;
  text-align: center;
}

.intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-200);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  position: relative;
  padding: var(--space-lg) 0;
}

.intro-quote::before,
.intro-quote::after {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-500);
  opacity: 0.3;
  position: absolute;
}

.intro-quote::before {
  content: '"';
  top: 0;
  left: -10px;
}

.intro-quote::after {
  content: '"';
  bottom: -10px;
  right: -10px;
}

.intro-text-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.intro-paragraph {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  line-height: 2;
  color: var(--pearl);
  text-align: center;
}

/* ── SCROLL ANIMATIONS (General) ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-romantic), transform 0.9s var(--ease-romantic);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TIMELINE SECTION ── */
.timeline-section {
  background: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-700) 30%, var(--dark-800) 100%);
  padding: var(--space-2xl) var(--space-md);
  min-height: auto;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding: var(--space-lg) 0;
}

/* Central line */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-500), var(--gold-500), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline-item[data-side="left"] {
  flex-direction: row;
  padding-right: 52%;
}

.timeline-item[data-side="right"] {
  flex-direction: row-reverse;
  padding-left: 52%;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.marker-diamond {
  width: 20px;
  height: 20px;
  background: var(--dark-800);
  border: 1.5px solid var(--gold-400);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--gold-400);
  transition: all 0.4s var(--ease-romantic);
}

.timeline-item.visible .marker-diamond {
  background: var(--gold-500);
  box-shadow: 0 0 20px rgba(228, 188, 74, 0.3);
}

.timeline-card {
  flex: 1;
  background: rgba(30, 26, 20, 0.6);
  border: 1px solid rgba(200, 149, 43, 0.15);
  padding: var(--space-md);
  backdrop-filter: blur(10px);
  transition: all 0.6s var(--ease-romantic);
}

.timeline-card:hover {
  border-color: rgba(200, 149, 43, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.timeline-card-inner {
  position: relative;
}

.timeline-month {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-xs);
  display: block;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-200);
  margin-bottom: var(--space-sm);
}

.timeline-card p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--pearl);
}

.timeline-photo-wrapper {
  margin-top: var(--space-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
}

.timeline-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-romantic);
  filter: sepia(0.1) saturate(0.9);
}

.timeline-card:hover .timeline-photo-wrapper img {
  transform: scale(1.05);
  filter: sepia(0) saturate(1);
}

/* ── GALLERY / POLAROID SCRAPBOOK ── */
.gallery-section {
  background: linear-gradient(180deg, var(--dark-800) 0%, #1e1a14 50%, var(--dark-800) 100%);
  padding: var(--space-2xl) var(--space-md);
  min-height: auto;
}

.scrapbook-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
}

/* Floating decorations */
.deco-float {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: decoFloat 6s ease-in-out infinite;
}

.deco-heart {
  color: var(--rose-gold);
  font-size: 1.2rem;
  opacity: 0.25;
}

.deco-star {
  color: var(--gold-400);
  font-size: 0.8rem;
  opacity: 0.2;
}

@keyframes decoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(3deg); }
  66% { transform: translateY(4px) rotate(-2deg); }
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-md);
  position: relative;
  z-index: 2;
}

/* Individual Polaroid */
.polaroid {
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.6s var(--ease-romantic), box-shadow 0.6s var(--ease-romantic);
  cursor: pointer;
  position: relative;
  animation-delay: var(--delay, 0s);
}

.polaroid:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  z-index: 10;
}

.polaroid-frame {
  background: #f5f1ea;
  padding: 12px 12px 50px 12px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.15),
    inset 0 0 40px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: box-shadow 0.6s var(--ease-romantic);
  /* Paper texture simulation */
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(255, 250, 240, 0.5), transparent),
    radial-gradient(ellipse at 80% 70%, rgba(245, 235, 220, 0.3), transparent);
}

.polaroid:hover .polaroid-frame {
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.35),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 0 40px rgba(0, 0, 0, 0.03);
}

.polaroid-image {
  overflow: hidden;
  aspect-ratio: 1;
  background: #ddd;
}

.polaroid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-romantic), filter 0.8s;
  filter: saturate(0.85) contrast(1.02);
}

.polaroid:hover .polaroid-image img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1);
}

.polaroid-caption {
  font-family: var(--font-script);
  font-size: 0.95rem;
  color: #4a3f35;
  text-align: center;
  padding-top: 12px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.5s, transform 0.5s var(--ease-romantic);
}

.polaroid:hover .polaroid-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Tape elements */
.polaroid-tape {
  position: absolute;
  width: 50px;
  height: 18px;
  background: rgba(200, 180, 140, 0.45);
  backdrop-filter: blur(1px);
  z-index: 3;
}

.tape-left {
  top: -8px;
  left: 15px;
  transform: rotate(-8deg);
}

.tape-right {
  top: -8px;
  right: 15px;
  transform: rotate(6deg);
}

.tape-center {
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
}

/* ── REASONS SECTION ── */
.reasons-section {
  background: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-700) 50%, var(--dark-800) 100%);
  padding: var(--space-2xl) var(--space-md);
  min-height: auto;
}

.reasons-container {
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.reason-card {
  background: rgba(30, 26, 20, 0.5);
  border: 1px solid rgba(200, 149, 43, 0.12);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
  transition: all 0.6s var(--ease-romantic);
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-400), transparent);
  opacity: 0;
  transition: opacity 0.6s;
}

.reason-card:hover {
  border-color: rgba(200, 149, 43, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

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

.reason-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-500);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  right: 15px;
  line-height: 1;
}

.reason-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-200);
  margin-bottom: var(--space-sm);
}

.reason-content p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--pearl);
}

/* ── LOVE LETTER SECTION ── */
.letter-section {
  background: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-600) 50%, var(--dark-800) 100%);
  padding: var(--space-2xl) var(--space-md);
  position: relative;
}

.letter-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(200, 149, 43, 0.04), transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(201, 155, 124, 0.04), transparent 60%);
  pointer-events: none;
}

.letter-container {
  max-width: 700px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.letter-paper {
  background: linear-gradient(145deg, #f8f2e8, #f0e8d8, #f5efe5);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 0 80px rgba(0, 0, 0, 0.03);
  /* Paper texture */
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(255, 250, 240, 0.8), transparent),
    radial-gradient(ellipse at 80% 80%, rgba(235, 225, 210, 0.6), transparent);
}

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

.letter-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.letter-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--wine);
  color: var(--gold-200);
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 15px rgba(114, 47, 55, 0.4);
}

.letter-date {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a7a6a;
}

.letter-body {
  color: #3a3228;
}

.letter-greeting {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--wine);
  margin-bottom: var(--space-md);
}

.letter-body p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 2;
  color: #4a4038;
  margin-bottom: var(--space-md);
  text-indent: 2em;
}

.letter-body p:first-of-type {
  text-indent: 0;
}

.letter-signature {
  font-family: var(--font-serif);
  text-align: right;
  margin-top: var(--space-lg);
  text-indent: 0 !important;
  color: #5a4a3a;
}

.signature {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--wine);
}

.letter-footer-ornament {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
  color: var(--gold-500);
  opacity: 0.4;
}

/* ── DREAMS SECTION ── */
.dreams-section {
  background: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-700) 50%, var(--dark-800) 100%);
  padding: var(--space-2xl) var(--space-md);
  min-height: auto;
}

.dreams-container {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.dream-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-left: 2px solid rgba(200, 149, 43, 0.2);
  transition: all 0.6s var(--ease-romantic);
}

.dream-item:hover {
  border-left-color: var(--gold-400);
  transform: translateX(8px);
}

.dream-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 149, 43, 0.06);
  border: 1px solid rgba(200, 149, 43, 0.12);
}

.dream-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-200);
  margin-bottom: var(--space-xs);
}

.dream-item p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--pearl);
}

/* ── FINALE SECTION ── */
.finale-section {
  background: radial-gradient(ellipse at center, var(--dark-600) 0%, var(--dark-900) 100%);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.finale-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(200, 149, 43, 0.06), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(201, 155, 124, 0.05), transparent 50%);
  pointer-events: none;
}

.finale-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.finale-ornament-top,
.finale-ornament-bottom {
  display: flex;
  justify-content: center;
  margin: var(--space-md) 0;
  color: var(--gold-400);
  opacity: 0.5;
}

.finale-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-200);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
}

.finale-photo {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  border: 3px solid rgba(200, 149, 43, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.8s var(--ease-romantic);
}

.finale-photo:hover {
  border-color: var(--gold-400);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(200, 149, 43, 0.1);
  transform: translateY(-4px);
}

.finale-photo img {
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease-romantic);
  filter: sepia(0.05) contrast(1.02);
}

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

.finale-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 300;
  line-height: 2;
  color: var(--pearl);
  margin-bottom: var(--space-md);
}

.finale-promise {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  border-top: 1px solid rgba(200, 149, 43, 0.2);
  border-bottom: 1px solid rgba(200, 149, 43, 0.2);
}

.promise-text {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--gold-200);
  line-height: 1.6;
}

.finale-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.finale-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-200);
  letter-spacing: 0.04em;
}

.finale-heart {
  font-size: 1.5rem;
  color: var(--rose-gold);
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.2); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

.finale-date {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* ── FOOTER ── */
.site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  text-align: center;
}

.site-footer p {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-600);
}

.footer-year {
  margin-top: var(--space-xs);
  font-size: 0.65rem !important;
  opacity: 0.5;
}

/* ── COUNTER COMPONENT ── */
.love-counter {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 100;
  text-align: left;
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
}

.love-counter.visible {
  opacity: 1;
}

.counter-label {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 4px;
}

.counter-value {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-300);
  font-weight: 500;
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

@media (max-width: 768px) {
  #scroll-nav {
    right: 12px;
    gap: 12px;
  }

  .nav-dot {
    width: 9px;
    height: 9px;
  }

  .nav-dot span {
    display: none;
  }

  .music-btn {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }

  .art-deco-frame {
    inset: 15px;
  }

  .frame-corner {
    width: 30px;
    height: 30px;
  }

  .frame-corner::before { width: 30px !important; }
  .frame-corner::after { height: 30px !important; }

  /* Timeline goes single column */
  .timeline-container::before {
    left: 20px;
  }

  .timeline-item[data-side="left"],
  .timeline-item[data-side="right"] {
    flex-direction: row;
    padding-left: 50px;
    padding-right: 0;
  }

  .timeline-marker {
    left: 20px;
  }

  .polaroid-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-md);
  }

  .reasons-container {
    grid-template-columns: 1fr;
  }

  .finale-names {
    gap: var(--space-sm);
  }

  .dream-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .polaroid-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: var(--space-sm);
  }

  .polaroid-frame {
    padding: 8px 8px 35px 8px;
  }

  .polaroid-caption {
    font-size: 0.8rem;
  }

  .letter-paper {
    padding: 1.5rem;
  }
}

/* ── SELECTION & SCROLLBAR ── */
::selection {
  background: rgba(200, 149, 43, 0.3);
  color: var(--gold-100);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

/* ── ADDITIONAL POLISH ── */
/* Staggered animations for children */
.reasons-container .reason-card:nth-child(1) { transition-delay: 0s; }
.reasons-container .reason-card:nth-child(2) { transition-delay: 0.1s; }
.reasons-container .reason-card:nth-child(3) { transition-delay: 0.2s; }
.reasons-container .reason-card:nth-child(4) { transition-delay: 0.3s; }
.reasons-container .reason-card:nth-child(5) { transition-delay: 0.4s; }
.reasons-container .reason-card:nth-child(6) { transition-delay: 0.5s; }

.dreams-container .dream-item:nth-child(1) { transition-delay: 0s; }
.dreams-container .dream-item:nth-child(2) { transition-delay: 0.1s; }
.dreams-container .dream-item:nth-child(3) { transition-delay: 0.2s; }
.dreams-container .dream-item:nth-child(4) { transition-delay: 0.3s; }
.dreams-container .dream-item:nth-child(5) { transition-delay: 0.4s; }

/* Smooth section backgrounds transition on scroll */
.section-bg-transition {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-romantic);
  pointer-events: none;
}

/* Love counter at bottom */
.love-counter {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 100;
}
