/* ============================================================
   NABIL & ROKAYA WEDDING INVITATION — LUXURY DESIGN SYSTEM
   Date: October 23, 2026
   ============================================================ */

:root {
  /* Color Palette — Champagne, Ivory, Royal Gold, Rose */
  --bg-primary: #FAF7F2;
  --bg-secondary: #F4EFEA;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --text-primary: #2C2623;
  --text-secondary: #6B615B;
  --text-muted: #8E837B;
  
  --gold-primary: #C59F4E;
  --gold-light: #F6E6B8;
  --gold-dark: #98722B;
  --gold-gradient: linear-gradient(135deg, #c59f4e 0%, #fae69e 40%, #b38634 75%, #f6deb0 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(197, 159, 78, 0.15) 0%, rgba(250, 230, 158, 0.25) 100%);
  
  --rose-accent: #E8C5C8;
  --rose-dark: #A25B68;
  --wax-red: #8B1E2E;
  --wax-red-light: #B83244;
  --sage-accent: #8A9A86;
  
  --border-gold: rgba(197, 159, 78, 0.35);
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-luxury: 0 20px 50px rgba(197, 159, 78, 0.15);
  --shadow-card: 0 15px 35px rgba(44, 38, 35, 0.08);
  
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', 'Playfair Display', serif;
  --font-script: 'Alex Brush', cursive;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Scheherazade New', serif;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* Candlelight / Night Theme */
body.candlelight-theme {
  --bg-primary: #121015;
  --bg-secondary: #19161E;
  --bg-card: rgba(28, 24, 36, 0.85);
  --bg-card-hover: rgba(36, 31, 46, 0.98);
  --text-primary: #F8F4EC;
  --text-secondary: #D4CCC4;
  --text-muted: #9E948C;
  --border-gold: rgba(212, 175, 55, 0.4);
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-luxury: 0 20px 50px rgba(212, 175, 55, 0.2);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.4);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
  position: relative;
}

/* Arabic RTL support */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

html[dir="rtl"] .couple-names,
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero-crest,
html[dir="rtl"] .date-weekday {
  font-family: var(--font-arabic);
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Falling Canvas */
.petal-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
}

/* Typography Helpers */
.arabic-calligraphy {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  line-height: 1.9;
  color: var(--gold-primary);
  text-shadow: 0 2px 10px rgba(197, 159, 78, 0.2);
  direction: rtl;
}

/* ============================================================
   1. WAX SEAL & ENVELOPE OPENING OVERLAY
   ============================================================ */
.envelope-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

.envelope-overlay.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #1E1A18 0%, #0A0808 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.envelope-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1200px;
  padding: 1.5rem;
}

.envelope-card-glow {
  position: absolute;
  width: 450px;
  height: 350px;
  background: radial-gradient(circle, rgba(197, 159, 78, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: pulseGlow 4s infinite alternate;
}

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

/* Realistic Envelope Geometry */
.envelope-wrapper {
  position: relative;
  width: min(90vw, 460px);
  height: 310px;
  background: #EAE3D6;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.08);
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.envelope-wrapper:hover {
  transform: translateY(-4px) rotateX(2deg);
}

.envelope-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #e4ded0 0%, #d8d0c0 100%);
  border: 1px solid rgba(197, 159, 78, 0.3);
}

/* Letter inside */
.envelope-letter {
  position: absolute;
  top: 22px;
  left: 20px;
  right: 20px;
  height: 270px;
  background: #FFFDF9;
  border: 1px solid rgba(197, 159, 78, 0.4);
  border-radius: 8px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.envelope-wrapper.unfolding .envelope-letter {
  transform: translateY(-115px);
}

.letter-monogram {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 4px;
  color: var(--gold-primary);
  margin-bottom: 3px;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 2px;
  width: 50%;
}

.letter-verse {
  font-family: var(--font-arabic);
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
  line-height: 1.2;
}

.letter-greeting {
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  color: var(--gold-dark);
  margin-bottom: 3px;
  line-height: 1.2;
}

body.candlelight-theme .letter-greeting {
  color: var(--gold-light);
}

.letter-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.letter-couple {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.letter-date {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  color: var(--text-primary);
  background: var(--gold-gradient-soft);
  padding: 3px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-gold);
  margin-bottom: 3px;
}

.letter-hall {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 2px 0;
}

body.candlelight-theme .letter-hall {
  color: var(--gold-light);
}

.letter-divider {
  color: var(--gold-primary);
  margin: 3px 0;
  font-size: 0.7rem;
}

.letter-subtext {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.2;
}

/* Solid 3D Envelope Folds (Left, Right, Bottom) */
.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.pocket-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E6DECf 0%, #D8CDBC 100%);
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  filter: drop-shadow(2px 0 6px rgba(0, 0, 0, 0.06));
}

.pocket-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(225deg, #E6DECf 0%, #D8CDBC 100%);
  clip-path: polygon(100% 0, 50% 50%, 100% 100%);
  filter: drop-shadow(-2px 0 6px rgba(0, 0, 0, 0.06));
}

.pocket-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #EFE6D7 0%, #DFCDB7 100%);
  clip-path: polygon(0 100%, 50% 48%, 100% 100%);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Flap & Wax Seal (Flap container has NO clip-path, allowing seal to be 100% whole & unclipped!) */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 58%;
  transform-origin: top center;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  pointer-events: none;
}

.envelope-wrapper.unfolding .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.envelope-flap-triangle {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #F3EBDD 0%, #DFD1BC 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Complete, 100% Round, Unclipped Wax Seal */
.wax-seal {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #C2273E 0%, #8B1E2E 65%, #590F1C 100%);
  box-shadow: 0 8px 24px rgba(139, 30, 46, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.4), 0 0 16px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  border: 2px solid rgba(255, 223, 120, 0.5);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.wax-seal:hover {
  transform: translate(-50%, 50%) scale(1.08);
  box-shadow: 0 12px 30px rgba(139, 30, 46, 0.75), 0 0 25px rgba(255, 215, 0, 0.5);
}

.wax-seal:active {
  transform: translate(-50%, 50%) scale(0.95);
}

.wax-sparkle-dot {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 9px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(-30deg);
  pointer-events: none;
}

.wax-inner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 235, 170, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFEBAA;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.seal-initials {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.seal-icon {
  font-size: 0.65rem;
  color: #FFDF78;
}

.envelope-instruction {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.btn-open-envelope {
  position: relative;
  background: var(--gold-gradient);
  color: #241D10;
  border: none;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(197, 159, 78, 0.45);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.btn-open-envelope:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 159, 78, 0.6);
}

.btn-open-envelope:active {
  transform: scale(0.97);
}

.btn-skip-envelope {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  transition: color 0.3s;
}

.btn-skip-envelope:hover {
  color: #FFF;
  text-decoration: underline;
}

/* ============================================================
   2. STICKY HEADER & CONTROLS
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-gold);
}

body.candlelight-theme .site-header.scrolled {
  background: rgba(18, 16, 21, 0.92);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.header-inner {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-monogram {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.monogram-amp {
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--rose-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gold-primary);
}

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

.nav-link.highlight {
  color: var(--gold-dark);
  font-weight: 600;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn-icon-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.btn-icon-pill:hover {
  background: var(--gold-gradient);
  color: #241D10;
  border-color: transparent;
  transform: translateY(-1px);
}

.btn-icon-pill:active {
  transform: scale(0.95);
}

.btn-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: relative;
  transition: var(--transition-smooth);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.btn-icon-circle:hover {
  background: var(--gold-gradient);
  transform: translateY(-1px);
}

.btn-icon-circle:active {
  transform: scale(0.92);
}

/* Audio wave animation */
.music-wave {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.music-btn.playing .music-wave,
.bird-sound-btn.playing .music-wave {
  display: flex;
}

.music-btn.playing #musicIcon,
.bird-sound-btn.playing #birdSoundIcon {
  display: none;
}

.music-wave span {
  width: 3px;
  background: #241D10;
  border-radius: 2px;
  animation: waveBar 0.8s ease-in-out infinite alternate;
}

body.candlelight-theme .music-wave span {
  background: #241D10;
}

.music-wave span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.music-wave span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.music-wave span:nth-child(3) { height: 9px; animation-delay: 0.2s; }

@keyframes waveBar {
  0% { height: 4px; }
  100% { height: 14px; }
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s linear;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  padding: 1.5rem 2rem;
  gap: 1.2rem;
  border-bottom: 1px solid var(--border-gold);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ============================================================
   3. HERO BANNER
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1rem 4rem;
  text-align: center;
  background: 
    radial-gradient(ellipse at 50% 30%, rgba(197, 159, 78, 0.15) 0%, transparent 75%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 159, 78, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.4rem;
  border-radius: 50px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-gold);
  margin-bottom: 1.5rem;
  white-space: nowrap;
  max-width: 92%;
}

.badge-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

body.candlelight-theme .badge-text {
  color: var(--gold-light);
}

.badge-ornament {
  color: var(--gold-primary);
  font-size: 0.9rem;
}

.hero-blessing {
  max-width: 780px;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
}

.verse-translation {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 0.6rem;
  line-height: 1.6;
}

.hero-names-wrapper {
  margin-bottom: 2rem;
}

.hero-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.crest-leaf {
  width: 50px;
  height: 1px;
  background: var(--gold-gradient);
  position: relative;
}

.crest-leaf::after {
  content: '✦';
  position: absolute;
  top: -9px;
  color: var(--gold-primary);
  font-size: 12px;
}

.crest-leaf.left::after { left: 0; }
.crest-leaf.right::after { right: 0; }

.crest-monogram {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 5px;
  color: var(--gold-primary);
  font-weight: 700;
}

.couple-names {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -1px;
}

.names-connector {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--gold-primary);
  margin: 0 0.5rem;
  font-weight: 400;
  display: inline-block;
  transform: translateY(-5px);
}

.arabic-names {
  font-family: var(--font-arabic);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-primary);
  margin-top: -0.2rem;
  letter-spacing: 2px;
}

.hero-date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.date-gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold-gradient);
}

.date-details {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.date-weekday {
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

.date-day {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.date-month-year {
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

.date-time-badge {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--gold-dark);
  font-weight: 700;
  background: var(--gold-gradient-soft);
  padding: 4px 14px;
  border-radius: 30px;
  border: 1px solid var(--border-gold);
}

body.candlelight-theme .date-time-badge {
  color: var(--gold-light);
}

.hero-venue-sub {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ============================================================
   COUNTDOWN TIMER
   ============================================================ */
.countdown-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.5rem;
  box-shadow: var(--shadow-luxury);
  margin-bottom: 2.5rem;
  max-width: 650px;
  width: 100%;
}

.countdown-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

body.candlelight-theme .countdown-title {
  color: var(--gold-light);
}

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

.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  padding: 0.8rem 0.5rem;
  background: var(--gold-gradient-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 159, 78, 0.25);
  transition: transform 0.3s ease;
}

.countdown-card:hover {
  transform: translateY(-3px);
}

.count-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.count-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  font-weight: 500;
}

.countdown-separator {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-primary);
  font-weight: 300;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-large {
  padding: 1.1rem 2.6rem;
  font-size: 1.05rem;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #241D10;
  box-shadow: 0 8px 25px rgba(197, 159, 78, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 159, 78, 0.55);
}

.btn-gold:active {
  transform: scale(0.97);
}

.btn-outline-gold {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-gradient-soft);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shimmerBtn 4s infinite ease-in-out;
}

@keyframes shimmerBtn {
  0% { left: -60%; }
  30% { left: 140%; }
  100% { left: 140%; }
}

.scroll-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.1rem;
  animation: bounceDown 2s infinite ease-in-out;
}

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

/* ============================================================
   SHARED SECTION HEADERS
   ============================================================ */
.section {
  padding: 6rem 1rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
}

body.candlelight-theme .section-tag {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem 0;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: var(--gold-gradient);
}

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

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   4. SACRED BLESSING & ARTWORK SECTION
   ============================================================ */
.blessing-section {
  padding: 3rem 1rem 5rem;
  text-align: center;
}

.blessing-hero-frame {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border: 8px solid #FFF;
  transition: transform 0.5s ease;
}

body.candlelight-theme .blessing-hero-frame {
  border-color: #24202B;
}

.blessing-hero-frame:hover {
  transform: scale(1.02);
}

.blessing-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.frame-tag {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 26, 24, 0.85);
  color: #FFEBAA;
  backdrop-filter: blur(8px);
  padding: 6px 20px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  white-space: nowrap;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Parents Card */
.parents-invitation-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-luxury);
}

.parents-ornament {
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
  letter-spacing: 4px;
}

.parents-invitation-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

body.candlelight-theme .parents-invitation-card h4 {
  color: var(--gold-light);
}

.parents-invitation-card p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.dua-calligraphy {
  font-family: var(--font-arabic);
  font-size: 1.5rem;
  color: var(--gold-primary);
  direction: rtl;
}

/* ============================================================
   5. TIMELINE / OUR STORY
   ============================================================ */
.story-section {
  background: var(--bg-secondary);
}

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

.timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--gold-primary) 15%, var(--gold-primary) 85%, transparent 100%);
  transform: translateX(-50%);
}

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

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(197, 159, 78, 0.3);
  z-index: 2;
}

.timeline-item.left .timeline-dot {
  right: -22px;
}

.timeline-item.right .timeline-dot {
  left: -22px;
}

.timeline-dot.highlight {
  background: var(--gold-gradient);
  color: #241D10;
  box-shadow: 0 6px 20px rgba(197, 159, 78, 0.6);
}

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

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-luxury);
}

.timeline-content.highlight-content {
  border-color: var(--gold-primary);
  background: var(--gold-gradient-soft);
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

body.candlelight-theme .timeline-date {
  color: var(--gold-light);
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   6. CELEBRATION SCHEDULE & ITINERARY
   ============================================================ */
.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.itinerary-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itinerary-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-luxury);
}

.itinerary-card.highlight-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(197, 159, 78, 0.12) 100%);
  border-color: var(--gold-primary);
}

.itinerary-time {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  padding: 4px 14px;
  border-radius: 30px;
  background: var(--gold-gradient-soft);
  border: 1px solid rgba(197, 159, 78, 0.3);
  margin-bottom: 1.2rem;
}

.itinerary-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.itinerary-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.event-subtitle {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

body.candlelight-theme .event-subtitle {
  color: var(--gold-light);
}

.event-details {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   7. VENUE SECTION
   ============================================================ */
.venue-showcase-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
}

.venue-image-side {
  position: relative;
  min-height: 420px;
}

.venue-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(30, 26, 24, 0.85);
  color: #FFEBAA;
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.venue-info-side {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-subtitle {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

body.candlelight-theme .venue-subtitle {
  color: var(--gold-light);
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.venue-club {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

body.candlelight-theme .venue-club {
  color: var(--gold-light);
}

.venue-time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
}

.venue-address {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gold);
}

.venue-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.venue-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.4rem;
  background: var(--gold-gradient-soft);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(197, 159, 78, 0.25);
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.copy-alert {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 500;
  min-height: 20px;
}

.venue-map-embed-wrapper {
  margin-top: 3.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-luxury);
}

/* ============================================================
   8. ATTIRE & COLOR PALETTE
   ============================================================ */
.dresscode-section {
  background: var(--bg-secondary);
}

.attire-content {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dresscode-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.dresscode-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.dresscode-box h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.dresscode-box p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.attire-note {
  font-style: italic;
  font-size: 0.9rem !important;
  color: var(--gold-dark) !important;
  margin-top: 1rem;
}

body.candlelight-theme .attire-note {
  color: var(--gold-light) !important;
}

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

.palette-wrapper h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.palette-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.swatch-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #FFF;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.swatch-item:hover .swatch-circle {
  transform: scale(1.12);
}

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

/* ============================================================
   9. INTERACTIVE RSVP SECTION
   ============================================================ */
.rsvp-card-container {
  max-width: 740px;
  margin: 0 auto;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-smooth);
}

body.candlelight-theme .form-input,
body.candlelight-theme .form-textarea {
  background: rgba(20, 17, 26, 0.7);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 159, 78, 0.2);
}

.field-error {
  color: #D32F2F;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

/* Radio choice cards */
.attendance-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-card {
  cursor: pointer;
}

.radio-card input {
  display: none;
}

.radio-card-content {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  background: var(--bg-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.radio-card input:checked + .radio-card-content {
  border-color: var(--gold-primary);
  background: var(--gold-gradient-soft);
  box-shadow: 0 6px 20px rgba(197, 159, 78, 0.25);
  transform: translateY(-2px);
}

.radio-emoji {
  font-size: 1.5rem;
}

.radio-card-content strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.radio-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Guest Counter */
.counter-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  overflow: hidden;
  background: var(--bg-card);
}

.counter-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--gold-primary);
  cursor: pointer;
  transition: background 0.2s;
}

.counter-btn:hover {
  background: var(--gold-gradient-soft);
}

.counter-input {
  width: 50px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

/* RSVP Success Card */
.rsvp-success-card {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: popSuccess 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popSuccess {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.rsvp-success-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.success-message {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.rsvp-details-receipt {
  background: var(--gold-gradient-soft);
  border: 1px dashed var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  text-align: left;
  font-size: 0.9rem;
}

.rsvp-details-receipt p {
  margin-bottom: 0.4rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.rsvp-admin-link-wrapper {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-text-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}

.btn-text-link:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

/* ============================================================
   10. WISHING WELL / GUESTBOOK
   ============================================================ */
.guestbook-section {
  background: var(--bg-secondary);
}

.quick-wish-box {
  max-width: 740px;
  margin: 0 auto 3rem;
}

.quick-wish-form .wish-inputs {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 0.8rem;
  background: var(--bg-card);
  padding: 0.8rem;
  border-radius: 50px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

.quick-wish-form .form-input {
  border-radius: 40px;
  border: none;
  background: transparent;
}

.wishes-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

.wish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-luxury);
}

.wish-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-gradient);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.wish-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.wish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(197, 159, 78, 0.2);
  padding-top: 0.8rem;
}

.wish-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold-dark);
}

body.candlelight-theme .wish-author {
  color: var(--gold-light);
}

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

/* ============================================================
   11. HASHTAG & SOCIAL
   ============================================================ */
.hashtag-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-luxury);
}

.hashtag-rings-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid #FFF;
  box-shadow: var(--shadow-card);
}

body.candlelight-theme .hashtag-rings-img-wrapper {
  border-color: #24202B;
}

.hashtag-rings-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hashtag-rings-img-wrapper:hover .hashtag-rings-img {
  transform: scale(1.05);
}

.hashtag-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

body.candlelight-theme .hashtag-tag {
  color: var(--gold-light);
}

.hashtag-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-primary);
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.arabic-hashtag {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hashtag-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.hashtag-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  padding: 4.5rem 1rem 3rem;
  text-align: center;
}

.footer-monogram {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-primary);
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.footer-amp {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--rose-dark);
}

.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.footer-date {
  font-family: var(--font-sans);
  letter-spacing: 4px;
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

body.candlelight-theme .footer-date {
  color: var(--gold-light);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   13. FLOATING ACTION BUTTONS
   ============================================================ */
.floating-controls {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--gold-primary);
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
}

.floating-btn:hover {
  background: var(--gold-gradient);
  color: #241D10;
  transform: scale(1.1);
}

.floating-rsvp-btn {
  background: var(--gold-gradient);
  color: #241D10;
}

.floating-tooltip {
  position: absolute;
  right: 58px;
  background: rgba(30, 26, 24, 0.9);
  color: #FFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.floating-rsvp-btn:hover .floating-tooltip {
  opacity: 1;
}

/* ============================================================
   14. ADMIN GUEST LIST MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.admin-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(197, 159, 78, 0.2);
}

.admin-table th {
  background: var(--gold-gradient-soft);
  color: var(--gold-dark);
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

body.candlelight-theme .admin-table th {
  color: var(--gold-light);
}

.admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ============================================================
   RESPONSIVE DESIGN (TABLETS, PHONES & ULTRA-WIDE)
   ============================================================ */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .venue-showcase-card {
    grid-template-columns: 1fr;
  }
  .venue-image-side {
    min-height: 280px;
  }
  .section {
    padding: 4.5rem 1rem;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: 94%;
  }
  .brand-monogram {
    font-size: 1.35rem;
  }
  .header-controls {
    gap: 0.45rem;
  }
  .btn-icon-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }
  .btn-icon-circle {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  /* Envelope responsiveness */
  .envelope-wrapper {
    width: min(92vw, 420px);
    height: 280px;
  }
  .envelope-letter {
    height: 245px;
    padding: 10px 10px;
    top: 20px;
  }
  .envelope-wrapper.unfolding .envelope-letter {
    transform: translateY(-105px);
  }
  .letter-couple {
    font-size: 1.6rem;
  }
  .letter-title {
    font-size: 0.85rem;
  }
  .letter-hall {
    font-size: 0.72rem;
  }
  .wax-seal {
    width: 60px;
    height: 60px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }
  .wax-seal:hover {
    transform: translate(-50%, 50%) scale(1.06);
  }
  .wax-seal:active {
    transform: translate(-50%, 50%) scale(0.95);
  }
  .wax-inner {
    width: 46px;
    height: 46px;
  }
  .seal-initials {
    font-size: 0.85rem;
  }

  /* Hero section responsiveness */
  .hero-section {
    padding: 5.5rem 0.8rem 2.8rem;
  }
  .hero-badge {
    padding: 0.35rem 1rem;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
  }
  .badge-text {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }
  .badge-ornament {
    font-size: 0.75rem;
  }
  .arabic-calligraphy {
    font-size: 1.35rem;
    line-height: 1.7;
  }
  .verse-translation {
    font-size: 0.95rem;
  }
  .couple-names {
    font-size: clamp(2.5rem, 9.5vw, 4rem);
    word-break: break-word;
  }
  .names-connector {
    font-size: clamp(2.2rem, 8.5vw, 3.5rem);
  }
  .arabic-names {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }
  .hero-venue-sub {
    font-size: 1rem;
    padding: 0 0.5rem;
    margin-bottom: 1.8rem;
  }

  /* Date & Time block on mobile */
  .hero-date-block {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
  }
  .date-gold-line {
    display: none;
  }
  .date-details {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 0.8rem;
  }
  .date-day {
    font-size: 2rem;
  }
  .date-weekday,
  .date-month-year {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
  }
  .date-time-badge {
    font-size: 0.85rem;
    padding: 3px 12px;
    letter-spacing: 1.5px;
  }

  /* Countdown grid on mobile */
  .countdown-wrapper {
    padding: 1.2rem 0.7rem;
    width: 100%;
    max-width: 440px;
    margin-bottom: 2rem;
  }
  .countdown-title {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
  }
  .countdown-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    width: 100%;
  }
  .countdown-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.15rem;
    text-align: center;
  }
  .count-number {
    font-size: clamp(1.35rem, 5.5vw, 1.8rem);
  }
  .count-label {
    font-size: clamp(0.55rem, 2.2vw, 0.7rem);
    letter-spacing: 0.5px;
  }
  .countdown-separator {
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    flex: 0 0 auto;
    padding: 0 1px;
  }

  /* Hero buttons on mobile */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
  }

  /* Blessing section */
  .blessing-section {
    padding: 2.5rem 0.8rem 4rem;
  }
  .blessing-hero-frame {
    border-width: 5px;
    border-radius: 18px;
    margin-bottom: 2rem;
  }
  .frame-tag {
    font-size: 0.72rem;
    padding: 4px 14px;
    white-space: nowrap;
  }
  .parents-invitation-card {
    padding: 1.8rem 1.2rem;
  }
  .parents-invitation-card h4 {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }
  .parents-invitation-card p {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  .dua-calligraphy {
    font-size: 1.25rem;
    line-height: 1.8;
  }

  /* Venue card on mobile */
  .venue-info-side {
    padding: 1.8rem 1.2rem;
  }
  .venue-name {
    font-size: 1.7rem;
  }
  .venue-club {
    font-size: 0.95rem;
  }
  .venue-time {
    font-size: 0.9rem;
  }
  .venue-address {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
  }
  .venue-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  .venue-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .venue-map-embed-wrapper {
    margin-top: 2rem;
    border-radius: 16px;
  }
  .venue-map-embed-wrapper iframe {
    height: 270px;
  }

  /* Footer on mobile */
  .site-footer {
    padding: 3rem 1rem 2.5rem;
  }
  .footer-monogram {
    font-size: 1.8rem;
  }
  .footer-quote {
    font-size: 1.05rem;
  }
}

/* Landscape optimization for mobile devices */
@media (max-height: 520px) and (orientation: landscape) {
  .envelope-container {
    padding: 0.4rem;
    transform: scale(0.72);
    transform-origin: center center;
  }
  .envelope-instruction {
    margin-top: 0.5rem;
  }
  .hero-section {
    padding: 4.5rem 1rem 2.5rem;
  }
}

/* Extra small devices (iPhone SE, smaller screens < 360px) */
@media (max-width: 360px) {
  .header-inner {
    width: 96%;
  }
  .brand-monogram {
    font-size: 1.2rem;
  }
  .envelope-wrapper {
    width: 95vw;
    height: 260px;
  }
  .envelope-letter {
    height: 225px;
    padding: 10px 6px;
    top: 14px;
  }
  .letter-monogram {
    font-size: 1.1rem;
    margin-bottom: 2px;
    padding-bottom: 2px;
  }
  .letter-verse {
    font-size: 0.78rem;
    margin-bottom: 2px;
  }
  .letter-greeting {
    font-size: 0.72rem;
    margin-bottom: 3px;
  }
  .letter-title {
    font-size: 0.82rem;
    margin-bottom: 2px;
  }
  .letter-couple {
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .letter-date {
    font-size: 0.68rem;
    padding: 2px 10px;
    letter-spacing: 1px;
  }
  .letter-hall {
    font-size: 0.68rem;
    margin: 3px 0 1px;
  }
  .letter-divider {
    font-size: 0.7rem;
    margin: 2px 0;
  }
  .letter-subtext {
    font-size: 0.65rem;
  }
  .wax-seal {
    width: 52px;
    height: 52px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }
  .wax-inner {
    width: 38px;
    height: 38px;
  }
  .seal-initials {
    font-size: 0.75rem;
  }
  .btn-open-envelope {
    padding: 0.75rem 1.6rem;
    font-size: 0.9rem;
  }
}
