/* ==========================================================================
   KERALA TRADITIONAL WEDDING - NIKHIL & SURYA
   Styling Architecture: Kasavu Gold, Temple Maroon, Lotus Pink, Sandalwood Cream
   Fully Responsive for Mobile, Tablet & Desktop
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Fonts & Custom Font Imports
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@600;700;900&family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Gayathri:wght@400;700&family=Great+Vibes&family=Manjari:wght@400;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Dynamic Custom Font (User can place custom font file in assets/fonts/) */
@font-face {
  font-family: 'WeddingCustomFont';
  src: url('../fonts/custom-font.woff2') format('woff2'),
       url('../fonts/custom-font.woff') format('woff'),
       url('../fonts/custom-font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Royal Kerala Gold & Temple Colors */
  --gold-primary: #D4AF37;
  --gold-light: #F9E7B3;
  --gold-lighter: #FDF7E7;
  --gold-dark: #A37F19;
  --gold-zari: #C59B27;
  --gold-gradient: linear-gradient(135deg, #F3D98A 0%, #D4AF37 45%, #AA8018 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(170, 128, 24, 0.05) 100%);
  --gold-shimmer: linear-gradient(90deg, #D4AF37 0%, #FFF3C7 50%, #D4AF37 100%);

  /* Traditional Sacred Maroon / Kumkum */
  --maroon-deep: #4E0A16;
  --maroon-primary: #7A1428;
  --maroon-light: #9E243B;
  --maroon-gradient: linear-gradient(135deg, #7A1428 0%, #4E0A16 100%);

  /* Traditional Lotus Pink & Sandalwood */
  --lotus-pink: #D45B7A;
  --lotus-soft: #FCE8EE;
  --sandalwood: #EADBC8;
  --cream-bg: #FCFAF5;
  --cream-surface: #FFFFFF;
  --cream-muted: #F7F3EA;
  
  /* Text & Dark Neutrals */
  --text-dark: #2A2421;
  --text-body: #4A4440;
  --text-muted: #7A726C;
  --text-gold: #946F10;
  
  /* Borders & Shadows */
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-solid: #D4AF37;
  --border-soft: rgba(212, 175, 55, 0.18);
  --shadow-sm: 0 4px 15px rgba(122, 20, 40, 0.05);
  --shadow-md: 0 10px 30px rgba(122, 20, 40, 0.08);
  --shadow-lg: 0 18px 45px rgba(78, 10, 22, 0.12);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.28);
  
  /* Typography Families */
  --font-script: 'Great Vibes', cursive;
  --font-heading: 'Cinzel', serif;
  --font-heading-ornate: 'Cinzel Decorative', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-malayalam: 'Gayathri', 'Manjari', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-wish: 'WeddingCustomFont', 'Cormorant Garamond', 'Gayathri', serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream-bg);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Kerala Kasavu Motif Top Banner Border */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gold-gradient);
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
  border: 2px solid var(--cream-bg);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--maroon-deep);
  font-weight: 700;
  line-height: 1.25;
}

.script-text {
  font-family: var(--font-script);
  color: var(--gold-dark);
}

.malayalam-text {
  font-family: var(--font-malayalam);
  letter-spacing: 0.01em;
}

.ornate-title {
  font-family: var(--font-heading-ornate);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Wrapper Standard */
.section {
  padding: 90px 0;
  position: relative;
}

.section-cream {
  background-color: var(--cream-bg);
}

.section-muted {
  background-color: var(--cream-muted);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* Section Header Motif */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-sub {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--gold-dark);
  margin-bottom: 5px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  color: var(--maroon-deep);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

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

/* Traditional Divider with Lotus Motif */
.traditional-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 14px auto 18px;
}

.traditional-divider .line {
  height: 1.5px;
  width: 60px;
  background: var(--gold-gradient);
  position: relative;
}

.traditional-divider .line::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-primary);
}

.traditional-divider .line-left::after { left: 0; }
.traditional-divider .line-right::after { right: 0; }

.traditional-divider .center-symbol {
  font-size: 1.35rem;
  color: var(--maroon-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   4. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(78, 10, 22, 0.08);
  border-bottom: 1px solid var(--border-soft);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-monogram {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-deep);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
  border: 1.5px solid #FFF;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-couple {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #FFF;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: color var(--transition-fast);
}

.navbar.scrolled .brand-couple {
  color: var(--maroon-deep);
  text-shadow: none;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar.scrolled .brand-tagline {
  color: var(--gold-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
  text-shadow: none;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--maroon-primary);
}

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

.nav-cta-btn {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-smooth);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.55);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.6rem;
  cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
  color: var(--maroon-deep);
}

/* --------------------------------------------------------------------------
   5. Hero Banner Section (Full Landscape Cover Video)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 120px 20px 80px;
  color: #FFF;
  cursor: pointer; /* Indicates video can be toggled by clicking */
  background-color: #1a0206;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  /* Rotated an additional 90 degrees (270deg / -90deg total) with seamless full-bleed coverage */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vh;
  height: 100vw;
  min-width: 100vh;
  min-height: 100vw;
  transform: translate(-50%, -50%) rotate(270deg);
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.05) brightness(0.92);
}

/* Atmospheric Ambient Dark Gradient Overlay for Crisp Text Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(34, 4, 10, 0.65) 0%, 
    rgba(62, 8, 18, 0.42) 40%, 
    rgba(35, 4, 10, 0.85) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* YouTube Video Embed Overlay on Hero */
.hero-youtube-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: rgba(15, 2, 5, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.youtube-embed-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.4);
  border: 2px solid var(--gold-primary);
}

.youtube-embed-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.btn-close-yt {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #FFF;
  border: 1px solid var(--gold-primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform var(--transition-fast);
}

.btn-close-yt:hover {
  transform: scale(1.1);
  background: var(--maroon-primary);
}

/* Atmospheric Ambient Dark Gradient Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(34, 4, 10, 0.6) 0%, 
    rgba(62, 8, 18, 0.3) 40%, 
    rgba(35, 4, 10, 0.82) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
}

/* Floating Status Indicator on Video Play/Pause Click */
.video-status-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid var(--gold-primary);
  color: var(--gold-light);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-status-indicator.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ganesha-invoc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 20px;
}

.ganesha-icon-svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.6));
  margin-bottom: 6px;
  animation: floatGentle 4s ease-in-out infinite;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ganesha-shloka {
  font-family: var(--font-malayalam);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: #FFF;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-couple-names {
  margin: 15px 0 22px;
}

.hero-title-main {
  font-family: var(--font-heading-ornate);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.15;
  background: var(--gold-shimmer);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.9));
  letter-spacing: 1px;
}

.hero-malayalam-names {
  font-family: var(--font-malayalam);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 8px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(46, 5, 13, 0.75);
  border: 1.5px solid var(--gold-primary);
  border-radius: 40px;
  padding: 10px 28px;
  margin: 15px 0 35px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-date-badge .date-icon {
  color: var(--gold-light);
  font-size: 1.25rem;
}

.hero-date-badge .date-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: #FFF;
}

.hero-date-badge .thulam-text {
  font-family: var(--font-malayalam);
  color: var(--gold-light);
  font-size: 0.95rem;
  border-left: 1px solid rgba(212, 175, 55, 0.4);
  padding-left: 12px;
}

/* Countdown Timer */
.countdown-wrapper {
  margin: 25px auto 40px;
  max-width: 650px;
}

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

.countdown-card {
  background: rgba(30, 3, 8, 0.8);
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px 10px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.countdown-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

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

.countdown-num {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: 5px;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-gold {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: 35px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
  transition: all var(--transition-smooth);
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.65);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 35px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  transition: all var(--transition-smooth);
}

.btn-outline-white:hover {
  background: #FFF;
  color: var(--maroon-deep);
  border-color: #FFF;
  transform: translateY(-3px);
}

/* Bottom Mute Button Only */
.hero-video-controls {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 4;
}

.video-ctrl-btn {
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 9px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.video-ctrl-btn:hover {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   6. Nilavilakku (Divine Aura & Ethereal Blessing Toast)
   -------------------------------------------------------------------------- */
.nilavilakku-strip {
  background: var(--cream-muted);
  border-bottom: 1px solid var(--border-soft);
  padding: 35px 20px;
}

.lamp-widget-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 820px;
  margin: 0 auto;
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 20px;
  padding: 22px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.lamp-widget-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  bottom: 0;
  background: var(--gold-gradient);
}

.lamp-interactive {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  width: 75px;
  text-align: center;
}

.lamp-graphic-svg {
  width: 65px;
  height: 90px;
  filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.5));
  transition: transform var(--transition-bounce);
}

.lamp-interactive:hover .lamp-graphic-svg {
  transform: scale(1.08);
}

.lamp-flame {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 24px;
  background: radial-gradient(circle at bottom, #FFFA8D 0%, #FFB300 45%, #FF5722 90%);
  border-radius: 50% 50% 35% 35%;
  filter: blur(0.5px);
  box-shadow: 0 0 15px #FFB300, 0 0 30px #FF9800;
  animation: flameFlicker 1.8s infinite alternate ease-in-out;
  transform-origin: bottom center;
}

@keyframes flameFlicker {
  0% { transform: translateX(-50%) rotate(-2deg) scale(1); }
  50% { transform: translateX(-50%) rotate(-1deg) scale(0.95, 1.05); }
  100% { transform: translateX(-50%) rotate(2deg) scale(1.04, 0.98); }
}

.lamp-text {
  flex-grow: 1;
}

.lamp-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--maroon-deep);
  margin-bottom: 4px;
}

.lamp-malayalam {
  font-family: var(--font-malayalam);
  font-size: 0.92rem;
  color: var(--gold-dark);
}

.lamp-btn {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: all var(--transition-fast);
}

.lamp-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.lamp-btn.lit {
  background: var(--maroon-gradient);
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  50% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
}

/* Fullscreen Divine Aura Overlay */
.divine-aura-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99990;
  background: radial-gradient(circle at center, rgba(255, 235, 160, 0.45) 0%, rgba(212, 175, 55, 0.25) 50%, rgba(122, 20, 40, 0.15) 100%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.divine-aura-overlay.active {
  opacity: 1;
}

/* Blessing Toast Notification Banner */
.blessing-toast-banner {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: #FFF;
  border: 2px solid var(--gold-primary);
  border-radius: 20px;
  padding: 16px 28px;
  box-shadow: 0 10px 40px rgba(122, 20, 40, 0.25);
  z-index: 99995;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90vw;
}

.blessing-toast-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.toast-symbol {
  font-size: 2rem;
  color: var(--gold-dark);
}

.toast-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--maroon-deep);
  margin-bottom: 2px;
}

.toast-content p {
  font-family: var(--font-malayalam);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--maroon-primary);
  cursor: pointer;
  padding: 0 5px;
}

/* --------------------------------------------------------------------------
   7. Couple Section
   -------------------------------------------------------------------------- */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.couple-card {
  background: #FFF;
  border-radius: 20px;
  padding: 35px 30px;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.couple-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

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

.couple-photo-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 25px;
  border-radius: 50%;
  padding: 8px;
  background: var(--gold-gradient);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
  position: relative;
}

.couple-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #FFF;
  background-color: var(--cream-muted);
}

.couple-role {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.couple-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--maroon-deep);
  margin-bottom: 5px;
}

.couple-qualification {
  font-size: 0.95rem;
  color: var(--maroon-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.couple-parents-box {
  background: var(--cream-muted);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px dashed var(--border-gold);
}

.couple-parents-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.couple-parents-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.couple-residence {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.couple-contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF;
  border: 1px solid var(--border-gold);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--maroon-primary);
  transition: all var(--transition-fast);
}

.contact-pill:hover {
  background: var(--maroon-primary);
  color: #FFF;
  border-color: var(--maroon-primary);
}

.couple-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.connector-circle {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--maroon-primary);
}

.connector-text {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--maroon-deep);
  white-space: nowrap;
}

.compliments-banner {
  margin-top: 45px;
  text-align: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(122, 20, 40, 0.05) 100%);
  border: 1.5px dashed var(--gold-primary);
  border-radius: 16px;
  padding: 18px 25px;
}

.compliments-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--maroon-primary);
  font-weight: 700;
  margin-bottom: 5px;
}

.compliments-names {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

/* --------------------------------------------------------------------------
   8. Story Timeline
   -------------------------------------------------------------------------- */
.story-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold-gradient);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 40px;
}

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

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 50px;
  padding-right: 0;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--maroon-deep);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot { right: -16px; }
.timeline-item:nth-child(even) .timeline-dot { left: -16px; }

.timeline-card {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth);
}

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

.timeline-date-tag {
  display: inline-block;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-gold);
  color: var(--maroon-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--maroon-deep);
  margin-bottom: 8px;
}

.timeline-malayalam {
  font-family: var(--font-malayalam);
  font-size: 0.95rem;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Events & Venues Section (With Prominent Google Maps Action)
   -------------------------------------------------------------------------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.event-card {
  background: #FFF;
  border-radius: 22px;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.event-banner-header {
  background: radial-gradient(circle at center, #7A1428 0%, #4E0A16 100%);
  color: #FFF;
  padding: 28px 25px;
  text-align: center;
  position: relative;
}

.event-banner-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.event-icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--maroon-deep);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.event-category-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.event-category-malayalam {
  font-family: var(--font-malayalam);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.event-body {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-details-list {
  list-style: none;
  margin-bottom: 25px;
}

.event-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.detail-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-muted);
  border: 1px solid var(--border-gold);
  color: var(--maroon-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.detail-content strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--maroon-deep);
  margin-bottom: 2px;
}

.detail-content span {
  color: var(--text-body);
}

/* Prominent, Centered Google Maps Action Button */
.btn-event-maps-main {
  width: 100%;
  padding: 14px 24px;
  border-radius: 35px;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border: 1.5px solid #FFF;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.38);
  transition: all var(--transition-smooth);
}

.btn-event-maps-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #F9E7B3 0%, #D4AF37 50%, #B8860B 100%);
}

.card-showcase-box {
  margin-top: 50px;
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 35px;
  box-shadow: var(--shadow-md);
}

.card-showcase-thumb {
  width: 180px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--gold-primary);
  cursor: pointer;
  transition: transform var(--transition-smooth);
}

.card-showcase-thumb:hover {
  transform: scale(1.04) rotate(1deg);
}

.card-showcase-info h4 {
  font-size: 1.5rem;
  color: var(--maroon-deep);
  margin-bottom: 8px;
}

.card-showcase-info p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   10. Gallery Wall & Lightbox
   -------------------------------------------------------------------------- */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: #FFF;
  border: 1.5px solid var(--border-gold);
  color: var(--text-dark);
  padding: 8px 22px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--maroon-primary);
  color: #FFF;
  border-color: var(--maroon-primary);
  box-shadow: 0 4px 15px rgba(122, 20, 40, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gold);
  background-color: var(--cream-muted);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

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

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(78, 10, 22, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-badge {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1;
}

.gallery-caption {
  font-size: 0.88rem;
  color: #FFF;
  font-weight: 500;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 2, 5, 0.95);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

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

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-meta {
  color: #FFF;
  margin-top: 15px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.lightbox-close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #FFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--maroon-primary);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #FFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
  color: var(--maroon-deep);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* --------------------------------------------------------------------------
   11. Wish Card & Floating Trigger
   -------------------------------------------------------------------------- */
.wish-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #FFFDF9 0%, #F5EFE3 100%);
  border-top: 1.5px solid var(--border-gold);
}

.wish-floating-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border: 2px solid #FFF;
  border-radius: 40px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(122, 20, 40, 0.35);
  transition: all var(--transition-bounce);
  animation: floatDock 3s ease-in-out infinite;
}

@keyframes floatDock {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.wish-floating-trigger:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.floating-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--maroon-deep);
  box-shadow: 0 0 8px rgba(122, 20, 40, 0.8);
}

.wish-card-container {
  max-width: 850px;
  margin: 0 auto;
  background: #FFF;
  border-radius: 24px;
  border: 2px solid var(--border-gold-solid);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  padding: 40px 45px;
}

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

.wish-card-header {
  text-align: center;
  margin-bottom: 30px;
}

.wish-card-header h3 {
  font-size: 2rem;
  color: var(--maroon-deep);
  margin-bottom: 6px;
}

.wish-card-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.preset-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.preset-chip-btn {
  background: var(--cream-muted);
  border: 1px solid var(--border-gold);
  color: var(--maroon-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip-btn:hover {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border-color: transparent;
}

.wish-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--maroon-deep);
  display: flex;
  justify-content: space-between;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid var(--border-gold);
  border-radius: 12px;
  background: var(--cream-bg);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-textarea {
  font-family: var(--font-wish);
  font-size: 1.15rem;
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #FFF;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.char-counter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.char-meter-track {
  flex-grow: 1;
  height: 4px;
  background: #E8E2D5;
  border-radius: 4px;
  margin: 0 15px;
  overflow: hidden;
}

.char-meter-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  transition: width 0.2s ease;
}

.char-meter-fill.near-limit { background: #E67E22; }
.char-meter-fill.at-limit { background: #C0392B; }

.voice-recorder-box {
  background: var(--cream-muted);
  border: 1.5px dashed var(--gold-primary);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

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

.btn-mic-record {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF;
  border: 2px solid var(--maroon-primary);
  color: var(--maroon-primary);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 10px rgba(122, 20, 40, 0.15);
}

.btn-mic-record:hover {
  background: var(--maroon-primary);
  color: #FFF;
  transform: scale(1.06);
}

.btn-mic-record.recording {
  background: #E74C3C;
  border-color: #C0392B;
  color: #FFF;
  animation: pulseRecording 1.5s infinite;
}

@keyframes pulseRecording {
  0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.voice-status-info {
  display: flex;
  flex-direction: column;
}

.voice-status-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.voice-status-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sound-wave-bars {
  display: none;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.sound-wave-bars.active {
  display: flex;
}

.wave-bar {
  width: 3px;
  height: 8px;
  background: var(--maroon-primary);
  border-radius: 3px;
  animation: soundBar 1s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 16px; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 22px; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; height: 14px; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; height: 10px; }

@keyframes soundBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.4); }
}

.audio-preview-wrap {
  display: none;
  align-items: center;
  gap: 10px;
}

.audio-preview-wrap.has-audio {
  display: flex;
}

.btn-audio-play {
  background: var(--gold-gradient);
  border: none;
  color: var(--maroon-deep);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-audio-discard {
  background: none;
  border: none;
  color: #C0392B;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

.btn-wish-submit {
  background: var(--maroon-gradient);
  color: #FFF;
  border: 2px solid var(--gold-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 16px 35px;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(78, 10, 22, 0.25);
  transition: all var(--transition-smooth);
  margin-top: 10px;
}

.btn-wish-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(78, 10, 22, 0.4);
}

/* --------------------------------------------------------------------------
   12. Live Wishes Scrolling Feed & Wall
   -------------------------------------------------------------------------- */
.wishes-feed-section {
  padding-top: 50px;
}

.feed-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.feed-title-box h4 {
  font-size: 1.6rem;
  color: var(--maroon-deep);
}

.feed-title-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.feed-view-toggles {
  display: flex;
  gap: 8px;
}

.view-toggle-btn {
  background: #FFF;
  border: 1px solid var(--border-gold);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-toggle-btn.active {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border-color: transparent;
}

.marquee-scroller-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollMarquee 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wish-card {
  width: 340px;
  flex-shrink: 0;
  background: #FFF;
  border-radius: 18px;
  border: 1.5px solid var(--border-gold);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.marquee-wish-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.marquee-wish-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.18);
  line-height: 1;
  pointer-events: none;
}

.wish-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.wish-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--maroon-deep);
  flex-shrink: 0;
}

.wish-author-info {
  display: flex;
  flex-direction: column;
}

.wish-author-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.wish-relation-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  font-weight: 700;
}

.wish-body-text {
  font-family: var(--font-wish);
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 14px;
}

.wish-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.wish-audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-gold);
  color: var(--maroon-primary);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wish-audio-pill:hover {
  background: var(--gold-primary);
  color: var(--maroon-deep);
}

.wishes-grid-view {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.wishes-grid-view.active {
  display: grid;
}

/* --------------------------------------------------------------------------
   13. Floating Wish Card Modal
   -------------------------------------------------------------------------- */
.wish-popup-modal {
  position: fixed;
  inset: 0;
  background: rgba(25, 3, 7, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wish-popup-modal.active {
  display: flex;
}

.wish-modal-dialog {
  background: #FFF;
  border-radius: 24px;
  border: 2px solid var(--gold-primary);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 35px 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.wish-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--cream-muted);
  border: 1px solid var(--border-gold);
  color: var(--maroon-deep);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   14. Footer Section & Admin Link
   -------------------------------------------------------------------------- */
.site-footer {
  background: radial-gradient(circle at center, #5A0B19 0%, #30040D 100%);
  color: #FFF;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  border-top: 4px solid var(--gold-primary);
}

.footer-monogram {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--maroon-deep);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.footer-couple-name {
  font-family: var(--font-heading-ornate);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.footer-shloka {
  font-family: var(--font-malayalam);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 30px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.footer-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-icon-btn:hover {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 25px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.admin-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  font-size: 0.78rem;
  color: var(--gold-light);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-portal-link:hover {
  opacity: 1;
  background: rgba(212, 175, 55, 0.2);
}

/* --------------------------------------------------------------------------
   15. Mobile & Tablet Responsiveness
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #FFF;
  z-index: 10001;
  padding: 30px 25px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
}

.mobile-drawer-overlay.active {
  display: block;
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--maroon-deep);
  cursor: pointer;
  margin-bottom: 25px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon-deep);
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-soft);
}

/* Tablet Optimization (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .couple-connector {
    order: 2;
  }
  .events-grid {
    gap: 24px;
  }
}

/* Mobile & Small Tablet Optimization */
@media (max-width: 991px) {
  .nav-menu, .nav-cta-btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .story-timeline::before {
    left: 25px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 65px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item .timeline-dot {
    left: 9px !important;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .card-showcase-box {
    flex-direction: column;
    text-align: center;
  }
  .lamp-widget-wrap {
    flex-direction: column;
    text-align: center;
  }
}

/* Phone Screen Optimization (Max 600px) */
@media (max-width: 600px) {
  .section {
    padding: 65px 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .hero-section {
    padding: 100px 15px 60px;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .countdown-num {
    font-size: 1.75rem;
  }
  .couple-photo-wrap {
    width: 180px;
    height: 180px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .wish-card-container {
    padding: 24px 18px;
  }
  .wish-floating-trigger {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .hero-date-badge {
    flex-direction: column;
    gap: 6px;
    padding: 10px 20px;
  }
  .hero-date-badge .thulam-text {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    padding-top: 4px;
  }
}

/* Canvas Confetti Layer */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
}
