/* ═══════════════════════════════════════════════════════════════════════
   SAVVY & MANISHA - ROYAL WEDDING E-INVITATION STYLESHEET
   Aesthetic: Deep Wine / Royal Burgundy & Champagne Gold Foil
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --wine-dark: #1f050c;
  --wine-deep: #320a16;
  --wine-rich: #4d1222;
  --wine-accent: #721c33;
  --wine-glow: rgba(114, 28, 51, 0.4);
  
  --gold-dark: #8c6827;
  --gold-primary: #c99f4a;
  --gold-soft: #e2c27e;
  --gold-light: #f7e6bd;
  --gold-shimmer: linear-gradient(135deg, #d4af37 0%, #fff2b2 50%, #b48840 100%);
  
  --paper-ivory: #fcf9f5;
  --paper-cream: #f6eee3;
  --paper-card: rgba(254, 250, 246, 0.96);
  
  --text-dark: #2a1117;
  --text-muted: #6b4c53;
  --text-gold: #c99f4a;
  --text-light: #fbf5ee;

  --font-royal: 'Cinzel', serif;
  --font-serif: 'Bellefair', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Tangerine', cursive;
  --font-clean: 'Jost', 'DM Sans', -apple-system, sans-serif;
  --font-devanagari: 'Noto Serif Devanagari', serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-gold: 0 10px 30px -5px rgba(201, 159, 74, 0.25);
  --shadow-wine: 0 16px 40px -10px rgba(31, 5, 12, 0.5);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--wine-dark);
}

body {
  font-family: var(--font-clean);
  color: var(--text-dark);
  background: radial-gradient(circle at 50% 20%, #3e0c1b 0%, #1a040a 80%, #120206 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.gate-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Floating Rose Petals & Hearts Canvas (Background & Foreground) */
#petals-canvas-bg,
#petals-canvas-fg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

#petals-canvas-bg {
  z-index: 10; /* Behind cards */
}

#petals-canvas-fg {
  z-index: 10001; /* In front of cards AND in front of envelope overlay! */
}

/* ═══════════════════════════════════════════════════════════════════════
   GATE / ENVELOPE OPENING OVERLAY
   ═══════════════════════════════════════════════════════════════════════ */
#gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at 50% 40%, #3a0a18 0%, #1a0309 85%, #0e0205 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#gate-overlay.gate-opened {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.envelope-stage {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.envelope-card {
  width: 100%;
  background: linear-gradient(145deg, #fdfbf7 0%, #f4eade 100%);
  border: 1px solid rgba(201, 159, 74, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.8rem 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(201, 159, 74, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.envelope-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 50px rgba(201, 159, 74, 0.3);
}

/* Gold Frame Inset Border */
.envelope-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 159, 74, 0.35);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.envelope-kicker {
  font-family: var(--font-royal);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
}

.guest-greeting-prefix {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.guest-name-display {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 8.5vw, 3.4rem);
  font-weight: 700;
  color: var(--wine-accent);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  text-shadow: 0 1px 2px rgba(77, 18, 34, 0.12);
}

.guest-name-display.guest-name-rsvp {
  font-family: inherit !important;
  font-size: 1.05em !important;
  font-weight: 700 !important;
  color: var(--wine-rich) !important;
  letter-spacing: normal !important;
  line-height: inherit !important;
  display: inline !important;
  margin: 0 !important;
  text-shadow: none !important;
  vertical-align: baseline !important;
}

.envelope-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.2rem 0 1.5rem;
}

.envelope-divider .line {
  height: 1px;
  width: 45px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.envelope-divider .diamond {
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  transform: rotate(45deg);
}

.envelope-invite-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.envelope-names {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--wine-accent);
  line-height: 1.15;
  margin: 0.2rem 0;
}

.envelope-date {
  font-family: var(--font-royal);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* Wax Seal Button */
.wax-seal-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.wax-seal-btn {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 18px rgba(77, 18, 34, 0.4));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wax-seal-btn:hover {
  transform: scale(1.08);
}

.wax-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wax-seal-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(201, 159, 74, 0.6);
  animation: sealPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sealPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.tap-hint {
  margin-top: 1.2rem;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--gold-soft);
  animation: pulseHint 2s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* ═══════════════════════════════════════════════════════════════════════
   FLOATING MUSIC CONTROLLER
   ═══════════════════════════════════════════════════════════════════════ */
#music-control {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 5, 12, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 159, 74, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 8px;
  color: var(--gold-light);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#music-control:hover {
  transform: scale(1.04);
  background: rgba(49, 10, 22, 0.88);
  border-color: var(--gold-primary);
}

.disc-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.disc-icon.playing {
  animation: spinDisc 3s linear infinite;
}

.disc-icon::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
}

@keyframes spinDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.music-label {
  font-family: var(--font-clean);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAIN WRAPPER & CONTAINER
   ═══════════════════════════════════════════════════════════════════════ */
.main-wrapper {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.2rem 4rem;
  position: relative;
  z-index: 20;
}

/* Standard Section Card Styling */
.invitation-section {
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 159, 74, 0.35);
  box-shadow: var(--shadow-wine), 0 0 30px rgba(201, 159, 74, 0.12);
  padding: 2.4rem 1.6rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.invitation-section::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 159, 74, 0.28);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   1. BLESSINGS & GANESHA SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.ganesha-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.2rem;
  cursor: pointer;
}

.ganesha-img {
  width: 76px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(201, 159, 74, 0.35));
  transition: transform 0.3s ease;
}

.ganesha-wrapper:hover .ganesha-img {
  transform: scale(1.06);
}

.ganesha-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 159, 74, 0.35) 0%, rgba(201, 159, 74, 0) 70%);
  animation: haloBreathe 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes haloBreathe {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15); }
}

.shloka-title {
  font-family: var(--font-devanagari);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--wine-rich);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.shloka-verse {
  font-family: var(--font-devanagari);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.section-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.2rem 0;
}

.section-flourish .f-line {
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.section-flourish svg {
  fill: var(--gold-primary);
  width: 14px;
  height: 14px;
}

.invite-intro-lead {
  font-family: var(--font-royal);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.invite-intro-sub {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   2. HERO COUPLE SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.couple-hero-names {
  margin: 0.6rem 0 1.2rem;
}

.groom-name, .bride-name {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 11vw, 4.2rem);
  color: var(--wine-accent);
  line-height: 1;
  display: block;
  text-shadow: 0 2px 4px rgba(77, 18, 34, 0.1);
}

.weds-badge {
  display: inline-block;
  font-family: var(--font-royal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin: 0.3rem 0;
  position: relative;
}

.wedding-hashtag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(201, 159, 74, 0.15) 0%, rgba(114, 28, 51, 0.1) 100%);
  border: 1px solid rgba(201, 159, 74, 0.5);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-family: var(--font-royal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--wine-rich);
  margin-bottom: 1.6rem;
}

/* Couple Photo Frame */
.photo-frame-container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 1.8rem;
  position: relative;
}

.photo-arch {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.9;
  border-radius: 160px 160px 24px 24px;
  overflow: hidden;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 15px 35px rgba(31, 5, 12, 0.35), 0 0 25px rgba(201, 159, 74, 0.25);
  background: var(--wine-dark);
}

.couple-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 23% 20%;
  transition: transform 0.5s ease;
}

.photo-frame-container:hover .couple-photo-img {
  transform: scale(1.04);
}

.photo-frame-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid var(--gold-primary);
  pointer-events: none;
}

/* Parents & Family Lineage Grid */
.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(201, 159, 74, 0.35);
}

.parent-card .parent-role {
  font-family: var(--font-royal);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

.parent-card .parent-names {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════════════════
   3. INTERACTIVE SCRATCH-OFF "SAVE THE DATE"
   ═══════════════════════════════════════════════════════════════════════ */
.scratch-card-section {
  position: relative;
}

.scratch-header {
  margin-bottom: 1.2rem;
}

.scratch-title {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--wine-accent);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.scratch-prompt {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.scratch-container {
  width: 100%;
  max-width: 400px;
  height: 180px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2), 0 8px 25px rgba(201, 159, 74, 0.2);
  user-select: none;
  -webkit-user-select: none;
}

/* Underneath Revealed Content */
.scratch-reveal-content {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, #fff7eb 0%, #fbe8cb 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  border: 2px dashed rgba(201, 159, 74, 0.7);
  border-radius: var(--radius-md);
}

.revealed-tag {
  font-family: var(--font-royal);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

.revealed-date {
  font-family: var(--font-royal);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wine-rich);
  line-height: 1.2;
}

.revealed-location {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-dark);
  margin-top: 0.3rem;
}

/* Scratch Foil Canvas Overlay */
#scratch-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
  z-index: 5;
  transition: opacity 0.5s ease;
}

.scratch-instructions {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. LIVE COUNTDOWN CLOCK
   ═══════════════════════════════════════════════════════════════════════ */
.countdown-header-tag {
  font-family: var(--font-royal);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.countdown-title {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--wine-accent);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 1.4rem;
}

.countdown-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7eee4 100%);
  border: 1px solid rgba(201, 159, 74, 0.4);
  border-radius: var(--radius-md);
  padding: 0.9rem 0.2rem 0.7rem;
  box-shadow: 0 4px 12px rgba(114, 28, 51, 0.08);
}

.countdown-value {
  font-family: var(--font-royal);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 700;
  color: var(--wine-rich);
  line-height: 1;
}

.countdown-unit {
  font-family: var(--font-royal);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 0.3rem;
  display: block;
}

.festive-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-royal);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine-accent);
  font-weight: 600;
}

.festive-slogan .sparkle {
  color: var(--gold-primary);
}

/* ═══════════════════════════════════════════════════════════════════════
   5. EVENTS ITINERARY SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.events-section-header {
  margin-bottom: 1.8rem;
}

.events-section-header .sub {
  font-family: var(--font-royal);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.events-section-header .title {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--wine-accent);
  line-height: 1.1;
  margin-top: 0.2rem;
}

.event-card {
  background: #ffffff;
  border: 1px solid rgba(201, 159, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 24px rgba(77, 18, 34, 0.06);
  text-align: left;
  position: relative;
}

.event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.event-num-pill {
  font-family: var(--font-royal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  background: rgba(201, 159, 74, 0.12);
  border: 1px solid rgba(201, 159, 74, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.event-title {
  font-family: var(--font-royal);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--wine-rich);
  line-height: 1.2;
}

.event-tagline {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.event-meta-row svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-dark);
  flex-shrink: 0;
}

.event-venue-box {
  background: var(--paper-ivory);
  border-left: 3px solid var(--gold-primary);
  padding: 0.8rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.2rem 0;
}

.venue-name {
  font-family: var(--font-royal);
  font-weight: 700;
  font-size: 1rem;
  color: var(--wine-rich);
}

.venue-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4d1222 0%, #300814 100%);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-clean);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(49, 10, 22, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(49, 10, 22, 0.5);
  color: #ffffff;
}

/* Timeline for Wedding Day */
.wedding-timeline-list {
  margin-top: 1.4rem;
  border-top: 1px dashed rgba(201, 159, 74, 0.35);
  padding-top: 1.2rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.1rem;
  position: relative;
}

.timeline-time-badge {
  min-width: 78px;
  background: rgba(201, 159, 74, 0.14);
  border: 1px solid rgba(201, 159, 74, 0.35);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  text-align: center;
  font-family: var(--font-clean);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wine-rich);
}

.timeline-details .t-title {
  font-family: var(--font-royal);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.timeline-details .t-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Card Artwork Thumbnail */
.card-preview-thumb {
  margin-top: 1.2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(201, 159, 74, 0.4);
  cursor: pointer;
  max-width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.card-preview-thumb:hover {
  transform: scale(1.02);
}

.card-preview-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. FAMILY BLESSINGS & GRATITUDE
   ═══════════════════════════════════════════════════════════════════════ */
.blessings-title {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--wine-accent);
  margin-bottom: 0.3rem;
}

.parivar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.4rem 0;
}

.parivar-card {
  background: var(--paper-ivory);
  border: 1px solid rgba(201, 159, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.8rem;
}

.parivar-hindi {
  font-family: var(--font-devanagari);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--wine-rich);
}

.parivar-eng {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.heartfelt-quote {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--text-dark);
  line-height: 1.65;
  max-width: 480px;
  margin: 1.4rem auto 0;
  padding: 0 1rem;
  border-left: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

/* ═══════════════════════════════════════════════════════════════════════
   7. RSVP QUICK-CONNECT SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.rsvp-kicker {
  font-family: var(--font-royal);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.rsvp-title {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  font-weight: 700;
  color: var(--wine-accent);
  line-height: 1.1;
  margin: 0.2rem 0 0.8rem;
}

.rsvp-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.rsvp-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(201, 159, 74, 0.35);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.8rem;
  text-align: center;
}

.contact-name {
  font-family: var(--font-royal);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-phone-display {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.action-btn:hover {
  transform: scale(1.1);
}

.action-btn.call-btn {
  background: var(--gold-primary);
  color: #ffffff;
}

.action-btn.wa-btn {
  background: #25d366;
  color: #ffffff;
}

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

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--gold-soft);
  position: relative;
  z-index: 20;
}

.footer-hashtag {
  font-family: var(--font-royal);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-crafted {
  font-size: 0.8rem;
  color: rgba(247, 230, 189, 0.7);
}

/* Lightbox Modal for Card Zoom */
#lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox-modal img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* Mobile Media Queries */
@media (max-width: 480px) {
  .envelope-card {
    padding: 2rem 1.2rem;
  }
  .parents-grid, .rsvp-contacts-grid, .parivar-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .invitation-section {
    padding: 2rem 1.2rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   FINALIZED TYPOGRAPHY: TANGERINE GRACE
   ═══════════════════════════════════════════════════════════════════════ */
body {
  --font-script: 'Tangerine', cursive;
  --font-serif: 'Bellefair', Georgia, serif;
  --font-royal: 'Cinzel', serif;
  --font-clean: 'Jost', sans-serif;
}

.groom-name,
.bride-name,
.envelope-names,
.guest-name-display,
.rsvp-title {
  font-family: 'Tangerine', cursive !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-size: clamp(4.4rem, 15vw, 5.8rem);
  line-height: 0.95;
}

.guest-name-display {
  font-size: clamp(3rem, 10vw, 4.2rem) !important;
}

.rsvp-title {
  font-size: clamp(3.2rem, 11vw, 4.4rem) !important;
}

