/**
 * Royal Wedding Invitation Website
 * Nisarga B K Weds Sharath B
 * Style: wedding-page.css (Full Wedding Webpage Design, Divine Hero Section, Events, Venue & RSVP)
 */

/* ========================================================
   FULL WEDDING WEBSITE WRAPPER & TRANSITION
   ======================================================== */
.wedding-website {
  width: 100%;
  position: relative;
  background-color: var(--bg-ivory);
  background-image: 
    radial-gradient(ellipse at 50% 20%, rgba(255, 250, 240, 0.95) 0%, rgba(245, 238, 226, 0.9) 60%, rgba(235, 224, 208, 0.98) 100%),
    url('../images/envelope-texture.png');
  background-size: auto, 380px;
  color: var(--text-dark);
  font-family: var(--font-elegant);
  opacity: 0;
  display: none;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
  z-index: 120;
}

.wedding-website.website-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   1. DIVINE HERO SECTION (LORD VENKATESWARA & PADMAVATHI)
   ======================================================== */
.divine-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 18px 50px 18px;
  text-align: center;
  overflow: hidden;
}

.divine-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(255, 238, 180, 0.45) 0%, rgba(245, 230, 200, 0.1) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 1;
}

.divine-invocation-header {
  position: relative;
  z-index: 10;
  margin-bottom: 24px;
}

.shloka-main {
  font-family: var(--font-kannada);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-primary);
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.shloka-sub {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

/* Majestic Temple Arch Frame for Hero Image */
.hero-image-frame-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  margin: 0 auto 30px auto;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(135deg, #ECC868 0%, #D4AF37 40%, #8C6B1B 80%, #ECC868 100%);
  box-shadow: 
    0 20px 50px rgba(45, 12, 18, 0.4),
    0 0 40px rgba(212, 175, 55, 0.35),
    inset 0 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-image-inner-wrapper {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1086 / 1448; /* Exact 3:4 aspect ratio of hero-divine.png */
  background: #25080E;
}

.hero-divine-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(1.02);
  transition: transform 0.8s ease;
}

.hero-image-frame-container:hover .hero-divine-image {
  transform: scale(1.02);
}

/* Temple Arch Overlay on Image */
.hero-temple-arch-overlay {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 235, 170, 0.5);
  border-radius: 14px;
  pointer-events: none;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.45);
}

/* Glowing Deepam Accents */
.hero-deepam-glow {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 24px;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 200, 80, 0.6) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

/* Hero Typography & Names */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 580px;
  margin: 0 auto;
}

.hero-wedding-tagline {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-couple-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
}

.hero-bride-name,
.hero-groom-name {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #7A1927 0%, #D4AF37 25%, #8E2034 50%, #D4AF37 75%, #7A1927 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 7s linear infinite;
  filter: drop-shadow(0 2px 3px rgba(140, 107, 27, 0.25));
  line-height: 1.15;
}

@keyframes goldShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-weds-symbol {
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-rich);
  margin: 2px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-weds-symbol::before,
.hero-weds-symbol::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-foil);
  opacity: 0.8;
}

.hero-date-highlight {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon-primary);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-date-highlight span {
  color: var(--gold-dark);
}

/* ========================================================
   LIVE WEDDING COUNTDOWN TIMER - ROYAL VELVET JEWEL BOXES
   ======================================================== */
.countdown-container {
  position: relative;
  z-index: 10;
  max-width: 460px;
  width: 100%;
  margin: 0 auto 36px auto;
  padding: 22px 18px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.94) 0%, rgba(248, 239, 222, 0.94) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 22px;
  box-shadow: 
    0 16px 40px rgba(60, 18, 24, 0.16),
    0 0 30px rgba(212, 175, 55, 0.28),
    inset 0 0 0 3px #FFFDF8,
    inset 0 0 0 5px rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.countdown-title {
  font-family: var(--font-kannada);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-primary);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

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

.countdown-box {
  background: linear-gradient(145deg, #4A0E18 0%, #2A050B 100%);
  border: 1.5px solid #E6C25B;
  border-radius: 14px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 
    inset 0 1px 2px rgba(255, 230, 160, 0.35),
    inset 0 -2px 6px rgba(0, 0, 0, 0.6),
    0 8px 18px rgba(40, 8, 14, 0.25);
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  animation: boxSheen 4.5s infinite;
}

@keyframes boxSheen {
  0%, 75% { left: -100%; }
  100% { left: 200%; }
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.5vw, 1.95rem);
  font-weight: 800;
  color: #FFF6D8;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE8A3 50%, #E5B842 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  line-height: 1;
  margin-bottom: 5px;
}

.countdown-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ECC771;
  text-transform: uppercase;
}

/* ========================================================
   2. SACRED UNION & WELCOME SECTION
   ======================================================== */
.wedding-section {
  position: relative;
  z-index: 10;
  max-width: 760px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  text-align: center;
}

.section-header {
  margin-bottom: 30px;
}

.section-kannada-subtitle {
  font-family: var(--font-kannada);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon-primary);
  margin-bottom: 4px;
}

.section-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dark);
  text-transform: uppercase;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 0 auto;
  max-width: 200px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: var(--gold-foil);
}

.section-divider-mandala {
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.union-message-card {
  background: rgba(255, 253, 248, 0.9);
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 14px 40px rgba(50, 15, 20, 0.08);
  font-family: var(--font-elegant);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #351C15;
}

.union-quote-sanskrit {
  font-family: var(--font-kannada);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon-primary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.union-quote-translation {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Degree Tag for Couple */
.degree-tag {
  font-family: var(--font-ui);
  font-size: 0.62em;
  font-weight: 700;
  color: var(--maroon-primary);
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-primary);
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 1px;
}

/* Traditional Vignapane Royal Parchment Scroll */
.traditional-vignapane-box {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(252, 247, 237, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 24px;
  padding: 34px 26px;
  margin-bottom: 28px;
  box-shadow: 
    0 18px 45px rgba(50, 15, 20, 0.12),
    0 0 35px rgba(212, 175, 55, 0.22),
    inset 0 0 0 4px #FFFDF8,
    inset 0 0 0 6px rgba(212, 175, 55, 0.5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Corner filigree accents on royal parchment */
.traditional-vignapane-box::before,
.traditional-vignapane-box::after {
  content: '⚜';
  position: absolute;
  font-size: 1.4rem;
  color: var(--gold-primary);
  opacity: 0.65;
  pointer-events: none;
}
.traditional-vignapane-box::before { top: 8px; left: 12px; }
.traditional-vignapane-box::after { top: 8px; right: 12px; }

.vignapane-header {
  font-family: var(--font-kannada);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.vignapane-icon {
  color: var(--gold-primary);
  font-size: 1rem;
}

.vignapane-shloka {
  font-family: var(--font-kannada);
  font-size: 1.05rem;
  line-height: 1.95;
  color: #381A20;
  margin-bottom: 22px;
  text-align: justify;
  text-justify: inter-word;
}

.vignapane-hosts {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.8);
}

.hosts-label {
  font-family: var(--font-kannada);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--maroon-primary);
  margin-bottom: 6px;
}

.hosts-names {
  font-family: var(--font-kannada);
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.hosts-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Family Lineage Grid */
.family-lineage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 26px;
}

@media screen and (min-width: 680px) {
  .family-lineage-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.family-branch-card {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(250, 245, 235, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 
    0 14px 40px rgba(50, 15, 20, 0.1),
    0 0 25px rgba(212, 175, 55, 0.16),
    inset 0 0 0 4px #FFFDF8,
    inset 0 0 0 6px rgba(212, 175, 55, 0.45);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.family-branch-card::before,
.family-branch-card::after {
  content: '✦';
  position: absolute;
  font-size: 0.75rem;
  color: var(--gold-primary);
  opacity: 0.7;
}
.family-branch-card::before { top: 10px; left: 12px; }
.family-branch-card::after { top: 10px; right: 12px; }

.branch-badge {
  background: linear-gradient(135deg, #821726 0%, #4D0914 100%);
  color: #FFF4D9;
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  padding: 7px 16px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 auto 18px auto;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(77, 9, 20, 0.28);
}

.branch-elders {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-family: var(--font-kannada);
  line-height: 1.55;
}

.elders-names {
  color: var(--maroon-primary);
  font-weight: 600;
  margin-top: 2px;
}

.branch-parents {
  margin-bottom: 16px;
}

.parents-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.parents-names {
  font-family: var(--font-kannada);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon-primary);
  margin: 5px 0 3px 0;
}

.parents-english {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.branch-child {
  font-family: var(--font-kannada);
  font-size: 1.08rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  color: #2D0A10;
}

.branch-place {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-family: var(--font-kannada);
}

/* ========================================================
   3. EVENT SCHEDULE & RITUALS (3 DISTINCT EVENTS)
   ======================================================== */
.events-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media screen and (min-width: 680px) {
  .events-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

.event-card {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(252, 247, 238, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 
    0 18px 45px rgba(45, 12, 18, 0.14),
    0 0 30px rgba(212, 175, 55, 0.18),
    inset 0 0 0 4px #FFFDF8,
    inset 0 0 0 6px rgba(212, 175, 55, 0.35);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(45, 12, 18, 0.22), 0 0 35px rgba(212, 175, 55, 0.35);
}

.event-card-header {
  background: linear-gradient(135deg, #7A1927 0%, #4D0914 100%);
  color: #FFF4D9;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.event-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-foil);
}

.event-icon-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-highlight);
}

.event-name-kannada {
  font-family: var(--font-kannada);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.event-name-english {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--gold-highlight);
  text-transform: uppercase;
}

.event-card-body {
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.event-datetime-pill {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 30px;
  padding: 8px 16px;
  margin: 0 auto 18px auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon-primary);
}

.event-timing {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.event-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.btn-add-calendar {
  width: 100%;
  padding: 12px 18px;
  background: #FFF;
  border: 1.5px solid var(--maroon-primary);
  border-radius: 30px;
  color: var(--maroon-primary);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-add-calendar:hover {
  background: var(--maroon-primary);
  color: #FFF3D6;
  box-shadow: 0 4px 15px rgba(107, 23, 36, 0.3);
}

/* ========================================================
   4. VENUE & LOCATION (ಸ್ಥಳ ಮತ್ತು ಮಾರ್ಗದರ್ಶನ)
   ======================================================== */
.venue-card {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(250, 244, 232, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: 
    0 18px 45px rgba(45, 12, 18, 0.14),
    0 0 30px rgba(212, 175, 55, 0.2),
    inset 0 0 0 4px #FFFDF8,
    inset 0 0 0 6px rgba(212, 175, 55, 0.4);
  text-align: center;
  position: relative;
}

.venue-card::before,
.venue-card::after {
  content: '⚜';
  position: absolute;
  font-size: 1.2rem;
  color: var(--gold-primary);
  opacity: 0.65;
  pointer-events: none;
}
.venue-card::before { top: 10px; left: 12px; }
.venue-card::after { top: 10px; right: 12px; }

.venue-icon-circle {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-primary);
  box-shadow: 0 4px 12px rgba(60, 16, 24, 0.1);
}

.venue-name-kannada {
  font-family: var(--font-kannada);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--maroon-primary);
  margin-bottom: 4px;
}

.venue-name-english {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.venue-address {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 20px auto;
}

.venue-address strong {
  color: var(--maroon-primary);
  font-weight: 700;
}

/* Interactive Map Preview */
.venue-map-embed {
  width: 100%;
  max-width: 520px;
  height: 240px;
  margin: 0 auto 24px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 
    0 12px 28px rgba(50, 15, 20, 0.15),
    inset 0 0 10px rgba(0, 0, 0, 0.1);
  background: #F5EFEB;
}

.venue-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.venue-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.btn-map-primary {
  padding: 13px 24px;
  background: linear-gradient(135deg, #7A1927 0%, #450912 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 30px;
  color: #FFF4D9;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(77, 9, 20, 0.3);
  transition: all 0.25s ease;
}

.btn-map-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(77, 9, 20, 0.45);
}

/* ========================================================
   5. RSVP & BLESSINGS WALL (ಹಾರೈಕೆಗಳು ಮತ್ತು ಆಶೀರ್ವಾದ)
   ======================================================== */
.rsvp-card {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(250, 245, 235, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: 
    0 18px 45px rgba(50, 15, 20, 0.12),
    0 0 30px rgba(212, 175, 55, 0.16),
    inset 0 0 0 4px #FFFDF8,
    inset 0 0 0 6px rgba(212, 175, 55, 0.4);
  text-align: left;
  margin-bottom: 32px;
  position: relative;
}

.rsvp-form-group {
  margin-bottom: 18px;
}

.rsvp-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--maroon-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rsvp-input,
.rsvp-select,
.rsvp-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 252, 246, 0.9);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 12px;
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rsvp-input:focus,
.rsvp-select:focus,
.rsvp-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  background: #FFF;
}

.rsvp-textarea {
  resize: vertical;
  min-height: 85px;
}

.btn-submit-blessing {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #7A1927 0%, #450912 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 30px;
  color: #FFF4D9;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(77, 9, 20, 0.35);
  transition: all 0.3s ease;
}

.btn-submit-blessing:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(77, 9, 20, 0.45);
}

/* Guest Blessings Stream */
.blessings-wall-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.blessing-bubble {
  background: rgba(255, 252, 246, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(45, 12, 18, 0.05);
}

.blessing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.blessing-author {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-primary);
}

.blessing-time {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.blessing-text {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-dark);
}

/* ========================================================
   6. ROYAL HOSPITALITY FOOTER
   ======================================================== */
.royal-wedding-footer {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, #25080E 60%, #150307 100%);
  color: #FFF4D9;
  padding: 80px 20px 90px 20px;
  text-align: center;
  z-index: 10;
}

.footer-monogram {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 12px;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.footer-couple-names {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #FFFDF8;
}

.footer-kannada-blessing {
  font-family: var(--font-kannada);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.footer-family-invitation {
  font-size: 1.05rem;
  color: #D5C2B4;
  max-width: 440px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.footer-reopen-envelope-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--gold-primary);
  border-radius: 30px;
  padding: 12px 28px;
  color: #FFF4D9;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.footer-reopen-envelope-btn:hover {
  background: var(--gold-primary);
  color: #25080E;
}

/* ========================================================
   7. FLOATING CELEBRATION WIDGET (🌸 ಪುಷ್ಪವೃಷ್ಟಿ)
   ======================================================== */
.floating-celebration-widget {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 995;
  pointer-events: auto;
}

.btn-flower-shower {
  background: linear-gradient(135deg, #871424 0%, #4D0713 60%, #871424 100%);
  border: 2px solid #E6C25B;
  border-radius: 50px;
  padding: 11px 18px 11px 15px;
  color: #FFF8E6;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 
    0 10px 28px rgba(60, 10, 18, 0.4),
    0 0 20px rgba(230, 194, 91, 0.35);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: visible;
}

.btn-flower-shower:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 
    0 14px 35px rgba(60, 10, 18, 0.5),
    0 0 30px rgba(230, 194, 91, 0.55);
}

.btn-flower-shower:active,
.btn-flower-shower.flower-shower-bursting {
  transform: scale(0.93);
}

.flower-icon-spin {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-block;
  animation: gentleFlowerRock 3s ease-in-out infinite;
}

@keyframes gentleFlowerRock {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  50% { transform: rotate(10deg) scale(1.15); }
}

.flower-btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.flower-btn-label .kn-text {
  font-family: var(--font-kannada);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFE6A3;
  letter-spacing: 0.5px;
}

.flower-btn-label .en-text {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #FFFDF8;
  text-transform: uppercase;
}

.flower-pulse-wave {
  position: absolute;
  inset: -6px;
  border-radius: 54px;
  border: 1.5px solid rgba(230, 194, 91, 0.6);
  pointer-events: none;
  animation: pulseBeacon 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); opacity: 1; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* Authentic Flickering Diya Flame */
.diya-flame-flicker {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  animation: diyaFlame 2.2s infinite ease-in-out;
  vertical-align: middle;
}

@keyframes diyaFlame {
  0%, 100% {
    transform: scale(1) rotate(-1deg);
    filter: drop-shadow(0 0 6px #FFA500) drop-shadow(0 0 14px #FFD700);
  }
  50% {
    transform: scale(1.08, 0.94) rotate(2deg);
    filter: drop-shadow(0 0 10px #FF4500) drop-shadow(0 0 20px #FFAA00);
  }
}

.vignapane-royal-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
}

.crest-mantra {
  font-family: var(--font-kannada);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
}

/* ========================================================
   8. ROYAL BLESSINGS & WISHES POPUP MODAL (10-SEC POPUP)
   ======================================================== */
.blessings-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.blessings-popup-modal.popup-active {
  opacity: 1;
  pointer-events: auto;
}

.blessings-popup-modal.hidden {
  display: none !important;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(45, 10, 18, 0.82) 0%, rgba(20, 3, 7, 0.94) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.popup-card-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 440px;
  transform: scale(0.88) translateY(20px);
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blessings-popup-modal.popup-active .popup-card-wrapper {
  transform: scale(1) translateY(0);
}

.popup-royal-card {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.99) 0%, rgba(250, 244, 232, 0.99) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 24px;
  padding: 34px 22px 24px 22px;
  box-shadow: 
    0 25px 65px rgba(35, 7, 13, 0.55),
    0 0 45px rgba(212, 175, 55, 0.38),
    inset 0 0 0 4px #FFFDF8,
    inset 0 0 0 6px rgba(212, 175, 55, 0.45);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.popup-filigree-tl,
.popup-filigree-tr {
  position: absolute;
  font-size: 1.35rem;
  color: var(--gold-primary);
  opacity: 0.65;
  pointer-events: none;
}
.popup-filigree-tl { top: 10px; left: 14px; }
.popup-filigree-tr { top: 10px; right: 52px; }

.btn-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid var(--gold-primary);
  color: var(--maroon-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.btn-popup-close:hover {
  background: var(--maroon-primary);
  color: #FFF4D9;
  transform: rotate(90deg) scale(1.08);
}

.popup-header {
  margin-bottom: 20px;
}

.popup-diya-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.popup-kannada-subtitle {
  font-family: var(--font-kannada);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-primary);
  letter-spacing: 0.5px;
}

.popup-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--text-dark);
  text-transform: uppercase;
}

.popup-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 0 auto;
  max-width: 180px;
}

.popup-divider-line {
  flex: 1;
  height: 1px;
  background: var(--gold-foil);
}

.popup-divider-mandala {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.popup-form {
  text-align: left;
}

.popup-submit-btn {
  margin-top: 6px;
}

.popup-footer-shloka {
  font-family: var(--font-kannada);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: 18px;
  letter-spacing: 0.8px;
}

.btn-open-blessings-popup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #7A1927 0%, #450912 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 30px;
  color: #FFF4D9;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(77, 9, 20, 0.35);
  transition: all 0.25s ease;
  margin: 0 auto 24px auto;
}

.btn-open-blessings-popup:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(77, 9, 20, 0.45);
}
