/* ==========================================================================
   JENISH & SHEETAL LOVE JOURNEY - MODERN LUXURY ROMANCE DESIGN SYSTEM
   Aesthetic: Luminous Glassmorphism, Rose Quartz & Champagne Gold
   ========================================================================== */

:root {
  /* Color Palette */
  --rose-primary: #ff5e7e;
  --rose-deep: #e83a5e;
  --rose-dark: #b81d42;
  --rose-glow: rgba(255, 94, 126, 0.35);
  --rose-soft: #fff0f3;
  --rose-blush: #ffe4e9;

  --champagne-gold: #e5b964;
  --gold-glow: rgba(229, 185, 100, 0.45);
  --gold-gradient: linear-gradient(135deg, #f7d794 0%, #e5b964 50%, #c49439 100%);

  --text-primary: #2c1a24;
  --text-secondary: #69495b;
  --text-muted: #957385;
  --text-light: #ffffff;

  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-rose: rgba(255, 143, 163, 0.3);
  --glass-shadow: 0 16px 40px -12px rgba(184, 29, 66, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  --glass-shadow-hover: 0 22px 50px -10px rgba(184, 29, 66, 0.22), 0 4px 12px rgba(0, 0, 0, 0.06);
  --glass-blur: blur(20px);

  /* Fonts */
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-indic-gu: 'Noto Serif Gujarati', 'Noto Sans Gujarati', serif;
  --font-indic-hi: 'Noto Serif Devanagari', 'Noto Sans Devanagari', serif;

  /* Spacing & Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Custom Romantic Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #fff0f3;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff758c 0%, #ff7eb3 50%, #e5b964 100%);
  border-radius: 9999px;
  border: 2px solid #fff0f3;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e83a5e 0%, #ff5e7e 100%);
}

/* Glass Sheen Hover Reflex */
.timeline-card,
.letter-glass-card,
.vows-container-card,
.counter-box-wrapper {
  position: relative;
  overflow: hidden;
}

.timeline-card::before,
.letter-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 1;
}

.timeline-card:hover::before,
.letter-glass-card:hover::before {
  left: 200%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: #fff2f4;
  background-image:
    radial-gradient(at 0% 0%, rgba(255, 182, 193, 0.35) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 218, 185, 0.3) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(255, 240, 245, 0.6) 0px, transparent 60%),
    radial-gradient(at 0% 100%, rgba(255, 192, 203, 0.3) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 228, 225, 0.4) 0px, transparent 50%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* Multi-language font adjustments */
body[data-language="gu"] {
  font-family: var(--font-indic-gu), var(--font-body);
}

body[data-language="hi"] {
  font-family: var(--font-indic-hi), var(--font-body);
}

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

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

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

/* Background Animated Canvas */
#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Confetti Celebration Canvas */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Top Glow Line */
.top-glow-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff758c, #ff7eb3, #e5b964, #ff758c);
  background-size: 300% 100%;
  animation: glowMove 8s ease infinite;
  z-index: 1001;
}

@keyframes glowMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   FLOATING MODERN NAVIGATION
   ========================================================================== */
.main-navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1240px);
  height: 64px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px -10px rgba(184, 29, 66, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.main-navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px -8px rgba(184, 29, 66, 0.22);
  top: 8px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--rose-deep);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-brand-logo {
  height: 34px;
  width: auto;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 6px rgba(255, 94, 126, 0.3));
}

.nav-brand-names {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rose-deep) 0%, #d63065 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-brand-heart {
  color: var(--rose-primary);
  font-size: 0.95rem;
  animation: heartPulse 1.8s infinite;
  display: inline-block;
}

@keyframes heartPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

.nav-quote-banner {
  flex: 1;
  max-width: 520px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 16px;
  opacity: 0.9;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Floating Audio Player Widget */
.nav-audio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 240, 244, 0.85);
  border: 1px solid var(--glass-border-rose);
  color: var(--rose-deep);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.nav-audio-btn:hover {
  background: #ffecf1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--rose-glow);
}

.audio-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  width: 14px;
}

.eq-bar {
  width: 3px;
  background: var(--rose-primary);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.nav-audio-btn.is-playing .eq-bar:nth-child(1) {
  animation: soundBar 0.9s infinite alternate ease-in-out;
}

.nav-audio-btn.is-playing .eq-bar:nth-child(2) {
  animation: soundBar 0.7s infinite alternate 0.2s ease-in-out;
}

.nav-audio-btn.is-playing .eq-bar:nth-child(3) {
  animation: soundBar 1.1s infinite alternate 0.4s ease-in-out;
}

@keyframes soundBar {
  0% {
    height: 3px;
  }

  100% {
    height: 14px;
  }
}

/* Segmented Language Switcher */
.lang-switcher {
  display: flex;
  background: rgba(255, 230, 236, 0.6);
  border: 1px solid var(--glass-border-rose);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  color: var(--rose-deep);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--rose-deep);
  box-shadow: 0 2px 8px rgba(232, 58, 94, 0.2);
}

/* ==========================================================================
   PAGE CONTAINER & SECTIONS
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 20px 60px;
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin: 70px 0 40px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: rgba(255, 235, 240, 0.8);
  border: 1px solid var(--glass-border-rose);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(255, 94, 126, 0.1);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.divider-line {
  width: 50px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--rose-primary));
}

.divider-line.right {
  background: linear-gradient(90deg, var(--rose-primary), transparent);
}

.divider-icon {
  color: var(--rose-primary);
  font-size: 0.85rem;
}

/* ==========================================================================
   HERO EXPERIENCE: "OUR MEETING IS THE BEGINNING OF LOVE"
   ========================================================================== */
.hero-section {
  text-align: center;
  padding: 20px 0 50px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--rose-deep);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px -4px rgba(232, 58, 94, 0.15);
  margin-bottom: 24px;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.hero-pill-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px -2px rgba(232, 58, 94, 0.25);
}

.hero-pill-badge .heart-icon {
  color: var(--rose-primary);
  animation: heartPulse 1.4s infinite;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-main-title .gradient-text {
  background: linear-gradient(135deg, var(--rose-deep) 0%, #e0567e 50%, var(--champagne-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-triplet-quotes {
  max-width: 760px;
  margin: 18px auto 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-quote-item {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  font-style: italic;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Couple Cards Showcase */
.couple-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  margin: 40px auto;
  max-width: 700px;
}

.avatar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.avatar-halo {
  position: relative;
  width: clamp(120px, 18vw, 170px);
  height: clamp(120px, 18vw, 170px);
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255, 143, 163, 0.8), rgba(255, 255, 255, 0.9), rgba(229, 185, 100, 0.8));
  box-shadow: 0 12px 30px -6px rgba(232, 58, 94, 0.25);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.avatar-halo:hover {
  transform: scale(1.06) rotate(1deg);
  box-shadow: 0 18px 40px -4px rgba(232, 58, 94, 0.35);
}

.avatar-img-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
}

.avatar-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.avatar-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 240, 244, 0.9);
  color: var(--rose-deep);
  border: 1px solid var(--glass-border-rose);
}

/* Infinity Love Connector */
.love-infinity-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.infinity-heart-icon {
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px -2px var(--rose-glow);
  animation: heartPulse 1.8s infinite;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.infinity-heart-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 30px var(--rose-glow);
}

.infinity-label {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--rose-deep);
  line-height: 1;
}

/* ==========================================================================
   LIVE "DAYS IN LOVE" COUNTER WIDGET
   ========================================================================== */
.counter-box-wrapper {
  margin: 30px auto 10px;
  max-width: 780px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.counter-box-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rose-primary), var(--champagne-gold), transparent);
}

.counter-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.counter-cell {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  box-shadow: 0 4px 14px -2px rgba(184, 29, 66, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

.counter-cell:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(184, 29, 66, 0.15);
}

.counter-digit {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--rose-deep);
  line-height: 1;
  margin-bottom: 4px;
}

.counter-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Upcoming Milestone Banner */
.next-milestone-pill {
  margin: 22px auto 0;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(255, 242, 245, 0.95), rgba(255, 250, 238, 0.95));
  border: 1px solid rgba(229, 185, 100, 0.45);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(229, 185, 100, 0.15);
  max-width: 100%;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

.next-milestone-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(229, 185, 100, 0.25);
}

.next-milestone-tag {
  background: var(--gold-gradient);
  color: #5c3f05;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(229, 185, 100, 0.25);
}

#nextMilestoneText {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ==========================================================================
   INTERACTIVE TIMELINE: "OUR LOVE JOURNEY"
   ========================================================================== */
.timeline-section {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Central glowing track */
.timeline-track-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
      var(--rose-primary) 0%,
      #ff8fa3 30%,
      var(--champagne-gold) 70%,
      var(--rose-deep) 100%);
  border-radius: 4px;
  box-shadow: 0 0 16px var(--rose-glow);
}

.timeline-list {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

/* Center Badge Icon */
.timeline-center-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--rose-primary);
  box-shadow: 0 0 0 5px rgba(255, 94, 126, 0.2), 0 8px 20px -2px rgba(232, 58, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
  font-size: 1.25rem;
  z-index: 5;
  transition: var(--transition-bounce);
}

.timeline-item:hover .timeline-center-node {
  transform: translateX(-50%) scale(1.18);
  border-color: var(--champagne-gold);
  color: var(--champagne-gold);
  box-shadow: 0 0 0 7px var(--gold-glow);
}

/* Timeline Card */
.timeline-card {
  width: calc(50% - 46px);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  gap: 20px;
  position: relative;
}

.timeline-card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-rose);
}

/* Visual Connector Pointer */
.timeline-item.left .timeline-card::after {
  content: '';
  position: absolute;
  top: 26px;
  right: -10px;
  width: 18px;
  height: 18px;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  transform: rotate(45deg);
}

.timeline-item.right .timeline-card::after {
  content: '';
  position: absolute;
  top: 26px;
  left: -10px;
  width: 18px;
  height: 18px;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  border-left: 1px solid var(--glass-border);
  transform: rotate(45deg);
}

/* Card Artwork Thumbnail */
.timeline-art-box {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 6px;
  border: 1px solid var(--glass-border-rose);
  box-shadow: 0 6px 16px -2px rgba(184, 29, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.timeline-card:hover .timeline-art-box {
  transform: scale(1.05) rotate(-1deg);
}

.timeline-art-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 4px);
}

/* Card Content */
.timeline-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.timeline-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 235, 240, 0.85);
  border: 1px solid var(--glass-border-rose);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose-deep);
}

.timeline-countdown-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 249, 235, 0.9);
  color: #7d5700;
  border: 1px solid rgba(229, 185, 100, 0.4);
}

.timeline-card-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-card-body strong,
.timeline-card-body em {
  color: var(--rose-deep);
  font-style: normal;
  font-weight: 700;
}

/* ==========================================================================
   HEARTFELT LETTERS & SACRED PROMISES
   ========================================================================== */
.letters-section {
  margin: 50px auto;
  max-width: 1040px;
}

.letters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.letter-glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--glass-shadow);
  position: relative;
  transition: var(--transition-smooth);
}

.letter-glass-card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}

.letter-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.letter-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffeef2, #ffd6df);
  border: 1px solid var(--glass-border-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
  font-size: 1.2rem;
}

.letter-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.letter-body {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Sacred Vows Full Card */
.vows-container-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.vows-container-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.vows-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.vow-card-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: 0 4px 14px -2px rgba(184, 29, 66, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.vow-card-item:hover {
  background: #ffffff;
  transform: translateY(-2px);
  border-color: var(--glass-border-rose);
  box-shadow: 0 8px 24px -4px rgba(184, 29, 66, 0.12);
}

.vow-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--rose-deep);
  font-weight: 700;
  font-size: 1.05rem;
}

.vow-icon-title i {
  color: var(--champagne-gold);
}

.vow-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.vow-seal-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 240, 244, 0.85);
  border: 1px solid var(--glass-border-rose);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-deep);
  transition: var(--transition-smooth);
}

.vow-seal-btn:hover {
  background: #ffe3ea;
  transform: scale(1.03);
}

.vow-seal-btn.sealed {
  background: linear-gradient(135deg, #fff3d6, #ffe5a3);
  border-color: var(--champagne-gold);
  color: #7d5700;
  box-shadow: 0 2px 10px var(--gold-glow);
}

/* ==========================================================================
   FEATURE 1: "FEEL MY HEARTBEAT" (TOUCH & HOLD EXPERIENCE)
   ========================================================================== */
.heartbeat-section {
  margin: 50px auto;
  max-width: 680px;
  text-align: center;
}

.heartbeat-glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.heartbeat-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rose-primary), var(--rose-deep), transparent);
}

.heartbeat-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 10px 0 6px;
}

.heartbeat-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.heartbeat-touch-zone {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  margin: 10px 0 20px;
}

.heartbeat-wave-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--rose-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.heartbeat-wave-ring.outer {
  inset: -14px;
  border-color: rgba(229, 185, 100, 0.7);
}

.heartbeat-core-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 8px 24px var(--rose-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Pulsing Active State */
.heartbeat-touch-zone.is-pulsing .heartbeat-core-icon {
  transform: scale(1.15);
  box-shadow: 0 0 35px 8px rgba(255, 94, 126, 0.55);
  animation: heartThumpAnim 0.85s infinite ease-in-out;
}

.heartbeat-touch-zone.is-pulsing .heartbeat-wave-ring {
  opacity: 1;
  animation: waveExpand 0.85s infinite ease-out;
}

.heartbeat-touch-zone.is-pulsing .heartbeat-wave-ring.outer {
  animation: waveExpand 0.85s infinite 0.2s ease-out;
}

@keyframes heartThumpAnim {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.22);
  }

  30% {
    transform: scale(1.08);
  }

  45% {
    transform: scale(1.26);
  }

  65% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes waveExpand {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.heartbeat-revealed-msg {
  max-width: 500px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--rose-deep);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heartbeat-revealed-msg.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   FEATURE 2: "SECRET TIME CAPSULE" (CODE: 1810)
   ========================================================================== */
.time-capsule-section {
  margin: 60px auto;
  max-width: 720px;
}

.time-capsule-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.time-capsule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.capsule-sealed-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.capsule-wax-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #f7d794 0%, #e5b964 60%, #b8860b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4a3203;
  box-shadow: 0 8px 24px var(--gold-glow), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 2px dashed rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.capsule-wax-badge i {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.capsule-wax-badge span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.capsule-countdown-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 240, 244, 0.85);
  border: 1px solid var(--glass-border-rose);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-deep);
  margin-bottom: 22px;
}

.capsule-pin-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

#capsulePinInput {
  width: 150px;
  height: 48px;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: var(--rose-deep);
  background: #ffffff;
  border: 2px solid var(--glass-border-rose);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: var(--transition-smooth);
}

#capsulePinInput:focus {
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 4px var(--rose-glow);
}

.capsule-pin-form.has-error #capsulePinInput {
  border-color: #e53935;
  animation: pinShake 0.45s ease;
}

@keyframes pinShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-8px);
  }

  40%,
  80% {
    transform: translateX(8px);
  }
}

.capsule-unlock-btn {
  height: 48px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--champagne-gold) 0%, #c49439 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(196, 148, 57, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-bounce);
}

.capsule-unlock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(196, 148, 57, 0.45);
}

.capsule-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 6px;
}

.capsule-error {
  font-size: 0.85rem;
  color: #d32f2f;
  font-weight: 600;
  min-height: 22px;
  margin-top: 6px;
}

/* Unlocked Secret Letter */
.capsule-unlocked-view {
  display: none;
  background: #fffdf9;
  border: 1px solid rgba(229, 185, 100, 0.5);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: inset 0 0 20px rgba(229, 185, 100, 0.1), 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
}

#timeCapsuleCard.is-unlocked .capsule-unlocked-view {
  display: block;
  animation: letterFadeIn 0.6s ease-out;
}

#timeCapsuleCard.is-unlocked .capsule-sealed-view {
  display: none !important;
}

@keyframes letterFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.unlocked-letter-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(229, 185, 100, 0.2);
  color: #8a6510;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.unlocked-letter-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.unlocked-letter-date {
  font-size: 0.82rem;
  color: var(--champagne-gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.unlocked-letter-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   FEATURE 3: "INSTANT WHATSAPP REPLY TO JENISH"
   ========================================================================== */
.whatsapp-reply-box {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed rgba(255, 143, 163, 0.4);
  text-align: center;
}

.whatsapp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.whatsapp-divider span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  text-transform: lowercase;
}

.whatsapp-reply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.38);
  transition: var(--transition-bounce);
  text-decoration: none;
  max-width: 100%;
}

.whatsapp-reply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-reply-btn i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.whatsapp-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}


.love-notes-wrapper {
  margin: 50px auto;
  max-width: 680px;
  text-align: center;
}

.love-note-flip-card {
  perspective: 1000px;
  margin: 20px auto;
  cursor: pointer;
}

.love-note-card-inner {
  position: relative;
  width: 100%;
  min-height: 190px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.love-note-flip-card:hover .love-note-card-inner {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--glass-shadow-hover);
}

.love-note-sparkle {
  color: var(--champagne-gold);
  font-size: 1.4rem;
  margin-bottom: 12px;
  animation: heartPulse 2s infinite;
}

.love-note-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.love-note-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-deep));
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 18px -2px var(--rose-glow);
  transition: var(--transition-bounce);
}

.love-note-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px var(--rose-glow);
}

/* ==========================================================================
   POLAROID MEMORY GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-section {
  margin: 60px auto;
  max-width: 1120px;
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  padding: 10px 0;
}

.polaroid-card {
  position: relative;
  background: #ffffff;
  padding: 12px 12px 20px 12px;
  border-radius: 4px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition-bounce);
  cursor: pointer;
  transform: rotate(var(--rotation, 0deg));
}

.polaroid-card:nth-child(odd) {
  --rotation: -1.8deg;
}

.polaroid-card:nth-child(even) {
  --rotation: 1.6deg;
}

.polaroid-card:nth-child(3n) {
  --rotation: -2.5deg;
}

.polaroid-card:nth-child(4n) {
  --rotation: 2.2deg;
}

.polaroid-card:hover {
  transform: scale(1.08) rotate(0deg) !important;
  box-shadow: 0 20px 40px -6px rgba(184, 29, 66, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

/* Washi Tape Accent */
.polaroid-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 18px;
  background: rgba(255, 182, 193, 0.55);
  border: 1px dashed rgba(255, 143, 163, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.polaroid-img-frame {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #fdf2f4;
  position: relative;
  border-radius: 2px;
}

.polaroid-img-frame 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-frame img {
  transform: scale(1.06);
}

.polaroid-caption {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 10px;
  line-height: 1.2;
}

/* Deluxe Fullscreen Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}

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

.lightbox-content-box {
  position: relative;
  max-width: min(90vw, 680px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image-wrapper {
  position: relative;
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  max-height: 74vh;
}

.lightbox-image-wrapper img {
  max-height: calc(74vh - 20px);
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption-bar {
  margin-top: 14px;
  color: #ffffff;
  text-align: center;
}

.lightbox-caption-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 4px;
}

.lightbox-counter-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.lightbox-btn-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.lightbox-btn-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition-smooth);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
  left: -64px;
}

.lightbox-nav-btn.next {
  right: -64px;
}

/* ==========================================================================
   THE GRAND FINALE: "WILL YOU WALK WITH ME FOREVER?" PROPOSAL CAPSULE
   ========================================================================== */
.proposal-section {
  margin: 80px auto 40px;
  max-width: 760px;
  text-align: center;
}

.proposal-capsule {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 30px;
  box-shadow: 0 20px 50px -10px rgba(232, 58, 94, 0.25);
  position: relative;
  overflow: hidden;
}

.proposal-capsule::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-primary), var(--champagne-gold), var(--rose-deep));
}

.proposal-beating-heart {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--rose-primary) 0%, var(--rose-deep) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.4rem;
  box-shadow: 0 10px 30px var(--rose-glow);
  animation: heartPulse 1.6s infinite;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.proposal-beating-heart:hover {
  transform: scale(1.15);
  box-shadow: 0 16px 40px var(--rose-glow);
}

.proposal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.proposal-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.proposal-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 42px;
  background: linear-gradient(135deg, var(--rose-primary) 0%, var(--rose-deep) 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px -4px var(--rose-glow);
  transition: var(--transition-bounce);
}

.proposal-cta-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 40px -2px var(--rose-glow);
}

/* Proposal Celebration Modal */
.proposal-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.proposal-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.proposal-modal-card {
  max-width: 540px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.proposal-modal.is-active .proposal-modal-card {
  transform: scale(1);
}

.modal-ring-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #fff3d6, #ffe5a3);
  border: 2px solid var(--champagne-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9e7107;
  font-size: 2rem;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px var(--gold-glow);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.modal-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-signature {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--rose-deep);
  margin-bottom: 20px;
}

.modal-close-btn {
  padding: 10px 28px;
  background: rgba(255, 235, 240, 0.9);
  border: 1px solid var(--glass-border-rose);
  border-radius: var(--radius-full);
  color: var(--rose-deep);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--rose-soft);
  transform: scale(1.02);
}

/* ==========================================================================
   FOOTER & BACK-TO-TOP BUTTON
   ========================================================================== */
.luxury-footer {
  text-align: center;
  padding: 40px 20px 30px;
  position: relative;
  z-index: 10;
}

.footer-infinity {
  font-size: 1.8rem;
  color: var(--rose-primary);
  margin-bottom: 10px;
  display: inline-block;
}

.footer-copy {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(184, 29, 66, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(184, 29, 66, 0.25);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET OPTIMIZATIONS)
   ========================================================================== */
@media (max-width: 992px) {
  .nav-quote-banner {
    display: none;
  }

  .letters-grid,
  .vows-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav-btn.prev {
    left: 10px;
  }

  .lightbox-nav-btn.next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .main-navbar {
    width: calc(100% - 16px);
    height: 56px;
    padding: 0 14px;
    top: 8px;
    gap: 8px;
  }

  .nav-brand {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
  }

  .nav-brand-logo {
    height: 28px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
  }

  /* Only for mobile/small devices: no names in header */
  .nav-brand-names {
    display: none !important;
  }

  .nav-controls {
    gap: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .lang-switcher {
    padding: 2px;
    gap: 1px;
    flex-shrink: 0;
  }

  .lang-btn {
    padding: 4px 7px;
    font-size: 0.74rem;
    line-height: 1.15;
  }

  .nav-audio-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    flex-shrink: 0;
  }

  .nav-audio-btn span {
    display: none;
  }

  .nav-audio-icon {
    font-size: 0.85rem;
  }

  .page-wrapper {
    padding-top: 85px;
  }

  .counter-box-wrapper {
    padding: 22px 14px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Mobile Milestone Announcement Card: fixes the deformed egg-pill on mobile */
  .next-milestone-pill {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 18px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    gap: 8px !important;
    background: linear-gradient(135deg, rgba(255, 242, 245, 0.96), rgba(255, 250, 238, 0.96)) !important;
    border: 1px solid rgba(229, 185, 100, 0.45) !important;
    box-shadow: 0 4px 14px rgba(229, 185, 100, 0.12) !important;
  }

  .next-milestone-tag {
    align-self: center !important;
    margin: 0 auto !important;
    padding: 3px 14px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
  }

  #nextMilestoneText {
    font-size: 0.9rem !important;
    line-height: 1.48 !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    text-wrap: balance !important;
    display: block !important;
    text-align: center !important;
  }

  /* Mobile Timeline (left-rail layout) */
  .timeline-track-line {
    left: 24px;
  }

  .timeline-center-node {
    left: 24px;
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .timeline-item {
    justify-content: flex-end !important;
  }

  .timeline-card {
    width: calc(100% - 56px);
    flex-direction: column;
    padding: 18px 16px;
    gap: 14px;
  }

  .timeline-item.left .timeline-card::after,
  .timeline-item.right .timeline-card::after {
    top: 14px;
    left: -8px;
    right: auto;
    border-bottom: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    border-top: none;
    border-right: none;
  }

  .timeline-art-box {
    width: 100%;
    height: 140px;
  }

  .polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .proposal-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1.05rem;
  }

  /* Mobile WhatsApp Reply Button: prevent deformed rounded pills */
  .whatsapp-reply-box {
    margin-top: 26px;
    padding-top: 22px;
    width: 100%;
  }

  .whatsapp-reply-btn {
    width: 100%;
    max-width: 380px;
    padding: 13px 18px;
    font-size: 0.94rem;
    line-height: 1.4;
    border-radius: 14px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .whatsapp-reply-btn i {
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .whatsapp-subtext {
    font-size: 0.78rem;
    line-height: 1.4;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .whatsapp-reply-btn {
    font-size: 0.88rem;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .polaroid-card {
    padding: 8px 8px 14px 8px;
  }

  .polaroid-caption {
    font-size: 1.1rem;
    margin-top: 6px;
  }

  .counter-digit {
    font-size: 1.7rem;
  }

  .section-header {
    margin: 45px 0 25px;
  }
}