/* ==========================================================================
   WEDDING WEBSITE DESIGN SYSTEM
   Theme: Modern Minimalist Luxury x Studio Ghibli x Harry Potter Magic
   Palette: Midnight Twilight, Lumos Gold, Camel Wool, Warm Parchment & Sage
   ========================================================================== */

:root, [data-theme="royal-twilight"] {
  --bg-deep: #121826;
  --bg-surface: #1a2236;
  --bg-surface-elevated: #232d46;
  --bg-card: rgba(26, 35, 54, 0.78);
  --bg-card-hover: rgba(36, 48, 74, 0.88);
  --bg-gradient-page: radial-gradient(circle at 50% 12%, rgba(223, 177, 91, 0.18) 0%, rgba(28, 38, 62, 0.88) 35%, #121826 75%, #0d121d 100%);
  --atmosphere-glow: radial-gradient(circle at 80% 18%, rgba(246, 210, 137, 0.16) 0%, transparent 45%),
                    radial-gradient(circle at 18% 55%, rgba(139, 92, 246, 0.14) 0%, transparent 50%),
                    radial-gradient(circle at 85% 80%, rgba(223, 177, 91, 0.14) 0%, transparent 45%);
  --vignette-shadow: rgba(10, 14, 22, 0.38);
  --border-gold: rgba(223, 177, 91, 0.35);
  --border-gold-glow: rgba(243, 202, 116, 0.65);
  --gold-primary: #dfb15b;
  --gold-light: #f6d289;
  --gold-glow: #ffeaa7;
  --gold-deep: #b38734;
  --camel-tan: #c79262;
  --camel-light: #d8a87b;
  --emerald-botanical: #244136;
  --emerald-light: #3a6252;
  --text-main: #fbfaf6;
  --text-muted: #b8c4d8;
  --text-gold: #f3ca74;
  --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Cormorant Garamond', serif;
  --shadow-gold: 0 10px 30px -5px rgba(223, 177, 91, 0.22);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.45);
  --glass-blur: blur(14px);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="sunset-fairytale"] {
  --bg-deep: #1c1528;
  --bg-surface: #271e38;
  --bg-surface-elevated: #322648;
  --bg-card: rgba(39, 30, 56, 0.8);
  --bg-card-hover: rgba(52, 40, 75, 0.9);
  --bg-gradient-page: radial-gradient(circle at 50% 10%, rgba(246, 173, 85, 0.25) 0%, rgba(68, 36, 68, 0.72) 40%, #1c1528 80%, #130d1c 100%);
  --atmosphere-glow: radial-gradient(circle at 85% 25%, rgba(236, 72, 153, 0.16) 0%, transparent 50%),
                    radial-gradient(circle at 15% 65%, rgba(245, 158, 11, 0.16) 0%, transparent 50%);
  --vignette-shadow: rgba(18, 11, 26, 0.4);
  --border-gold: rgba(246, 210, 137, 0.42);
  --border-gold-glow: rgba(255, 215, 120, 0.8);
  --text-main: #fffdfa;
  --text-muted: #cdbfdc;
  --text-gold: #fbd38d;
}

[data-theme="starlit-champagne"] {
  --bg-deep: #1e2638;
  --bg-surface: #273248;
  --bg-surface-elevated: #33405c;
  --bg-card: rgba(39, 50, 72, 0.82);
  --bg-card-hover: rgba(51, 64, 92, 0.9);
  --bg-gradient-page: radial-gradient(circle at 50% 10%, rgba(255, 230, 170, 0.28) 0%, rgba(48, 62, 88, 0.78) 45%, #1e2638 80%, #161c2b 100%);
  --atmosphere-glow: radial-gradient(circle at 75% 20%, rgba(223, 177, 91, 0.22) 0%, transparent 45%),
                    radial-gradient(circle at 20% 70%, rgba(96, 165, 250, 0.16) 0%, transparent 55%);
  --vignette-shadow: rgba(18, 24, 38, 0.35);
  --border-gold: rgba(223, 177, 91, 0.45);
  --border-gold-glow: rgba(246, 210, 137, 0.85);
  --text-main: #ffffff;
  --text-muted: #c4d0e2;
  --text-gold: #f6d289;
}

[data-theme="enchanted-emerald"] {
  --bg-deep: #0e1a14;
  --bg-surface: #14261e;
  --bg-surface-elevated: #1d352a;
  --bg-card: rgba(20, 38, 30, 0.82);
  --bg-card-hover: rgba(28, 52, 42, 0.9);
  --bg-gradient-page: radial-gradient(circle at 50% 10%, rgba(223, 177, 91, 0.24) 0%, rgba(26, 54, 42, 0.8) 40%, #0e1a14 78%, #08100c 100%);
  --atmosphere-glow: radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.16) 0%, transparent 50%),
                    radial-gradient(circle at 20% 70%, rgba(246, 210, 137, 0.18) 0%, transparent 50%);
  --vignette-shadow: rgba(8, 16, 12, 0.4);
  --border-gold: rgba(223, 177, 91, 0.4);
  --border-gold-glow: rgba(246, 210, 137, 0.75);
  --text-main: #fcfbf7;
  --text-muted: #b9cfc3;
  --text-gold: #f6d289;
}

[data-theme="celestial-burgundy"] {
  --bg-deep: #1a0e14;
  --bg-surface: #26151e;
  --bg-surface-elevated: #341d29;
  --bg-card: rgba(38, 21, 30, 0.82);
  --bg-card-hover: rgba(52, 29, 41, 0.9);
  --bg-gradient-page: radial-gradient(circle at 50% 10%, rgba(246, 210, 137, 0.25) 0%, rgba(82, 24, 45, 0.78) 40%, #1a0e14 78%, #10080c 100%);
  --atmosphere-glow: radial-gradient(circle at 85% 25%, rgba(225, 29, 72, 0.16) 0%, transparent 50%),
                    radial-gradient(circle at 15% 65%, rgba(245, 158, 11, 0.16) 0%, transparent 50%);
  --vignette-shadow: rgba(16, 8, 12, 0.42);
  --border-gold: rgba(246, 210, 137, 0.42);
  --border-gold-glow: rgba(255, 220, 140, 0.8);
  --text-main: #fffdfa;
  --text-muted: #d6bfc8;
  --text-gold: #fbd38d;
}

[data-theme="midnight-amethyst"] {
  --bg-deep: #130f22;
  --bg-surface: #1d1633;
  --bg-surface-elevated: #281f46;
  --bg-card: rgba(29, 22, 51, 0.82);
  --bg-card-hover: rgba(40, 31, 70, 0.9);
  --bg-gradient-page: radial-gradient(circle at 50% 10%, rgba(216, 180, 254, 0.22) 0%, rgba(68, 38, 105, 0.78) 40%, #130f22 78%, #0b0814 100%);
  --atmosphere-glow: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.18) 0%, transparent 50%),
                    radial-gradient(circle at 20% 70%, rgba(223, 177, 91, 0.16) 0%, transparent 50%);
  --vignette-shadow: rgba(12, 8, 20, 0.4);
  --border-gold: rgba(223, 177, 91, 0.4);
  --border-gold-glow: rgba(246, 210, 137, 0.8);
  --text-main: #fbf9ff;
  --text-muted: #c9bfdc;
  --text-gold: #f6d289;
}

[data-theme="rose-quartz"] {
  --bg-deep: #1e151b;
  --bg-surface: #291d25;
  --bg-surface-elevated: #372832;
  --bg-card: rgba(41, 29, 37, 0.82);
  --bg-card-hover: rgba(55, 40, 50, 0.9);
  --bg-gradient-page: radial-gradient(circle at 50% 10%, rgba(254, 205, 211, 0.26) 0%, rgba(82, 42, 62, 0.75) 40%, #1e151b 78%, #130d11 100%);
  --atmosphere-glow: radial-gradient(circle at 85% 20%, rgba(244, 114, 182, 0.18) 0%, transparent 50%),
                    radial-gradient(circle at 20% 70%, rgba(251, 191, 36, 0.16) 0%, transparent 50%);
  --vignette-shadow: rgba(16, 10, 14, 0.38);
  --border-gold: rgba(246, 210, 137, 0.42);
  --border-gold-glow: rgba(255, 215, 130, 0.82);
  --text-main: #fffdfb;
  --text-muted: #d8c3cc;
  --text-gold: #fbd38d;
}

[data-theme="golden-hour"] {
  --bg-deep: #1b150e;
  --bg-surface: #271e14;
  --bg-surface-elevated: #352a1c;
  --bg-card: rgba(39, 30, 20, 0.84);
  --bg-card-hover: rgba(53, 42, 28, 0.92);
  --bg-gradient-page: radial-gradient(circle at 50% 10%, rgba(251, 191, 36, 0.3) 0%, rgba(82, 52, 24, 0.78) 40%, #1b150e 78%, #110d08 100%);
  --atmosphere-glow: radial-gradient(circle at 80% 25%, rgba(245, 158, 11, 0.24) 0%, transparent 45%),
                    radial-gradient(circle at 15% 65%, rgba(217, 119, 6, 0.18) 0%, transparent 50%);
  --vignette-shadow: rgba(16, 12, 8, 0.38);
  --border-gold: rgba(223, 177, 91, 0.5);
  --border-gold-glow: rgba(251, 191, 36, 0.85);
  --text-main: #fffefb;
  --text-muted: #d9cac0;
  --text-gold: #f6d289;
}

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

html {
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-gradient-page);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.65;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Stardust Background Canvas */
#stardust-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Subtle Vignette & Magic Atmosphere Overlay */
.atmosphere-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: var(--atmosphere-glow), radial-gradient(circle at 50% 35%, transparent 60%, var(--vignette-shadow) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}

/* Theme / Atmosphere Selector in Navbar */
.theme-selector-wrapper {
  position: relative;
  display: inline-block;
}

.theme-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-pill-btn:hover {
  background: rgba(223, 177, 91, 0.22);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.theme-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--bg-surface-elevated, #1c2438);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(223, 177, 91, 0.15);
  backdrop-filter: var(--glass-blur);
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.theme-dropdown-menu.show {
  display: flex;
}

.theme-option-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.theme-option-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(223, 177, 91, 0.3);
}

.theme-option-item.active {
  background: rgba(223, 177, 91, 0.15);
  border-color: var(--border-gold);
}

.theme-swatch-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.theme-info-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.theme-info-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.3;
}

/* ==========================================================================
   ENCHANTED HARRY POTTER FLOATING CANDLES (Sleek & Minimalist)
   ========================================================================== */
.floating-candles-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
  transition: opacity 0.6s ease;
}

.floating-candle {
  position: absolute;
  top: var(--candle-y, 20%);
  left: var(--candle-x, 10%);
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 0 10px rgba(255, 195, 80, 0.35));
  will-change: transform;
  animation: candle-hover var(--float-dur, 5s) ease-in-out infinite var(--float-delay, 0s);
  transition: opacity 0.4s ease, filter 0.3s ease;
}

.floating-candle:hover {
  filter: drop-shadow(0 0 22px rgba(255, 215, 100, 0.85));
}

/* Snatched / Fetched Candle State: Vanishes like an acquired stick */
.floating-candle.candle-fetched {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.05) rotate(45deg) !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Background Depth Layer Candles (Soft Blur & Subtle Scale) */
.floating-candle.depth-bg {
  filter: blur(1.5px) opacity(0.55);
}

.floating-candle.depth-mid {
  filter: opacity(0.85);
}

/* Warm Halo of Light around Flame */
.candle-halo {
  position: absolute;
  top: -24px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 208, 90, 0.35) 0%, rgba(223, 177, 91, 0.12) 45%, transparent 75%);
  pointer-events: none;
  animation: halo-pulse var(--flicker-dur, 2.4s) ease-in-out infinite alternate;
}

/* Candle Flame */
.candle-flame {
  position: relative;
  width: 8px;
  height: 18px;
  background: linear-gradient(0deg, #ff7b00 0%, #ffc83b 40%, #ffffff 90%);
  border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
  box-shadow: 0 0 10px #ffb300, 0 0 20px rgba(255, 165, 0, 0.6);
  transform-origin: center bottom;
  animation: flame-flicker var(--flicker-dur, 1.8s) ease-in-out infinite alternate;
}

.flame-inner-glow {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.9;
}

/* Candle Wick */
.candle-wick {
  width: 1.5px;
  height: 5px;
  background: #3a2e20;
  margin: -1px auto 0;
}

/* Sleek Minimalist Taper Wax Body */
.candle-body {
  width: var(--candle-w, 11px);
  height: var(--candle-h, 75px);
  background: linear-gradient(
    90deg,
    #cfc8b8 0%,
    #faf8f2 35%,
    #ffffff 50%,
    #eee9db 75%,
    #a89f8d 100%
  );
  border-radius: 2px 2px 4px 4px;
  position: relative;
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.8), inset 0 -4px 6px rgba(0, 0, 0, 0.3);
}

/* Wax Rim / Top Cap */
.candle-body::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(255, 215, 120, 0.8);
}

/* Subtle melted wax drip accent */
.candle-drip {
  position: absolute;
  top: 0;
  left: 2px;
  width: 2.5px;
  height: 14px;
  background: #ffffff;
  border-radius: 0 0 2px 2px;
  opacity: 0.85;
}

/* Floating & Flickering Keyframes */
@keyframes candle-hover {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0px) rotate(0deg) scale(var(--scale, 1));
  }
  50% {
    transform: translate(-50%, -50%) translateY(-18px) rotate(var(--sway, 1.4deg)) scale(var(--scale, 1));
  }
}

@keyframes flame-flicker {
  0% {
    transform: scale(0.96, 1.04) rotate(-1deg);
    opacity: 0.92;
  }
  25% {
    transform: scale(1.03, 0.97) rotate(1.2deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.94, 1.05) rotate(-0.8deg);
    opacity: 0.88;
  }
  75% {
    transform: scale(1.05, 0.95) rotate(0.8deg);
    opacity: 0.98;
  }
  100% {
    transform: scale(0.98, 1.02) rotate(-1deg);
    opacity: 0.94;
  }
}

@keyframes halo-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.12);
    opacity: 1;
  }
}

/* Typography */
h1, h2, h3, h4, h5, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.font-display {
  font-family: var(--font-display);
}

.text-gold {
  color: var(--gold-primary);
  background: linear-gradient(135deg, #fff3d1 0%, #dfb15b 50%, #b38734 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-soft {
  background: linear-gradient(135deg, #ffffff 30%, #e0d9cb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 3;
}

.container-narrow {
  max-width: 900px;
}

/* Buttons & Links */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #dfb15b 0%, #b8862d 100%);
  color: #0d1117;
  box-shadow: 0 4px 20px rgba(223, 177, 91, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(223, 177, 91, 0.55);
  background: linear-gradient(135deg, #ecd189 0%, #c99637 100%);
}

.btn-outline {
  background: rgba(22, 28, 41, 0.5);
  backdrop-filter: var(--glass-blur);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(223, 177, 91, 0.15);
  border-color: var(--gold-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.1rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .nav-content {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3vw, 2.5rem);
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.nav-brand svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px rgba(223, 177, 91, 0.6));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.audio-toggle-btn {
  background: rgba(223, 177, 91, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.audio-toggle-btn:hover {
  background: rgba(223, 177, 91, 0.25);
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.4);
}

.audio-toggle-btn.playing {
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 8px rgba(223, 177, 91, 0.3); }
  100% { box-shadow: 0 0 20px rgba(223, 177, 91, 0.8); }
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile-menu {
  display: none;
}

/* ==========================================================================
   SCROLL INTERACTIVE EXPERIENCE: SECTION 1 (COUPLE HERO)
   ========================================================================== */

/* ==========================================================================
   PERSISTENT GOLDEN THREAD SVG (Spans entire website height)
   ========================================================================== */
.persistent-thread-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.persistent-thread-path {
  fill: none;
  stroke: url(#persistentGoldGrad);
  stroke-width: 2.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(223, 177, 91, 0.85));
  transition: stroke-dashoffset 0.08s linear;
}

.thread-head-spark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 14px #ffd700, 0 0 28px #dfb15b, 0 0 45px #ffeaa7;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease;
  animation: spark-pulse 1.2s infinite alternate;
}

@keyframes spark-pulse {
  0% { transform: translate(-50%, -50%) scale(0.85); box-shadow: 0 0 10px #ffd700; }
  100% { transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 25px #ffd700, 0 0 40px #dfb15b; }
}

/* ==========================================================================
   SECTION 1: HERO SECTION (ORIGINAL REAL PORTRAIT ONLY)
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pinned-stage {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 2.5rem;
}

.hero-header-text {
  text-align: center;
  margin-bottom: 1.2rem;
  z-index: 10;
}

.hero-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.hero-subtitle::before, .hero-subtitle::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-primary);
  opacity: 0.6;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(22, 28, 41, 0.6);
  backdrop-filter: var(--glass-blur);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(223, 177, 91, 0.2);
}

/* Original Portrait Arch Frame (+40% bigger) */
.portrait-arch-frame {
  position: relative;
  height: clamp(365px, 58vh, 590px);
  max-width: min(480px, 86vw);
  aspect-ratio: 2 / 3;
  width: auto;
  border-radius: 240px 240px 36px 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 45px rgba(223, 177, 91, 0.28);
  border: 2px solid var(--border-gold);
  z-index: 10;
  background: #000;
  transform: translateZ(0);
  cursor: pointer;
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.portrait-arch-frame:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 55px rgba(223, 177, 91, 0.45);
  border-color: var(--gold-light);
}

.portrait-real-img {
  cursor: pointer;
}

/* Dynamic Architectural Frame Shapes */
.portrait-arch-frame.shape-arch {
  border-radius: 240px 240px 36px 36px;
}

.portrait-arch-frame.shape-oval {
  border-radius: 50% / 40%;
}

.portrait-arch-frame.shape-rounded {
  border-radius: 42px;
}

.portrait-arch-frame.shape-rectangle {
  border-radius: 16px;
}

.portrait-arch-frame.shape-cathedral {
  border-radius: 300px 300px 12px 12px;
}

.portrait-arch-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 35px rgba(0,0,0,0.45);
}

.portrait-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform-origin: center center;
  transition: transform 0.25s ease-out, object-position 0.25s ease-out;
}

/* Hero Countdown Timer Pill */
.hero-countdown-pill {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(18, 23, 34, 0.85);
  backdrop-filter: var(--glass-blur);
  padding: 0.45rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  z-index: 10;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 34px;
}

.count-block span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.count-block label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 2px;
}

.count-colon {
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 1rem;
  margin-top: -8px;
}

/* Scroll Hint Indicator */
.scroll-hint-indicator {
  position: relative;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-primary);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.scroll-hint-indicator .mouse-icon {
  width: 18px;
  height: 28px;
  border: 2px solid var(--border-gold);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-hint-indicator .mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: scroll-wheel 1.6s infinite;
}

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

/* ==========================================================================
   SECTION 2: SNITCH SECTION (LINES CONVERGE ON SCROLL -> STOP TRANSFORMS REAL)
   ========================================================================== */

.snitch-scroll-track {
  position: relative;
  width: 100%;
  height: 220vh; /* Smooth pinned scroll runway */
  z-index: 7;
}

.snitch-pinned-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem 2rem;
  overflow: hidden;
}

.snitch-header-text {
  text-align: center;
  margin-bottom: 1.2rem;
  z-index: 10;
}

.snitch-header-text .snitch-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.snitch-header-text .snitch-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* Converge Stage Wrapper */
.snitch-converge-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
}

/* Wide Ambient Converging Rays (sweeps from outer screen inwards) */
.snitch-wide-rays-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, 1300px);
  height: clamp(380px, 62vh, 670px);
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}

.wide-converge-ray {
  fill: none;
  stroke: url(#rayGoldGrad);
  stroke-width: 2;
  stroke-dasharray: 550;
  stroke-dashoffset: 550;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(223, 177, 91, 0.75));
  transition: stroke-dashoffset 0.15s ease-out, opacity 0.4s ease;
  opacity: 0.6;
}

/* The Snitch Multi-Layer Portal with Converging Lines (+40% bigger) */
.snitch-portal-wrapper {
  position: relative;
  height: clamp(365px, 58vh, 590px);
  max-width: min(480px, 86vw);
  aspect-ratio: 2 / 3;
  width: auto;
  border-radius: 220px 220px 34px 34px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(223, 177, 91, 0.35);
  border: 2px solid var(--border-gold);
  background: #090c12;
  z-index: 10;
  transform: translateZ(0);
}

.snitch-portal-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 35px rgba(0,0,0,0.6);
}

/* Converging Golden Wing & Orb Lines SVG */
.snitch-converging-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
}

.snitch-line-path {
  fill: none;
  stroke: url(#snitchGoldGlow);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#goldGlow);
  transition: stroke-dashoffset 0.12s ease-out, opacity 0.35s ease;
}

.snitch-line-path.wing-main {
  stroke-width: 2.4;
}

.snitch-line-path.orb {
  stroke-width: 2.4;
}

.snitch-line-path.seam {
  stroke-width: 2.2;
}

.snitch-line-path.filigree {
  stroke-width: 1.6;
}

.snitch-line-path.feather {
  stroke-width: 1.5;
}

.snitch-line-path.ray {
  stroke-width: 1.8;
}

/* Snitch Image Layers */
.snitch-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  will-change: opacity;
  transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.snitch-layer-closed {
  z-index: 1;
  opacity: 1;
}

.snitch-layer-open {
  z-index: 2;
  opacity: 0;
}

.snitch-layer-real {
  z-index: 3;
  opacity: 0;
  /* Zoom in real photo by 1.15x centered on the ring for 1-to-1 seamless alignment with the drawing */
  transform: scale(1.15);
  transform-origin: 50% 59.5%;
}

.snitch-layer-real.active {
  opacity: 1;
  transform: scale(1.15);
}

/* Shimmer Light Sweep on Reveal */
.snitch-shimmer-sweep {
  position: absolute;
  top: -50%;
  left: -150%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 40%,
    rgba(255, 235, 170, 0.55) 50%,
    rgba(255, 255, 255, 0.28) 60%,
    transparent 100%
  );
  transform: rotate(28deg);
  pointer-events: none;
  z-index: 12;
  opacity: 0;
}

.snitch-shimmer-sweep.animate {
  animation: snitch-shimmer 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes snitch-shimmer {
  0% { left: -150%; opacity: 0; }
  25% { opacity: 0.9; }
  100% { left: 200%; opacity: 0; }
}




/* ==========================================================================
   SECTION 4: WEDDING DAY TIMELINE & SCHEDULE
   ========================================================================== */

.section-padding {
  padding: 7rem 0;
  position: relative;
  z-index: 8;
}

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

.section-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

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

/* Timeline Layout */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(223, 177, 91, 0) 0%,
    rgba(223, 177, 91, 0.5) 15%,
    rgba(223, 177, 91, 0.5) 85%,
    rgba(223, 177, 91, 0) 100%
  );
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  top: 1.8rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.8);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -9px;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-glow);
  box-shadow: 0 15px 35px rgba(223, 177, 91, 0.2);
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 5: IMPORTANT DETAILS, RESTRICTIONS & DRESS CODE
   ========================================================================== */

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

.restriction-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.restriction-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-glow);
  box-shadow: var(--shadow-gold);
}

.restriction-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
}

.restriction-card h3 {
  font-size: 1.25rem;
}

.restriction-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Dress Code Banner with Palette Swatches */
.dress-code-box {
  background: linear-gradient(135deg, rgba(22, 28, 41, 0.9) 0%, rgba(18, 23, 34, 0.9) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--glass-blur);
}

.dress-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dress-code-palette {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.palette-swatch {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(11, 14, 20, 0.6);
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.palette-swatch:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.swatch-color {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.swatch-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
}

/* ==========================================================================
   SECTION 6: VENUE LOCATION & GOOGLE MAPS
   ========================================================================== */

.venue-card-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass-blur);
}

#venue .container {
  max-width: 1320px;
}

.venue-hero-image-box {
  position: relative;
  width: 100%;
  height: clamp(480px, 66vh, 730px);
  overflow: hidden;
  background: #090c12;
}

.venue-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s ease;
  transform: scale(1);
  will-change: opacity, transform;
}

.venue-img-layer.active {
  opacity: 1;
}

.venue-card-wrapper:hover .venue-img-layer.active {
  transform: scale(1.025);
}

/* Venue Real / Ghibli View Toggle Buttons */
.venue-view-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 18, 28, 0.82);
  backdrop-filter: var(--glass-blur);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.venue-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

.venue-toggle-btn svg {
  transition: transform 0.3s ease;
}

.venue-toggle-btn:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.venue-toggle-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), #dfb15b);
  color: #0e121a;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(223, 177, 91, 0.4);
}

.venue-toggle-btn.active svg {
  transform: scale(1.1);
}

.venue-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 18, 26, 0.95) 0%, rgba(14, 18, 26, 0.4) 40%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  z-index: 5;
  pointer-events: none;
}

.venue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(223, 177, 91, 0.25);
  border: 1px solid var(--gold-light);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  width: fit-content;
  margin-bottom: 0.8rem;
}

.venue-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.3rem;
}

.venue-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
}

.venue-info-pane h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.venue-address-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-main);
}

.venue-address-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.venue-actions-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.google-map-pane {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  min-height: 320px;
}

.google-map-pane iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(1.1) brightness(0.9);
}

/* ==========================================================================
   SECTION 7: RECOMMENDED ACCOMMODATIONS
   ========================================================================== */

.accommodations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.hotel-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  padding: 2.2rem 2rem;
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.hotel-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-glow);
  box-shadow: var(--shadow-gold);
}

.hotel-header {
  margin-bottom: 1.2rem;
}

/* Radius Info Banner */
.radius-info-banner {
  background: linear-gradient(135deg, rgba(22, 28, 41, 0.85) 0%, rgba(18, 23, 34, 0.9) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.radius-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(223, 177, 91, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  font-size: 1.3rem;
}

.radius-banner-text h4 {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.radius-banner-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hotel-radius-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(223, 177, 91, 0.15);
  border: 1px solid rgba(223, 177, 91, 0.4);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hotel-distance {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.hotel-name {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.hotel-rate {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}

.hotel-features {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SECTION 8: HONEYMOON & WEDDING GIFT REGISTRY (WISHING WELL)
   ========================================================================== */

.registry-funds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.8rem;
}

.fund-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  padding: 1.8rem 1.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.fund-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition-smooth);
}

.fund-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-glow);
  box-shadow: var(--shadow-gold);
}

.fund-card.active {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, rgba(30, 38, 56, 0.9) 0%, rgba(22, 28, 41, 0.95) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 177, 91, 0.2);
}

.fund-card.active::before {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep));
}

.fund-card-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid rgba(223, 177, 91, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.fund-tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
}

.fund-title {
  font-size: 1.22rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.fund-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.fund-select-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(223, 177, 91, 0.15);
  transition: var(--transition-smooth);
}

.indicator-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(223, 177, 91, 0.4);
  display: inline-block;
  position: relative;
  transition: var(--transition-smooth);
}

.fund-card.active .indicator-radio {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  box-shadow: 0 0 8px rgba(223, 177, 91, 0.6);
}

.fund-card.active .fund-select-indicator {
  color: var(--gold-light);
  font-weight: 600;
}

.registry-console-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.2rem;
  align-items: flex-start;
}

.registry-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow-card);
}

.gift-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(223, 177, 91, 0.2);
  padding-bottom: 1.2rem;
}

/* Currency Switcher */
.currency-toggle {
  display: inline-flex;
  background: rgba(11, 14, 20, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 3px;
}

.currency-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.currency-btn.active {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%);
  color: #0b0e14;
  box-shadow: 0 2px 8px rgba(223, 177, 91, 0.4);
}

/* Amount Chips */
.amount-presets {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
}

.amount-chip {
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid rgba(223, 177, 91, 0.28);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.7rem 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.amount-chip:hover {
  border-color: var(--gold-primary);
  background: rgba(223, 177, 91, 0.12);
  color: var(--gold-light);
}

.amount-chip.active {
  background: linear-gradient(135deg, rgba(223, 177, 91, 0.25) 0%, rgba(223, 177, 91, 0.08) 100%);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(223, 177, 91, 0.25);
}

.input-currency-prefix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-currency-prefix span {
  position: absolute;
  left: 1rem;
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.input-currency-prefix input {
  padding-left: 2.2rem;
}

/* Payment Tabs */
.payment-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.payment-tab {
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid rgba(223, 177, 91, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.payment-tab:hover {
  border-color: var(--gold-primary);
  color: var(--text-main);
}

.payment-tab.active {
  border-color: var(--gold-primary);
  background: rgba(223, 177, 91, 0.15);
  color: var(--gold-light);
  font-weight: 600;
}

/* Card Input Simulation & Secure Checkout */
.card-safe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #2ecc71;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.credit-card-inputs-wrapper {
  background: rgba(11, 14, 20, 0.75);
  border: 1px solid rgba(223, 177, 91, 0.3);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  margin-top: 0.35rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.credit-card-inputs-wrapper:focus-within {
  border-color: var(--gold-primary);
  background: rgba(14, 18, 28, 0.85);
  box-shadow: 0 0 18px rgba(223, 177, 91, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Card Number Box */
.card-number-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(223, 177, 91, 0.18);
  background: transparent;
}

.card-lead-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  opacity: 0.9;
}

.card-num-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--text-main);
  font-family: 'Courier New', Courier, monospace, var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0;
  min-width: 0;
}

.card-num-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.card-brand-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.brand-pill {
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid rgba(223, 177, 91, 0.25);
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Bottom Split: Expiration & CVC */
.card-extra-box {
  display: flex;
  align-items: stretch;
  background: rgba(7, 9, 14, 0.45);
}

.card-field-col {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  min-width: 0;
}

.card-sub-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  opacity: 0.75;
  user-select: none;
}

.card-exp-input,
.card-cvc-input {
  flex: 1;
  width: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--text-main);
  font-family: 'Courier New', Courier, monospace, var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0;
  min-width: 0;
}

.card-exp-input::placeholder,
.card-cvc-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.card-field-divider {
  width: 1px;
  background: rgba(223, 177, 91, 0.18);
  margin: 0.35rem 0;
}

.cvc-lock-icon {
  color: var(--gold-light);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Security Note Underneath */
.security-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   INTERAC E-TRANSFER (CANADA) - MASTER LUXURY STYLES
   ========================================================================== */

/* Payment Tabs Header & Hints */
.payment-tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.payment-tabs-hint {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}

.payment-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 48px;
  padding: 0 1rem;
}

.tab-chip {
  background: linear-gradient(135deg, #dfb15b 0%, #b8860b 100%);
  color: #0b0e14;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Interac Container Box */
.etransfer-box {
  background: linear-gradient(135deg, rgba(20, 27, 42, 0.95) 0%, rgba(12, 16, 26, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* 1. Header Banner - Clean Horizontal Alignment */
.etransfer-header-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(223, 177, 91, 0.2);
  margin-bottom: 1.1rem;
  flex-wrap: nowrap;
}

.etransfer-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.interac-gold-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(223, 177, 91, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(223, 177, 91, 0.28);
}

.etransfer-main-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.etransfer-sub-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.etransfer-zero-fee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.45);
  color: #2ecc71;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.zero-fee-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
}

/* 2. Canadian Institutions Bar */
.canadian-banks-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(11, 14, 20, 0.65);
  border: 1px solid rgba(223, 177, 91, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.banks-bar-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
}

.banks-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.bank-pill {
  font-size: 0.72rem;
  background: rgba(223, 177, 91, 0.08);
  border: 1px solid rgba(223, 177, 91, 0.2);
  color: var(--text-main);
  padding: 0.15rem 0.48rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* 3. Unified Step Cards (Step 1, Step 2, Step 3) */
.step-card {
  background: rgba(11, 14, 20, 0.45);
  border: 1px solid rgba(223, 177, 91, 0.16);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  margin-bottom: 1.1rem;
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #0b0e14;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(223, 177, 91, 0.45);
  margin-top: 1px;
}

.step-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.step-title {
  font-size: 0.95rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 600;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Step 1 Email Copy Box */
.etransfer-copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 14, 20, 0.85);
  border: 1px solid rgba(223, 177, 91, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  transition: border-color 0.25s ease;
}

.etransfer-copy-row:hover {
  border-color: var(--gold-primary);
}

.etransfer-email-display {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.etransfer-email-display .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.etransfer-email-display .email-val {
  font-family: 'Courier New', Courier, monospace, var(--font-sans);
  font-size: 0.95rem;
  color: var(--gold-light);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

#copy-etransfer-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Autodeposit Verified Indicator */
.autodeposit-verified-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.45;
}

.check-icon-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.autodeposit-verified-pill strong {
  color: #2ecc71;
}

/* Step 2 Memo Box */
.etransfer-memo-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(223, 177, 91, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
}

.memo-copy-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.memo-copy-bar code {
  font-family: 'Courier New', Courier, monospace, var(--font-sans);
  font-size: 0.92rem;
  color: var(--gold-light);
  word-break: break-all;
}

.memo-copy-link {
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid rgba(223, 177, 91, 0.3);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.memo-copy-link:hover {
  background: rgba(223, 177, 91, 0.25);
  border-color: var(--gold-primary);
  color: #fff;
}

/* Step 3 Form - Pixel Perfect Horizontal Input Alignment */
.etransfer-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.etransfer-form-row .form-group {
  display: flex;
  flex-direction: column;
}

.etransfer-form-row .form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 600;
}

.etransfer-form-row .form-control {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .etransfer-form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .etransfer-header-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Right side info cards */
.registry-info-pane {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(223, 177, 91, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .registry-funds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .registry-console-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .registry-funds-grid {
    grid-template-columns: 1fr;
  }
  .amount-presets {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   SECTION 9: RSVP & WISHES BOARD
   ========================================================================== */

.rsvp-section-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: flex-start;
}

.rsvp-form-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
}

.rsvp-form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.rsvp-form-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid rgba(223, 177, 91, 0.3);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.3);
  background: rgba(18, 23, 34, 0.9);
}

.attendance-options {
  display: flex;
  gap: 1rem;
}

.radio-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem;
  background: rgba(11, 14, 20, 0.6);
  border: 1px solid rgba(223, 177, 91, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.radio-card.active {
  background: rgba(223, 177, 91, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(223, 177, 91, 0.25);
}

.radio-card input {
  display: none;
}

/* Couple Contact Card */
.couple-contact-card {
  background: linear-gradient(135deg, rgba(22, 28, 41, 0.9) 0%, rgba(18, 23, 34, 0.9) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  padding: 2.2rem;
  backdrop-filter: var(--glass-blur);
  margin-bottom: 2rem;
}

.couple-contact-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.couple-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid var(--border-gold);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-top: 0.6rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.couple-email-pill:hover {
  background: rgba(223, 177, 91, 0.2);
  border-color: var(--gold-light);
  color: #fff;
}

/* Wishes Board */
.wishes-board {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  padding: 2.2rem;
  height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#wishes-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(223, 177, 91, 0.45) rgba(255, 255, 255, 0.03);
}

#wishes-list::-webkit-scrollbar {
  width: 6px;
}

#wishes-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

#wishes-list::-webkit-scrollbar-thumb {
  background: rgba(223, 177, 91, 0.45);
  border-radius: 999px;
  border: 1px solid rgba(223, 177, 91, 0.2);
}

#wishes-list::-webkit-scrollbar-thumb:hover {
  background: rgba(223, 177, 91, 0.85);
}

.wishes-board h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.wish-item {
  border-bottom: 1px solid rgba(223, 177, 91, 0.15);
  padding: 1.2rem 0;
}

.wish-item:last-child {
  border-bottom: none;
}

.wish-author {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
}

.wish-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.wish-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* Modal Popup for RSVP confirmation */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #141923;
  border: 1px solid var(--border-gold-glow);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(223, 177, 91, 0.35);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show .modal-card {
  transform: scale(1);
}

.modal-icon-seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfb15b 0%, #a77726 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(223, 177, 91, 0.6);
  color: #0d1117;
  font-size: 2rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 5rem 0 3rem;
  text-align: center;
  background: #07090e;
  border-top: 1px solid var(--border-gold);
}

.footer-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(166, 176, 195, 0.6);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET EXCELLENCE)
   ========================================================================== */

@media (max-width: 1240px) {
  .navbar .nav-content {
    padding: 0 1.25rem;
    gap: 1rem;
  }
  .nav-links {
    gap: clamp(0.75rem, 1.4vw, 1.25rem);
  }
  .nav-links a {
    font-size: 0.82rem;
  }
  .nav-actions {
    gap: 0.6rem;
  }
  .nav-actions .btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-mobile-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(11, 14, 20, 0.98);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-gold);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    z-index: 99;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }

  .nav-mobile-menu.open {
    transform: translateY(0);
  }

  .venue-details-grid {
    grid-template-columns: 1fr;
  }

  .rsvp-section-layout {
    grid-template-columns: 1fr;
  }

  .timeline-container::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    text-align: left !important;
    padding-left: 55px !important;
    padding-right: 0 !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 11px;
    right: auto;
  }
}

@media (max-width: 576px) {
  .portrait-arch-frame,
  .portrait-morph-wrapper,
  .snitch-portal-wrapper {
    width: 86vw;
    border-radius: 160px 160px 28px 28px;
  }

  .hero-pinned-stage,
  .snitch-pinned-stage {
    padding: 3.5rem 1rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-padding {
    padding: 4.5rem 0;
  }

  .rsvp-form-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   EASTER EGG: YALDA LINE ART COMPANION
   ========================================================================== */

/* Invisible hotspot positioned over Yalda's body in the portrait */
.yalda-hotspot {
  position: absolute;
  left: 26%;
  bottom: 0%;
  width: 48%;
  height: 40%;
  cursor: pointer;
  z-index: 15;
  border-radius: 50% 50% 0 0;
  background: transparent;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Optional subtle hint on hover */
.yalda-hotspot:hover {
  background: radial-gradient(circle at center, rgba(223, 177, 91, 0.12) 0%, transparent 70%);
}

/* Corner Floating Companion Container */
.yalda-companion {
  position: fixed;
  bottom: 22px;
  right: 26px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  transform: translate(var(--yalda-x, 0px), var(--yalda-y, 0px));
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.85));
}

.yalda-companion.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--yalda-x, 0px), calc(var(--yalda-y, 0px) + 40px)) scale(0.65);
}

/* Sparkle Canvas for Spawning Magic */
.yalda-sparkle-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 20;
}

/* Speech Bubble Message */
.yalda-speech-bubble {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 28, 41, 0.96) 0%, rgba(14, 18, 28, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.65rem 0.65rem 0.95rem;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.65), 0 0 15px rgba(223, 177, 91, 0.25);
  backdrop-filter: var(--glass-blur);
  margin-bottom: 0.6rem;
  max-width: 255px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1.45;
}

.yalda-speech-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.yalda-sleep-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid rgba(223, 177, 91, 0.3);
  background: rgba(22, 28, 41, 0.75);
  color: var(--gold-light);
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
  pointer-events: auto;
  padding: 0;
}

.yalda-sleep-btn:hover {
  opacity: 1;
  background: rgba(223, 177, 91, 0.3);
  transform: scale(1.15);
  color: #fff;
}

.yalda-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(22, 28, 41, 0.95);
}

/* Avatar Wrapper */
.yalda-avatar-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Subtle Golden Halo behind line art */
.yalda-golden-halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 177, 91, 0.28) 0%, rgba(223, 177, 91, 0.08) 50%, transparent 75%);
  pointer-events: none;
  animation: halo-pulse 3s ease-in-out infinite alternate;
}

@keyframes halo-pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Multi-Pose Line Art Container */
.yalda-poses-container {
  position: relative;
  width: 135px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scaleX(var(--yalda-dir, 1));
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.yalda-pose {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.85)) drop-shadow(0 0 22px rgba(223, 177, 91, 0.55));
  transition: opacity 0.12s ease, filter 0.3s ease;
}

.yalda-pose.active {
  opacity: 1;
}

.yalda-avatar-wrapper:hover .yalda-pose.active {
  filter: drop-shadow(0 0 16px rgba(255, 215, 0, 1)) drop-shadow(0 0 32px rgba(223, 177, 91, 0.8));
}

/* SITTING STATE: Gentle calm breathing */
.yalda-companion.state-sit .yalda-pose.active {
  animation: yalda-sit-breathe 3.5s ease-in-out infinite alternate;
}

@keyframes yalda-sit-breathe {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-4px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

/* STANDING & WAGGING STATE: Standing proud and wagging tail bob */
.yalda-companion.state-wag .yalda-pose.active,
.yalda-avatar-wrapper.wag .yalda-pose.active {
  animation: yalda-stand-wag-bob 0.32s ease-in-out infinite alternate !important;
}

@keyframes yalda-stand-wag-bob {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-5px); }
}

/* WALKING STATE: Trotting stride bob */
.yalda-companion.state-walk .yalda-pose.active {
  animation: yalda-walk-bob 0.24s ease-in-out infinite alternate;
}

@keyframes yalda-walk-bob {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-7px); }
}

/* HOLDING CANDLE STICK STATE: Excited wagging or proud trot */
.yalda-companion.state-stick .yalda-pose.active {
  animation: yalda-stand-wag-bob 0.28s ease-in-out infinite alternate !important;
}

/* POUNCE MOMENT: Quick hop when grabbing candle */
.yalda-companion.state-pounce .yalda-pose.active {
  animation: yalda-pounce-hop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes yalda-pounce-hop {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-16px) scale(1.08); }
  100% { transform: translateY(0px) scale(1); }
}

/* Pill badge underneath Yalda */
.yalda-corner-badge {
  background: rgba(14, 18, 28, 0.9);
  border: 1px solid rgba(223, 177, 91, 0.45);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-top: -6px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  backdrop-filter: var(--glass-blur);
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}

.yalda-avatar-wrapper:hover .yalda-corner-badge {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  color: #fff;
}

@media (max-width: 768px) {
  .yalda-companion {
    bottom: 14px;
    right: 14px;
    transform-origin: bottom right;
    scale: 0.85;
  }
}


