/* ==========================================================================
   TRADITIONAL SOUTH INDIAN WEDDING INVITATION - STYLESHEET
   Authentic Temple Aesthetic: Maroon, Antique Gold, Sandalwood Cream & Green
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Auspicious Palette */
  --color-maroon-dark: #38030A;
  --color-maroon: #5C0612;
  --color-maroon-mid: #730C1C;
  --color-maroon-light: #8B1226;
  --color-maroon-glow: rgba(92, 6, 18, 0.6);

  --color-gold-light: #FFF2A1;
  --color-gold: #D4AF37;
  --color-gold-deep: #AA771C;
  --color-gold-dark: #7A530E;
  --color-gold-gradient: linear-gradient(135deg, #FFF2A1 0%, #D4AF37 40%, #AA771C 80%, #E5C158 100%);
  --color-gold-border: rgba(212, 175, 55, 0.45);
  --color-gold-glow: rgba(212, 175, 55, 0.35);

  --color-cream-bg: #FAF5EB;
  --color-cream-card: #FDFBF7;
  --color-cream-soft: #F4ECE1;
  --color-sand: #EADBCC;

  --color-temple-green: #1B4332;
  --color-temple-green-light: #2D6A4F;
  --color-kumkum: #B71C1C;
  --color-saffron: #E67E22;
  --color-text-dark: #2A1810;
  --color-text-muted: #5C4A42;
  --color-text-gold: #E5C158;

  /* Typography */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-decorative: 'Cinzel Decorative', 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', Garamond, serif;
  --font-telugu: 'Noto Sans Telugu', 'Ramabhadra', 'Gautami', sans-serif;

  /* Spacing & Layout */
  --header-height: 70px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-pill: 50px;

  /* Shadows & Glows */
  --shadow-gold-card: 0 10px 30px -5px rgba(212, 175, 55, 0.2), 0 0 0 1px var(--color-gold-border);
  --shadow-deep-card: 0 16px 40px -10px rgba(56, 3, 10, 0.35), 0 0 0 1px var(--color-gold-border);
  --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-dark);
  background-color: var(--color-cream-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(92, 6, 18, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Telugu Script Typography Enhancements */
body.lang-te {
  font-family: var(--font-telugu);
  line-height: 1.85;
}

body.lang-te h1,
body.lang-te h2,
body.lang-te h3,
body.lang-te h4,
body.lang-te .shubhamastu-title,
body.lang-te .hero-name,
body.lang-te .section-title {
  font-family: 'Ramabhadra', var(--font-telugu);
  letter-spacing: 0;
  line-height: 1.45;
}

body.lang-te .btn-text,
body.lang-te .nav-link,
body.lang-te .bio-badge {
  font-family: var(--font-telugu);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-maroon-dark);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
}

p {
  margin-bottom: 0.85rem;
}

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

a:hover, a:focus-visible {
  color: var(--color-gold-deep);
}

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

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

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.section-padding {
  padding-top: clamp(1.8rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(1.8rem, 3.5vw, 2.75rem);
  position: relative;
}

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

/* Section Header Typography */
.section-header {
  max-width: 760px;
  margin: 0 auto clamp(1.2rem, 2.4vw, 1.85rem);
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold-deep);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  color: var(--color-maroon-dark);
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0.75rem auto 0;
}

/* Ornamental Dividers */
.divider-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem auto;
}

.divider-svg {
  width: min(320px, 80%);
  height: auto;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  min-height: 48px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--color-gold-gradient);
  color: var(--color-maroon-dark);
  border-color: var(--color-gold);
  box-shadow: 0 6px 20px rgba(170, 119, 28, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(170, 119, 28, 0.5);
  filter: brightness(1.05);
  color: var(--color-maroon-dark);
}

.btn-secondary {
  background: var(--color-maroon);
  color: var(--color-gold-light);
  border-color: var(--color-gold);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--color-maroon-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(92, 6, 18, 0.4);
  color: #FFFFFF;
}

.btn-gold-outline {
  background: transparent;
  color: var(--color-gold-deep);
  border: 2px solid var(--color-gold);
}

.btn-gold-outline:hover, .btn-gold-outline:focus-visible {
  background: var(--color-gold-gradient);
  color: var(--color-maroon-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. 3D ROYAL WEDDING INVITATION OPENING OVERLAY
   -------------------------------------------------------------------------- */
.opening-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(circle at 50% 35%, #7A0D1F 0%, #4A050F 55%, #250207 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.opening-overlay.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Top bar on opening card */
.opening-topbar {
  width: 100%;
  max-width: 620px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  margin-bottom: 0.5rem;
}

.lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-pill);
  padding: 0.25rem 0.6rem;
  backdrop-filter: blur(8px);
}

.lang-pill-btn {
  background: none;
  border: none;
  color: #FFFDF9;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-pill);
  transition: all var(--transition-fast);
}

.lang-pill-btn.active {
  background: var(--color-gold-gradient);
  color: var(--color-maroon-dark);
  font-weight: 700;
}

.lang-divider {
  color: var(--color-gold-border);
  margin: 0 0.15rem;
  font-size: 0.85rem;
}

.btn-skip-intro {
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-skip-intro:hover, .btn-skip-intro:focus-visible {
  background: var(--color-gold);
  color: var(--color-maroon-dark);
  border-color: var(--color-gold);
}

/* 3D Card Scene */
.card-3d-scene {
  perspective: 1400px;
  width: 100%;
  max-width: 540px;
  margin: auto 0;
  display: flex;
  justify-content: center;
}

.invitation-card {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 80vh, 640px);
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Faces */
.card-face {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, #851022 0%, #5C0612 70%, #3B040B 100%);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.65),
    0 0 0 2px var(--color-gold),
    0 0 35px rgba(212, 175, 55, 0.25);
  padding: clamp(0.9rem, 2.5vw, 1.4rem);
  display: flex;
  flex-direction: column;
}

.card-gold-border {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius-md);
  padding: clamp(1rem, 3vw, 1.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-image: 
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.2) 100%);
}

.card-gold-border::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: calc(var(--border-radius-md) - 3px);
  pointer-events: none;
}

/* Corner Filigree */
.corner-ornament {
  position: absolute;
  width: 32px;
  height: 32px;
  background-image: url('../assets/images/decorations/gold-corner.svg');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}

.corner-ornament.top-left { top: 4px; left: 4px; }
.corner-ornament.top-right { top: 4px; right: 4px; transform: scaleX(-1); }
.corner-ornament.bottom-left { bottom: 4px; left: 4px; transform: scaleY(-1); }
.corner-ornament.bottom-right { bottom: 4px; right: 4px; transform: scale(-1); }

/* Card Content Elements */
.card-toran {
  width: calc(100% + 2rem);
  margin-top: -0.8rem;
  margin-bottom: 0.4rem;
}

.toran-img {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: cover;
}

.card-deity-emblem {
  width: clamp(75px, 15vw, 105px);
  margin: 0 auto 0.4rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.shubhamastu-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--color-gold-light);
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  margin-bottom: 0.1rem;
}

.shubhamastu-sub {
  font-family: var(--font-serif);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  opacity: 0.9;
}

.blessing-invocation {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: #FFFDF9;
  opacity: 0.92;
  margin-bottom: 0.4rem;
}

.mandala-divider-wrap {
  width: 75%;
  margin: 0.2rem auto;
}

.card-couple-preview {
  margin: 0.4rem 0;
}

.cordial-text {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--color-gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.1rem;
  text-transform: uppercase;
}

.sub-cordial {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: #F4ECE1;
  font-style: italic;
  margin-bottom: 0.4rem;
}

.couple-names-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.2rem 0 0.5rem;
}

.couple-names-wrap .couple-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.couple-names-wrap .couple-ampersand {
  font-family: var(--font-decorative);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-gold);
}

.card-date-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-gold-border);
  padding: 0.25rem 0.9rem;
  border-radius: var(--border-radius-pill);
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  color: var(--color-gold-light);
  letter-spacing: 0.06em;
}

/* Family Invitation - Royal Ceremonial Sash Ribbon */
.card-family-banner-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.75rem 0 0.5rem;
}

/* Ceremonial Dedication Sash Ribbon - Radically Distinct from the 3D Gold Action Button */
.card-family-banner,
.ceremonial-sash-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 440px;
  padding: 0.45rem 1.4rem;
  background: linear-gradient(
    90deg,
    rgba(120, 12, 29, 0) 0%,
    rgba(92, 6, 18, 0.9) 15%,
    #780C1D 50%,
    rgba(92, 6, 18, 0.9) 85%,
    rgba(120, 12, 29, 0) 100%
  );
  border-top: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  border-left: none;
  border-right: none;
  border-radius: 0; /* Distinct straight ribbon, NOT a rounded button */
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 242, 161, 0.35),
    inset 0 -1px 0 rgba(255, 242, 161, 0.35);
  box-sizing: border-box;
}

/* Diamond Studs on Left & Right Rails */
.card-family-banner::before,
.card-family-banner::after {
  content: "◆";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  font-size: 0.65rem;
  line-height: 1;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.9);
}

.card-family-banner::before {
  left: 8px;
}

.card-family-banner::after {
  right: 8px;
}

.card-family-banner .family-banner-text {
  font-family: var(--font-telugu), var(--font-serif);
  font-size: clamp(0.92rem, 2vw, 1.08rem);
  font-weight: 700;
  color: #FFF2A1;
  text-shadow: 
    0 0 10px rgba(212, 175, 55, 0.65),
    0 2px 4px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 0;
}

.card-family-banner .family-banner-flourish {
  font-size: 0.8rem;
  line-height: 1;
  color: var(--color-gold);
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
}

body.lang-te .card-family-banner .family-banner-text {
  font-family: var(--font-telugu), var(--font-serif);
  font-size: clamp(0.95rem, 2.1vw, 1.12rem);
  font-weight: 700;
  color: #FFF2A1;
  text-shadow: 
    0 0 8px rgba(212, 175, 55, 0.65),
    0 2px 4px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.03em;
}

/* Card Action Button */
.card-action-wrap {
  margin-top: 0.6rem;
  width: 100%;
}

.btn-royal-open {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 380px;
  padding: clamp(0.85rem, 2vw, 1.05rem) 1.5rem;
  background: var(--color-gold-gradient);
  color: var(--color-maroon-dark);
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-pill);
  border: 2px solid #FFF2A1;
  cursor: pointer;
  box-shadow: 
    0 8px 25px rgba(212, 175, 55, 0.45),
    0 0 20px rgba(255, 242, 161, 0.3);
  transition: all var(--transition-normal);
  animation: pulseAura 2.6s infinite ease-in-out;
}

@keyframes pulseAura {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45), 0 0 15px rgba(255, 242, 161, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.7), 0 0 30px rgba(255, 242, 161, 0.6);
    transform: scale(1.02);
  }
}

.btn-royal-open:hover, .btn-royal-open:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.03);
}

.btn-sacred-icon,
.btn-deepam-icon {
  font-size: 1.35rem;
  animation: gentleRotate 3s infinite ease-in-out;
}

@keyframes gentleRotate {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.tap-hint-text {
  font-size: clamp(0.75rem, 1.4vw, 0.88rem);
  color: var(--color-gold-light);
  margin-top: 0.5rem;
  opacity: 0.88;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.bell-ring-icon {
  display: inline-block;
  animation: bellChime 2s infinite ease-in-out;
}

@keyframes bellChime {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(18deg); }
  30% { transform: rotate(-18deg); }
  45% { transform: rotate(12deg); }
  60% { transform: rotate(-12deg); }
  75% { transform: rotate(0); }
}

.card-inside {
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  display: none;
}

/* 3D Unfolding Trigger Class */
.invitation-card.unfolding {
  animation: cardFlipOpen 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes cardFlipOpen {
  0% { transform: scale(1) rotateY(0deg); }
  40% { transform: scale(1.06) rotateY(-35deg) translateZ(40px); }
  100% { transform: scale(1.15) rotateY(-180deg) translateZ(80px); opacity: 0; }
}

.opening-audio-notice {
  font-size: 0.82rem;
  color: var(--color-gold-light);
  opacity: 0.85;
  text-align: center;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   4. FLOATING BOTTOM UTILITY CONTROLS (Language: Left Bottom | Music: Right Bottom)
   -------------------------------------------------------------------------- */
body.modal-open {
  overflow: hidden !important;
}

.main-website {
  padding-top: 0;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* Floating Language Switcher (Bottom Left) */
.floating-lang-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  background: rgba(56, 3, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--border-radius-pill);
  padding: 0.35rem 0.65rem;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(212, 175, 55, 0.25);
  transition: all var(--transition-fast);
}

.floating-lang-pill:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold-light);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(212, 175, 55, 0.4);
}

.float-lang-btn {
  background: none;
  border: none;
  color: #FFFDF9;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.55rem;
  border-radius: var(--border-radius-pill);
  transition: all var(--transition-fast);
  letter-spacing: 0.04em;
}

.float-lang-btn.active {
  background: var(--color-gold-gradient);
  color: var(--color-maroon-dark);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.float-lang-divider {
  color: var(--color-gold-border);
  margin: 0 0.15rem;
  font-size: 0.8rem;
  user-select: none;
}

/* Floating Wedding Music Controller (Bottom Right) */
.floating-music-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.float-music-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 3, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--border-radius-pill);
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(212, 175, 55, 0.25);
  transition: all var(--transition-fast);
}

.float-music-btn:hover, .float-music-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-gold-light);
  background: rgba(85, 5, 16, 0.96);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(212, 175, 55, 0.45);
}

.float-music-btn .music-note-icon {
  font-size: 1.15rem;
}

.music-equalizer-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.music-equalizer-bars .eq-bar {
  width: 3px;
  background: var(--color-gold-light);
  border-radius: 2px;
  height: 3px;
  transition: height 0.2s ease;
}

.float-music-btn.playing .eq-1 {
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}
.float-music-btn.playing .eq-2 {
  animation: eqBounce 1.1s ease-in-out 0.2s infinite alternate;
}
.float-music-btn.playing .eq-3 {
  animation: eqBounce 0.9s ease-in-out 0.4s infinite alternate;
}

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 14px; }
}

.float-music-btn.playing {
  border-color: #FFE680;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212, 175, 55, 0.5);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2.4rem, 5vw, 3.8rem) 0 clamp(1.8rem, 3.5vw, 2.75rem);
  background: 
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, #FDFBF7 0%, #FAF5EB 100%);
  overflow: hidden;
}

.hero-toran-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(38px, 4.8vw, 62px);
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  filter: drop-shadow(0 2px 8px rgba(27, 67, 50, 0.12));
}

.toran-full-width {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Flanking Traditional Wedding Banana Trees (Anchored in the Corners) */
.hero-banana-tree {
  position: absolute;
  bottom: 0;
  height: clamp(820px, 98%, 1160px);
  aspect-ratio: 320 / 800;
  width: auto;
  max-width: clamp(320px, 28vw, 460px);
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 4px 14px rgba(27, 67, 50, 0.16));
  transition: all 0.3s ease;
  line-height: 0;
}

.banana-tree-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left bottom;
}

.banana-left {
  left: 0;
}

.banana-right {
  right: 0;
  transform: scaleX(-1);
  transform-origin: center bottom;
}

.hero-content-card {
  max-width: 840px;
  margin: 0 auto;
  background: #FFFDF9;
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 
    0 20px 50px rgba(92, 6, 18, 0.1),
    0 0 0 6px rgba(212, 175, 55, 0.12);
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: calc(var(--border-radius-lg) - 4px);
  pointer-events: none;
}

.hero-gopuram-badge {
  width: clamp(70px, 12vw, 95px);
  margin: 0 auto 0.5rem;
}

.hero-sanskrit-prayer {
  font-family: var(--font-telugu);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-maroon-mid);
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.hero-blessing-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  color: var(--color-gold-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-family-salute {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 660px;
  margin: 0.6rem auto 1.2rem;
  font-style: italic;
}

.hero-couple-titles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: 1rem 0;
  flex-wrap: wrap;
}

.couple-hero-unit {
  flex: 1;
  min-width: 220px;
}

.hero-role-label {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-name {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--color-maroon-dark);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.hero-parentage {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--color-text-muted);
}

.hero-conjunction {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.conjunction-knot {
  font-size: 1.6rem;
}

.conjunction-text {
  font-family: var(--font-decorative);
  font-size: 1.4rem;
  color: var(--color-gold-deep);
}

/* Muhurtham Banner */
.hero-muhurtham-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  background: var(--color-cream-soft);
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-md);
  padding: 0.8rem clamp(1rem, 2.5vw, 2rem);
  margin: 1.2rem 0;
  flex-wrap: wrap;
  box-shadow: var(--shadow-subtle);
}

.banner-calendar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}

.banner-calendar-item .calendar-icon {
  font-size: 1.4rem;
}

.calendar-details {
  display: flex;
  flex-direction: column;
}

.cal-day, .cal-muhurtham-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-deep);
  font-weight: 700;
  font-family: var(--font-serif);
}

.cal-date, .cal-time {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--color-maroon-dark);
}

.banner-separator {
  color: var(--color-gold-border);
  font-size: 1.2rem;
}

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

/* --------------------------------------------------------------------------
   6. THE COUPLE INTRODUCTION
   -------------------------------------------------------------------------- */
.couple-section {
  background-color: var(--color-cream-bg);
}

.couple-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.couple-card {
  flex: 1 1 380px;
  max-width: 460px;
  background: var(--color-cream-card);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-gold-card);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.couple-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(170, 119, 28, 0.25);
}

.card-photo-frame {
  position: relative;
  width: clamp(170px, 25vw, 230px);
  aspect-ratio: 3 / 4;
  height: auto;
  margin: 0 auto 1.25rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(56, 3, 10, 0.2), 0 0 18px rgba(212, 175, 55, 0.22);
  border: 3px solid var(--color-gold);
  background: #1a0206;
}

.photo-gold-border {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: calc(var(--border-radius-lg) - 4px);
  pointer-events: none;
  z-index: 2;
}

.couple-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  transition: transform var(--transition-slow);
}

.couple-card:hover .couple-photo {
  transform: scale(1.05);
}

.photo-flourish {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.bio-badge {
  display: inline-block;
  background: var(--color-maroon);
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.8rem;
  border-radius: var(--border-radius-pill);
  margin-bottom: 0.4rem;
}

.bio-name {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--color-maroon-dark);
  margin-bottom: 0.2rem;
}

.bio-qualification {
  font-size: 0.95rem;
  color: var(--color-gold-deep);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.family-info-box {
  background: var(--color-cream-soft);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  margin: 0.8rem 0;
  text-align: center;
}

.family-label {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-maroon-mid);
  margin-bottom: 0.2rem;
}

.family-names {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.1rem;
}

.family-origin {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.bio-quote {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-top: 0.6rem;
}

/* Center Union Knot Divider */
.couple-union-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 -0.5rem;
}

.union-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-maroon);
  border: 2px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-gold-light);
  box-shadow: 0 0 20px rgba(92, 6, 18, 0.3);
  text-align: center;
  padding: 0.2rem;
}

.union-icon {
  width: 22px;
  height: 22px;
}

.union-sanskrit {
  font-family: var(--font-telugu);
  font-size: 0.78rem;
  font-weight: 700;
}

.union-text {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.union-sanskrit {
  font-family: var(--font-telugu);
  font-size: 0.78rem;
  font-weight: 700;
}

.union-text {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ==========================================================================
   MUHURTHAM SPOTLIGHT SECTION: KALYANA MAHOTSAVAM TIMING CARD
   ========================================================================== */
.muhurtham-spotlight-section {
  background: 
    radial-gradient(circle at 50% 12%, rgba(212, 175, 55, 0.16) 0%, transparent 65%),
    radial-gradient(circle at 10% 85%, rgba(120, 12, 29, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(120, 12, 29, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #FFFDF8 0%, #FFF7EB 50%, #FFFDF8 100%);
  position: relative;
  overflow: visible;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
}

.muhurtham-spotlight-container {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(0.75rem, 2vw, 1.25rem);
}

/* Royal Timing Card */
.royal-timing-card {
  background: 
    radial-gradient(circle at 50% 0%, rgba(254, 243, 199, 0.85) 0%, transparent 70%),
    linear-gradient(175deg, #FFFDF9 0%, #FFF8EE 45%, #FEF2F2 100%);
  border: 2.5px solid var(--color-gold);
  border-radius: 22px;
  padding: clamp(1.4rem, 3.2vw, 2.2rem) clamp(1rem, 2.8vw, 2rem);
  box-shadow: 
    0 20px 50px rgba(120, 12, 29, 0.15),
    0 8px 26px rgba(212, 175, 55, 0.25),
    inset 0 0 40px rgba(254, 243, 199, 0.5);
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}

/* Four Corner Gold Ornaments */
.royal-timing-card .kalyana-corner {
  position: absolute;
  width: clamp(34px, 5.5vw, 52px);
  height: clamp(34px, 5.5vw, 52px);
  pointer-events: none;
  opacity: 0.85;
  z-index: 2;
}

.royal-timing-card .corner-tl { top: 6px; left: 6px; }
.royal-timing-card .corner-tr { top: 6px; right: 6px; transform: scaleX(-1); }
.royal-timing-card .corner-bl { bottom: 6px; left: 6px; transform: scaleY(-1); }
.royal-timing-card .corner-br { bottom: 6px; right: 6px; transform: scale(-1); }

/* Top Toran */
.royal-timing-card .kalyana-toran-wrap {
  width: 100%;
  max-width: 360px;
  margin: -0.6rem auto 0.6rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.royal-timing-card .kalyana-toran-svg {
  width: 100%;
  height: clamp(22px, 3.5vw, 32px);
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

/* Badge Wrap */
.timing-card-badge-wrap {
  margin-bottom: 0.6rem;
}

.timing-card-badge-wrap .badge-wedding {
  background: linear-gradient(135deg, #780C1D, #991B1B);
  color: #FFFDF9;
  font-family: var(--font-serif);
  font-size: clamp(0.76rem, 1.5vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  border: 1px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(120, 12, 29, 0.25);
  display: inline-block;
}

/* Titles */
.timing-card-title-wrap {
  margin-bottom: 1.1rem;
}

.timing-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  color: #780C1D;
  margin: 0 0 0.25rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.timing-card-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  color: #854D0E;
  margin: 0;
  font-weight: 600;
}

/* Grand Timing Box */
.grand-timing-box {
  background: linear-gradient(135deg, #FFFDF7 0%, #FEF9C3 50%, #FFFDF7 100%);
  border: 2px solid #EAB308;
  border-radius: 18px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 
    0 6px 20px rgba(212, 175, 55, 0.18),
    inset 0 0 24px rgba(254, 240, 138, 0.35);
  position: relative;
  z-index: 2;
}

/* Timing Rows */
.timing-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1rem);
  padding: clamp(0.55rem, 1.5vw, 0.8rem) clamp(0.6rem, 1.8vw, 1rem);
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.timing-row.time-row {
  background: linear-gradient(135deg, #FFFDF9 0%, #FEF2F2 50%, #FFFDF9 100%);
  border: 2px solid var(--color-gold);
  box-shadow: 0 4px 14px rgba(120, 12, 29, 0.1);
}

.timing-icon {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1;
}

.bell-pulse {
  animation: bell-ring 2.5s infinite ease-in-out;
}

@keyframes bell-ring {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(12deg); }
  20%, 40% { transform: rotate(-12deg); }
  50% { transform: rotate(0); }
}

.timing-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.timing-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B91C1C;
  margin-bottom: 0.1rem;
}

.timing-value {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  color: #780C1D;
  line-height: 1.25;
}

.timing-value.time-val {
  font-weight: 800;
  color: #780C1D;
}

/* Jeelakarra-Bellam Highlight Strip */
.timing-highlight-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1.5px solid #F59E0B;
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 0.98rem);
  color: #78350F;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

.timing-highlight-strip .hl-symbol {
  font-size: 1.15rem;
}

/* Panchangam Detail Strip */
.panchangam-timing-strip {
  border-top: 1px dashed rgba(212, 175, 55, 0.6);
  padding-top: 0.65rem;
  text-align: center;
}

.panchangam-pill-mini {
  display: inline-block;
  background: #780C1D;
  color: #FFFDF9;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.65rem;
  border-radius: 12px;
  margin-bottom: 0.3rem;
}

.panchangam-text {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 600;
  color: #854D0E;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .timing-row {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }
  .timing-text-group {
    align-items: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   7. WEDDING FESTIVITIES & SCHEDULE (ROYAL ALL-IN-ONE CARD - ZERO CUT-OFF)
   -------------------------------------------------------------------------- */
.festivities-section {
  background: 
    radial-gradient(circle at 10% 15%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(120, 12, 29, 0.09) 0%, transparent 45%),
    linear-gradient(180deg, #FBF8F1 0%, #F5EFE3 50%, #FBF8F1 100%);
  position: relative;
  overflow: visible; /* Prevents clipping of elevated cards */
  padding: clamp(1.2rem, 2.2vw, 1.85rem) 0;
}

.festivities-section .section-header {
  margin-bottom: clamp(0.6rem, 1.2vw, 0.95rem);
}

.festivities-section .section-title {
  margin-bottom: 0.2rem;
}

.festivities-section .divider-ornament {
  margin: 0.25rem auto;
}

.festivities-section .section-intro {
  margin-top: 0.3rem;
  line-height: 1.4;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
}

/* Allow festivities container to use comfortable width on wide laptops */
.festivities-section .container {
  max-width: 1440px;
  width: 100%;
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
}

/* Festive Background Ornamentation */
.festivities-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, 
    var(--color-gold) 0%, 
    #F59E0B 25%, 
    #780C1D 50%, 
    #0D9488 75%, 
    var(--color-gold) 100%
  );
  opacity: 0.85;
}

/* Single Royal Schedule Grand Card - Opulent Festive Frame */
.royal-schedule-grand-card {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #FFFDF8 0%, #FFFBF2 100%);
  border: 2px solid var(--color-gold);
  border-radius: 16px;
  padding: clamp(0.75rem, 1.3vw, 1.15rem);
  box-shadow: 
    0 14px 40px rgba(120, 12, 29, 0.08),
    0 4px 20px rgba(212, 175, 55, 0.18),
    inset 0 0 40px rgba(254, 243, 199, 0.25);
  position: relative;
  overflow: visible; /* Never clip or cut cards */
  box-sizing: border-box;
}

/* Subtle Golden Double Inner Border with Corner Accents */
.royal-schedule-grand-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

/* Grand Card Top Header - Celebratory Royal Banner */
.grand-card-header {
  text-align: center;
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
  padding-bottom: 0.45rem;
  border-bottom: 1.5px dashed rgba(212, 175, 55, 0.45);
  position: relative;
  z-index: 2;
}

.grand-card-header-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.header-glory-symbol {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFBEA 0%, #FEF3C7 100%);
  border: 1.5px solid var(--color-gold);
  font-size: 1.1rem;
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.25);
  animation: gentlePulse 3s infinite ease-in-out;
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.grand-card-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  color: var(--color-maroon-dark);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(212, 175, 55, 0.2);
}

.grand-card-subline {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1vw, 0.88rem);
  color: #6B4E3D;
  font-style: italic;
  max-width: 680px;
  margin: 0.15rem auto 0;
  line-height: 1.35;
}

.grand-card-header-divider {
  display: none;
}

/* Continuous Ceremonies List - 3 Festive Cards */
.grand-card-events-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.2vw, 1rem);
  position: relative;
  z-index: 2;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

/* Base Ceremony Card Item - Royal Festive Presentation */
.grand-event-item.compact-event-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1rem 0.95rem;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  box-sizing: border-box;
  height: 100%;
  min-width: 0; /* Crucial: prevents grid blowout */
  width: 100%;
  overflow: hidden;
}

.grand-event-item.compact-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(120, 12, 29, 0.12);
}

/* Top Decorative Color Accent Bar on Each Card */
.compact-event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
  z-index: 1;
}

/* Top Bar: Icon Orb & Category Badge */
.event-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap; /* Guarantees no horizontal overflow */
  min-height: auto;
  width: 100%;
  box-sizing: border-box;
}

.event-badge-cluster {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  min-width: 0;
}

.event-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.compact-event-card:hover .event-icon-circle {
  transform: scale(1.15) rotate(8deg);
}

.ceremony-badge {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  display: inline-block;
}

.top-action-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.featured-royal-badge-compact {
  background: linear-gradient(135deg, #780C1D 0%, #4A0404 100%);
  color: #FFD700;
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-pill);
  padding: 0.18rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(120, 12, 29, 0.25);
  animation: crownGlow 2.5s infinite alternate;
}

@keyframes crownGlow {
  0% { box-shadow: 0 2px 6px rgba(120, 12, 29, 0.25); }
  100% { box-shadow: 0 2px 10px rgba(212, 175, 55, 0.45); }
}

.btn-event-cal.btn-compact {
  padding: 0.3rem 0.7rem;
  font-size: 0.74rem;
  border-radius: 6px;
  border: none;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn-event-cal.btn-compact:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Schedule Pill: High Contrast, Clear & Readable */
.event-schedule-chip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  background: #FFFDF9;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  padding: 0.28rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-maroon-dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  width: 100%;
  box-sizing: border-box;
}

.event-date-text {
  color: var(--color-maroon-dark);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
}

.chip-sep {
  color: var(--color-gold-dark);
  opacity: 0.85;
  font-weight: bold;
}

.event-time-text {
  color: #780C1D;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
}

.highlight-time-text {
  color: #991B1B;
  font-weight: 800;
}

/* Card Body: Grand Ceremony Title & Subtitle */
.event-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.15rem 0;
  width: 100%;
  box-sizing: border-box;
}

.sacred-muhurtham-highlight-banner.compact-banner {
  background: linear-gradient(135deg, #780C1D 0%, #4A0404 100%);
  color: #FFD700;
  border: 1px solid var(--color-gold);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
  font-family: var(--font-serif);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 6px rgba(120, 12, 29, 0.2);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: normal;
  line-height: 1.25;
  margin: 0.1rem 0;
}

.sacred-muhurtham-highlight-banner.compact-banner .muhurtham-banner-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.event-titles-line {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  width: 100%;
}

.compact-event-card .ceremony-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 0;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-break: normal;
}

.title-sub-sep {
  display: none;
}

.compact-event-card .ceremony-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: break-word;
}

.compact-event-card .ceremony-desc {
  font-size: 0.78rem;
  line-height: 1.42;
  color: #4A3C35;
  margin: 0.15rem 0 0;
  overflow-wrap: break-word;
}

/* Meta Bar: Ritual Highlights & Venue/Attire */
.event-card-meta-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1.5px dashed rgba(212, 175, 55, 0.3);
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

.compact-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  font-size: 0.76rem;
  line-height: 1.32;
  width: 100%;
  box-sizing: border-box;
}

.highlights-label {
  display: block;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #780C1D;
  margin-bottom: 0.05rem;
}

.hl-item {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  background: rgba(254, 243, 199, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2D1A0E;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  white-space: normal;
  word-break: normal;
  box-sizing: border-box;
  max-width: 100%;
  line-height: 1.32;
}

.hl-item .bullet-symbol {
  font-size: 0.7rem;
  color: var(--color-gold-deep);
  flex-shrink: 0;
  margin-top: 0.08rem;
}

.compact-info-tags {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  margin-top: 0.15rem;
  box-sizing: border-box;
}

.info-tag {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-sizing: border-box;
  width: 100%;
}

.info-tag .tag-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.venue-tag {
  background: #FFFBF5;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-maroon-dark);
}

/* --------------------------------------------------------------------------
   CEREMONY 1 THEME: HALDI & MANGALA SNANAM (PASUPU / SAFFRON GOLD)
   -------------------------------------------------------------------------- */
.event-haldi {
  background: linear-gradient(165deg, #FFFDF0 0%, #FFF9E6 50%, #FEF3C7 100%);
  border-color: #F59E0B;
}

.event-haldi::before {
  background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #D97706 100%);
}

.event-haldi:hover {
  border-color: #D97706;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.22);
}

.haldi-icon-circle {
  background: linear-gradient(135deg, #FFFBEA, #FEF3C7);
  border: 2px solid #F59E0B;
}

.badge-haldi {
  background: #FFFBEA;
  color: #92400E;
  border: 1.5px solid #F59E0B;
}

.event-haldi .ceremony-title { color: #92400E; }
.event-haldi .ceremony-subtitle { color: #B45309; }

.haldi-attire {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
}

.btn-haldi-cal {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

/* --------------------------------------------------------------------------
   CEREMONY 2 THEME: MEHENDI & SANGEET (PEACOCK TEAL & EMERALD)
   -------------------------------------------------------------------------- */
.event-sangeet {
  background: linear-gradient(165deg, #F6FCFA 0%, #F0FDF4 50%, #E6F7F0 100%);
  border-color: #0D9488;
}

.event-sangeet::before {
  background: linear-gradient(90deg, #0F766E 0%, #14B8A6 50%, #059669 100%);
}

.event-sangeet:hover {
  border-color: #0F766E;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.22);
}

.sangeet-icon-circle {
  background: linear-gradient(135deg, #F0FDFA, #CCFBF1);
  border: 2px solid #0D9488;
}

.badge-sangeet {
  background: #F0FDFA;
  color: #0F766E;
  border: 1.5px solid #0D9488;
}

.event-sangeet .ceremony-title { color: #115E59; }
.event-sangeet .ceremony-subtitle { color: #0F766E; }

.sangeet-attire {
  background: #CCFBF1;
  border: 1px solid #0D9488;
  color: #115E59;
}

.btn-sangeet-cal {
  background: linear-gradient(135deg, #0D9488, #0F766E);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

/* --------------------------------------------------------------------------
   CEREMONY 3 THEME: KALYANA MAHOTSAVAM (ROYAL CRIMSON & 24K GOLD)
   -------------------------------------------------------------------------- */
.event-wedding {
  background: linear-gradient(165deg, #FFFDF8 0%, #FFF5EB 50%, #FEE2E2 100%);
  border: 2px solid var(--color-gold);
  box-shadow: 
    0 6px 18px rgba(120, 12, 29, 0.1),
    0 0 0 1px rgba(212, 175, 55, 0.35);
}

.event-wedding::before {
  background: linear-gradient(90deg, #780C1D 0%, #D4AF37 50%, #780C1D 100%);
  height: 5px;
}

.event-wedding:hover {
  border-color: var(--color-gold-dark);
  box-shadow: 0 14px 34px rgba(120, 12, 29, 0.2);
}

.wedding-icon-circle {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 2px solid var(--color-gold);
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.35);
}

.badge-wedding {
  background: linear-gradient(135deg, #780C1D, #5C0612);
  color: #FFD700;
  border: 1px solid var(--color-gold);
}

.event-wedding .ceremony-title { 
  color: var(--color-maroon-dark); 
  font-size: 1.2rem;
}

.event-wedding .ceremony-subtitle { color: #780C1D; }

.wedding-attire {
  background: #FEE2E2;
  border: 1px solid #EF4444;
  color: #991B1B;
}

.btn-wedding-cal {
  background: linear-gradient(135deg, #780C1D, #5C0612);
  color: #FFD700;
  border: 1px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(120, 12, 29, 0.3);
}

/* --------------------------------------------------------------------------
   CEREMONY 4 THEME: RECEPTION & DINNER (ROYAL INDIGO & SAPPHIRE)
   -------------------------------------------------------------------------- */
.event-reception {
  background: linear-gradient(165deg, #FBFBFF 0%, #F5F7FF 50%, #EDE9FE 100%);
  border-color: #6366F1;
}

.event-reception::before {
  background: linear-gradient(90deg, #312E81 0%, #6366F1 50%, #4338CA 100%);
}

.event-reception:hover {
  border-color: #4F46E5;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.22);
}

.reception-icon-circle {
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  border: 2px solid #6366F1;
}

.badge-reception {
  background: #EEF2FF;
  color: #4338CA;
  border: 1.5px solid #6366F1;
}

.event-reception .ceremony-title { color: #1E1B4B; }
.event-reception .ceremony-subtitle { color: #312E81; }

.reception-attire {
  background: #E0E7FF;
  border: 1px solid #6366F1;
  color: #1E1B4B;
}

.btn-reception-cal {
  background: linear-gradient(135deg, #4338CA, #312E81);
  color: #FFFDF9;
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.25);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN FOR COMPACT ROYAL FESTIVITIES CARD - ALL SCREENS
   -------------------------------------------------------------------------- */
/* LAPTOP & DESKTOP SCREENS: ALL 3 FESTIVITIES IN ONE ROW */
@media (min-width: 992px) {
  .royal-schedule-grand-card {
    padding: 0.95rem 0.95rem 0.85rem;
  }

  .grand-card-events-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Exactly ONE ROW for all 3 cards on laptop screen */
    gap: clamp(0.7rem, 1.2vw, 1.15rem);
    align-items: stretch;
  }

  .grand-event-item.compact-event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1rem 0.95rem;
    box-sizing: border-box;
    border-radius: 12px;
    min-width: 0;
  }

  .event-card-top-bar {
    margin-bottom: 0.15rem;
  }

  .event-schedule-chip {
    margin-bottom: 0.2rem;
    padding: 0.22rem 0.45rem;
  }

  .event-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
  }

  .compact-event-card .ceremony-title {
    font-size: 1.06rem;
  }

  .compact-event-card .ceremony-subtitle {
    font-size: 0.78rem;
  }

  .compact-event-card .ceremony-desc {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .event-wedding .compact-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.22rem 0.35rem;
  }

  .event-card-meta-bar {
    padding-top: 0.35rem;
    margin-top: auto;
  }
}

/* TABLET SCREENS (601px - 991px): 2 COLUMNS */
@media (min-width: 601px) and (max-width: 991px) {
  .royal-schedule-grand-card {
    padding: 1rem 0.9rem;
  }

  .grand-card-events-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .grand-event-item.compact-event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.9rem;
    min-width: 0;
  }

  .compact-event-card .ceremony-title {
    font-size: 1.15rem;
  }

  .event-card-meta-bar {
    margin-top: 0.45rem;
  }
}

/* MOBILE SCREENS (<= 600px): VIBRANT, READABLE & ZERO CUT-OFF */
@media (max-width: 600px) {
  .festivities-section {
    padding: clamp(1.8rem, 4vw, 2.5rem) 0;
    overflow: visible;
  }

  .royal-schedule-grand-card {
    padding: 0.85rem 0.75rem;
    border-radius: 14px;
    border: 1.5px solid var(--color-gold);
    box-shadow: 0 4px 18px rgba(120, 12, 29, 0.08);
    overflow: visible;
  }

  .royal-schedule-grand-card::before {
    display: none !important;
  }

  .grand-card-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .header-glory-symbol {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .grand-card-headline {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .grand-card-subline {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-top: 0.15rem;
  }

  .grand-card-events-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  /* Individual Ceremony Card on Mobile */
  .grand-event-item.compact-event-card {
    padding: 0.85rem 0.85rem 0.8rem;
    border-radius: 12px;
    gap: 0.35rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .event-card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .event-icon-circle {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .ceremony-badge {
    font-size: 0.72rem;
    padding: 0.18rem 0.55rem;
    white-space: normal;
    word-break: normal;
  }

  .featured-royal-badge-compact {
    font-size: 0.65rem;
    padding: 0.16rem 0.48rem;
  }

  .event-schedule-chip {
    padding: 0.25rem 0.55rem;
    font-size: 0.82rem;
    border-radius: 6px;
    margin: 0.1rem 0;
    width: 100%;
  }

  .compact-event-card .ceremony-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.28;
  }

  .compact-event-card .ceremony-subtitle {
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .compact-event-card .ceremony-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #4A3C35;
    margin: 0.1rem 0 0;
  }

  .sacred-muhurtham-highlight-banner.compact-banner {
    padding: 0.25rem 0.6rem;
    font-size: 0.82rem;
    border-radius: 6px;
    margin-bottom: 0.15rem;
    width: 100%;
  }

  .event-card-meta-bar {
    gap: 0.35rem;
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.3);
    width: 100%;
  }

  .compact-highlights {
    gap: 0.25rem 0.35rem;
    width: 100%;
  }

  .hl-item {
    font-size: 0.74rem;
    padding: 0.15rem 0.45rem;
  }

  .compact-info-tags {
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.1rem;
    width: 100%;
  }

  .info-tag {
    font-size: 0.78rem;
    padding: 0.22rem 0.55rem;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .ceremony-badge {
    font-size: 0.68rem;
  }

  .compact-event-card .ceremony-title {
    font-size: 1.05rem;
  }

  .event-schedule-chip {
    font-size: 0.78rem;
  }
}

/* --------------------------------------------------------------------------
   7b. WEDDING VIDEO & CINEMATIC TEASER (STANDALONE VIDEO PLACEHOLDER)
   -------------------------------------------------------------------------- */
.live-stream-section {
  background: 
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #F8F3E8 0%, #FAF6EE 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-gold-border);
  border-bottom: 1px solid var(--color-gold-border);
}

.wedding-video-showcase {
  max-width: 940px;
  margin: 0 auto;
}

/* Standalone Modern Video Player Placeholder Frame */
.wedding-video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--color-gold);
  background: #140205;
  box-shadow: 
    0 18px 50px rgba(0, 0, 0, 0.28),
    0 4px 20px rgba(212, 175, 55, 0.25);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
}

.wedding-video-player-frame:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.36),
    0 6px 30px rgba(212, 175, 55, 0.35);
}

/* HTML5 Real Video Element (Normal In-Site & Full Screen) */
.wedding-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  border-radius: inherit;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.wedding-video-player-frame:hover .video-poster-img {
  transform: scale(1.025);
  filter: brightness(1.04);
}

/* Top Floating Video Info Bar */
.video-player-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 2.5vw, 1.6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  z-index: 5;
  background: linear-gradient(180deg, rgba(14, 1, 3, 0.85) 0%, rgba(14, 1, 3, 0.4) 60%, transparent 100%);
  pointer-events: none;
}

.video-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 2, 5, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 0.3rem 0.85rem;
  border-radius: var(--border-radius-pill);
  backdrop-filter: blur(8px);
}

.video-badge-pill .badge-icon {
  font-size: 1rem;
}

.video-badge-pill .badge-text {
  font-family: var(--font-serif);
  font-size: clamp(0.76rem, 1.3vw, 0.88rem);
  font-weight: 700;
  color: #FFFDF9;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.video-hd-pill {
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid var(--color-gold);
  color: #FFD700;
  font-family: var(--font-serif);
  font-size: clamp(0.68rem, 1.1vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

/* Center Interactive Play Action */
.video-center-action {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  z-index: 6;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-grand-play-btn {
  width: clamp(68px, 11vw, 92px);
  height: clamp(68px, 11vw, 92px);
  border-radius: 50%;
  background: var(--color-gold-gradient);
  border: 3px solid #FFFDF0;
  color: var(--color-maroon-dark);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(212, 175, 55, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, filter 0.3s ease;
  animation: playPulse 2.4s infinite ease-in-out;
}

.video-grand-play-btn:hover {
  transform: scale(1.12);
  filter: brightness(1.12);
  box-shadow: 
    0 14px 40px rgba(0, 0, 0, 0.7),
    0 0 45px rgba(212, 175, 55, 0.85);
}

.btn-ripple-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.5);
  animation: rippleRing 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
}

@keyframes rippleRing {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.play-arrow {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-left: 5px;
  line-height: 1;
}

.video-play-hint {
  color: #FFFDF9;
  font-family: var(--font-serif);
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  background: rgba(14, 1, 3, 0.65);
  padding: 0.3rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(6px);
}

/* Bottom Video Player Interactive Controls Bar */
.video-player-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(0.75rem, 1.8vw, 1.15rem) clamp(1rem, 2.5vw, 1.6rem);
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.5vw, 1.1rem);
  z-index: 7;
  background: linear-gradient(0deg, rgba(14, 1, 3, 0.92) 0%, rgba(14, 1, 3, 0.55) 60%, transparent 100%);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.ctrl-btn-play {
  background: transparent;
  border: none;
  color: #FFFDF9;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ctrl-btn-play:hover {
  color: var(--color-gold);
  transform: scale(1.15);
}

.ctrl-time-display {
  color: #E2E8F0;
  font-family: monospace;
  font-size: clamp(0.74rem, 1.1vw, 0.82rem);
  font-weight: 600;
  white-space: nowrap;
}

.ctrl-timeline-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: height 0.2s ease;
}

.ctrl-timeline-track:hover {
  height: 8px;
}

.ctrl-timeline-fill {
  height: 100%;
  background: var(--color-gold-gradient);
  border-radius: 3px;
  position: relative;
  pointer-events: none;
}

.ctrl-timeline-head {
  position: absolute;
  right: -5px;
  top: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFD700;
  box-shadow: 0 0 10px #FFD700;
}

.ctrl-tools-group {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1vw, 0.75rem);
  color: #FFFDF9;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
}

.ctrl-tool-btn {
  background: transparent;
  border: none;
  color: #FFFDF9;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  padding: 4px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ctrl-tool-btn:hover {
  color: var(--color-gold);
  transform: scale(1.18);
}

.ctrl-hd-badge {
  font-size: 0.68rem;
  font-weight: 800;
  background: #AA771C;
  color: #FFF;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* Playing state: hide overlay on play, show when controls-visible is active or on desktop hover */
.wedding-video-player-frame.is-playing .video-center-action,
.wedding-video-player-frame.is-playing .video-player-controls-bar,
.wedding-video-player-frame.is-playing .video-player-top-bar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wedding-video-player-frame.is-playing.controls-visible .video-center-action,
.wedding-video-player-frame.is-playing.controls-visible .video-player-controls-bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wedding-video-player-frame.is-playing.controls-visible .video-player-top-bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Pause button styling when playing */
.wedding-video-player-frame.is-playing .video-grand-play-btn {
  animation: none;
}

.wedding-video-player-frame.is-playing .btn-ripple-ring {
  display: none;
}

.wedding-video-player-frame.is-playing .play-arrow {
  margin-left: 0;
}

/* Desktop hover support: shows controls while mouse is hovering */
@media (hover: hover) and (pointer: fine) {
  .wedding-video-player-frame.is-playing:hover .video-center-action,
  .wedding-video-player-frame.is-playing:hover .video-player-controls-bar,
  .wedding-video-player-frame.is-playing:hover .video-player-top-bar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  /* Mobile: Clean video frame by removing distracting badges & text overlays */
  .video-player-top-bar {
    display: none !important;
  }

  .video-play-hint {
    display: none !important;
  }

  .video-center-action {
    gap: 0;
  }

  .video-grand-play-btn {
    width: 58px;
    height: 58px;
  }

  .play-arrow {
    font-size: 1.4rem;
    margin-left: 3px;
  }

  .video-player-controls-bar {
    padding: 0.45rem 0.85rem;
    gap: 0.6rem;
  }
}

@media (max-width: 580px) {
  .wedding-video-player-frame {
    border-radius: 12px;
    border-width: 1.5px;
  }

  .ctrl-time-display {
    display: none;
  }

  .ctrl-hd-badge {
    display: none;
  }

  .ctrl-btn-play {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .ctrl-tool-btn {
    font-size: 0.95rem;
  }
}

/* --------------------------------------------------------------------------
   8. COUNTDOWN TIMER
   -------------------------------------------------------------------------- */
.countdown-section {
  background: radial-gradient(circle at 50% 50%, #4D050F 0%, #2A0208 100%);
  color: #FFFDF9;
  position: relative;
  overflow: hidden;
}

.countdown-box {
  max-width: 820px;
  margin: 0 auto;
}

.countdown-kicker {
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.countdown-heading {
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  color: #FFFDF9;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin: clamp(1.5rem, 4vw, 2.8rem) auto;
  flex-wrap: wrap;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.timer-circle {
  width: clamp(70px, 14vw, 110px);
  height: clamp(70px, 14vw, 110px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7A0D1F 0%, #3B040B 100%);
  border: 2px solid var(--color-gold);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(212, 175, 55, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.timer-digit {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-gold-light);
  line-height: 1;
}

.timer-label {
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sand);
  font-weight: 600;
}

.timer-separator {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-gold);
  margin-top: -1.2rem;
  font-weight: 700;
}

.wedding-passed-message {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  max-width: 600px;
  margin: 1.5rem auto;
}

.passed-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.calendar-action-wrap {
  margin-top: 1.8rem;
}

/* --------------------------------------------------------------------------
   9. PHOTO GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--color-cream-bg);
}

.gallery-grid {
  columns: 3 300px;
  column-gap: clamp(1rem, 2.5vw, 1.8rem);
  width: 100%;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2.5vw, 1.8rem);
  display: inline-block;
  width: 100%;
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 2px solid var(--color-gold-border);
  cursor: default;
  background: #110103;
  /* Page Transition base state */
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  filter: blur(2px);
  transition: 
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
  will-change: opacity, transform, filter;
  box-sizing: border-box;
}

/* Staggered page transition entrance delays */
.gallery-item:nth-child(1) { transition-delay: 0.05s; }
.gallery-item:nth-child(2) { transition-delay: 0.15s; }
.gallery-item:nth-child(3) { transition-delay: 0.25s; }
.gallery-item:nth-child(4) { transition-delay: 0.35s; }
.gallery-item:nth-child(5) { transition-delay: 0.45s; }
.gallery-item:nth-child(6) { transition-delay: 0.55s; }
.gallery-item:nth-child(7) { transition-delay: 0.65s; }
.gallery-item:nth-child(8) { transition-delay: 0.75s; }
.gallery-item:nth-child(9) { transition-delay: 0.85s; }

/* Page Transition revealed state */
.gallery-item.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(56, 3, 10, 0.25), 0 0 22px rgba(212, 175, 55, 0.3);
  border-color: var(--color-gold);
}

/* Dynamic Aspect-Ratio-Preserving Image Wrap */
.gallery-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a0206;
}

/* Landscape vs Portrait true aspect ratios - ZERO CROPPING */
.gallery-item.item-landscape .gallery-img-wrap {
  aspect-ratio: 3 / 2;
}

.gallery-item.item-portrait .gallery-img-wrap {
  aspect-ratio: 2 / 3;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .gallery-grid {
    columns: 2;
    column-gap: 0.75rem;
  }
  .gallery-item {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 2;
    column-gap: 0.5rem;
  }
  .gallery-item {
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-sm, 6px);
  }
}

/* --------------------------------------------------------------------------
   10. VENUE & DIRECTIONS
   -------------------------------------------------------------------------- */
.venue-section {
  background: var(--color-cream-bg);
}

.venue-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: stretch;
}

.venue-info-card {
  background: var(--color-cream-card);
  border: 2px solid var(--color-gold);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-gold-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.venue-card-header {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 1rem;
}

.venue-temple-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.venue-name {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--color-maroon-dark);
  margin-bottom: 0.2rem;
}

.venue-hall-type {
  font-size: 0.95rem;
  color: var(--color-gold-deep);
  font-weight: 600;
}

.venue-address-block {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.address-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.address-item .icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.address-item .text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-maroon-mid);
  margin-bottom: 0.15rem;
}

.address-item .text p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-dark);
}

.venue-phone-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0.2rem 0;
}

.venue-phone-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-maroon-mid);
  text-decoration: none;
  border-bottom: 1.5px dashed rgba(184, 134, 11, 0.45);
  transition: all var(--transition-fast);
}

.venue-phone-link:hover {
  color: var(--color-gold-deep);
  border-bottom-style: solid;
  border-bottom-color: var(--color-gold-deep);
  transform: translateY(-1px);
}

.phone-separator {
  color: var(--color-gold-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.venue-phone-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 0.2rem;
}

.venue-action-btns {
  margin-top: auto;
}

.btn-directions {
  width: 100%;
}

.venue-map-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-gold-card);
  min-height: 380px;
}

.map-responsive-wrapper {
  width: 100%;
  height: 100%;
  min-height: 380px;
}

/* --------------------------------------------------------------------------
   11. FAMILY BLESSINGS & FOOTER
   -------------------------------------------------------------------------- */
.family-blessings-section {
  background: radial-gradient(circle at 50% 30%, #5C0612 0%, #35030A 100%);
  color: #FFFDF9;
  position: relative;
}

.blessings-inner-card {
  max-width: 860px;
  margin: 0 auto;
}

.sacred-kalash-icon {
  width: 80px;
  margin: 0 auto 0.6rem;
}

.blessings-title {
  color: var(--color-gold-light);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.blessings-quote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: #FDFBF7;
  line-height: 1.7;
  max-width: 720px;
  margin: 1.2rem auto 2rem;
}

.inviting-families-wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.family-unit {
  flex: 1 1 280px;
  max-width: 420px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--border-radius-md);
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  box-sizing: border-box;
}

.family-unit-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.family-unit-members {
  font-size: 0.95rem;
  color: #F4ECE1;
  margin: 0;
}

.family-ampersand {
  font-family: var(--font-decorative);
  font-size: 2rem;
  color: var(--color-gold);
}

.share-tools-wrap {
  margin-top: 1.5rem;
}

.share-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold-gradient);
  color: var(--color-maroon-dark);
  font-family: var(--font-serif);
  font-weight: 800;
  padding: 0.75rem 1.6rem;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 3000;
  animation: toastFadeIn 0.3s ease;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* --------------------------------------------------------------------------
   12b. DESIGNER & DEVELOPER SECTION (Refined Simple Lines Design)
   -------------------------------------------------------------------------- */
.designer-credits-section {
  background: #1c0205;
  color: #FFFDF9;
  padding: clamp(1.8rem, 3.5vw, 2.5rem) 1rem;
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.designer-lines-wrap {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  padding: 0.25rem 0;
}

.designer-line-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0.75rem auto;
  max-width: 380px;
}

.designer-line-accent .line-segment {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
}

.designer-line-accent .line-glyph {
  color: var(--color-gold);
  font-size: 0.75rem;
  opacity: 0.85;
}

.designer-lead {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.6vw, 0.92rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.designer-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
}

.designer-contact {
  margin-bottom: 0.75rem;
}

.designer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-gold-light);
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.8vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  transition: all var(--transition-fast);
}

.designer-email-link:hover,
.designer-email-link:focus-visible {
  color: #FFF2A1;
  border-bottom-color: var(--color-gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transform: translateY(-1px);
}

.designer-email-link .email-icon {
  font-size: 0.95rem;
  opacity: 0.85;
}

.designer-tagline {
  font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  color: #BDB0A4;
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: #250207;
  color: #FFFDF9;
  border-top: 3px solid var(--color-gold);
  padding: clamp(2rem, 3.5vw, 2.75rem) 1rem 2rem;
  position: relative;
}

.footer-couple-name {
  font-size: 1.7rem;
  color: var(--color-gold-light);
  margin-bottom: 0.2rem;
}

.footer-date {
  font-size: 1rem;
  color: #EADBCC;
  margin-bottom: 0.1rem;
}

.footer-venue {
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
}

.footer-divider {
  width: 140px;
  height: 1px;
  background: var(--color-gold-border);
  margin: 1.2rem auto;
}

.footer-mantra {
  font-family: var(--font-telugu);
  font-size: 1.05rem;
  color: var(--color-gold-light);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.footer-credits {
  font-size: 0.9rem;
  color: #BDB0A4;
  margin-bottom: 1.5rem;
}

.back-to-top-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--color-gold);
  color: var(--color-maroon-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. TOTAL RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
/* Laptops & Tablets in Landscape (max-width: 1080px) */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

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

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

  .venue-map-card {
    min-height: 320px;
  }

  .hero-banana-tree {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100% !important;
    min-height: 100%;
    aspect-ratio: 320 / 800;
    width: auto;
    max-width: clamp(260px, 34vw, 420px);
    opacity: 1;
    z-index: 1;
  }

  .hero-content-card {
    max-width: clamp(500px, 62vw, 620px);
  }
}

/* Medium Tablets & Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Family Invitation Cards Compact Mobile Layout */
  .inviting-families-wrap {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.65rem !important;
    margin-bottom: 1rem !important;
  }

  .family-unit {
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0.85rem 1.1rem !important;
    box-sizing: border-box !important;
  }

  .family-unit-title {
    font-size: 1.05rem !important;
    margin-bottom: 0.3rem !important;
  }

  .family-unit-members {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  .family-ampersand {
    transform: rotate(90deg) !important;
    margin: -0.3rem 0 !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
  }

  .family-blessings-section .share-tools-wrap {
    margin-top: 0.75rem !important;
  }

  :root {
    --header-height: 60px;
  }

  .section-padding {
    padding-top: clamp(1.4rem, 3.5vw, 2rem);
    padding-bottom: clamp(1.4rem, 3.5vw, 2rem);
  }

  .print-btn {
    display: none !important;
  }

  .hero-banana-tree {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100% !important;
    min-height: 100%;
    aspect-ratio: 320 / 800;
    width: auto;
    max-width: clamp(240px, 48vw, 380px);
    opacity: 1;
    z-index: 1;
    pointer-events: none;
  }

  .banana-left {
    left: 0;
  }

  .banana-right {
    right: 0;
  }

  .hero-content-card {
    max-width: clamp(340px, 68vw, 480px);
    padding: clamp(1.2rem, 3.5vw, 2rem) clamp(1rem, 3vw, 1.6rem);
  }

  .couple-grid {
    flex-direction: column;
  }

  .couple-card {
    max-width: 100%;
    width: 100%;
  }

  .couple-union-divider {
    margin: 0.5rem 0;
  }

  .timer-separator {
    display: none;
  }

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

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero-banana-tree {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100% !important;
    min-height: 100%;
    aspect-ratio: 320 / 800;
    width: auto;
    max-width: clamp(200px, 50vw, 340px);
    opacity: 1;
    z-index: 1;
    pointer-events: none;
  }

  .hero-content-card {
    max-width: clamp(270px, 78vw, 340px);
    padding: 1.25rem 0.8rem;
  }

  .hero-gopuram-badge {
    width: 58px;
    margin-bottom: 0.35rem;
  }

  .prayer-line {
    font-size: 0.82rem;
  }

  .hero-blessing-subtitle {
    font-size: 0.8rem;
  }

  .hero-family-salute {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .hero-couple-titles {
    margin: 0.6rem 0;
    gap: 0.5rem;
  }

  .couple-hero-unit {
    min-width: 100%;
  }

  .hero-name {
    font-size: 1.55rem;
  }

  .hero-parentage {
    font-size: 0.78rem;
  }

  .hero-conjunction {
    margin: 0.2rem 0;
  }

  .hero-muhurtham-banner {
    padding: 0.55rem 0.75rem;
    margin: 0.8rem 0;
    gap: 0.5rem;
  }

  .cal-date, .cal-time {
    font-size: 0.88rem;
  }

  .hero-actions {
    gap: 0.6rem;
    margin-top: 0.8rem;
  }

  .hero-actions .btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
    width: 100%;
    max-width: 230px;
  }

  .floating-lang-pill {
    bottom: 16px;
    left: 12px;
    padding: 0.25rem 0.5rem;
  }

  .float-lang-btn {
    font-size: 0.75rem;
    padding: 0.18rem 0.45rem;
  }

  .floating-music-pill {
    bottom: 16px;
    right: 12px;
  }

  .float-music-btn {
    padding: 0.35rem 0.75rem 0.35rem 0.6rem;
    font-size: 0.76rem;
    gap: 0.35rem;
  }

  .float-music-btn .music-note-icon {
    font-size: 0.95rem;
  }

  .music-equalizer-bars {
    height: 12px;
  }

  .card-face {
    padding: 0.75rem;
  }

  .card-gold-border {
    padding: 0.9rem 0.6rem;
  }

  .couple-names-wrap .couple-name {
    font-size: 1.55rem;
  }

  .btn-royal-open {
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .timer-circle {
    width: 80px;
    height: 80px;
  }

  .radio-pill-group {
    flex-direction: column;
  }

  .inviting-families-wrap {
    flex-direction: column;
  }

  .family-ampersand {
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }
}

/* Ultra small phones (320px - 375px) */
@media (max-width: 375px) {
  html {
    font-size: 15px;
  }

  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .shubhamastu-title {
    font-size: 1.85rem;
  }

  .hero-name {
    font-size: 1.8rem;
  }

  .timer-circle {
    width: 70px;
    height: 70px;
  }

  .timer-digit {
    font-size: 1.6rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-banana-tree {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100% !important;
    min-height: 100%;
    aspect-ratio: 320 / 800;
    width: auto;
    max-width: clamp(170px, 52vw, 280px);
    opacity: 1;
    z-index: 1;
    pointer-events: none;
  }

  .hero-content-card {
    max-width: clamp(240px, 80vw, 280px);
    padding: 1rem 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   14. PRINT STYLESHEET
   -------------------------------------------------------------------------- */
@media print {
  .opening-overlay,
  .floating-lang-pill,
  .floating-music-pill,
  .hero-actions,
  .calendar-action-wrap,
  .hero-banana-tree,
  .gallery-lightbox,
  .venue-map-card,
  .share-tools-wrap,
  .back-to-top-btn,
  audio {
    display: none !important;
  }

  body {
    background: #FFF !important;
    color: #000 !important;
    font-size: 12pt;
  }

  .hero-content-card,
  .couple-card,
  .event-card,
  .festivity-card,
  .venue-info-card,
  .blessings-inner-card {
    border: 2px solid #AA771C !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    background: #FFF !important;
    color: #000 !important;
  }

  h1, h2, h3, h4 {
    color: #5C0612 !important;
  }

  .site-footer {
    background: #FFF !important;
    color: #000 !important;
    border-top: 1px solid #AA771C !important;
  }
}

/* --------------------------------------------------------------------------
   15. ACCESSIBILITY: REDUCED MOTION PREFERENCE
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   INTERACTIVE FEATURES STYLING
   - Bell Chime Ripple & Tap Badge
   - Akshatalu Shower Particle Animation & Counter
   - Wishes Guestbook Section & Royal Scroll
   ========================================================================== */

/* Bell Chime Button */
.bell-chime-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.bell-chime-btn:hover {
  transform: scale(1.15);
}

.bell-chime-btn:active {
  transform: scale(0.95);
}

.bell-tap-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #780C1D;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 0.05rem 0.35rem;
  margin-top: 0.1rem;
  letter-spacing: 0.02em;
}

.bell-ripple-active {
  animation: bell-ripple-glow 0.8s ease-out;
}

@keyframes bell-ripple-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.8), 0 0 15px rgba(245, 158, 11, 0.6);
  }
  100% {
    box-shadow: 0 0 0 25px rgba(212, 175, 55, 0), 0 0 30px rgba(245, 158, 11, 0);
  }
}

/* Akshatalu Interactive Wrap */
.akshatalu-interactive-wrap {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1.5px dashed rgba(212, 175, 55, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.btn-akshatalu-shower {
  background: linear-gradient(135deg, #780C1D 0%, #991B1B 50%, #780C1D 100%);
  color: #FFFDF9;
  border: 2px solid var(--color-gold);
  border-radius: 30px;
  padding: clamp(0.55rem, 1.8vw, 0.75rem) clamp(1.2rem, 3vw, 1.8rem);
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 
    0 6px 18px rgba(120, 12, 29, 0.3),
    0 2px 8px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.btn-akshatalu-shower:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 
    0 8px 25px rgba(120, 12, 29, 0.4),
    0 4px 12px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #991B1B 0%, #B91C1C 50%, #991B1B 100%);
}

.btn-akshatalu-shower:active {
  transform: translateY(1px) scale(0.97);
}

.akshatalu-btn-icon {
  font-size: 1.25rem;
}

.akshatalu-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFDF5;
  border: 1.5px solid #FCD34D;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  color: #78350F;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.counter-number {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  color: #780C1D;
  transition: transform 0.2s ease;
}

.count-bump {
  animation: count-bump-anim 0.3s ease;
}

@keyframes count-bump-anim {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); color: #B91C1C; }
  100% { transform: scale(1); }
}

/* Falling Akshatalu & Petals Particles */
.akshatalu-particle {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  user-select: none;
  animation: akshatalu-rain-path forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

@keyframes akshatalu-rain-path {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(0.6);
    opacity: 1;
  }
  30% {
    transform: translate(var(--tx), var(--ty)) rotate(calc(var(--rot) * 0.4)) scale(1.15);
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--tx) * 1.3), var(--fall-y)) rotate(var(--rot)) scale(0.85);
    opacity: 0;
  }
}


