/* ==========================================================================
   ROYAL NIKAH — Grand Islamic Palace & Velvet Invitation
   AAA-Grade Luxury Wedding Portal Stylesheet
   Pure Vanilla CSS3 & Hardware-Accelerated 60FPS Compositing
   Full-Screen Responsive (Desktop & Mobile)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cinzel+Decorative:wght@600;700;900&family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,600;1,700&display=swap');

:root {
  /* Royal Palette: Velvet Burgundy, Emerald Palace, Obsidian & 24K Gold */
  --color-obsidian: #0A080A;
  --color-emerald-deep: #0A291E;
  --color-emerald-mid: #103B2C;
  --color-emerald-light: #164634;
  --color-burgundy-deep: #3A050D;
  --color-burgundy-rich: #58111A;
  --color-burgundy-velvet: #721622;
  --color-velvet-shadow: #1A0105;
  --color-gold-foil: #D4AF37;
  --color-gold-light: #F7E7B4;
  --color-gold-bright: #FFF8E7;
  --color-gold-dark: #8C6A15;
  --color-parchment: #FDFBF7;
  --color-parchment-border: #E8D8C4;
  --color-text-light: #FAF4EB;
  --color-text-gold: #ECC77D;

  /* Typography Fonts */
  --font-serif-royal: 'Cinzel Decorative', 'Cinzel', serif;
  --font-serif-classic: 'Cinzel', serif;
  --font-script-luxury: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-arabic-sacred: 'Amiri', 'Scheherazade New', serif;
  --font-sans-clean: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body-elegant: 'Cormorant Garamond', Georgia, serif;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-obsidian);
  color: var(--color-text-light);
  font-family: var(--font-body-elegant);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Palace Backdrop Glow (Hardware Accelerated) */
.ambient-palace-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 15%, rgba(22, 70, 52, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 15% 50%, rgba(88, 17, 26, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 85% 50%, rgba(88, 17, 26, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(10, 41, 30, 0.5) 0%, transparent 65%),
    #0A080A;
}

/* Floating Audio Controller */
.floating-audio-bar {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
}

.audio-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10, 8, 10, 0.85);
  border: 1.5px solid var(--color-gold-foil);
  border-radius: 30px;
  color: var(--color-gold-light);
  font-family: var(--font-serif-classic);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.audio-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.8), 0 0 18px rgba(212, 175, 55, 0.5);
}

.sound-bars {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 13px;
}

.sound-bar {
  width: 2.5px;
  background: var(--color-gold-foil);
  border-radius: 2px;
  animation: barBounce 1s infinite ease-in-out alternate;
}

.sound-bar:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.sound-bar:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.sound-bar:nth-child(3) { height: 7px; animation-delay: 0.2s; }
.sound-bar:nth-child(4) { height: 13px; animation-delay: 0.4s; }

.is-muted .sound-bar {
  animation: none !important;
  height: 3px !important;
  opacity: 0.4;
}

@keyframes barBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Hardware-Accelerated Petals & Golden Bokeh Canvas */
#petalCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

/* ==========================================================================
   PALACE WEBSITE CONTAINER (Responsive Full Screen Desktop & Fluid Mobile)
   ========================================================================== */
.palace-website-container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  background-color: var(--color-obsidian);
  min-height: 100vh;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 175, 55, 0.15);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  border-right: 1px solid rgba(212, 175, 55, 0.25);
  z-index: 20;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .palace-website-container {
    max-width: 100%;
    border-left: none;
    border-right: none;
  }
}

.website-section {
  position: relative;
  width: 100%;
  padding: 60px 24px;
}

@media (min-width: 1024px) {
  .website-section {
    padding: 80px 48px;
  }
}

/* ==========================================================================
   LIVE SCROLL REVEAL ANIMATIONS (Live Website Mode Only)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.85s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Section Dividers with Gold Emblem */
.section-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0 30px;
}

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

.divider-emblem {
  color: var(--color-gold-foil);
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* ==========================================================================
   SECTION 1: HERO — SACRED INVOCATION & HANDS UNION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, #184D39 0%, #0A291E 50%, #051811 100%);
  padding: 60px 24px 35px;
  border-bottom: 2px solid var(--color-gold-foil);
}

.hero-bismillah-emblem {
  width: 160px;
  height: 160px;
  margin: 10px auto;
  filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.5));
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

@media (min-width: 1024px) {
  .hero-bismillah-emblem {
    width: 200px;
    height: 200px;
  }
}

.svg-medallion-img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-typography {
  margin: 12px 0;
}

.script-gold-title {
  font-family: var(--font-script-luxury);
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.1;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 30%, #D4AF37 70%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.9));
}

.script-gold-sub {
  font-family: var(--font-script-luxury);
  font-size: clamp(22px, 3.5vw, 32px);
  color: #F7E7B4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  margin-top: 4px;
}

.hero-hands-frame {
  width: 100%;
  max-width: 440px;
  margin: 20px auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9));
}

@media (min-width: 1024px) {
  .hero-hands-frame {
    max-width: 560px;
  }
}

.svg-hands-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-verse-box {
  max-width: 540px;
  margin: 15px auto 0;
  padding: 18px 24px;
  background: rgba(10, 41, 30, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.sacred-ayah-text {
  font-family: var(--font-body-elegant);
  font-size: 15px;
  font-style: italic;
  color: #FFFDF9;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.sacred-ayah-ref {
  font-family: var(--font-serif-classic);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-gold-foil);
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
  font-weight: 600;
}

.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif-classic);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
  animation: pulseGlow 2.5s infinite;
  margin-top: 25px;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(5px); }
}

/* ==========================================================================
   SECTION 2: 3D ROYAL VELVET INVITATION BOX & ARMED CARD REVEAL
   ========================================================================== */
.velvet-section {
  background: radial-gradient(circle at 50% 30%, #420A12 0%, #260408 60%, #0A080A 100%);
  padding: 70px 24px;
}

.velvet-box-outer {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  perspective: 1400px;
}

@media (min-width: 1024px) {
  .velvet-box-outer {
    max-width: 560px;
  }
}

/* Silk Tassels on Left and Right */
.velvet-tassel {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 80px;
  z-index: 15;
  pointer-events: none;
}

.tassel-left {
  left: -14px;
  transform: translateY(-50%);
}

.tassel-right {
  right: -14px;
  transform: translateY(-50%);
}

.tassel-cap {
  width: 14px;
  height: 16px;
  margin: 0 auto;
  background: linear-gradient(135deg, #FFF8E7 0%, #D4AF37 50%, #8C6A15 100%);
  border-radius: 8px 8px 3px 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.tassel-threads {
  width: 18px;
  height: 60px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, #D4AF37 0%, #AA820A 40%, #D4AF37 80%, #664B00 100%);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  animation: tasselSway 3s ease-in-out infinite alternate;
  transform-origin: top center;
}

@keyframes tasselSway {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

/* 3D Velvet Box Structure */
.velvet-box-3d {
  position: relative;
  width: 100%;
  border-radius: 28px;
  transform-style: preserve-3d;
}

/* Velvet Box Base (Interior Cushion Recess) */
.velvet-box-base {
  position: relative;
  width: 100%;
  background: linear-gradient(145deg, #4A0811 0%, #2E0308 60%, #1A0105 100%);
  border: 3px solid var(--color-gold-foil);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), inset 0 0 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.25);
  padding: 24px 20px;
  overflow: visible;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-interior-cushion {
  position: absolute;
  inset: 12px;
  background: radial-gradient(ellipse at 50% 50%, #58111A 0%, #260307 80%);
  border-radius: 20px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95);
  pointer-events: none;
}

/* Luxury Arched Parchment Card Inside the Velvet Box */
.velvet-card-parchment {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #FFFDF9 0%, #FAF2E6 60%, #F0E3D0 100%);
  border: 2px solid var(--color-gold-foil);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.15);
  z-index: 5;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease;
}

/* When Box is Open: Card slides out gracefully */
.velvet-box-3d.is-open .velvet-card-parchment {
  transform: translateY(-30px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7), inset 0 0 25px rgba(212, 175, 55, 0.2);
}

.card-arch-border {
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 16px;
  padding: 28px 20px;
  position: relative;
}

.card-gold-crest {
  width: 90px;
  margin: 0 auto 12px;
}

.velvet-family-name {
  font-family: var(--font-script-luxury);
  font-size: clamp(48px, 6vw, 62px);
  line-height: 1;
  background: linear-gradient(135deg, #8C6A15 0%, #D4AF37 50%, #664B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
  font-weight: 700;
  font-style: italic;
}

.velvet-family-label {
  font-family: var(--font-script-luxury);
  font-size: clamp(34px, 4.5vw, 44px);
  line-height: 1;
  background: linear-gradient(135deg, #8C6A15 0%, #D4AF37 50%, #664B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  font-weight: 600;
}

.gold-filigree-divider-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 16px;
}

.filigree-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.filigree-star {
  color: var(--color-gold-foil);
  font-size: 14px;
}

.velvet-welcomes-text {
  font-family: var(--font-serif-classic);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #721622;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.velvet-subtext {
  font-family: var(--font-body-elegant);
  font-size: 16px;
  color: #38070F;
  line-height: 1.6;
  font-weight: 500;
  max-width: 360px;
  margin: 0 auto;
}

/* 3D Velvet Box Lid (Swings open backwards in perspective) */
.velvet-box-lid {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 28px;
  transform-origin: top center;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.3, 1), box-shadow 1.2s, opacity 0.8s;
  backface-visibility: hidden;
  cursor: pointer;
  background: radial-gradient(ellipse at 50% 40%, #751422 0%, #520D17 45%, #34060E 80%, #1A0206 100%);
  border: 3px solid var(--color-gold-foil);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 0 20px rgba(212, 175, 55, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.lid-velvet-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.lid-crest-emblem {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.4));
}

.lid-tap-cue {
  margin-top: 20px;
  font-family: var(--font-serif-classic);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  padding: 6px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  background: rgba(10, 8, 10, 0.5);
  animation: pulseGlow 2.5s infinite;
}

/* When Box is Open: Lid Rotates Open backwards */
.velvet-box-3d.is-open .velvet-box-lid {
  transform: rotateX(-120deg) translateY(-20px);
  pointer-events: none;
  opacity: 0.15;
  filter: blur(1px);
}

/* Box Control Bar (Live Mode Manual Toggle) */
.box-control-bar {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.btn-box-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  background: rgba(10, 8, 10, 0.8);
  border: 1.5px solid var(--color-gold-foil);
  border-radius: 30px;
  color: var(--color-gold-light);
  font-family: var(--font-serif-classic);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.btn-box-toggle:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   SECTION 3: THE GRAND ROYAL PALACE ANNOUNCEMENT
   ========================================================================== */
.announcement-section {
  background: radial-gradient(circle at 50% 35%, #141014 0%, #0A080A 75%, #050405 100%);
  padding: 70px 24px;
}

.palace-arch-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .palace-arch-wrapper {
    max-width: 820px;
  }
}

.arch-svg-backdrop {
  width: 100%;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.95));
}

.svg-arch-img {
  width: 100%;
  height: auto;
  display: block;
}

.arch-content-container {
  position: absolute;
  top: 18%;
  left: 12%;
  right: 12%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 5;
}

.announcement-preamble {
  font-family: var(--font-serif-classic);
  font-size: 12px;
  letter-spacing: 2px;
  color: #ECC77D;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.5;
}

.announcement-ceremony-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(20px, 3.5vw, 30px);
  letter-spacing: 4px;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 40%, #D4AF37 70%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
  font-weight: 700;
}

.announcement-of-text {
  font-family: var(--font-script-luxury);
  font-size: 24px;
  font-style: italic;
  color: #F7E7B4;
  margin: 2px 0 6px;
}

.couple-hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 6px 0 10px;
}

.name-groom, .name-bride {
  font-family: var(--font-script-luxury);
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 35%, #D4AF37 75%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-style: italic;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

.names-and {
  font-family: var(--font-script-luxury);
  font-size: 26px;
  color: #D4AF37;
  font-style: italic;
  line-height: 0.8;
}

.announcement-tagline {
  font-family: var(--font-body-elegant);
  font-size: 14px;
  color: #ECC77D;
  font-style: italic;
  max-width: 320px;
  margin: 8px auto 0;
  line-height: 1.5;
}

.announcement-gold-bar {
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin-top: 14px;
}

/* ==========================================================================
   SECTIONS 4 & 5: GROOM & BRIDE SUITES
   ========================================================================== */
.person-section {
  background: radial-gradient(circle at 50% 30%, #103B2C 0%, #0A291E 65%, #05140E 100%);
  padding: 70px 24px;
}

.person-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border: 2px solid var(--color-gold-foil);
  border-radius: 28px;
  background: linear-gradient(180deg, #164634 0%, #0A291E 60%, #051811 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.2);
  overflow: hidden;
  text-align: center;
}

@media (min-width: 1024px) {
  .person-card {
    max-width: 760px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.person-photo-frame {
  position: relative;
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  background: #0E0A0E;
  cursor: pointer;
}

.person-photo-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.photo-overlay-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(10, 8, 10, 0.85);
  border: 1px solid var(--color-gold-foil);
  border-radius: 20px;
  color: var(--color-gold-light);
  font-family: var(--font-serif-classic);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.photo-overlay-pill:hover {
  background: rgba(212, 175, 55, 0.35);
  transform: scale(1.05);
}

.person-details-card {
  padding: 36px 28px;
  position: relative;
}

.scalloped-crest-emblem {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='%23D4AF37'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='%23D4AF37' stroke-width='1.5'/%3E%3Cpath d='M20 5 L23 15 L33 15 L25 21 L28 31 L20 25 L12 31 L15 21 L7 15 L17 15 Z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.role-badge {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid var(--color-gold-foil);
  border-radius: 20px;
  font-family: var(--font-serif-classic);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-gold-light);
  background: rgba(10, 41, 30, 0.8);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.person-name {
  font-family: var(--font-script-luxury);
  font-size: clamp(34px, 4.5vw, 44px);
  line-height: 1.1;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 40%, #D4AF37 75%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  font-weight: 700;
  font-style: italic;
}

.person-parents {
  font-family: var(--font-serif-classic);
  font-size: 11px;
  letter-spacing: 2px;
  color: #ECC77D;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.person-bio-box {
  padding: 14px 18px;
  border-left: 2px solid var(--color-gold-foil);
  background: rgba(10, 8, 10, 0.4);
  border-radius: 0 12px 12px 0;
  text-align: left;
}

.person-quote {
  font-family: var(--font-body-elegant);
  font-size: 15px;
  font-style: italic;
  color: #FDFBF7;
  line-height: 1.6;
}

/* ==========================================================================
   SECTIONS 6 & 7: SACRED NIKAH & DAWAT-E-WALIMA CEREMONIES
   ========================================================================== */
.ceremony-section {
  padding: 70px 24px;
}

#nikahSection {
  background: radial-gradient(circle at 50% 30%, #164634 0%, #0A291E 60%, #05140E 100%);
}

#walimaSection {
  background: radial-gradient(circle at 50% 30%, #1A3644 0%, #0E222D 60%, #050E13 100%);
}

.ceremony-emerald-card, .ceremony-sapphire-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border: 2px solid var(--color-gold-foil);
  border-radius: 28px;
  padding: 42px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.2);
}

@media (min-width: 1024px) {
  .ceremony-emerald-card, .ceremony-sapphire-card {
    max-width: 780px;
    padding: 50px 48px;
  }
}

.ceremony-emerald-card {
  background: linear-gradient(180deg, #164634 0%, #0A291E 70%, #051811 100%);
}

.ceremony-sapphire-card {
  background: linear-gradient(180deg, #1A3644 0%, #0E222D 70%, #050E13 100%);
}

.lead-insha-allah {
  font-family: var(--font-arabic-sacred);
  font-size: 26px;
  color: var(--color-gold-foil);
  display: block;
  margin-bottom: 2px;
}

.ceremony-title, .walima-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: 3px;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 40%, #D4AF37 75%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  font-weight: 700;
}

.ceremony-date-badge {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(90deg, #7A1926, #58111A);
  border: 1px solid var(--color-gold-foil);
  border-radius: 30px;
  font-family: var(--font-serif-classic);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFDF9;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.ceremony-time-badge {
  font-family: var(--font-serif-classic);
  font-size: 12px;
  letter-spacing: 2px;
  color: #ECC77D;
  margin-bottom: 24px;
  font-weight: 600;
}

.venue-container {
  padding: 24px;
  background: rgba(10, 8, 10, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
}

.venue-label {
  font-family: var(--font-serif-classic);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--color-gold-foil);
  margin-bottom: 6px;
  font-weight: 700;
}

.venue-name {
  font-family: var(--font-serif-royal);
  font-size: clamp(18px, 3vw, 24px);
  color: #FFFDF9;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.venue-address {
  font-family: var(--font-body-elegant);
  font-size: 15px;
  color: #ECC77D;
  margin-bottom: 20px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* Smart Google Maps Gold Button */
.btn-gold-maps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 30%, #D4AF37 70%, #AA820A 100%);
  border: 1.5px solid #FFFFFF;
  border-radius: 30px;
  color: #2D030A;
  font-family: var(--font-serif-classic);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-gold-maps svg {
  width: 16px;
  height: 16px;
  fill: #2D030A;
}

.btn-gold-maps:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.7);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF8E7 40%, #E5C158 80%, #D4AF37 100%);
}

/* ==========================================================================
   SECTION 8: SAVE THE DATE & LIVE COUNTDOWN
   ========================================================================== */
.savethedate-section {
  background: radial-gradient(circle at 50% 30%, #30060C 0%, #1A0205 60%, #0A080A 100%);
  padding: 70px 24px;
}

.savethedate-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border: 2px solid var(--color-gold-foil);
  border-radius: 28px;
  background: linear-gradient(180deg, #420A12 0%, #2A040A 60%, #150104 100%);
  padding: 42px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.2);
}

@media (min-width: 1024px) {
  .savethedate-card {
    max-width: 780px;
    padding: 50px 48px;
  }
}

.savethedate-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(28px, 4.5vw, 42px);
  letter-spacing: 4px;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 40%, #D4AF37 75%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  font-weight: 700;
}

.savethedate-dates {
  font-family: var(--font-serif-classic);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ECC77D;
  margin-bottom: 28px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.countdown-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10, 8, 10, 0.7);
  border: 1.5px solid var(--color-gold-foil);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 68px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
  .countdown-col {
    padding: 16px 24px;
    min-width: 90px;
  }
}

.countdown-digit {
  font-family: var(--font-serif-royal);
  font-size: clamp(26px, 4.5vw, 38px);
  color: #FFFDF9;
  line-height: 1;
  font-weight: 700;
}

.countdown-unit {
  font-family: var(--font-serif-classic);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--color-gold-foil);
  text-transform: uppercase;
  margin-top: 4px;
}

.countdown-colon {
  font-family: var(--font-serif-royal);
  font-size: 26px;
  color: var(--color-gold-foil);
  margin-bottom: 12px;
}

/* ==========================================================================
   SECTION 9: ROYAL ISLAMIC IN-PAGE RSVP FORM
   ========================================================================== */
.rsvp-section {
  background: radial-gradient(circle at 50% 30%, #164634 0%, #0A291E 65%, #05140E 100%);
  padding: 70px 24px;
}

.rsvp-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border: 2px solid var(--color-gold-foil);
  border-radius: 28px;
  background: linear-gradient(180deg, #164634 0%, #0A291E 70%, #051811 100%);
  padding: 42px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.2);
}

@media (min-width: 1024px) {
  .rsvp-card {
    max-width: 780px;
    padding: 50px 48px;
  }
}

.rsvp-header {
  text-align: center;
  margin-bottom: 28px;
}

.rsvp-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.rsvp-heading {
  font-family: var(--font-serif-royal);
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 3px;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 40%, #D4AF37 75%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  font-weight: 700;
}

.rsvp-desc {
  font-family: var(--font-body-elegant);
  font-size: 15px;
  color: #ECC77D;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  font-family: var(--font-serif-classic);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--color-gold-light);
  text-transform: uppercase;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 8, 10, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 12px;
  color: #FFFDF9;
  font-family: var(--font-sans-clean);
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-gold-foil);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  background: rgba(10, 8, 10, 0.9);
}

.btn-rsvp-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 30%, #D4AF37 70%, #AA820A 100%);
  border: 1.5px solid #FFFFFF;
  border-radius: 30px;
  color: #2D030A;
  font-family: var(--font-serif-classic);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
  transition: all 0.25s ease;
  margin-top: 8px;
}

.btn-rsvp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.6);
}

.rsvp-status-banner {
  display: none;
  padding: 12px;
  border-radius: 12px;
  font-family: var(--font-serif-classic);
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 10px;
}

/* ==========================================================================
   SECTION 10: DIGITAL SHAGUN & EIDI
   ========================================================================== */
.shagun-section {
  background: radial-gradient(circle at 50% 30%, #30060C 0%, #1A0205 60%, #0A080A 100%);
  padding: 70px 24px;
}

.shagun-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border: 2px solid var(--color-gold-foil);
  border-radius: 28px;
  background: linear-gradient(180deg, #420A12 0%, #2A040A 60%, #150104 100%);
  padding: 42px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.2);
}

@media (min-width: 1024px) {
  .shagun-card {
    max-width: 780px;
    padding: 50px 48px;
  }
}

.shagun-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.shagun-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 3px;
  background: linear-gradient(135deg, #FFF8E7 0%, #F5E5B8 40%, #D4AF37 75%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  font-weight: 700;
}

.shagun-text {
  font-family: var(--font-body-elegant);
  font-size: 16px;
  font-style: italic;
  color: #FFFDF9;
  max-width: 420px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.upi-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(10, 8, 10, 0.7);
  border: 1.5px solid var(--color-gold-foil);
  border-radius: 30px;
  margin-bottom: 14px;
}

.upi-badge {
  font-family: var(--font-serif-classic);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #FFFDF9;
}

.btn-copy-upi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #D4AF37, #AA820A);
  border: none;
  border-radius: 20px;
  color: #1A0105;
  font-family: var(--font-serif-classic);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-upi:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.bank-details {
  font-family: var(--font-sans-clean);
  font-size: 12px;
  color: #ECC77D;
  margin-top: 8px;
}

/* ==========================================================================
   SECTION 11: MANDATORY PROTECTED PLATFORM FOOTER BRANDING
   ========================================================================== */
.footer-section {
  background: #050405;
  border-top: 2px solid var(--color-gold-foil);
  padding: 45px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-monogram {
  font-family: var(--font-serif-royal);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-gold-light);
}

.footer-dua {
  font-family: var(--font-body-elegant);
  font-size: 14px;
  color: #ECC77D;
  font-style: italic;
  max-width: 440px;
  line-height: 1.5;
}

/* Protected Platform Attribution (Cannot be removed) */
.footer-credits {
  font-family: var(--font-sans-clean);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.9);
  margin-top: 8px;
  user-select: text;
}

/* ==========================================================================
   CRITICAL: CUSTOMIZATION MODE OVERRIDES (STRICT ZERO ANIMATIONS)
   When inside visual editor, all animations & transforms are disabled,
   box lid is statically open, and elements are laid out sequentially!
   ========================================================================== */
.customization-mode,
.customization-mode body,
.customization-mode html {
  overflow-y: auto !important;
  scroll-behavior: auto !important;
}

.customization-mode *,
.customization-mode *::before,
.customization-mode *::after {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.customization-mode #petalCanvas,
.customization-mode .floating-audio-bar,
.customization-mode .hero-scroll-cue,
.customization-mode .box-control-bar {
  display: none !important;
}

.customization-mode .scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.customization-mode .velvet-box-lid {
  display: none !important;
}

.customization-mode .velvet-card-parchment {
  transform: none !important;
  opacity: 1 !important;
}

.customization-mode [data-editable-text="true"]:hover {
  outline: 2px dashed rgba(212, 175, 55, 0.85) !important;
  outline-offset: 4px !important;
  background: rgba(212, 175, 55, 0.12) !important;
  cursor: pointer !important;
  border-radius: 4px !important;
}

.customization-mode .person-photo-frame:hover {
  outline: 2.5px dashed rgba(212, 175, 55, 0.85) !important;
  outline-offset: 4px !important;
}
