/* ==========================================================================
   SOUTH INDIAN DIGITAL WEDDING INVITATION - STYLESHEET
   Style System: Traditional Telugu / Luxury South Indian Wedding Aesthetics
   ========================================================================== */

/* --- DESIGN TOKENS --- */
:root {
  --bg-ivory: #FDFBF7;
  --bg-cream: #F7F2E6;
  --bg-parchment: #F4EEDD;
  --maroon-deep: #5E0B1B;
  --maroon-royal: #701224;
  --maroon-dark: #4A0815;
  
  --gold-light: #FCE074;
  --gold-primary: #DFAC38;
  --gold-antique: #C68B1E;
  --gold-dark: #8E5B09;
  
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --maroon-gradient: linear-gradient(180deg, #701224 0%, #4A0815 100%);
  --card-bg-gradient: linear-gradient(160deg, #FFFDF9 0%, #F8F2E4 100%);

  --text-dark: #2C1A14;
  --text-muted: #5C4339;
  --green-subtle: #1E392A;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-title: 'Cinzel', serif;
  --font-heading: 'Playfair Display', serif;
  --font-script: 'Great Vibes', cursive;
  --font-telugu: 'Noto Serif Telugu', serif;

  --shadow-luxury: 0 12px 40px rgba(74, 8, 21, 0.18);
  --shadow-gold: 0 4px 20px rgba(223, 172, 56, 0.35);
  --border-gold-thin: 1px solid rgba(223, 172, 56, 0.4);
}

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

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg-ivory);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--gold-antique); border-radius: 4px; }

#petals-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
}

/* FLOATING AUDIO CONTROL BUTTON */
.audio-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  background: var(--maroon-royal);
  border: 1px solid var(--gold-primary);
  border-radius: 30px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-luxury);
  transition: transform 0.3s ease, background 0.3s ease;
}

.audio-btn:hover {
  transform: scale(1.05);
  background: var(--maroon-dark);
}

.audio-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.sound-wave {
  display: flex;
  align-items: flex-end;
  height: 16px;
  gap: 3px;
}

.sound-wave span {
  width: 3px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: bounce 1.2s ease-in-out infinite alternate;
}

.sound-wave span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.sound-wave span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.sound-wave span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.sound-wave span:nth-child(4) { height: 16px; animation-delay: 0.4s; }

.audio-btn.muted .sound-wave span {
  animation: none;
  height: 3px !important;
}

.audio-text {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--gold-light);
}

@keyframes bounce {
  0% { height: 4px; }
  100% { height: 16px; }
}


/* ==========================================================================
   STAGE 1: CINEMATIC CONNECTING HANDS INTRO OVERLAY
   ========================================================================== */
.shiva-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background-color: #1A0408;
  padding: 30px 20px;
  text-align: center;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.shiva-overlay.fade-out {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.golden-sky-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, #E5A93C 0%, #8A5214 45%, #3A050F 80%, #1A0408 100%);
  overflow: hidden;
}

.golden-clouds-layer {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 20% 20%, rgba(255, 232, 147, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 232, 147, 0.3) 0%, transparent 50%);
  animation: floatClouds 15s ease-in-out infinite alternate;
}

@keyframes floatClouds {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.divine-light-burst {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(252, 224, 116, 0.9) 30%, rgba(223, 172, 56, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 20;
  transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.4s ease;
  opacity: 0;
}

.shiva-overlay.connecting .divine-light-burst {
  transform: translate(-50%, -50%) scale(25);
  opacity: 1;
}

.top-mantra-shiva {
  position: relative;
  z-index: 10;
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Connecting Hands Stage Frame */
.connecting-hands-stage {
  position: relative;
  z-index: 10;
  width: 300px;
  height: 380px;
  margin: auto;
  cursor: pointer;
}

.shiva-hand-moving {
  position: absolute;
  top: -20px;
  right: -30px;
  width: 190px;
  height: 190px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.6));
  transform: translate(95px, -95px); /* Half hand peeking from top-right edge */
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  z-index: 5;
}

.parvati-hand-moving {
  position: absolute;
  bottom: -20px;
  left: -30px;
  width: 190px;
  height: 190px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.6));
  transform: translate(-95px, 95px); /* Half hand peeking from bottom-left edge */
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  z-index: 5;
}

.real-hand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.shiva-hand-img {
  object-position: center;
  transform: none; /* Reaches down-left from top-right edge toward center */
}

.parvati-hand-img {
  object-position: center;
  transform: scaleX(-1); /* Reaches up-right from bottom-left edge toward center */
}

.shiva-overlay.connecting .shiva-hand-moving {
  transform: translate(-65px, 105px) scale(1.15);
  opacity: 0.95;
}

.shiva-overlay.connecting .parvati-hand-moving {
  transform: translate(65px, -105px) scale(1.15);
  opacity: 0.95;
}

.hands-real-photo-box {
  position: absolute;
  inset: 15px;
  border-radius: 20px;
  border: 2px solid var(--gold-primary);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 25px rgba(223, 172, 56, 0.5);
  transition: transform 0.4s ease;
}

.hands-real-photo-box:hover {
  transform: scale(1.03);
}

.hands-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tap-instruction-box {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(112, 18, 36, 0.75);
  border: 1px solid var(--gold-primary);
  padding: 12px 28px;
  border-radius: 30px;
  box-shadow: var(--shadow-gold);
}

.tap-text {
  font-family: var(--font-title);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  font-weight: 700;
}


/* ==========================================================================
   MAIN WRAPPER & CARD CONTAINER
   ========================================================================== */
.main-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  background-color: var(--bg-ivory);
}

.invitation-card-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-cream);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(223, 172, 56, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(112, 18, 36, 0.03) 0%, transparent 40%);
  box-shadow: var(--shadow-luxury);
  position: relative;
  border-left: var(--border-gold-thin);
  border-right: var(--border-gold-thin);
  overflow: hidden;
}

.desktop-side-ornament { display: none; }

@media (min-width: 1100px) {
  .main-wrapper {
    padding: 40px 20px;
    background: linear-gradient(135deg, #2B040B 0%, #1A0408 100%);
  }
  .desktop-side-ornament {
    display: block;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 400px;
    opacity: 0.15;
    pointer-events: none;
  }
  .left-side-ornament { left: 40px; }
  .right-side-ornament { right: 40px; transform: translateY(-50%) scaleX(-1); }
}

.top-toran-banner {
  height: 24px;
  background: var(--maroon-gradient);
  border-bottom: 2px solid var(--gold-primary);
}

.top-mantra {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--maroon-royal);
  letter-spacing: 1.5px;
  text-align: center;
  font-weight: 600;
}

.divider-lotus {
  text-align: center;
  margin: 28px 0;
}

.lotus-svg {
  width: 120px;
  height: auto;
  opacity: 0.9;
}

.section-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--maroon-royal);
  text-align: center;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-bottom: 24px;
}


/* ==========================================================================
   STAGE 2: DIVINE ARCH CARD SCENE (RAM & SITA STYLE INVITATION CARD)
   ========================================================================== */
.divine-arch-section {
  padding: 40px 20px 32px;
  text-align: center;
}

.temple-arch-container {
  position: relative;
  max-width: 480px;
  margin: 20px auto;
  background: var(--card-bg-gradient);
  border: 2px solid var(--gold-primary);
  border-radius: 120px 120px 16px 16px;
  padding: 32px 20px 28px;
  box-shadow: 0 15px 45px rgba(74, 8, 21, 0.2);
}

.arch-inner-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divine-couple-photo-box {
  width: 100%;
  max-width: 380px;
  height: 380px;
  border-radius: 100px 100px 12px 12px;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.arch-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-couple-names {
  font-family: var(--font-script);
  font-size: 3.6rem;
  color: var(--maroon-royal);
  line-height: 1.15;
  margin: 8px 0;
}

.arch-invite-lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 16px;
}

.arch-date-badge {
  display: inline-block;
  background: var(--maroon-royal);
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 3px;
  padding: 8px 24px;
  border-radius: 25px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(112, 18, 36, 0.3);
}

.gold-line-center {
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 20px auto 0;
}


/* ==========================================================================
   4. DIGITAL PRINTED INVITATION CARD
   ========================================================================== */
.printed-card-section {
  padding: 32px 20px;
  text-align: center;
}

.deities-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 20px 0 24px;
}

.deity-wrapper {
  width: 80px;
  height: 90px;
}

.deity-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(223, 172, 56, 0.4));
}

.card-heading-box { margin-bottom: 24px; }

.family-invitation-heading {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--maroon-royal);
}

.invitation-sub-heading {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.telugu-heading {
  font-family: var(--font-telugu);
  font-size: 1.25rem;
  color: var(--maroon-royal);
  margin-top: 6px;
  font-weight: 600;
}

.solicitation-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.lineage-card {
  background: var(--bg-ivory);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 24px 20px;
  max-width: 580px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  position: relative;
}

.trad-prefix {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.person-title-fullname {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--maroon-royal);
  font-weight: 700;
  margin: 4px 0;
}

.qualification-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.parents-block {
  border-top: 1px dashed rgba(198, 139, 30, 0.4);
  padding-top: 12px;
  margin-top: 10px;
}

.parents-names {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
}

.location-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

.grandparents-block {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(198, 139, 30, 0.2);
}

.with-knot-divider {
  text-align: center;
  margin: 16px 0;
}

.wedding-knot-symbol {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--gold-dark);
  font-weight: 700;
}


/* ==========================================================================
   5. BRIDE & GROOM SECTION
   ========================================================================== */
.couple-section { padding: 32px 20px; }

.section-ornamental-frame {
  border: 1px solid rgba(198, 139, 30, 0.3);
  padding: 32px 20px;
  border-radius: 12px;
  background: var(--card-bg-gradient);
  position: relative;
  text-align: center;
}

.section-couple-header {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--maroon-royal);
  margin-bottom: 20px;
}

.heart-icon {
  color: #D32F2F;
  display: inline-block;
  animation: pulseHeart 1.5s ease-in-out infinite alternate;
}

@keyframes pulseHeart {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

.couple-illustration-container {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
}

.couple-svg, .couple-hands-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 15px rgba(223, 172, 56, 0.4);
}

.journey-quote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--maroon-royal);
}


/* ==========================================================================
   6. SCRATCH TO REVEAL WEDDING DATE
   ========================================================================== */
.scratch-section { padding: 40px 20px; text-align: center; }

.scratch-card-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 280px;
  margin: 24px auto 0;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  overflow: hidden;
}

.scratch-secret-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #FFFDF7 0%, #FAF1DF 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.secret-header-tag {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-dark);
  font-weight: 700;
}

.secret-date {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--maroon-royal);
  font-weight: 700;
  margin: 4px 0;
}

.secret-day {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--gold-dark);
}

.secret-badge-time {
  background: rgba(112, 18, 36, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--maroon-royal);
  font-weight: 600;
  margin: 10px 0;
}

.secret-lagnam-box {
  border-top: 1px dashed var(--gold-primary);
  padding-top: 8px;
  margin-top: 4px;
}

.lagnam-tag {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--maroon-royal);
  font-weight: 700;
}

.telugu-time-text {
  font-family: var(--font-telugu);
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-top: 2px;
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
  border-radius: 16px;
}


/* ==========================================================================
   7. WEDDING EVENTS
   ========================================================================== */
.events-section { padding: 32px 20px; }

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

@media (min-width: 680px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
}

.event-card {
  position: relative;
  background: var(--bg-ivory);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 32px 20px 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(74, 8, 21, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(74, 8, 21, 0.12);
}

.highlight-card {
  background: linear-gradient(160deg, #FFFDF7 0%, #FAF1DF 100%);
  border: 2px solid var(--gold-primary);
}

.card-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-primary);
  border-style: solid;
}
.corner-tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.corner-tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.event-icon-box {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
}

.event-icon-svg { width: 100%; height: 100%; }

.event-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--maroon-royal);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 12px auto 16px;
}

.event-day {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--gold-dark);
}

.event-date {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--maroon-royal);
  font-weight: 700;
  margin-bottom: 12px;
}

.event-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(112, 18, 36, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--maroon-royal);
  font-weight: 600;
}

.event-lagnam {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--gold-dark);
  margin-top: 10px;
  font-weight: 700;
}


/* ==========================================================================
   8. COUNTDOWN SECTION
   ========================================================================== */
.countdown-section {
  position: relative;
  padding: 40px 20px;
  background: var(--maroon-gradient);
  color: var(--gold-light);
  border-radius: 12px;
  margin: 10px 20px;
  overflow: hidden;
}

.mandala-bg-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  opacity: 0.08;
  animation: rotateMandala 60s linear infinite;
  pointer-events: none;
}

.countdown-section .section-title { color: var(--gold-light); }
.countdown-section .section-subtitle { color: rgba(252, 224, 116, 0.8); }

.timer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0;
}

.timer-box {
  background: rgba(26, 4, 8, 0.75);
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  padding: 14px 12px;
  min-width: 68px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

@media (min-width: 480px) {
  .timer-box { min-width: 90px; padding: 18px 16px; }
}

.timer-val {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

@media (min-width: 480px) { .timer-val { font-size: 2.4rem; } }

.timer-label {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  margin-top: 6px;
  display: block;
}

.timer-colon {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.wedding-day-message {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-light);
  text-align: center;
  margin-top: 16px;
}

.wedding-day-message.hidden { display: none; }


/* ==========================================================================
   9. VENUE SECTION
   ========================================================================== */
.venue-section { padding: 40px 20px; text-align: center; }

.mandapam-illustration-box {
  width: 240px;
  height: 150px;
  margin: 16px auto 24px;
}

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

.venue-details-card {
  background: var(--bg-ivory);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 28px 20px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.venue-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--maroon-royal);
  font-weight: 700;
  margin-bottom: 10px;
}

.venue-address {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.telugu-address {
  font-family: var(--font-telugu);
  font-size: 1rem;
  color: var(--maroon-royal);
  margin: 8px 0 24px;
  font-weight: 600;
}

.btn-venue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon-royal);
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(112, 18, 36, 0.25);
  transition: all 0.3s ease;
}

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


/* ==========================================================================
   10. FAMILY BLESSINGS SECTION
   ========================================================================== */
.family-section { padding: 32px 20px; }

.family-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (min-width: 600px) {
  .family-grid { grid-template-columns: 1fr 1fr; }
}

.family-card {
  position: relative;
  background: var(--bg-ivory);
  border: 1px dashed var(--gold-primary);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
}

.family-side-title {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.family-parents {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--maroon-royal);
  font-weight: 700;
  margin-bottom: 4px;
}

.family-lineage {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-muted);
}


/* ==========================================================================
   11. INVITATION MESSAGE SECTION
   ========================================================================== */
.message-section { padding: 32px 20px; text-align: center; }

.message-card {
  background: var(--card-bg-gradient);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 28px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.compliments-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

.compliments-names {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--maroon-royal);
  font-weight: 700;
  margin: 4px 0;
}

.telugu-compliments {
  font-family: var(--font-telugu);
  font-size: 1.15rem;
  color: var(--gold-dark);
  font-weight: 600;
}


/* ==========================================================================
   12. FINAL SCREEN & FOOTER
   ========================================================================== */
.final-section {
  padding: 50px 20px;
  background: var(--maroon-gradient);
  color: var(--gold-light);
  text-align: center;
  border-top: 3px solid var(--gold-primary);
}

.final-blessing-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.final-couple-names {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: #FFFDF9;
  margin-bottom: 6px;
}

.final-date {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.subhamastu {
  font-family: var(--font-telugu);
  font-size: 1.8rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  display: inline-block;
  margin-top: 16px;
}

.credits-text {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: rgba(252, 224, 116, 0.6);
  font-style: italic;
  margin-top: 24px;
}

/* REVEAL ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 390px) {
  .arch-couple-names { font-size: 2.8rem; }
  .family-invitation-heading { font-size: 2.4rem; }
  .section-couple-header { font-size: 2.4rem; }
  .timer-box { min-width: 58px; padding: 10px 8px; }
  .timer-val { font-size: 1.4rem; }
}
