/* ===================================================================
   JIMMY JANI & PALAK NAYAK | ROYAL WEDDING INVITATION
   Warm Twilight Sky, Glowing Lanterns & Authentic Indian Card Details
   =================================================================== */

:root {
  /* Warm Twilight & Golden Sky Palette */
  --sky-top: #0a1f33;
  --sky-upper: #133c63;
  --sky-mid: #1d588a;
  --sky-warm-sunset: #e67e22;
  --sky-amber: #f39c12;
  --sky-gold-glow: #ffcf40;
  
  --sage-bg: #446f63;
  --sage-dark: #203c34;
  --sage-light: #588779;
  
  /* Signature Card Colors from User's Invite */
  --groom-emerald: #144936;
  --groom-emerald-glow: rgba(20, 73, 54, 0.4);
  --bride-burgundy: #7b1126;
  --bride-burgundy-glow: rgba(123, 17, 38, 0.4);
  
  --gold-primary: #dfa037;
  --gold-bright: #ffea9f;
  --gold-dark: #8c5b10;
  --gold-gradient: linear-gradient(135deg, #fff2b8 0%, #f4c052 45%, #c5861b 100%);
  
  --card-cream: #fefcf7;
  --card-border: #ebd9b5;
  --coral-accent: #e76f51;
  --coral-dark: #c54e31;
  
  --text-dark: #27211a;
  --text-muted: #6e6457;
  --text-light: #fefcf7;
  
  --font-heading: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-couple-title: 'Cinzel', serif;
  --font-calligraphy: 'Pinyon Script', 'Alex Brush', cursive;
  --font-script-alt: 'Alex Brush', cursive;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  background-color: var(--sky-top);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.5;
  position: relative;
}

/* ===================================================================
   FLOATING ACTION BUTTONS (AUDIO & QUICK MENU)
   =================================================================== */
.audio-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4724b, #e76f51 60%, #b83a1b);
  border: 2px solid rgba(255, 234, 159, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(231, 111, 81, 0.55), 0 0 20px rgba(255, 207, 64, 0.5);
  z-index: 1000;
  transition: var(--transition);
}

.audio-pill:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(231, 111, 81, 0.7), 0 0 25px rgba(255, 207, 64, 0.8);
}

.audio-waves {
  display: none;
  gap: 3px;
  align-items: center;
  height: 18px;
}

.audio-pill.playing .audio-waves {
  display: flex;
}

.audio-pill.playing #audioIcon {
  display: none;
}

.audio-waves span {
  width: 3.5px;
  background: #fff;
  border-radius: 2px;
  animation: wave 1.2s infinite ease-in-out;
}

.audio-waves span:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.audio-waves span:nth-child(2) { height: 18px; animation-delay: 0.3s; }
.audio-waves span:nth-child(3) { height: 13px; animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { height: 7px; animation-delay: 0.4s; }

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


/* Background Glowing Sky Lanterns Canvas (Dynamic animated floating lanterns) */
#fireworksCanvas,
#lanternCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15; /* In front of temple (z-index 10) so golden sparkle ascent is 100% visible */
}

/* ===================================================================
   HERO SECTION: REALISTIC TWILIGHT SKY & MAJESTIC RAM MANDIR
   =================================================================== */
.hero-sky-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  contain: paint;
  background: linear-gradient(180deg, 
    #0c1b2f 0%, 
    #132b45 15%, 
    #1e4468 28%, 
    #2f648e 42%, 
    #b95d2c 60%, 
    #d97a36 72%, 
    #efa04d 84%, 
    #fbd078 94%, 
    #ffe9b3 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* temple walkway grounds right at bottom */
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  z-index: 10;
  cursor: crosshair;
}

/* 1. REALISTIC SKY ATMOSPHERE LAYERS */
.sky-backdrop-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
  z-index: 1;
}

/* Subtle Sunset Photographic Sky Texture Blend */
.sky-texture-overlay {
  position: absolute;
  inset: 0;
  background: url('assets/sky_sunset_realistic.webp') center 70% / cover no-repeat;
  opacity: 0.65;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Radiant Golden Sun / Sacred Halo Behind Shikhara Apex */
.sky-sun-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 46vw, 540px);
  height: clamp(280px, 46vw, 540px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  animation: sunPulse 6s ease-in-out infinite alternate;
}

.sun-glow-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(255, 183, 3, 0.75));
}

@keyframes sunPulse {
  0% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.78; }
  100% { transform: translate(-50%, -50%) scale(1.06); opacity: 0.95; }
}

/* Full-Screen Realistic Forest Background Valley (Edge-to-Edge) */
.sky-forest-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to top, 
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 0, 0, 1) 32%, 
    rgba(0, 0, 0, 0.75) 55%, 
    rgba(0, 0, 0, 0.3) 70%, 
    rgba(0, 0, 0, 0) 84%);
  -webkit-mask-image: linear-gradient(to top, 
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 0, 0, 1) 32%, 
    rgba(0, 0, 0, 0.75) 55%, 
    rgba(0, 0, 0, 0.3) 70%, 
    rgba(0, 0, 0, 0) 84%);
}

.forest-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  filter: contrast(1.04) saturate(1.1) brightness(1.02);
}

/* Volumetric Moving Twilight Clouds (Continuous realistic glide across sunset sky) */
.sky-clouds-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
}

.cloud-track {
  position: absolute;
  pointer-events: none;
  filter: blur(1.5px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

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

.cloud-track-1 {
  top: 12%;
  width: clamp(520px, 64vw, 920px);
  opacity: 0.46;
  mask-image: radial-gradient(ellipse 68% 55% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 68% 55% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 90%);
  animation: cloudGlide1 54s linear infinite;
}

.cloud-track-2 {
  top: 20%;
  width: clamp(460px, 56vw, 840px);
  opacity: 0.40;
  mask-image: radial-gradient(ellipse 68% 55% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 68% 55% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 90%);
  animation: cloudGlide2 70s linear infinite;
  animation-delay: -35s;
}

.cloud-track-3 {
  top: 30%;
  width: clamp(400px, 50vw, 750px);
  opacity: 0.32;
  filter: blur(2.5px);
  mask-image: radial-gradient(ellipse 65% 50% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 65% 50% at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 88%);
  animation: cloudGlide1 62s linear infinite;
  animation-delay: -18s;
}

@keyframes cloudGlide1 {
  0% {
    transform: translateX(-55vw) translateY(0);
    opacity: 0;
  }
  12% {
    opacity: 0.46;
  }
  85% {
    opacity: 0.46;
  }
  100% {
    transform: translateX(105vw) translateY(-14px);
    opacity: 0;
  }
}

@keyframes cloudGlide2 {
  0% {
    transform: translateX(-55vw) translateY(-8px);
    opacity: 0;
  }
  14% {
    opacity: 0.40;
  }
  86% {
    opacity: 0.40;
  }
  100% {
    transform: translateX(105vw) translateY(6px);
    opacity: 0;
  }
}

.sky-birds-layer {
  position: absolute;
  top: 22%;
  right: 6%;
  width: clamp(130px, 20vw, 220px);
  z-index: 5;
  pointer-events: none;
  opacity: 0.7;
  animation: birdsGlide 20s ease-in-out infinite alternate;
}

.birds-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes birdsGlide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, -15px); }
}

/* Twinkling Evening Stars in the Celestial Dusk */
.sky-stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  z-index: 2;
  pointer-events: none;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 4px #ffffff, 0 0 10px rgba(255, 230, 160, 0.85);
  animation: starTwinkle 3s ease-in-out infinite alternate;
}

.star-1 { top: 12%; left: 15%; width: 2.5px; height: 2.5px; animation-delay: 0.2s; }
.star-2 { top: 8%; left: 32%; width: 2px; height: 2px; animation-delay: 1.1s; }
.star-3 { top: 16%; left: 48%; width: 3px; height: 3px; animation-delay: 0.7s; }
.star-4 { top: 9%; right: 28%; width: 2.5px; height: 2.5px; animation-delay: 1.8s; }
.star-5 { top: 14%; right: 14%; width: 3.5px; height: 3.5px; animation-delay: 0.4s; }
.star-6 { top: 22%; right: 38%; width: 2px; height: 2px; animation-delay: 2.3s; }

@keyframes starTwinkle {
  0% { opacity: 0.25; transform: scale(0.85); }
  100% { opacity: 0.95; transform: scale(1.15); }
}

/* 2. ROYAL SCALLOPED FLORAL ARCH & HANGING BRASS BELLS */
.royal-arch-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 18;
  pointer-events: none;
}

.arch-picture {
  display: block;
  width: 100%;
}

.royal-arch-img {
  width: 100%;
  height: auto;
  max-height: clamp(80px, 14vw, 150px);
  object-fit: fill;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.hanging-bells-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bell-hanger {
  position: absolute;
  top: 0;
  transform-origin: top center;
}

.bell-pos-1 {
  left: clamp(12px, 4vw, 55px);
  top: clamp(18px, 3.5vw, 50px);
}

.bell-pos-2 {
  left: clamp(40px, 11vw, 130px);
  top: clamp(28px, 5.5vw, 75px);
}

.bell-pos-3 {
  right: clamp(40px, 11vw, 130px);
  top: clamp(28px, 5.5vw, 75px);
}

.bell-pos-4 {
  right: clamp(12px, 4vw, 55px);
  top: clamp(18px, 3.5vw, 50px);
}

.bell-img {
  display: block;
  width: clamp(22px, 3.5vw, 42px);
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.bell-sway-1 { animation: bellSway 3.6s ease-in-out infinite alternate; }
.bell-sway-2 { animation: bellSway 4.2s ease-in-out infinite alternate-reverse; }
.bell-sway-3 { animation: bellSway 3.9s ease-in-out infinite alternate; }
.bell-sway-4 { animation: bellSway 4.5s ease-in-out infinite alternate-reverse; }

@keyframes bellSway {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

/* 3. SKY CONTAINER & COUPLE NAMES */
.sky-container {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: auto; /* Allow children (temple vs names) to stack naturally around fireworksCanvas (z-index 15) */
  justify-content: flex-end;
  padding: clamp(55px, 9vw, 95px) 16px 0;
  margin-top: auto;
}

/* Main Header Names Wrapper */
.names-wrapper {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 20; /* In front of fireworksCanvas so names are always crystal clear */
}

/* Ganesha Emblem */
.ganesha-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 4px;
}

.ganesha-svg {
  width: clamp(40px, 6vw, 52px);
  height: clamp(40px, 6vw, 52px);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(255, 209, 102, 0.4));
}

.shri-ganeshaya {
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  letter-spacing: 4px;
  color: #ffdf8d;
  margin-top: 4px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 209, 102, 0.4);
}

.invitation-lead {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.3vw, 1.25rem);
  font-style: italic;
  letter-spacing: 0.8px;
  color: #fff4dc;
  text-align: center;
  width: 100%;
  max-width: 650px;
  margin: 6px auto 10px;
  padding: 0 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  line-height: 1.4;
}

/* Couple Names - Regal Luxury Typography */
.couple-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 2px auto 8px;
  width: 100%;
}

.groom-fullname {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.3rem, 5.8vw, 4.1rem);
  letter-spacing: 3.5px;
  color: #fff6df;
  text-shadow: 
    0 2px 14px rgba(0, 0, 0, 0.9), 
    0 0 24px rgba(255, 214, 10, 0.45);
  line-height: 1.15;
  text-align: center;
  margin: 0;
}

.and-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 1px auto;
}

.sep-line {
  width: 50px;
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(255, 230, 165, 0.85), transparent);
}

.and-script {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  color: #ffe6a5;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.bride-fullname {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.3rem, 5.8vw, 4.1rem);
  letter-spacing: 3.5px;
  color: #fff0f3;
  text-shadow: 
    0 2px 14px rgba(0, 0, 0, 0.9), 
    0 0 24px rgba(255, 182, 193, 0.4);
  line-height: 1.15;
  text-align: center;
  margin: 0;
}

.couple-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.6vw, 0.8rem);
  letter-spacing: 4px;
  color: #fff5d6;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  margin-top: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* 4. MAJESTIC RAM MANDIR TEMPLE & HINDU COUPLE */
.temple-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: clamp(760px, 68vw, 1040px);
  margin: 0 auto;
  padding: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.temple-picture {
  display: block;
  width: 100%;
}

.ram-mandir-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
  margin-bottom: 0;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 25px rgba(255, 193, 7, 0.3));
}

/* Sacred Golden Flare Behind Temple Shikhara */
.temple-divine-aura {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: clamp(320px, 54vw, 620px);
  height: clamp(320px, 54vw, 620px);
  background: radial-gradient(circle, 
    rgba(255, 214, 10, 0.6) 0%, 
    rgba(247, 127, 0, 0.3) 42%, 
    rgba(230, 110, 20, 0.1) 60%, 
    transparent 75%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: pulseGlow 6s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -20%) scale(0.92); opacity: 0.85; }
  100% { transform: translate(-50%, -20%) scale(1.08); opacity: 1; }
}

/* Saffron Flag atop Apex Shikhara */
/* Saffron Flag atop Apex Shikhara (Accurately aligned on pinnacle tip) */
.temple-flag-crest {
  position: absolute;
  top: clamp(-20px, -2.8vw, -14px);
  left: 49.85%;
  transform: translateX(-1.25px); /* Centers the 2.5px pole precisely on the 49.85% pinnacle tip */
  z-index: 15;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}

.flag-pole {
  width: 2.5px;
  height: clamp(24px, 3.5vw, 36px);
  background: linear-gradient(to bottom, #ffe79a, #d4af37, #996a1a);
  border-radius: 1px;
  flex-shrink: 0;
}

.flag-cloth {
  transform-origin: left bottom;
  animation: flagWave 2.4s ease-in-out infinite alternate;
  margin-bottom: 2px;
}

.flag-svg {
  width: clamp(30px, 4vw, 42px);
  height: clamp(20px, 2.6vw, 28px);
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

@keyframes flagWave {
  0% { transform: skewY(-4deg) scaleX(0.96); }
  100% { transform: skewY(5deg) scaleX(1.04); }
}

/* Seamless Hero-to-Events Transition Blend (Right at the path end) */
.hero-page-blend-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(24, 48, 38, 0.35) 35%, 
    rgba(28, 55, 44, 0.75) 65%, 
    #234539 100%);
  pointer-events: none;
  z-index: 14;
}

.hero-bottom-actions {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 20;
  pointer-events: auto;
  text-align: center;
  width: auto;
  max-width: 92vw;
}

.tap-hint {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: #fff3c9;
  text-align: center;
  background: rgba(14, 38, 61, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 234, 159, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: pulseHint 2.5s infinite ease-in-out;
}

.tap-hint i {
  color: #ffd166;
  margin-right: 6px;
}

@keyframes pulseHint {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.03); opacity: 1; }
}

.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 auto;
}

.prompt-text {
  font-family: var(--font-sans);
  font-size: clamp(0.58rem, 2.2vw, 0.72rem);
  letter-spacing: 2.5px;
  text-indent: 2.5px; /* Balances trailing letter-spacing for exact optical & mathematical centering */
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-align: center;
  white-space: nowrap;
  display: block;
  width: 100%;
}

.prompt-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: bounceDown 1.8s infinite;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
}

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



@media (max-width: 600px) {
  .sky-container {
    padding: clamp(70px, 16vw, 105px) 12px 10px;
  }
  .royal-arch-img {
    max-height: 110px;
  }
  .bell-pos-1 {
    left: 8px;
    top: 22px;
  }
  .bell-pos-2 {
    left: clamp(34px, 14vw, 65px);
    top: clamp(36px, 11vw, 55px);
  }
  .bell-pos-3 {
    right: clamp(34px, 14vw, 65px);
    top: clamp(36px, 11vw, 55px);
  }
  .bell-pos-4 {
    right: 8px;
    top: 22px;
  }
  .bell-img {
    width: clamp(16px, 4.5vw, 24px);
  }
  .groom-fullname,
  .bride-fullname {
    font-size: clamp(1.9rem, 7.8vw, 2.8rem);
    letter-spacing: 2px;
  }
  .invitation-lead {
    font-size: clamp(0.85rem, 3.2vw, 1.05rem);
    margin: 4px auto 8px;
  }
  .couple-tagline {
    font-size: clamp(0.55rem, 2.2vw, 0.72rem);
    letter-spacing: 2px;
  }
  .temple-showcase-wrapper {
    margin: 4px auto 0;
    max-width: 100%;
    width: 100%;
  }
  .sky-forest-layer {
    mask-image: linear-gradient(to top, 
      rgba(0, 0, 0, 1) 0%, 
      rgba(0, 0, 0, 1) 28%, 
      rgba(0, 0, 0, 0.7) 48%, 
      rgba(0, 0, 0, 0.25) 62%, 
      rgba(0, 0, 0, 0) 75%);
    -webkit-mask-image: linear-gradient(to top, 
      rgba(0, 0, 0, 1) 0%, 
      rgba(0, 0, 0, 1) 28%, 
      rgba(0, 0, 0, 0.7) 48%, 
      rgba(0, 0, 0, 0.25) 62%, 
      rgba(0, 0, 0, 0) 75%);
  }
  .forest-bg-img {
    object-position: center 85%;
  }
  
}


/* ===================================================================
   WINTER CARDS ZONE: SNOWFALL SIMULATION (SCENES 2 & 3)
   =================================================================== */
.cards-winter-zone {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.snow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 26;
}

/* ===================================================================
   SCENE 2: THE 2 AUSPICIOUS EVENTS (SANGEET & MARRIAGE)
   =================================================================== */
.events-arch-section {
  position: relative;
  background: var(--sage-bg);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.15) 0%, transparent 50%),
    linear-gradient(to bottom, #234539 0%, #264b3e 18%, #2b4c42 45%, #25423a 85%, #1d352e 100%);
  margin-top: -1px; /* seamless 0-gap pixel bridge */
  padding-top: 55px;
}

.events-container {
  max-width: 900px;
  margin: 0 auto;
}

.events-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.regal-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffd166;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.events-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 2px;
  color: #fff;
  font-weight: 600;
}

.events-main-desc {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: #fff3db;
  margin-top: 8px;
}

/* Grid for the 2 Primary Cards */
.arched-cards-grid.two-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px 30px;
  justify-content: center;
}

/* 3D Arched Card Flipper Structure */
.arch-card-wrapper {
  perspective: 1400px;
  -webkit-perspective: 1400px;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.arch-card-wrapper:hover {
  transform: translateY(-6px);
}

.card-flipper {
  position: relative;
  width: 100%;
  min-height: 540px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.34, 1.25, 0.64, 1);
}

.arch-card-wrapper.flipped .card-flipper {
  transform: rotateY(180deg);
}

.card-face {
  width: 100%;
  min-height: 540px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
}

.card-face.card-front {
  position: relative;
  z-index: 2;
  transform: rotateY(0deg);
}

.card-face.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  z-index: 1;
}

.arch-card-wrapper.flipped .card-face.card-front {
  pointer-events: none;
}

.arch-card-wrapper.flipped .card-face.card-back {
  z-index: 5;
  pointer-events: auto;
}

/* Traditional Indian Arched Card Structure */
.arch-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  min-height: 540px;
  background: var(--card-cream);
  color: var(--text-dark);
  border-radius: 170px 170px 16px 16px;
  padding: 50px 24px 34px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 234, 159, 0.25);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-sizing: border-box;
  transition: box-shadow 0.4s ease;
}

.arch-card-wrapper:hover .arch-card {
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45), 0 0 35px rgba(255, 198, 55, 0.5);
}

.arch-card.marriage-card {
  border: 2px solid #b02a37;
  background: linear-gradient(to bottom, #fffdfb 0%, #fbf4ee 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 35px rgba(176, 42, 55, 0.25);
}

.arch-card-wrapper.featured-arch:hover .arch-card {
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45), 0 0 35px rgba(176, 42, 55, 0.45);
}

.arch-card.sangeet-back {
  background: linear-gradient(180deg, #fefaf6 0%, #f8f1e8 100%);
  border: 1.5px solid #d4a373;
}

.arch-card.marriage-back {
  background: linear-gradient(180deg, #fffcfb 0%, #fcf0eb 100%);
  border: 2px solid #b02a37;
}

/* Floral Blossom Sprays */
.floral-spray {
  position: absolute;
  width: 110px;
  height: 55px;
  pointer-events: none;
  z-index: 5;
}

.top-spray {
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-spray {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.floral-svg {
  width: 100%;
  height: 100%;
}

.arch-content {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
}

.event-motif-box {
  width: 120px;
  height: 75px;
  margin-bottom: 8px;
}

.motif-svg {
  width: 100%;
  height: 100%;
}

.event-arch-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: 2px;
  color: #27211a;
  margin-bottom: 2px;
}

.event-arch-title.marriage-title {
  color: #7b1126;
}

.event-arch-subtitle {
  font-family: var(--font-calligraphy);
  font-size: 1.8rem;
  color: #8c5b10;
  margin-bottom: 18px;
  line-height: 1;
}

.event-arch-subtitle.marriage-sub {
  color: #a4161a;
}

.event-details-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0 22px;
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(223, 160, 55, 0.25);
  text-align: left;
}

.detail-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(231, 111, 81, 0.12);
  color: var(--coral-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.marriage-card .detail-icon {
  background: rgba(123, 17, 38, 0.12);
  color: #7b1126;
}

.detail-text {
  display: flex;
  flex-direction: column;
}

.detail-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #1a1a1a;
  letter-spacing: 1px;
}

.detail-text span {
  font-size: 0.85rem;
  color: #555;
}

/* Card Action Buttons */
.arch-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn-dresscode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fceade;
  padding: 13px 20px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35), 0 0 10px rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.btn-dresscode:hover {
  background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
  border-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.5), 0 0 16px rgba(255, 215, 0, 0.4);
}

.btn-dresscode i.fa-rotate {
  font-size: 0.75rem;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.btn-dresscode:hover i.fa-rotate {
  transform: rotate(180deg);
}

.btn-dresscode.gold-dresscode {
  background: linear-gradient(135deg, #7b1126 0%, #9e1828 60%, #b02a37 100%);
  color: #fff9f0;
  border: 1px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 4px 16px rgba(123, 17, 38, 0.4), 0 0 12px rgba(255, 215, 0, 0.25);
}

.btn-dresscode.gold-dresscode:hover {
  background: linear-gradient(135deg, #590d22 0%, #7b1126 100%);
  border-color: #ffd700;
  box-shadow: 0 6px 22px rgba(123, 17, 38, 0.6), 0 0 18px rgba(255, 215, 0, 0.45);
}

/* Flip Back Button */
.btn-flipback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  color: #5a422d;
  border: 1.5px dashed rgba(140, 91, 16, 0.55);
  padding: 10px 18px;
  border-radius: 22px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 1.2px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-flipback:hover {
  background: rgba(140, 91, 16, 0.12);
  border-color: #8c5b10;
  color: #2b2219;
  transform: translateY(-1px);
}

.marriage-back .btn-flipback {
  color: #7b1126;
  border-color: rgba(176, 42, 55, 0.55);
}

.marriage-back .btn-flipback:hover {
  background: rgba(123, 17, 38, 0.1);
  border-color: #7b1126;
}

/* ===================================================================
   WEDDING WARDROBE GUIDE (CLOTHING RACK VISUAL BACK FACE)
   =================================================================== */
.dresscode-content {
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
}

/* Header */
.wardrobe-header {
  text-align: center;
  margin-bottom: 2px;
}

.wardrobe-guide-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 2px;
  color: #8c5b10;
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
}

.marriage-guide-title {
  color: #7b1126;
}

.wardrobe-subguide {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 2.2px;
  color: #6b7280;
  margin-top: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.marriage-subguide {
  color: #9f1239;
}

/* Clothing Rack Container */
.wardrobe-rack-container {
  width: 100%;
  max-width: 285px;
  margin: 4px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.wardrobe-rack-container:hover {
  transform: translateY(-2px) scale(1.02);
}

.wardrobe-rack-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Info Block directly underneath rack (Matching User Reference) */
.wardrobe-info-block {
  text-align: center;
  margin: 2px 0 4px;
  width: 100%;
  padding: 0 6px;
}

.wardrobe-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 2.2px;
  color: #8c5b10;
  text-transform: uppercase;
  font-weight: 700;
}

.wardrobe-tag.gold-tag {
  color: #7b1126;
}

.wardrobe-code-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 2.5px;
  color: #1a1a1a;
  margin: 1px 0;
  font-weight: 800;
}

.wardrobe-code-title.marriage-title {
  color: #7b1126;
}

.wardrobe-occasion {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.64rem;
  letter-spacing: 1.8px;
  color: #4b5563;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 3px;
}

.wardrobe-occasion.marriage-occasion {
  color: #9e1828;
}

.wardrobe-think-quote {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: #555;
  line-height: 1.35;
  max-width: 275px;
  margin: 0 auto;
  font-style: italic;
}

/* Palette Swatches Bar */
.dresscode-palette-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  width: 100%;
  max-width: 270px;
  box-sizing: border-box;
  margin: 4px 0 6px;
}

.marriage-back .dresscode-palette-bar {
  border-color: rgba(176, 42, 55, 0.25);
}

.palette-title {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 1.8px;
  color: #6b5536;
  text-transform: uppercase;
  font-weight: 700;
}

.palette-title.marriage-palette-title {
  color: #7b1126;
}

.palette-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.p-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-dot:hover {
  transform: scale(1.3);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* ===================================================================
   SCENE 3: VENUE SPOTLIGHT (FAIRFIELD BY MARRIOTT)
   =================================================================== */
.venue-section {
  position: relative;
  background: #203c34;
  padding: 50px 20px 80px;
  z-index: 22;
}

.venue-container {
  max-width: 780px;
  margin: 0 auto;
}

.venue-showcase-card {
  background: #fffdf9;
  color: var(--text-dark);
  border-radius: 16px;
  padding: 45px 35px;
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 234, 159, 0.2);
}

.venue-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.venue-hotel-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #144936;
  margin-bottom: 8px;
}

.venue-hotel-address {
  font-size: 1.05rem;
  color: #555;
  max-width: 550px;
  margin: 0 auto 24px;
}

.venue-special-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: #7b1126;
  margin: 20px 0 10px;
}

.venue-signatures {
  margin-bottom: 30px;
}

.signature-names {
  font-family: var(--font-calligraphy);
  font-size: 2.8rem;
  color: #27211a;
  line-height: 1.1;
}

.signature-tagline {
  font-family: var(--font-script-alt);
  font-size: 1.35rem;
  color: #8c5b10;
  margin-top: 2px;
}

.venue-action-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--coral-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(231, 111, 81, 0.4);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #144936;
  border: 1.5px solid #144936;
}

.btn-secondary:hover {
  background: #144936;
  color: #fff;
}

/* ===================================================================
   SCENE 4: LIVE COUNTDOWN & CALENDAR SECTION
   =================================================================== */
.countdown-section {
  position: relative;
  background: linear-gradient(to bottom, #203c34 0%, #10211c 100%);
  padding: 60px 20px 80px;
  z-index: 25;
}

.countdown-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.regal-countdown-box {
  background: rgba(14, 34, 30, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 234, 159, 0.35);
  border-radius: 14px;
  padding: 35px 24px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 183, 3, 0.2);
}

.countdown-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.countdown-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 25px;
}

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

.count-digit {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.count-unit {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: #bed0c9;
  margin-top: 4px;
}

.count-colon {
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-top: -12px;
}

.calendar-btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cal {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cal:hover {
  background: var(--gold-bright);
  color: #0b2136;
  border-color: var(--gold-bright);
}

/* RSVP Card */
.rsvp-card {
  background: #fdfbf7;
  color: var(--text-dark);
  border-radius: 16px;
  padding: 45px 35px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 234, 159, 0.25);
  border: 1px solid var(--card-border);
}

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

.sub-lead {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--coral-accent);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: #2b2219;
}

.rsvp-deadline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.input-field label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #4a3f35;
  margin-bottom: 6px;
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dcd3c1;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #222;
  transition: var(--transition);
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  outline: none;
  border-color: var(--coral-accent);
  box-shadow: 0 0 10px rgba(231, 111, 81, 0.25);
}

.attendance-status-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.status-radio {
  flex: 1;
  cursor: pointer;
}

.status-radio input {
  display: none;
}

.status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #dcd3c1;
  background: #f7f3ea;
  color: #6e675d;
  transition: var(--transition);
}

.status-radio input:checked + .accept-badge {
  background: #eef7f2;
  color: #144936;
  border-color: #52b788;
  box-shadow: 0 4px 12px rgba(82, 183, 136, 0.25);
}

.status-radio input:checked + .decline-badge {
  background: #fdf0ed;
  color: #7b1126;
  border-color: #e76f51;
  box-shadow: 0 4px 12px rgba(231, 111, 81, 0.2);
}

.btn-rsvp-submit {
  width: 100%;
  padding: 15px;
  background: var(--coral-accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(231, 111, 81, 0.45);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-rsvp-submit:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 111, 81, 0.6);
}

/* Live Duas & Wishes */
.live-wishes-section {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px dashed rgba(140, 115, 75, 0.3);
}

.wishes-board-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #4a3e31;
  margin-bottom: 15px;
  text-align: center;
}

.wishes-scroll-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-wish {
  background: #ffffff;
  border-left: 3px solid var(--coral-accent);
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wish-msg {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
}

.wish-sender {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--coral-accent);
  text-align: right;
  margin-top: 4px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.royal-footer {
  text-align: center;
  padding: 44px 20px 38px;
  background: #0d1a17;
  border-top: 1px solid rgba(255, 234, 159, 0.15);
  position: relative;
  z-index: 10;
}

.footer-temple-emblem {
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-couple-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-blessing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  color: #ffe8a1;
  margin: 0;
  opacity: 0.85;
}

.card-modal-backdrop,
.confirm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 16, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.card-modal-backdrop.open,
.confirm-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.card-modal-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 2px solid var(--gold-primary);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.modal-top h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #144936;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
}

.card-modal-image-wrapper {
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.card-ref-image {
  width: 100%;
  height: auto;
  display: block;
}

.card-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* Confirmation Modal Box */
.confirm-modal-box {
  background: #fffdf9;
  color: var(--text-dark);
  text-align: center;
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--gold-primary);
}

.confirm-icon {
  width: 60px;
  height: 60px;
  background: #144936;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}

.confirm-modal-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #2b2219;
  margin-bottom: 10px;
}

.confirm-modal-box p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 22px;
}

.btn-confirm-close {
  background: var(--coral-accent);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}

/* ===================================================================
   RESPONSIVE DESIGN (MOBILE & TABLETS)
   =================================================================== */
@media (max-width: 768px) {
  .hero-sky-section {
    padding-top: 55px;
  }

  .temple-container,
  .jharokha-container {
    max-width: 340px;
  }

  .hero-warmth-glow {
    width: 420px;
    height: 420px;
  }

  .input-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .attendance-status-selector {
    flex-direction: column;
    gap: 8px;
  }

  .countdown-flex {
    gap: 8px;
  }

  .count-box {
    min-width: 50px;
  }

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

  .arched-cards-grid.two-cards-grid {
    grid-template-columns: 1fr;
  }

  .arch-card-wrapper {
    max-width: 330px;
    margin: 0 auto;
  }

  .card-flipper,
  .card-face,
  .arch-card {
    min-height: 550px;
  }

  .arch-card {
    max-width: 330px;
    padding: 48px 18px 28px;
    margin: 0 auto;
  }

  .dresscode-gender-card {
    padding: 8px 12px;
  }

  .dresscode-text span {
    font-size: 0.74rem;
  }

  .audio-pill {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
  }
}
