@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Noto+Serif+Telugu:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-cream: #FCFAF6;
  --bg-parchment: #F6EFE5;
  --maroon-deep: #2A050B;
  --maroon-royal: #420C14;
  --maroon-rich: #5C121D;
  --gold-300: #F7E8BA;
  --gold-400: #D8B568;
  --gold-500: #C5A059;
  --gold-600: #9E7A31;
  --gold-gradient: linear-gradient(135deg, #F9EBBC 0%, #CFA95B 45%, #9B7527 100%);
  --gold-foil: linear-gradient(110deg, #C5A059 0%, #FFF3CA 25%, #C5A059 50%, #8E651E 75%, #ECCB7B 100%);
  --maroon-gradient: linear-gradient(180deg, #36080F 0%, #1E0307 100%);
  --text-primary: #29080C;
  --text-secondary: #5F373E;
  --text-light: #FDF9F2;
  --border-gold: rgba(197, 160, 89, 0.4);
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.22);
  --shadow-royal: 0 16px 45px rgba(42, 5, 11, 0.16);
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-royal: "Cinzel", Georgia, serif;
  --font-telugu: "Noto Serif Telugu", "Ramabhadra", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--maroon-deep);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.intro-locked {
  overflow: hidden;
  height: 100vh;
}

/* Base Canvas & Container */
#invitation {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-cream);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
  min-height: 100vh;
}

/* Floating Audio Toggle */
.music-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 999;
  background: rgba(42, 5, 11, 0.88);
  border: 1px solid var(--gold-400);
  border-radius: 30px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.music-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
  background: var(--maroon-royal);
}

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

.music-bars i {
  display: block;
  width: 2px;
  height: 100%;
  background: var(--gold-300);
  border-radius: 2px;
  animation: barBounce 1.2s ease-in-out infinite alternate;
}

.music-bars i:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.music-bars i:nth-child(2) { height: 95%; animation-delay: 0.3s; }
.music-bars i:nth-child(3) { height: 60%; animation-delay: 0.2s; }

.music-toggle.is-paused .music-bars i {
  animation: none;
  height: 3px;
  opacity: 0.6;
}

@keyframes barBounce {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* Language Switcher */
.lang-toggle-bar {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 999;
  background: rgba(42, 5, 11, 0.88);
  border: 1px solid var(--gold-400);
  border-radius: 30px;
  padding: 4px;
  display: flex;
  gap: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn.active {
  background: var(--gold-500);
  color: var(--maroon-deep);
  font-weight: 700;
}

/* Intro Veil & Tap-to-Open Hero */
.hero-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: var(--maroon-gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 24px;
  transition: opacity 0.8s cubic-bezier(0.7, 0, 0.3, 1), transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
  overflow: hidden;
}

.hero-intro.is-opened {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

/* Background Ornamental Arch SVG inside Hero */
.intro-ornament-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.12;
  background-size: cover;
  background-position: center;
}

.intro-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-invocation {
  font-family: var(--font-telugu);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-shadow: 0 0 12px rgba(216, 181, 104, 0.4);
}

.intro-ganesha-seal {
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #57121D 0%, #2A050B 100%);
  border: 2px solid var(--gold-400);
  box-shadow: 0 0 35px rgba(216, 181, 104, 0.45), inset 0 0 15px rgba(216, 181, 104, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  animation: sealFloat 3.5s ease-in-out infinite;
}

@keyframes sealFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

.intro-ganesha-seal svg {
  width: 72px;
  height: 72px;
  fill: url(#goldGradientSvg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.seal-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  animation: ripplePulse 2.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes ripplePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

.intro-family-eyebrow {
  font-family: var(--font-royal);
  font-size: 13px;
  color: var(--gold-300);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.intro-couple-title {
  font-family: var(--font-royal);
  font-size: 34px;
  font-weight: 700;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.25;
  margin-bottom: 8px;
}

.intro-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 13px;
  color: var(--gold-300);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 34px;
}

.unveil-btn {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border: none;
  font-family: var(--font-royal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5), inset 0 1px 1px #fff;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.unveil-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(216, 181, 104, 0.7);
}

/* Top Decorative Header */
.top-header-motif {
  text-align: center;
  padding: 70px 20px 24px;
  background: radial-gradient(ellipse at top, rgba(197, 160, 89, 0.14) 0%, transparent 70%);
}

.ganesha-top-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
}

.header-shlokas {
  font-family: var(--font-telugu);
  color: var(--maroon-royal);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.header-sub-shloka {
  font-family: var(--font-royal);
  color: var(--gold-600);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Auspicious Arch Frame */
.arch-card-wrapper {
  margin: 0 16px 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-cream);
  border: 1px solid var(--border-gold);
  padding: 36px 20px;
  position: relative;
  box-shadow: var(--shadow-royal);
}

.arch-card-wrapper::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

/* Corner Filigrees */
.corner-ornament {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: var(--gold-500);
  opacity: 0.75;
}
.corner-tl { top: 12px; left: 12px; }
.corner-tr { top: 12px; right: 12px; transform: scaleX(-1); }
.corner-bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.corner-br { bottom: 12px; right: 12px; transform: scale(-1); }

/* Couple Section */
.couple-hero {
  text-align: center;
  position: relative;
}

.welcome-lead {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 320px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.person-card {
  padding: 12px 8px;
}

.person-title {
  font-family: var(--font-royal);
  font-size: 11px;
  color: var(--gold-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.person-name {
  font-family: var(--font-royal);
  font-size: 32px;
  font-weight: 700;
  color: var(--maroon-royal);
  line-height: 1.2;
  margin-bottom: 6px;
}

.person-telugu-name {
  font-family: var(--font-telugu);
  font-size: 19px;
  font-weight: 600;
  color: var(--maroon-rich);
  margin-bottom: 8px;
}

.person-relation {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.person-parents {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 2px;
}

.person-telugu-parents {
  font-family: var(--font-telugu);
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.couple-ampersand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0;
}

.couple-ampersand span {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--gold-500);
  font-style: italic;
}

.couple-ampersand::before,
.couple-ampersand::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--gold-400), transparent);
}

/* Traditional Rituals Illustration Motif */
.ritual-motif-box {
  margin: 28px auto 14px;
  text-align: center;
}

.ritual-motif-box svg {
  max-width: 220px;
  height: auto;
  fill: var(--maroon-royal);
  opacity: 0.85;
}

/* Muhurtham Golden Highlight Card */
.muhurtham-box {
  background: var(--maroon-gradient);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  color: var(--text-light);
  text-align: center;
  border: 1px solid var(--gold-400);
  box-shadow: 0 10px 30px rgba(42, 5, 11, 0.35);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.muhurtham-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-foil);
}

.muhurtham-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid var(--gold-400);
  border-radius: 20px;
  padding: 4px 14px;
  font-family: var(--font-royal);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.muhurtham-date {
  font-family: var(--font-royal);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 4px;
}

.muhurtham-time {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.muhurtham-lagnam {
  font-family: var(--font-telugu);
  font-size: 14px;
  color: var(--gold-400);
  line-height: 1.5;
}

/* Live Countdown Timer */
.countdown-section {
  padding: 10px 16px 36px;
}

.countdown-title {
  text-align: center;
  font-family: var(--font-royal);
  font-size: 12px;
  color: var(--gold-600);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

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

.time-box {
  background: #FFFDF9;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.12);
  position: relative;
  overflow: hidden;
}

.time-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.time-value {
  font-family: var(--font-royal);
  font-size: 26px;
  font-weight: 800;
  color: var(--maroon-royal);
  line-height: 1.1;
}

.time-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Vedic Sloka Parchment Box */
.sloka-parchment {
  margin: 0 16px 40px;
  background: var(--bg-parchment);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 20px;
  position: relative;
}

.sloka-telugu {
  font-family: var(--font-telugu);
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon-royal);
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: center;
}

.sloka-translation {
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

/* Section Title Stylings */
.section-headline {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 20px;
}

.section-eyebrow {
  font-family: var(--font-royal);
  font-size: 11px;
  color: var(--gold-600);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-royal);
  font-size: 26px;
  font-weight: 700;
  color: var(--maroon-royal);
  line-height: 1.25;
}

/* Events Timeline Cards */
.events-container {
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: #FFFDF9;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 8px 24px rgba(66, 12, 20, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(197, 160, 89, 0.25);
  border-color: var(--gold-500);
}

.event-card.is-wedding {
  background: radial-gradient(ellipse at top, #FFF9ED 0%, #FFFDF9 100%);
  border: 1.5px solid var(--gold-500);
}

.event-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.event-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.event-titles {
  flex: 1;
}

.event-name {
  font-family: var(--font-royal);
  font-size: 19px;
  font-weight: 700;
  color: var(--maroon-royal);
  line-height: 1.2;
}

.event-telugu-name {
  font-family: var(--font-telugu);
  font-size: 14px;
  color: var(--gold-600);
  font-weight: 600;
  margin-top: 2px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--bg-parchment);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 500;
}

.meta-item svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-600);
  flex-shrink: 0;
}

.event-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.event-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-map {
  background: var(--maroon-royal);
  color: var(--gold-300);
  border: 1px solid var(--gold-400);
}

.btn-map:hover {
  background: var(--maroon-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-cal {
  background: #FFFDF9;
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
}

.btn-cal:hover {
  background: var(--bg-parchment);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.btn-action svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Dress Code Banner */
.dress-code-card {
  margin: 0 16px 40px;
  background: #FFFDF9;
  border: 1px dashed var(--gold-500);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.dress-code-title {
  font-family: var(--font-royal);
  font-size: 14px;
  color: var(--maroon-royal);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dress-code-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Hosts & Compliments Section */
.hosts-section {
  background: var(--maroon-gradient);
  color: var(--text-light);
  padding: 44px 20px 50px;
  position: relative;
  border-top: 2px solid var(--gold-400);
}

.hosts-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  background-image: radial-gradient(#C5A059 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.hosts-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hosts-eyebrow {
  font-family: var(--font-royal);
  font-size: 12px;
  color: var(--gold-300);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hosts-telugu-eyebrow {
  font-family: var(--font-telugu);
  font-size: 14px;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.hosts-names {
  font-family: var(--font-royal);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.hosts-telugu-names {
  font-family: var(--font-telugu);
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.hosts-address {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 340px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.contact-button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.16);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-contact:hover {
  background: var(--gold-500);
  color: var(--maroon-deep);
  transform: translateY(-2px);
}

.whatsapp-rsvp-btn {
  background: #25D366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 32px;
}

.whatsapp-rsvp-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.compliments-box {
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  padding-top: 24px;
  margin-top: 10px;
}

.compliments-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--gold-300);
  line-height: 1.6;
  margin-bottom: 6px;
}

.compliments-telugu {
  font-family: var(--font-telugu);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* Footer & Wedsmint watermark */
.site-footer {
  text-align: center;
  padding: 24px 16px 36px;
  background: #170205;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive adjust */
@media (max-width: 360px) {
  .event-actions {
    grid-template-columns: 1fr;
  }
  .countdown-grid {
    gap: 6px;
  }
  .time-value {
    font-size: 22px;
  }
}

/* ========================================================
   DIVINE GOD ARTWORK & TEMPLE MANDAPAM ANIMATIONS
   ======================================================== */

/* Divine God Section */
.divine-god-card {
  margin: 0 16px 36px;
  background: radial-gradient(circle at 50% 30%, #501018 0%, #2A050B 100%);
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 30px 18px 24px;
  position: relative;
  text-align: center;
  box-shadow: 0 16px 45px rgba(42, 5, 11, 0.4), inset 0 0 25px rgba(197, 160, 89, 0.2);
  overflow: hidden;
}

/* Rotating Sunbeam Mandala Halo */
.god-aura-ring {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 231, 180, 0.35) 0%, rgba(197, 160, 89, 0.15) 50%, transparent 75%);
  pointer-events: none;
  animation: auraPulse 4s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% { transform: translateX(-50%) scale(0.92); opacity: 0.6; }
  100% { transform: translateX(-50%) scale(1.12); opacity: 1; }
}

.god-rays {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  pointer-events: none;
  opacity: 0.25;
  animation: rotateRays 28s linear infinite;
}

@keyframes rotateRays {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.god-img-container {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 210px;
  margin: 0 auto 18px;
  border-radius: 90px 90px 20px 20px;
  padding: 4px;
  background: var(--gold-foil);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(216, 181, 104, 0.4);
}

.god-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 86px 86px 16px 16px;
  display: block;
  background: #230408;
}

/* Flanking Brass Diyas (Oil Lamps) */
.diya-flank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 130px;
  left: 18px;
  right: 18px;
  pointer-events: none;
  z-index: 3;
}

.diya-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diya-flame {
  width: 12px;
  height: 20px;
  background: radial-gradient(ellipse at bottom, #FFF1A8 0%, #FFA826 60%, #FF4500 100%);
  border-radius: 50% 50% 35% 35% / 60% 60% 40% 40%;
  filter: drop-shadow(0 0 8px rgba(255, 168, 38, 0.9));
  animation: flameFlicker 1.8s ease-in-out infinite alternate;
}

.diya-unit:nth-child(2) .diya-flame {
  animation-delay: 0.4s;
}

@keyframes flameFlicker {
  0% { transform: scale(0.92, 0.95) rotate(-2deg); opacity: 0.85; }
  50% { transform: scale(1.1, 1.2) rotate(2deg); opacity: 1; }
  100% { transform: scale(1, 1.05) rotate(-1deg); opacity: 0.95; }
}

.diya-lamp-base {
  width: 28px;
  height: 14px;
  background: var(--gold-gradient);
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--gold-300);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.god-shloka-title {
  font-family: var(--font-telugu);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.god-shloka-meaning {
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(253, 249, 242, 0.85);
  font-style: italic;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.45;
  position: relative;
  z-index: 2;
}

/* ========================================================
   TEMPLE MANDAPAM SECTION & SWAYING BELLS
   ======================================================== */
.temple-mandapam-card {
  margin: 0 16px 40px;
  background: #FFFDF9;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 18px 26px;
  position: relative;
  box-shadow: var(--shadow-royal);
  overflow: hidden;
}

/* Hanging Swaying Brass Bells Bar */
.hanging-bells-bar {
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
}

.hanging-bell-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
}

.hanging-bell-wrapper.bell-left {
  animation: bellSway 3.2s ease-in-out infinite alternate;
}

.hanging-bell-wrapper.bell-center {
  animation: bellSway 2.7s ease-in-out infinite alternate-reverse;
}

.hanging-bell-wrapper.bell-right {
  animation: bellSway 3.5s ease-in-out infinite alternate;
}

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

.bell-chain {
  width: 2px;
  height: 22px;
  background: repeating-linear-gradient(to bottom, var(--gold-600) 0px, var(--gold-300) 3px, var(--gold-600) 6px);
}

.bell-body {
  width: 24px;
  height: 20px;
  background: var(--gold-gradient);
  border-radius: 12px 12px 4px 4px;
  border: 1px solid var(--gold-400);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  position: relative;
}

.bell-clapper {
  width: 6px;
  height: 6px;
  background: var(--gold-600);
  border-radius: 50%;
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
}

/* Temple Illustration Window */
.temple-visual-window {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-400);
  margin-bottom: 18px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

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

.temple-mandapam-card:hover .temple-visual-window img {
  transform: scale(1.06);
}

.temple-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(66, 12, 20, 0.1) 0%, rgba(42, 5, 11, 0.65) 100%);
  pointer-events: none;
}

.temple-overlay-text {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.temple-badge {
  font-family: var(--font-royal);
  font-size: 10px;
  color: var(--gold-300);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.temple-headline {
  font-family: var(--font-royal);
  font-size: 18px;
  font-weight: 700;
  color: #FFFDF9;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Floating Flower Petals Container */
.petals-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}

.floating-petal {
  position: absolute;
  width: 10px;
  height: 12px;
  border-radius: 50% 0 50% 50%;
  opacity: 0;
  animation: fallPetal linear infinite;
}

.floating-petal.marigold {
  background: radial-gradient(circle, #FFA500 0%, #FF8C00 100%);
}

.floating-petal.jasmine {
  background: radial-gradient(circle, #FFFFFF 0%, #FFF5EE 100%);
  width: 8px;
  height: 10px;
}

@keyframes fallPetal {
  0% {
    top: -20px;
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    top: 105%;
    opacity: 0;
    transform: translateX(35px) rotate(260deg);
  }
}

/* Traditional Kalyana Rituals Dual Sketch Box */
.kalyana-sketches-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 18px 0 10px;
  padding: 12px;
  background: var(--bg-parchment);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.sketch-card {
  text-align: center;
  flex: 1;
}

.sketch-card img {
  max-width: 90px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(197, 160, 89, 0.4));
  transition: transform 0.3s ease;
}

.sketch-card:hover img {
  transform: scale(1.08);
}

.sketch-label {
  font-family: var(--font-telugu);
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon-royal);
  margin-top: 4px;
  display: block;
}

