/* ==========================================================================
   💍 ROYAL INDIAN WEDDING INVITATION
   Palette:
   - Royal Sindoori Maroon Backdrop: #580D17 / #37050C
   - Warm Bridal Ivory / Chandan Paper: #FCF8F0
   - Palace Jharokha Arch Ivory: #FAF3E8
   - Deep Charcoal Typography: #2C2520
   - Muted Sage Green: #7A8B74
   - Brushed Antique Gold: #A8824B / #D4AF6A
   - Sacred Crimson / Kumkum: #7B111E / #AF1E2D
   - Auspicious Marigold: #EB7814 / #F5C323
   Fonts: 'Cormorant Garamond', 'Montserrat' & 'Noto Serif Devanagari'
   ========================================================================== */

:root {
  --color-bg-royal: #580D17;
  --color-bg-royal-deep: #37050C;
  --color-paper: #FCF8F0;
  --color-doors: #4E0A14;
  --color-charcoal: #2C2520;
  --color-charcoal-muted: #5A514B;
  --color-sage: #7A8B74;
  --color-sage-light: #EBF0E9;
  --color-gold: #A8824B;
  --color-gold-bright: #D4AF6A;
  --color-gold-light: #DFD1BE;
  --color-gold-border: rgba(168, 130, 75, 0.42);
  --color-maroon: #7B111E;
  --color-crimson: #AF1E2D;
  --color-marigold: #EB7814;
  --color-marigold-gold: #F5C323;

  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-devanagari: 'Noto Serif Devanagari', 'Cormorant Garamond', serif;

  --ease-doors: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-card: 0 28px 60px -12px rgba(20, 2, 5, 0.55), 0 0 0 1px rgba(212, 175, 106, 0.45);
}

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

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

body {
  background-color: var(--color-bg-royal);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(ellipse at 50% 18%, rgba(212, 175, 106, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(168, 130, 75, 0.1) 0%, transparent 45%),
    radial-gradient(rgba(212, 175, 106, 0.09) 1px, transparent 1px),
    linear-gradient(170deg, #68101C 0%, #520B15 52%, #35040B 100%);
  background-size: 100% 100%, 100% 100%, 26px 26px, 100% 100%;
}

/* --------------------------------------------------------------------------
   🌸 AMBIENT FLOATING ROSE & MARIGOLD PETALS (Pushpa Vrishti)
   -------------------------------------------------------------------------- */
.petal-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -30px;
  border-radius: 150% 0 150% 0;
  pointer-events: none;
  opacity: 0.7;
  animation: fallPetal linear infinite;
}

.petal-rose {
  background: radial-gradient(circle at 30% 30%, #F472B6, #BE185D);
  box-shadow: 0 2px 4px rgba(190, 24, 93, 0.2);
}

.petal-marigold {
  background: radial-gradient(circle at 30% 30%, #FBBF24, #D97706);
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.2);
}

.petal-jasmine {
  background: radial-gradient(circle at 30% 30%, #FFFFFF, #FAF7F2);
  border: 1px solid rgba(182, 149, 108, 0.3);
}

@keyframes fallPetal {
  0% {
    transform: translateY(-20px) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(105vh) rotate(360deg) scale(1.1);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   🚪 TWO-PANEL SLIDING COVER DOORS
   -------------------------------------------------------------------------- */
.doors-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 1000;
  display: flex;
  pointer-events: auto;
  overflow: hidden;
  transition: visibility 0s 1.5s;
}

.doors-overlay.opened {
  pointer-events: none;
  visibility: hidden;
}

.door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background-color: var(--color-doors);
  background-image:
    radial-gradient(ellipse at 50% 35%, rgba(212, 175, 106, 0.14) 0%, transparent 65%),
    radial-gradient(rgba(212, 175, 106, 0.13) 1.1px, transparent 1.1px),
    linear-gradient(165deg, #68101C 0%, #4D0A13 55%, #34040B 100%);
  background-size: 100% 100%, 24px 24px, 100% 100%;
  box-shadow: inset 0 0 110px rgba(20, 2, 5, 0.45);
  transition: transform 1.4s var(--ease-doors);
  will-change: transform;
  overflow: hidden;
}

.door-left {
  left: 0;
  transform: translateX(0);
}

.door-right {
  right: 0;
  transform: translateX(0);
}

.doors-overlay.opened .door-left {
  transform: translateX(-100%);
}

.doors-overlay.opened .door-right {
  transform: translateX(100%);
}

/* Door Outer Royal Gold Borders */
.door-inner-border {
  position: absolute;
  inset: 16px;
  border: 1.5px solid rgba(212, 175, 106, 0.5);
  pointer-events: none;
  z-index: 4;
}

.door-left .door-inner-border {
  border-right: none;
}

.door-right .door-inner-border {
  border-left: none;
}

/* Central Rajasthani Palace Jharokha Arch (frames couple on warm ivory) */
.door-jharokha {
  position: absolute;
  top: 56px;
  bottom: 18px;
  width: min(320px, 94%);
  pointer-events: none;
  z-index: 5;
}

.door-jharokha svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 10px 28px rgba(20, 2, 5, 0.35));
}

.door-jharokha-left {
  right: 0;
}

.door-jharokha-right {
  left: 0;
}

/* Center Meeting Seam Gold Trim */
.door-edge-gold {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: linear-gradient(180deg, transparent 0%, var(--color-gold-bright) 15%, #F5C323 50%, var(--color-gold-bright) 85%, transparent 100%);
  opacity: 0.92;
  z-index: 15;
}

.door-edge-left {
  right: 0;
}

.door-edge-right {
  left: 0;
}

/* --------------------------------------------------------------------------
   Top Traditional Floral Toran on Cover Doors
   -------------------------------------------------------------------------- */
.door-toran {
  position: absolute;
  top: 0;
  width: 100%;
  height: 70px;
  pointer-events: none;
  z-index: 12;
}

.door-toran svg {
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 4px 8px rgba(44, 37, 32, 0.1));
}

.door-toran-left {
  left: 0;
}

.door-toran-right {
  right: 0;
}

/* Door Sanskrit Shloka Banners */
.door-shloka-banner {
  position: absolute;
  top: 96px;
  width: 100%;
  text-align: center;
  z-index: 11;
  pointer-events: none;
}

.door-shloka-left {
  right: 16px;
}

.door-shloka-right {
  left: 16px;
}

.shloka-text {
  font-family: var(--font-devanagari);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  background: linear-gradient(90deg, #9C7844, #C49A58, #9C7844);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Couple Illustration Split (inner edges)
   -------------------------------------------------------------------------- */
.couple-side {
  position: absolute;
  bottom: 6%;
  width: 210px;
  max-width: 48vw;
  height: min(420px, 52vh);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 10;
}

.couple-left-wrapper {
  right: 0;
  justify-content: flex-end;
}

.couple-right-wrapper {
  left: 0;
  justify-content: flex-start;
}

.couple-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(44, 37, 32, 0.16));
}

.couple-left-wrapper .couple-img {
  object-position: right bottom;
}

.couple-right-wrapper .couple-img {
  object-position: left bottom;
}

.couple-svg-fallback {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 18px rgba(44, 37, 32, 0.12));
}

/* --------------------------------------------------------------------------
   Centered Royal Tap Badge (Mandala Wax-Seal)
   -------------------------------------------------------------------------- */
.tap-open-btn {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1100;
  background: var(--color-paper);
  border: 1.5px solid var(--color-gold);
  border-radius: 9999px;
  padding: 13px 28px;
  cursor: pointer;
  box-shadow: 
    0 12px 32px rgba(32, 4, 8, 0.25),
    0 0 0 5px rgba(252, 248, 240, 0.94),
    0 0 0 7px rgba(212, 175, 106, 0.58);
  transition: transform 0.4s ease, opacity 0.5s ease;
  animation: breathingPulse 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.tap-open-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.doors-overlay.opened .tap-open-btn {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  pointer-events: none;
}

@keyframes breathingPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 
      0 12px 30px rgba(32, 4, 8, 0.22),
      0 0 0 5px rgba(252, 248, 240, 0.92),
      0 0 0 7px rgba(212, 175, 106, 0.52);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 
      0 18px 38px rgba(32, 4, 8, 0.3),
      0 0 0 6px rgba(252, 248, 240, 0.96),
      0 0 0 9px rgba(212, 175, 106, 0.72);
  }
}

.badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.badge-sacred-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-kalash-svg {
  width: 100%;
  height: 100%;
}

.badge-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  text-transform: uppercase;
}

.badge-subtext {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-maroon);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   💌 INSIDE STATIONERY CARD CONTAINER
   -------------------------------------------------------------------------- */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 16px 80px 16px;
  position: relative;
  z-index: 10;
}

.stationery-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--color-paper);
  background-image: linear-gradient(180deg, #FDFBF6 0%, #FAF3E6 100%);
  border: 1.5px solid rgba(212, 175, 106, 0.65);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  padding: 38px 26px 48px 26px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s ease 0.4s, transform 1.2s ease 0.4s;
}

/* When doors open, reveal card */
body.invite-revealed .stationery-card {
  opacity: 1;
  transform: translateY(0);
}

/* Card inner subtle frame line */
.stationery-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(182, 149, 108, 0.25);
  border-radius: 6px;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   🌿 BOTANICAL CORNER ARTWORK & SLOW SWAY ANIMATION
   -------------------------------------------------------------------------- */
.botanical-corner {
  position: absolute;
  width: 76px;
  height: 76px;
  pointer-events: none;
  z-index: 5;
  transform-origin: center center;
  animation: botanicalSway 6s ease-in-out infinite;
  opacity: 0.88;
}

.botanical-tl {
  top: 8px;
  left: 8px;
  transform-origin: top left;
}

.botanical-tr {
  top: 8px;
  right: 8px;
  transform-origin: top right;
  animation-delay: -3s;
}

.botanical-bl {
  bottom: 8px;
  left: 8px;
  transform-origin: bottom left;
  animation-delay: -1.5s;
}

.botanical-br {
  bottom: 8px;
  right: 8px;
  transform-origin: bottom right;
  animation-delay: -4.5s;
}

@keyframes botanicalSway {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.02);
  }
}

/* --------------------------------------------------------------------------
   Card Tab Navigation
   -------------------------------------------------------------------------- */
.card-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px auto 30px auto;
  max-width: 280px;
  position: relative;
  z-index: 10;
}

.tab-link {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-charcoal-muted);
  cursor: pointer;
  padding: 4px 6px;
  position: relative;
  transition: color 0.3s ease;
}

.tab-link:hover, .tab-link.active {
  color: var(--color-maroon);
}

.tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background-color: var(--color-gold);
}

.tab-divider {
  font-size: 0.5rem;
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   Sections Layout & Flow
   -------------------------------------------------------------------------- */
.sections-container {
  display: flex;
  flex-direction: column;
  gap: 56px;
  position: relative;
  z-index: 6;
}

.card-section {
  text-align: center;
  position: relative;
  padding-top: 6px;
}

/* Section Header styling */
.section-header {
  margin-bottom: 22px;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 0.04em;
}

/* Gold filigree divider */
.gold-filigree-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto;
  width: 65%;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-border), transparent);
}

.divider-motif {
  font-size: 0.72rem;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: 0.2em;
}

/* --------------------------------------------------------------------------
   1. MAIN INVITATION SECTION (Jain Prateek Chihna Emblem)
   -------------------------------------------------------------------------- */
.sacred-emblem-wrapper {
  width: 92px;
  height: 118px;
  margin: 0 auto 14px auto;
}

.sacred-emblem-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sanskrit-shloka {
  font-family: var(--font-devanagari);
  font-size: 0.8rem;
  color: var(--color-gold);
  line-height: 1.6;
  margin-bottom: 18px;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.blessing-line {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-charcoal-muted);
  line-height: 1.65;
  margin: 0 auto 12px auto;
  max-width: 330px;
}

.invite-wording {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.couple-names {
  font-family: var(--font-serif);
  font-size: 2.55rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-charcoal);
  letter-spacing: 0.02em;
  margin: 8px 0 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.person-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.name-groom,
.name-bride {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.22em;
  line-height: 1.1;
}

.name-honorific {
  font-size: 0.56em;
  font-weight: 500;
  font-style: italic;
  color: var(--color-gold);
  letter-spacing: 0.03em;
}

.parentage-line {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: var(--color-charcoal-muted);
  max-width: 340px;
}

.name-separator {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--color-maroon);
  margin: 2px 0;
}

.date-badge {
  margin: 18px auto;
  padding: 14px 24px;
  border-top: 1px solid var(--color-gold-border);
  border-bottom: 1px solid var(--color-gold-border);
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

.date-day-name {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 2px;
}

.date-number {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1;
  margin: 2px 0;
}

.date-month-year {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.muhurtham-tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-maroon);
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.venue-short {
  margin-top: 16px;
}

.venue-name-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: 0.03em;
}

.venue-city {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color-charcoal-muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.scroll-down-hint {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.hint-text {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage);
}

.down-arrow-icon {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  animation: bounceDown 2s ease-in-out infinite;
}

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

/* --------------------------------------------------------------------------
   2. EVENTS SCHEDULE TIMELINE (Ceremonies)
   -------------------------------------------------------------------------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: left;
  position: relative;
  padding-left: 24px;
}

/* Vertical line connecting ceremonies */
.timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 24px;
  left: 37px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-maroon) 50%, var(--color-gold-border) 100%);
  opacity: 0.4;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.timeline-node {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background-color: var(--color-paper);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(44, 37, 32, 0.08);
}

.ceremony-icon {
  width: 16px;
  height: 16px;
}

.haldi-node {
  border-color: #F5C323;
}

.vivah-node {
  border-color: var(--color-maroon);
  background-color: #FFF8F6;
}

.reception-node {
  border-color: var(--color-sage);
}

.timeline-content {
  flex: 1;
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 3px;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.3;
  margin-bottom: 4px;
}

.event-desc {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--color-charcoal-muted);
  line-height: 1.55;
  margin-bottom: 6px;
}

.event-meta {
  display: inline-block;
  padding: 4px 8px;
  background-color: var(--color-sage-light);
  border-radius: 4px;
  border: 1px solid rgba(122, 139, 116, 0.2);
}

.meta-tag {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  color: var(--color-charcoal-muted);
  letter-spacing: 0.04em;
}

.meta-label {
  color: var(--color-sage);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   3. VENUE & LOCATION SECTION
   -------------------------------------------------------------------------- */
.venue-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  border-radius: 6px;
  padding: 26px 20px;
  box-shadow: 0 8px 24px rgba(44, 37, 32, 0.06);
  margin-bottom: 28px;
}

.venue-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: var(--color-sage-light);
  border: 1px solid rgba(122, 139, 116, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  color: var(--color-sage);
}

.venue-pin-icon {
  width: 20px;
  height: 20px;
}

.venue-estate-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.venue-street-address {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--color-charcoal-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.venue-notes {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--color-sage);
  font-style: italic;
  margin-bottom: 18px;
  border-top: 1px dashed var(--color-gold-border);
  padding-top: 10px;
}

/* Google Maps Subtle Button */
.maps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-charcoal);
  color: var(--color-paper);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 14px rgba(44, 37, 32, 0.16);
  transition: all 0.3s ease;
}

.maps-btn:hover {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(128, 20, 25, 0.35);
}

.external-arrow-icon {
  width: 14px;
  height: 14px;
}

.closing-blessing {
  margin-top: 24px;
  padding-top: 16px;
}

.blessing-shloka {
  font-family: var(--font-devanagari);
  font-size: 0.8rem;
  color: var(--color-gold);
  line-height: 1.6;
  margin-bottom: 14px;
  font-weight: 600;
}

.blessing-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-charcoal-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.blessing-signoff {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-charcoal);
}

.compliments-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 6px;
}

.blessing-signoff strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--color-maroon);
}

/* --------------------------------------------------------------------------
   🔈 FLOATING AUDIO TOGGLE (Bottom Right)
   -------------------------------------------------------------------------- */
.audio-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: var(--color-paper);
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 6px 20px rgba(44, 37, 32, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
  outline: none;
}

.audio-toggle-btn:hover {
  transform: scale(1.08);
  background-color: #FFFFFF;
}

.audio-toggle-btn:active {
  transform: scale(0.95);
}

/* Equalizer Animated Soundbars */
.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.bar {
  width: 2.2px;
  background-color: var(--color-gold);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

/* When playing: animated heights */
.audio-toggle-btn.playing .bar-1 {
  animation: soundBarDance 1s ease-in-out infinite alternate;
}
.audio-toggle-btn.playing .bar-2 {
  animation: soundBarDance 0.8s ease-in-out 0.2s infinite alternate;
}
.audio-toggle-btn.playing .bar-3 {
  animation: soundBarDance 1.2s ease-in-out 0.4s infinite alternate;
}

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

/* Mute Slash Icon: shown when paused */
.mute-slash-icon {
  position: absolute;
  width: 24px;
  height: 24px;
  color: var(--color-charcoal-muted);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.audio-toggle-btn.playing .mute-slash-icon {
  display: none;
}

/* --------------------------------------------------------------------------
   Mobile Viewport Refinements (< 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .page-wrapper {
    padding: 16px 8px 70px 8px;
  }

  .stationery-card {
    padding: 28px 14px 36px 14px;
    border-radius: 6px;
    max-width: 100%;
  }

  .door-toran {
    height: 50px;
  }

  .door-jharokha {
    top: 46px;
    bottom: 10px;
    width: 98%;
  }

  .couple-side {
    width: 44vw;
    max-width: 175px;
    height: 46vh;
    max-height: 360px;
    bottom: 3%;
  }

  .couple-names {
    font-size: 2.05rem;
  }

  .parentage-line {
    font-size: 0.63rem;
    max-width: 295px;
  }

  .name-separator {
    font-size: 1.3rem;
  }

  .date-number {
    font-size: 2.4rem;
  }

  .botanical-corner {
    width: 50px;
    height: 50px;
    top: 4px;
  }
  .botanical-tl { left: 4px; }
  .botanical-tr { right: 4px; }
  .botanical-bl { bottom: 4px; left: 4px; }
  .botanical-br { bottom: 4px; right: 4px; }

  .card-tabs {
    margin: 4px auto 22px auto;
    gap: 6px;
  }

  .tab-link {
    font-size: 0.6rem;
    padding: 5px 10px;
  }

  .tap-open-btn {
    padding: 10px 20px;
    top: 26%;
  }

  .badge-text {
    font-size: 1rem;
  }

  .badge-subtext {
    font-size: 0.6rem;
  }

  .badge-sacred-icon {
    width: 24px;
    height: 24px;
  }

  .sacred-emblem-wrapper {
    width: 80px;
    height: 102px;
  }

  .blessing-line {
    font-size: 0.68rem;
  }

  .invite-wording {
    font-size: 0.82rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .timeline-content {
    padding-left: 12px;
  }

  .event-title {
    font-size: 1rem;
  }

  .event-desc {
    font-size: 0.72rem;
  }

  .venue-street-address {
    font-size: 0.75rem;
  }

  .audio-toggle-btn {
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
}
