/* ===================================================================
   OUR MEMORIES – TWO YEARS OF LOVE ❤️
   Premium Romantic UI / UX Stylesheet
   =================================================================== */

/* -------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   ------------------------------------------------------------------- */
:root {
  /* Color Palette: Dark Burgundy, Black & Soft Pink */
  --bg-deep: #0a0105;
  --bg-burgundy-900: #120309;
  --bg-burgundy-800: #1c0510;
  --bg-burgundy-700: #290818;
  --bg-burgundy-600: #3d0c24;
  --bg-wine: #541132;

  --accent-pink: #ff4d79;
  --accent-pink-glow: rgba(255, 77, 121, 0.45);
  --accent-rose: #ff758c;
  --accent-blush: #ffd3df;
  --accent-champagne: #fae1dd;
  --accent-gold: #d4af37;
  --accent-gold-light: #fbeea8;
  --accent-gold-glow: rgba(212, 175, 55, 0.35);

  --text-main: #fff5f8;
  --text-sub: #f3cbd8;
  --text-muted: #b8869c;
  --text-dark: #2a0b18;

  /* Glassmorphism Defaults */
  --glass-bg: rgba(28, 6, 17, 0.65);
  --glass-bg-hover: rgba(43, 10, 26, 0.78);
  --glass-border: rgba(255, 120, 160, 0.18);
  --glass-border-hover: rgba(255, 120, 160, 0.38);
  --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(255, 77, 121, 0.08);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-romantic: 'Cormorant Garamond', Garamond, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hand: 'Caveat', 'Dancing Script', cursive;

  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* -------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   ------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at 50% 0%, #200412 0%, #0d0107 50%, #060003 100%);
  background-attachment: fixed;
  line-height: 1.65;
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent-pink);
  color: #fff;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.hidden {
  display: none !important;
}

/* -------------------------------------------------------------------
   3. AMBIENT BACKGROUND & CANVASES
   ------------------------------------------------------------------- */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.cursor-sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.sparkle-dot {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sparkle-fade 0.8s ease-out forwards;
}

@keyframes sparkle-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) translateY(10px);
  }
}

/* Floating Ambient Glowing Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 22s ease-in-out infinite alternate;
}

.orb-1 {
  top: 10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(255, 77, 121, 0) 70%);
}

.orb-2 {
  top: 45%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7e123e 0%, rgba(126, 18, 62, 0) 70%);
  animation-duration: 28s;
  animation-delay: -5s;
}

.orb-3 {
  bottom: 5%;
  left: 20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0) 70%);
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* -------------------------------------------------------------------
   4. SECTION 1: OPENING SCREEN – DOWNLOADING LOVE
   ------------------------------------------------------------------- */
.opening-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #260517 0%, #0c0106 60%, #030002 100%);
  overflow: hidden;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.opening-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-bg-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, #ffd3df, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 180px, #ffd3df, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 280px 240px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 380px 350px, #ff758c, rgba(0,0,0,0));
  background-size: 400px 400px;
  opacity: 0.6;
  animation: stars-twinkle 6s ease-in-out infinite alternate;
}

@keyframes stars-twinkle {
  0% { opacity: 0.35; transform: scale(1); }
  100% { opacity: 0.75; transform: scale(1.02); }
}

.opening-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem;
  max-width: 580px;
  width: 90%;
  background: rgba(22, 4, 13, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 120, 160, 0.28);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(255, 77, 121, 0.22);
}

/* 3D Rotating Heart */
.heart-3d-scene {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.8rem;
  perspective: 900px;
}

.heart-3d-object {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate-3d-heart 10s infinite linear;
}

@keyframes rotate-3d-heart {
  0% {
    transform: rotateY(0deg) rotateX(12deg) rotateZ(0deg);
  }
  50% {
    transform: rotateY(180deg) rotateX(-12deg) rotateZ(5deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(12deg) rotateZ(0deg);
  }
}

.heart-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 117, 140, 0.4);
  transform-style: preserve-3d;
}

.layer-1 { transform: rotateY(0deg); border-color: rgba(255, 77, 121, 0.7); }
.layer-2 { transform: rotateY(45deg); border-color: rgba(255, 142, 170, 0.4); }
.layer-3 { transform: rotateY(90deg); border-color: rgba(212, 175, 55, 0.6); }
.layer-4 { transform: rotateY(135deg); border-color: rgba(255, 77, 121, 0.5); }
.layer-5 { transform: rotateX(90deg); border-color: rgba(255, 211, 223, 0.35); }

.heart-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  font-size: 3.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 16px var(--accent-pink)) drop-shadow(0 0 30px rgba(255, 77, 121, 0.8));
  animation: heartbeat-pulse 1.4s ease-in-out infinite;
}

.heart-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(255, 77, 121, 0.6) 0%, rgba(255, 77, 121, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: halo-glow 2s ease-in-out infinite alternate;
}

@keyframes halo-glow {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.9; }
}

@keyframes heartbeat-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  15% { transform: translate(-50%, -50%) scale(1.18); }
  30% { transform: translate(-50%, -50%) scale(0.98); }
  45% { transform: translate(-50%, -50%) scale(1.12); }
}

.opening-header {
  margin-bottom: 1.8rem;
}

.opening-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.opening-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-main);
  background: linear-gradient(135deg, #ffffff 0%, #ffd3df 50%, #ff758c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
  text-shadow: 0 4px 15px rgba(255, 77, 121, 0.3);
}

.opening-subtitle {
  font-family: var(--font-romantic);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--accent-blush);
  letter-spacing: 0.04em;
}

/* Loading Progress Bar */
.loading-wrapper {
  margin-top: 1rem;
}

.loading-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: var(--text-sub);
}

.loading-label {
  font-weight: 500;
  letter-spacing: 0.03em;
}

.loading-percentage {
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--accent-rose);
  font-size: 1.05rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: visible;
  position: relative;
  border: 1px solid rgba(255, 120, 160, 0.22);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff4d79 0%, #ff758c 50%, #ffd3df 100%);
  border-radius: 10px;
  position: relative;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 15px rgba(255, 77, 121, 0.8), 0 0 30px rgba(255, 117, 140, 0.5);
}

.progress-glow-tip {
  position: absolute;
  right: -10px;
  top: -8px;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px rgba(255, 77, 121, 0.9));
  animation: tip-bounce 0.8s ease-in-out infinite alternate;
}

@keyframes tip-bounce {
  0% { transform: scale(0.9); }
  100% { transform: scale(1.2); }
}

.loading-phase-message {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  font-family: var(--font-romantic);
  font-style: italic;
  color: var(--text-muted);
  min-height: 1.4rem;
  transition: opacity 0.3s ease;
}

/* Enter Button (Revealed at 100%) */
.enter-btn {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #ff4d79 0%, #d42255 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(255, 77, 121, 0.5), 0 0 20px rgba(255, 77, 121, 0.3);
  transition: all var(--transition-bounce);
  animation: enter-btn-entrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes enter-btn-entrance {
  0% { transform: scale(0.7) translateY(15px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.enter-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 15px 35px rgba(255, 77, 121, 0.7), 0 0 30px rgba(255, 77, 121, 0.5);
}

.enter-btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-sparkle, .btn-heart {
  font-size: 1.15rem;
}

/* -------------------------------------------------------------------
   5. FLOATING CONTROLS (MUSIC & FX)
   ------------------------------------------------------------------- */
.floating-controls {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 999;
}

/* Music Pill */
.music-pill {
  background: rgba(25, 5, 15, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 120, 160, 0.25);
  border-radius: 50px;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 77, 121, 0.15);
  transition: all var(--transition-normal);
}

.music-pill:hover {
  background: rgba(38, 8, 23, 0.88);
  border-color: rgba(255, 120, 160, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 77, 121, 0.25);
}

.music-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vinyl-disc {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle, #2d0b1a 30%, #0d0106 70%, #ff4d79 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 120, 160, 0.35);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.5s ease;
}

.music-pill.playing .vinyl-disc {
  animation: vinyl-spin 4s linear infinite;
  border-color: var(--accent-pink);
  box-shadow: 0 0 12px rgba(255, 77, 121, 0.6);
}

@keyframes vinyl-spin {
  100% { transform: rotate(360deg); }
}

.vinyl-icon {
  font-size: 1rem;
}

.music-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.music-status-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-rose);
  letter-spacing: 0.03em;
}

.music-track-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Equalizer sound wave bars */
.sound-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  padding-left: 0.3rem;
}

.wave-bar {
  width: 3px;
  height: 4px;
  background: var(--accent-pink);
  border-radius: 3px;
  transition: height 0.2s ease;
}

.music-pill.playing .wave-bar:nth-child(1) { animation: sound-bounce 0.9s ease-in-out infinite alternate; }
.music-pill.playing .wave-bar:nth-child(2) { animation: sound-bounce 0.7s ease-in-out infinite alternate 0.2s; }
.music-pill.playing .wave-bar:nth-child(3) { animation: sound-bounce 1.1s ease-in-out infinite alternate 0.4s; }
.music-pill.playing .wave-bar:nth-child(4) { animation: sound-bounce 0.8s ease-in-out infinite alternate 0.1s; }

@keyframes sound-bounce {
  0% { height: 4px; opacity: 0.5; }
  100% { height: 18px; opacity: 1; }
}

.control-icon-btn {
  align-self: flex-end;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(25, 5, 15, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 120, 160, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.control-icon-btn:hover {
  transform: scale(1.1);
  border-color: var(--accent-pink);
  box-shadow: 0 0 15px rgba(255, 77, 121, 0.4);
}

.control-icon-btn.active {
  background: rgba(255, 77, 121, 0.25);
  border-color: var(--accent-pink);
}

/* -------------------------------------------------------------------
   6. HERO / TITLE SECTION
   ------------------------------------------------------------------- */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  position: relative;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.3rem;
  background: rgba(45, 10, 26, 0.6);
  border: 1px solid rgba(255, 120, 160, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-blush);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  animation: hero-fade-in 1s ease-out forwards;
}

.heart-pulse {
  animation: heartbeat-pulse 1.6s infinite ease-in-out;
}

.hero-main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.8rem;
}

.title-sub {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.title-main {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #ffd3df 40%, #ff758c 70%, #ff4d79 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(255, 77, 121, 0.35));
}

.hero-couple-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-romantic);
  font-size: 1.4rem;
  color: var(--text-sub);
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.couple-tag {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
}

.couple-her {
  color: var(--accent-rose);
  font-weight: 600;
  font-size: 1.55rem;
  text-shadow: 0 0 12px rgba(255, 117, 140, 0.5);
}

.couple-heart {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.couple-his {
  color: var(--accent-blush);
  font-style: italic;
}

.hero-intro-text {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.hero-scroll-indicator:hover {
  color: var(--accent-rose);
  transform: translateY(3px);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 120, 160, 0.4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-pink);
  border-radius: 4px;
  animation: mouse-scroll 1.6s ease-in-out infinite;
}

@keyframes mouse-scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes hero-fade-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------
   7. SHARED SECTION HEADINGS & GLASS CARD
   ------------------------------------------------------------------- */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 1.2rem;
  max-width: 260px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 120, 160, 0.5), transparent);
}

.divider-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 6px var(--accent-pink-glow));
}

.section-desc {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

/* -------------------------------------------------------------------
   8. SECTION 2: ANNIVERSARY LOVE LETTER
   ------------------------------------------------------------------- */
.love-letter-section {
  position: relative;
}

.envelope-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  perspective: 1400px;
}

.envelope-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  min-height: 480px;
  display: flex;
  justify-content: center;
}

/* Realistic Envelope Structure */
.envelope {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 340px;
  background: linear-gradient(145deg, #2a0717 0%, #17030c 100%);
  border: 1px solid rgba(255, 120, 160, 0.3);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 77, 121, 0.15);
  cursor: pointer;
  perspective: 1200px;
  transition: all var(--transition-slow);
}

/* Envelope Flap (3D fold) */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  transform-origin: top center;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  transform-style: preserve-3d;
}

.flap-triangle {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #380b20 0%, #200613 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-top: 1px solid rgba(255, 120, 160, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Wax Seal Button */
.wax-seal {
  position: absolute;
  top: 155px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle, #b81e4a 20%, #750d2c 80%, #470619 100%);
  border: 2px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(184, 30, 74, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-bounce);
}

.wax-seal:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 28px rgba(255, 77, 121, 0.8);
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.seal-heart {
  font-size: 1.35rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.seal-text {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold-light);
}

.seal-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 77, 121, 0.6);
  animation: seal-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes seal-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Envelope Pocket Panels */
.envelope-pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  border-radius: 16px;
}

.pocket-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #240514 0%, #15020c 100%);
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  border-left: 1px solid rgba(255, 120, 160, 0.15);
}

.pocket-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(225deg, #240514 0%, #15020c 100%);
  clip-path: polygon(100% 0, 50% 50%, 100% 100%);
  border-right: 1px solid rgba(255, 120, 160, 0.15);
}

.pocket-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #30081c 0%, #1a040f 100%);
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  border-bottom: 1px solid rgba(255, 120, 160, 0.25);
}

.envelope-stamp-badge {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  z-index: 6;
  opacity: 0.8;
}

/* The Letter Parchment */
.letter-paper {
  position: absolute;
  top: 20px;
  left: 5%;
  width: 90%;
  max-height: 280px;
  background: #fbf5e8;
  color: #2b111b;
  border-radius: 12px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px) scale(0.92);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.8s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.letter-parchment {
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 77, 121, 0.06) 0%, transparent 40%);
}

.letter-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #b8869c;
  pointer-events: none;
}

.corner-tl { top: -14px; left: -14px; border-right: none; border-bottom: none; }
.corner-tr { top: -14px; right: -14px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -14px; left: -14px; border-right: none; border-top: none; }
.corner-br { bottom: -14px; right: -14px; border-left: none; border-top: none; }

.letter-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.05);
  pointer-events: none;
}

.letter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(184, 134, 156, 0.3);
}

.letter-stamp-mark {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8c2e55;
  text-transform: none;
}

.letter-date {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: #633246;
}

.letter-salutation {
  font-family: var(--font-romantic);
  font-size: 1.75rem;
  font-weight: 700;
  color: #4a0d24;
  margin-bottom: 1.2rem;
}

.letter-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #351020;
}

.letter-body p {
  margin-bottom: 1.2rem;
}

.letter-footer {
  margin-top: 1.6rem;
  text-align: right;
}

.letter-closing {
  font-family: var(--font-romantic);
  font-size: 1.25rem;
  font-style: italic;
  color: #633246;
}

.letter-signature {
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 700;
  color: #b81e4a;
  margin-top: 0.2rem;
}

.letter-actions {
  margin-top: 1.8rem;
  text-align: center;
}

.letter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7a1b3e;
  border: 1px solid rgba(122, 27, 62, 0.3);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  background: rgba(122, 27, 62, 0.05);
  transition: all var(--transition-fast);
}

.letter-toggle-btn:hover {
  background: rgba(122, 27, 62, 0.12);
  transform: translateY(-1px);
}

/* ENVELOPE OPENED STATE */
.envelope.is-open {
  height: auto;
  min-height: 380px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.envelope.is-open .envelope-flap {
  transform: rotateX(180deg);
  opacity: 0.4;
  z-index: 1;
}

.envelope.is-open .wax-seal {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.4);
}

.envelope.is-open .envelope-pocket {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.envelope.is-open .letter-paper {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 2500px;
  transform: translateY(0) scale(1);
  z-index: 8;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 77, 121, 0.2);
}

/* Envelope Hearts Emitter */
.envelope-hearts-emitter {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 15;
}

.floating-letter-heart {
  position: absolute;
  font-size: 1.4rem;
  pointer-events: none;
  animation: float-up-fade 2.4s ease-out forwards;
}

@keyframes float-up-fade {
  0% { transform: translate(-50%, -50%) scale(0.4) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 160px)) scale(1.3) rotate(var(--rot, 25deg)); opacity: 0; }
}

/* -------------------------------------------------------------------
   9. SECTION 3: OUR LITTLE WORLD – TIMELINE & POLAROIDS
   ------------------------------------------------------------------- */
.memories-timeline-section {
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Central Glowing Timeline Spine */
.timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(255, 77, 121, 0.6) 15%, 
    rgba(255, 117, 140, 0.8) 50%, 
    rgba(212, 175, 55, 0.6) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 15px rgba(255, 77, 121, 0.6);
  z-index: 1;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  margin-bottom: 5.5rem;
  display: flex;
  align-items: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #3d0c24 0%, #16040c 100%);
  border: 2px solid var(--accent-pink);
  box-shadow: 0 0 18px var(--accent-pink-glow), inset 0 0 10px rgba(255, 77, 121, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.node-icon {
  font-size: 1.2rem;
  animation: heartbeat-pulse 2s infinite ease-in-out;
}

/* Timeline Content & Grid */
.timeline-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.timeline-item.reverse .timeline-content {
  direction: rtl;
}

.timeline-item.reverse .timeline-content > * {
  direction: ltr;
}

/* Polaroid Card Design */
.polaroid-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.polaroid-tape {
  position: absolute;
  top: -12px;
  width: 85px;
  height: 24px;
  background: rgba(250, 225, 221, 0.55);
  backdrop-filter: blur(4px);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  transform: rotate(-3deg);
  z-index: 4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.polaroid-card {
  background: #fbf6f0;
  padding: 1.1rem 1.1rem 1.4rem;
  border-radius: 4px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 77, 121, 0.12);
  width: 100%;
  max-width: 320px;
  cursor: pointer;
  transform: rotate(-2deg);
  transition: transform var(--transition-bounce), box-shadow var(--transition-bounce);
  transform-style: preserve-3d;
  outline: none;
}

.timeline-item.reverse .polaroid-card {
  transform: rotate(2.5deg);
}

.polaroid-card:hover, .polaroid-card:focus-visible {
  transform: scale(1.04) rotate(0deg) translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 77, 121, 0.3);
}

.polaroid-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1f0612;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid-card:hover .polaroid-img {
  transform: scale(1.08);
}

.photo-placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #380b20 0%, #1a040f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.photo-placeholder-overlay.show {
  opacity: 1;
}

.overlay-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 8px rgba(255, 77, 121, 0.5));
}

.overlay-text {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  color: var(--accent-blush);
  word-break: break-all;
}

.photo-glass-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.75s ease;
}

.polaroid-card:hover .photo-glass-shine {
  left: 140%;
}

.polaroid-caption {
  margin-top: 1.1rem;
  text-align: center;
}

.polaroid-text {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 700;
  color: #3d0d21;
  line-height: 1.3;
}

/* Narrative Card */
.memory-narrative {
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}

.narrative-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.memory-tag-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.memory-date-badge {
  font-size: 0.8rem;
  color: var(--accent-blush);
  font-family: var(--font-romantic);
  font-style: italic;
}

.memory-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffd3df 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.memory-story {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 1.5rem;
}

.memory-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-rose);
  border-top: 1px solid rgba(255, 120, 160, 0.18);
  padding-top: 0.9rem;
  width: 100%;
}

/* -------------------------------------------------------------------
   10. SECTION 4: REASONS WHY I LOVE YOU (3D FLIP CARDS)
   ------------------------------------------------------------------- */
.reasons-section {
  position: relative;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-bottom: 4rem;
}

/* 3D Flip Card Container */
.flip-card {
  background-color: transparent;
  height: 320px;
  perspective: 1100px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  border-radius: 22px;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back Faces */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.7rem 1.6rem;
  box-sizing: border-box;
}

/* Card Front */
.flip-card-front {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.flip-card:hover .flip-card-front {
  border-color: rgba(255, 120, 160, 0.45);
  transform: translateY(-4px);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.card-num-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
}

.card-sparkle-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px var(--accent-pink));
}

.card-front-center {
  margin: auto 0;
}

.card-front-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.card-front-hint {
  font-family: var(--font-romantic);
  font-size: 1rem;
  font-style: italic;
  color: var(--accent-blush);
}

.card-reveal-prompt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-rose);
  padding: 0.35rem 0.85rem;
  background: rgba(255, 77, 121, 0.12);
  border-radius: 50px;
  border: 1px solid rgba(255, 77, 121, 0.25);
  transition: all var(--transition-fast);
}

.flip-card:hover .card-reveal-prompt {
  background: rgba(255, 77, 121, 0.25);
  transform: scale(1.05);
}

/* Card Back */
.flip-card-back {
  background: radial-gradient(circle at top right, #380b20 0%, #1a040f 100%);
  border: 1px solid rgba(255, 77, 121, 0.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 77, 121, 0.2);
  transform: rotateY(180deg);
  text-align: left;
  overflow: hidden;
}

.card-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 120, 160, 0.2);
  padding-bottom: 0.65rem;
  flex-shrink: 0;
  width: 100%;
}

.card-back-header-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
}

.card-back-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-rose);
  line-height: 1.3;
}

.card-back-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.card-back-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 175px;
  margin: 0.65rem 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scroll-behavior: smooth;
  padding-right: 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 77, 121, 0.65) rgba(30, 5, 18, 0.5);
}

/* Subtle Romantic Pink / Burgundy WebKit Scrollbar */
.card-back-body::-webkit-scrollbar {
  width: 5px;
}

.card-back-body::-webkit-scrollbar-track {
  background: rgba(30, 5, 18, 0.45);
  border-radius: 10px;
}

.card-back-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 77, 121, 0.75), rgba(255, 120, 160, 0.45));
  border-radius: 10px;
  border: 1px solid rgba(255, 77, 121, 0.25);
}

.card-back-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink);
  box-shadow: 0 0 8px rgba(255, 77, 121, 0.6);
}

.card-reason-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.card-back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 120, 160, 0.15);
  padding-top: 0.55rem;
  flex-shrink: 0;
  width: 100%;
}

.card-flipback-btn {
  color: var(--accent-blush);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.reasons-footer-quote {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(30, 7, 19, 0.45);
  border: 1px dashed rgba(255, 120, 160, 0.25);
  border-radius: 20px;
}

.quote-text {
  font-family: var(--font-romantic);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--accent-champagne);
  margin-bottom: 0.6rem;
}

.quote-author {
  font-size: 0.85rem;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
}

/* -------------------------------------------------------------------
   11. SECTION 5: TWO YEARS OF LOVE – STATS & MILESTONES
   ------------------------------------------------------------------- */
.stats-section {
  position: relative;
}

.milestone-headline-card {
  text-align: center;
  padding: 2.8rem 2rem;
  margin-bottom: 3.5rem;
  background: radial-gradient(circle at center, rgba(65, 12, 38, 0.65) 0%, rgba(22, 4, 13, 0.85) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.15);
}

.milestone-badge-glow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.milestone-num {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #fbeea8 40%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.milestone-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold-light);
}

.milestone-subtext {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--accent-blush);
  font-weight: 500;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.stat-card {
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 77, 121, 0.12);
  border: 1px solid rgba(255, 77, 121, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 1.5rem;
}

.stat-icon-wrapper.pulsing {
  animation: heartbeat-pulse 1.4s ease-in-out infinite;
  background: rgba(255, 77, 121, 0.22);
  border-color: var(--accent-pink);
  box-shadow: 0 0 15px var(--accent-pink-glow);
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.stat-value {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #ffd3df 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-rose);
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-rose);
  margin-bottom: 0.4rem;
}

.stat-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.live-dot-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  color: #55efc4;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #55efc4;
  box-shadow: 0 0 8px #55efc4;
  animation: live-blink 1.5s infinite ease-in-out;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.stats-quote-bar {
  padding: 2rem 2.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.quote-content {
  font-family: var(--font-romantic);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
}

.quote-by {
  display: block;
  font-size: 0.95rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}

/* -------------------------------------------------------------------
   12. ANNIVERSARY CELEBRATION SECTION
   ------------------------------------------------------------------- */
.celebration-section {
  position: relative;
  padding: 3rem 0 5rem;
}

.celebration-banner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  animation: celebration-fade-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes celebration-fade-in {
  0% { transform: translateY(20px) scale(0.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.celebration-content {
  padding: 3.4rem 2.8rem;
  background: radial-gradient(circle at center, rgba(84, 17, 50, 0.72) 0%, rgba(26, 5, 16, 0.9) 100%);
  border: 1px solid rgba(255, 120, 160, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 77, 121, 0.22);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.celebration-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-gold), transparent);
}

.celebration-hearts-burst {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.35rem;
  animation: burst-pulse 3.5s ease-in-out infinite alternate;
}

@keyframes burst-pulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 6px rgba(255, 77, 121, 0.4)); }
  100% { transform: scale(1.06); filter: drop-shadow(0 0 16px rgba(255, 77, 121, 0.8)); }
}

.celebration-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.1rem;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 0%, #ffd3df 50%, #ff758c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(255, 77, 121, 0.4));
}

.celebration-body {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto;
}

/* -------------------------------------------------------------------
   13. ROMANTIC FOOTER
   ------------------------------------------------------------------- */
.site-footer {
  padding: 5rem 0 3.5rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 120, 160, 0.15);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 1, 5, 0.85) 100%);
}

.footer-heart-symbol {
  font-size: 2.2rem;
  color: var(--accent-pink);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255, 77, 121, 0.5));
  animation: heartbeat-pulse 2s infinite ease-in-out;
}

.footer-couple-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-romantic);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent-blush);
  margin-bottom: 0.5rem;
}

.footer-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------
   14. LIGHTBOX MODAL
   ------------------------------------------------------------------- */
.photo-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.photo-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 1, 6, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--accent-pink);
  transform: scale(1.1);
}

.lightbox-polaroid {
  background: #fbf6f0;
  padding: 1.2rem 1.2rem 1.6rem;
  border-radius: 6px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 77, 121, 0.3);
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 3px;
}

.lightbox-caption {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  font-weight: 700;
  color: #350c1d;
  margin-top: 1rem;
}

/* -------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS (MOBILE-FIRST)
   ------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .timeline-spine {
    left: 24px;
  }

  .timeline-item {
    margin-bottom: 4rem;
  }

  .timeline-node {
    left: 24px;
    width: 36px;
    height: 36px;
  }

  .node-icon {
    font-size: 1rem;
  }

  .timeline-content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-left: 55px;
  }

  .timeline-item.reverse .timeline-content {
    direction: ltr;
    padding-left: 55px;
  }

  .polaroid-card {
    max-width: 270px;
  }

  .envelope {
    height: 310px;
  }

  .wax-seal {
    top: 140px;
    width: 58px;
    height: 58px;
  }

  .letter-paper {
    padding: 1.6rem 1.4rem;
  }

  .letter-salutation {
    font-size: 1.4rem;
  }

  .letter-body {
    font-size: 0.95rem;
  }

  .floating-controls {
    bottom: 1rem;
    right: 1rem;
  }

  .music-pill {
    padding: 0.25rem 0.65rem 0.25rem 0.25rem;
  }

  .music-track-title {
    max-width: 95px;
  }
}

@media (max-width: 480px) {
  .title-main {
    font-size: 2.2rem;
  }

  .hero-couple-badge {
    font-size: 1.2rem;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------
   16. ACCESSIBILITY: REDUCED MOTION PREFERENCES
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ambient-glow,
  .heart-3d-object,
  .opening-bg-stars {
    animation: none !important;
  }

  .polaroid-card:hover {
    transform: none !important;
  }
}
