/* ==========================================================================
   MAHLIGAI KASIH · SOFT PASTEL FLORAL THEME
   TENGKU AHMAD KHAIRI (KJ) & JOANNE HANNA QALISYA
   ========================================================================== */

:root {
  --bg-silk: #FAF7F2;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  
  --pastel-blush: #F4D9DC;
  --pastel-blush-deep: #DCA8AE;
  --pastel-rose: #C87D85;
  --pastel-sage: #DEE8DA;
  --pastel-sage-deep: #7D9B75;
  --pastel-peach: #FCECE0;
  --pastel-gold: #CBB068;
  --pastel-gold-soft: #DFC98A;

  --border-soft: rgba(220, 195, 185, 0.5);
  --border-glow: rgba(200, 125, 133, 0.4);

  --text-primary: #3E3228;
  --text-secondary: #7A695C;
  --text-light: #9C8C7E;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Pinyon Script", cursive;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: "Amiri", serif;
  --font-heading: "Cinzel", serif;

  --shadow-soft: 0 15px 35px rgba(180, 145, 135, 0.12), 0 2px 8px rgba(180, 145, 135, 0.06);
  --shadow-float: 0 20px 45px rgba(180, 145, 135, 0.18);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-silk);
}

body {
  background-color: var(--bg-silk);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.locked-entry {
  overflow: hidden;
  height: 100vh;
}

/* ==========================================================================
   AMBIENT PASTEL GLOW & PETAL CANVAS (BUTTERY SMOOTH 60FPS)
   ========================================================================== */
.pastel-ambient-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, #FFFDF9 0%, #FAF5EE 60%, #F5EFEB 100%);
  transform: translate3d(0, 0, 0);
}

.pastel-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.glow-pink {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #F6D6D9 0%, transparent 70%);
  top: -150px;
  left: -100px;
  animation: glowFloat1 20s ease-in-out infinite alternate;
}

.glow-sage {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #E1ECDE 0%, transparent 70%);
  bottom: -150px;
  right: -80px;
  animation: glowFloat2 24s ease-in-out infinite alternate;
}

.glow-peach {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #FDECE1 0%, transparent 70%);
  top: 45%;
  left: 60%;
  animation: glowFloat3 18s ease-in-out infinite alternate;
}

@keyframes glowFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(80px, 100px, 0) scale(1.15); }
}

@keyframes glowFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1.1); }
  100% { transform: translate3d(-90px, -70px, 0) scale(0.95); }
}

@keyframes glowFloat3 {
  0% { transform: translate3d(0, 0, 0) scale(0.9); }
  100% { transform: translate3d(-60px, 60px, 0) scale(1.2); }
}

#petalCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Dahan Pokok Sakura Background (GPU Hardware Sway) */
.sakura-branch {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 4px 15px rgba(220, 168, 174, 0.25));
  will-change: transform;
}

.branch-top-left {
  top: -15px;
  left: -20px;
  width: min(460px, 65vw);
  transform-origin: top left;
  animation: sakuraSwayLeft 7s ease-in-out infinite alternate;
}

.branch-top-right {
  top: -10px;
  right: -20px;
  width: min(420px, 60vw);
  transform-origin: top right;
  animation: sakuraSwayRight 8.5s ease-in-out infinite alternate;
}

@keyframes sakuraSwayLeft {
  0% { transform: rotate(0deg) translate3d(0, 0, 0); }
  100% { transform: rotate(1.8deg) translate3d(3px, 4px, 0); }
}

@keyframes sakuraSwayRight {
  0% { transform: rotate(0deg) translate3d(0, 0, 0); }
  100% { transform: rotate(-1.5deg) translate3d(-3px, 3px, 0); }
}

.sakura-branch svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   FLOATING WIDGETS (AUDIO, TEBAR RESTU & SALAM KAUT)
   ========================================================================== */
.floral-floating-widgets {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 420px);
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  pointer-events: auto;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Sembunyikan semua butang/tulisan terapung atas semasa di muka hadapan sampul (Clean Look) */
body.locked-entry .floral-floating-widgets,
.theatre-active ~ .floral-floating-widgets,
.floral-portal:not(.portal-open) ~ .floral-floating-widgets {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cine-pill-btn,
.audio-pill-btn,
.shower-pill-btn,
.gift-pill-btn {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  height: 34px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(180, 145, 135, 0.15);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  white-space: nowrap;
}

.audio-pill-btn:hover,
.shower-pill-btn:hover,
.gift-pill-btn:hover {
  transform: translateY(-2px);
  background: #FFF;
  border-color: var(--pastel-blush-deep);
  box-shadow: 0 10px 28px rgba(200, 125, 133, 0.25);
}

.audio-pill-btn:active,
.shower-pill-btn:active,
.gift-pill-btn:active {
  transform: scale(0.96);
}

.audio-note-icon, .shower-icon, .gift-icon {
  font-size: 0.85rem;
}

.shower-pill-btn {
  background: linear-gradient(135deg, rgba(255, 240, 243, 0.95), rgba(255, 255, 255, 0.9));
  border-color: rgba(220, 168, 174, 0.6);
  color: #9E4B56;
}

.shower-pill-btn strong {
  color: var(--pastel-rose);
  font-weight: 700;
}

.gift-pill-btn {
  background: linear-gradient(135deg, rgba(254, 248, 237, 0.95), rgba(255, 255, 255, 0.9));
  border-color: rgba(223, 201, 138, 0.6);
  color: #8C7030;
}

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

.eq-bars span {
  width: 2px;
  height: 3px;
  background: var(--pastel-rose);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.eq-bars.active span:nth-child(1) { animation: eqSoft 1.1s ease-in-out infinite; }
.eq-bars.active span:nth-child(2) { animation: eqSoft 1.3s ease-in-out 0.2s infinite; }
.eq-bars.active span:nth-child(3) { animation: eqSoft 0.9s ease-in-out 0.4s infinite; }
.eq-bars.active span:nth-child(4) { animation: eqSoft 1.2s ease-in-out 0.1s infinite; }

@keyframes eqSoft {
  0%, 100% { height: 3px; }
  50% { height: 13px; }
}

.eq-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

/* Floating Restu Popup Badge (+1 Restu Dititipkan!) */
.floating-blessing-pop {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #9E4B56;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--pastel-blush-deep);
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: 0 10px 25px rgba(200, 125, 133, 0.3);
  animation: floatUpFade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes floatUpFade {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1.05);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -60px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -90px) scale(0.9);
  }
}

/* ==========================================================================
   ACT I: 3D LUXURY ROYAL ENVELOPE CEREMONY (UPACARA SAMPUL DIRAJA 3D)
   ========================================================================== */
.floral-portal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 25%, #FFFDF9 0%, #F5EAE0 60%, #EBDCCE 100%);
  transition: opacity 1.2s cubic-bezier(0.7, 0, 0.2, 1), transform 1.2s cubic-bezier(0.7, 0, 0.2, 1), visibility 1.2s;
  overflow: hidden;
}

.floral-portal.portal-open {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08) translateY(-40px);
  pointer-events: none;
}

/* 3D Perspective Stage */
.envelope-3d-stage {
  perspective: 1400px;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  position: relative;
  margin-top: 0;
  z-index: 10;
}

/* The Physical 4D Envelope Object */
.royal-envelope-3d {
  position: relative;
  width: min(440px, 92vw);
  height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 28px 65px rgba(120, 75, 70, 0.38));
  will-change: transform;
  cursor: pointer;
}

/* 1. Dinding Belakang & Lapisan Poket Dalam */
.env-back-plate {
  position: absolute;
  inset: 0;
  background: #F8F0E7;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.15);
  z-index: 1;
}

.env-inner-lining {
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFF9FA 0%, #FDF0F3 50%, #FAF2EA 100%);
  border: 1px dashed rgba(220, 168, 174, 0.45);
  z-index: 1;
  overflow: hidden;
}

.lining-sakura-motif {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#F3CAD1 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.55;
}

/* 2. Kad Jemputan Emas di DALAM Poket Sampul */
.env-gold-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 340px;
  background: radial-gradient(ellipse at 50% 10%, #FFFFFF 0%, #FAF6EE 70%, #F5ECE3 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(180, 140, 130, 0.25);
  transform: translateY(0);
  transition: transform 1.25s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.9s ease;
  z-index: 2;
  overflow: hidden;
  padding: 24px 20px 20px;
  text-align: center;
}

.royal-envelope-3d.opened .env-gold-card {
  transform: translateY(-250px) scale(1.04);
  box-shadow: 0 35px 85px rgba(160, 110, 100, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  z-index: 10;
}

.gold-card-frame-border {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  pointer-events: none;
  outline: 1px dashed rgba(220, 168, 174, 0.35);
  outline-offset: -3px;
}

.card-corner-filigree {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
  border-color: #D4AF37;
  border-style: solid;
  opacity: 0.6;
}
.ccf-tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 6px; }
.ccf-tr { top: 12px; right: 12px; border-width: 1.5px 1.5px 0 0; border-top-right-radius: 6px; }
.ccf-bl { bottom: 12px; left: 12px; border-width: 0 0 1.5px 1.5px; border-bottom-left-radius: 6px; }
.ccf-br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 6px; }

.gold-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-bismillah-arabic {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: #7E4A35;
  display: block;
  line-height: 1;
}

.card-royal-tag {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: #A65A66;
  font-weight: 600;
  display: block;
}

.card-names-showcase {
  margin: 4px 0;
}

.c-name-highlight {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5.5vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  background: linear-gradient(135deg, #4A3326 0%, #7E4A35 45%, #C87D85 75%, #593522 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(203, 176, 104, 0.2));
}

.c-amp-flourish {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: #D4AF37;
  display: block;
  margin: -4px 0;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.card-formal-subnames {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.card-gold-crest-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2px 0;
}
.divider-line {
  width: 28px;
  height: 1px;
  background: #D4AF37;
  opacity: 0.6;
}
.divider-flower {
  font-size: 0.75rem;
}

.card-date-venue-pill {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  color: #5C4535;
  letter-spacing: 0.12em;
}
.card-date-venue-pill strong {
  display: block;
}
.card-date-venue-pill small {
  display: block;
  font-size: 0.52rem;
  color: #8C7060;
  margin-top: 1px;
}

.card-guest-spotlight {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  margin: 4px 0;
}
.cg-label {
  display: block;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: #A65A66;
  font-weight: 600;
}
.cg-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: #3E3228;
  margin: 2px 0;
}
.cg-sub {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: #8C7665;
  display: block;
}

.btn-proceed-experience {
  background: linear-gradient(135deg, #F9E7E9 0%, #F1CAD0 50%, #E8B4BD 100%);
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 999px;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #5E2630;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(217, 122, 136, 0.35);
  transition: all 0.3s ease;
  width: 100%;
}
.btn-proceed-experience:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FFF 0%, #F5DADB 100%);
  box-shadow: 0 12px 28px rgba(217, 122, 136, 0.5);
}
.btn-enter-arrow {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}
.btn-proceed-experience:hover .btn-enter-arrow {
  transform: translateX(4px);
}

/* 3. Lipatan Poket Hadapan Sampul (Sitting in front of tucked card) */
.env-front-pocket {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.env-pocket-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 -3px 8px rgba(0, 0, 0, 0.04));
}

/* ==========================================================================
   4D ROYAL ENCHANTED PALACE GATES (PINTU GERBANG MAHLIGAI DIRAJA 4D)
   ========================================================================== */

/* Latar Belakang Cahaya & Aura Mahligai */
.portal-enchanted-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.palace-mist-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 235, 210, 0.45) 0%, rgba(248, 186, 195, 0.25) 45%, rgba(230, 210, 195, 0.1) 75%, transparent 100%);
  animation: mistPulse 6s infinite alternate ease-in-out;
}

@keyframes mistPulse {
  0% { transform: scale(0.96); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* ==========================================================================
   ACT I: ROYAL MIDNIGHT & GOLD ENVELOPE CEREMONY (SEPERTI DALAM GAMBAR)
   ========================================================================== */

/* 1. Latar Belakang Ultra HD Masjid Diraja, Lilin & Meja Marmar dengan Living Motion */
.royal-sunset-envelope-portal {
  background: #090B10 !important;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 100;
  padding: 12px;
}

.royal-sunset-bg-layer {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  background-image: url('images/royal_sunset_backdrop.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  animation: livingSunsetDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes livingSunsetDrift {
  0% { transform: scale(1.02) translate(0%, 0%); }
  35% { transform: scale(1.06) translate(-1.2%, -0.8%); }
  70% { transform: scale(1.04) translate(1%, -1.4%); }
  100% { transform: scale(1.07) translate(-0.5%, -0.5%); }
}

/* Kilauan Riak Air Tasik (Water Ripple Shimmer) */
.sunset-water-shimmer {
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  height: 24%;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 130, 0.16) 0%, transparent 75%),
    repeating-linear-gradient(0deg, transparent 0px, transparent 6px, rgba(255, 220, 150, 0.09) 7px, transparent 11px);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: waterShimmerGlint 6s infinite alternate ease-in-out;
}

@keyframes waterShimmerGlint {
  0% { transform: translateY(0) scaleY(1); opacity: 0.5; }
  50% { transform: translateY(-3px) scaleY(1.06); opacity: 0.85; }
  100% { transform: translateY(2px) scaleY(0.96); opacity: 0.6; }
}

/* Nyalaan Cahaya Lilin Berkelip (Candlelight Flame Flicker on Lanterns) */
.sunset-candle-flame-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(8px);
}

.sunset-candle-flame-glow.flame-1 {
  left: 9%;
  bottom: 23%;
  width: 58px;
  height: 58px;
  background: radial-gradient(circle, rgba(255, 240, 160, 0.95) 0%, rgba(255, 170, 50, 0.7) 45%, rgba(255, 100, 20, 0.25) 70%, transparent 100%);
  animation: candleFlameFlicker1 2.2s infinite ease-in-out;
}

.sunset-candle-flame-glow.flame-2 {
  left: 1.5%;
  bottom: 25%;
  width: 46px;
  height: 46px;
  background: radial-gradient(circle, rgba(255, 240, 170, 0.9) 0%, rgba(255, 180, 60, 0.6) 45%, transparent 70%);
  animation: candleFlameFlicker2 2.8s infinite ease-in-out;
}

@keyframes candleFlameFlicker1 {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.85; filter: blur(8px); }
  25% { transform: scale(1.22) translateY(-2px); opacity: 1; filter: blur(10px); }
  50% { transform: scale(0.9) translateY(1px); opacity: 0.7; filter: blur(7px); }
  75% { transform: scale(1.15) translateY(-1px); opacity: 0.95; filter: blur(9px); }
}

@keyframes candleFlameFlicker2 {
  0%, 100% { transform: scale(0.92); opacity: 0.75; }
  35% { transform: scale(1.25); opacity: 1; filter: blur(9px); }
  65% { transform: scale(0.85); opacity: 0.62; filter: blur(6px); }
  85% { transform: scale(1.12); opacity: 0.9; }
}

/* Zarah Emas Bara Lilin Melayang (Golden Embers & Stardust) */
.sunset-golden-embers {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 15% 75%, rgba(255, 225, 120, 0.95), transparent),
    radial-gradient(1.8px 1.8px at 22% 82%, rgba(255, 245, 180, 0.85), transparent),
    radial-gradient(2.2px 2.2px at 30% 65%, rgba(255, 215, 110, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 12% 55%, rgba(255, 235, 150, 0.9), transparent),
    radial-gradient(2px 2px at 65% 45%, rgba(255, 210, 120, 0.75), transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(255, 230, 150, 0.85), transparent);
  background-size: 340px 340px;
  pointer-events: none;
  animation: emberDriftUp 22s linear infinite;
  opacity: 0.8;
}

@keyframes emberDriftUp {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-170px) translateX(14px); }
  100% { transform: translateY(-340px) translateX(-6px); }
}

.sunset-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(10, 14, 22, 0.2) 0%, rgba(5, 8, 14, 0.58) 65%, rgba(3, 4, 8, 0.85) 100%);
}

.sunset-sunburst-rays {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 110, 0.26) 0%, rgba(255, 150, 50, 0.1) 45%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  animation: sunGlowPulse 6s infinite alternate ease-in-out;
}

@keyframes sunGlowPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

.sunset-stardust-dust {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 40px 60px, rgba(255, 235, 160, 0.9), transparent),
    radial-gradient(2px 2px at 160px 180px, rgba(255, 215, 120, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 300px 90px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 420px 220px, rgba(255, 200, 90, 0.8), transparent);
  background-size: 480px 480px;
  opacity: 0.6;
  animation: dustFloat 40s linear infinite;
  pointer-events: none;
}

@keyframes dustFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-480px); }
}

/* 2. Pentas 3D & Bekas Sampul Biru Gelap & Emas (The Midnight Envelope) */
.royal-midnight-envelope-container {
  position: relative;
  width: min(470px, 94vw);
  height: 300px;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  margin-top: 15px;
  z-index: 10;
}

/* 2a. Envelope Backplate (Interior back wall behind card) */
.envelope-backplate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.envelope-backplate svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 3. Poket Sampul Surat (Pocket Wrap & SVG with V-notch) */
.envelope-pocket-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85));
}

.envelope-pocket-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 4. Penutup V-Flap Atas (Top Folding Flap: Step 1 -> Step 2) */
.envelope-top-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 170px;
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.01s 0.25s;
  z-index: 8;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.65));
}

.flap-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flap-front {
  transform: rotateX(0deg);
  z-index: 2;
}

.flap-back {
  transform: rotateX(180deg);
  z-index: 1;
}

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

.flap-face-content {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  z-index: 9;
}

.flap-arabic-crest {
  display: flex;
  justify-content: center;
  margin-bottom: 2px;
}

.flap-bismillah-svg {
  width: 55px;
  height: 25px;
  filter: drop-shadow(0 0 4px rgba(229, 193, 88, 0.7));
}

.flap-rsvp-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: #E5C158;
  margin: 0;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF3D4 30%, #E5C158 65%, #C29226 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.flap-sub-caption {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: #F0D590;
  margin-top: 4px;
  line-height: 1.35;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* 5. Butang Cap Mohor / Loket Emas 3D (Golden Mandala Medallion) */
.gold-medallion-btn {
  position: absolute;
  top: 155px;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(45px);
  width: 92px;
  height: 92px;
  cursor: pointer;
  pointer-events: auto;
  z-index: 15;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease, opacity 0.4s ease;
  user-select: none;
}

.gold-medallion-btn:hover {
  transform: translate(-50%, -50%) translateZ(55px) scale(1.08);
}

.gold-medallion-btn:active {
  transform: translate(-50%, -50%) translateZ(35px) scale(0.96);
}

.medallion-glow-aura {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 120, 0.75) 0%, rgba(229, 193, 88, 0.3) 50%, transparent 75%);
  filter: blur(10px);
  animation: medallionAuraPulse 2.8s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes medallionAuraPulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 1; }
}

.medallion-starburst-rays {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255, 235, 170, 0.4) 15%, transparent 30%, rgba(255, 235, 170, 0.4) 45%, transparent 60%, rgba(255, 235, 170, 0.4) 75%, transparent 90%);
  filter: blur(6px);
  animation: starburstSpin 14s linear infinite;
  pointer-events: none;
  opacity: 0.75;
}

@keyframes starburstSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.medallion-logo-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: #FDF2F3;
  border: 3px solid #E6CA65;
  box-shadow: 
    0 0 0 1.5px #7A5706,
    0 8px 24px rgba(0, 0, 0, 0.7),
    0 0 22px rgba(230, 202, 101, 0.5),
    inset 0 2px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.medallion-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.35s ease;
}

.gold-medallion-btn:hover .medallion-logo-img {
  transform: scale(1.05);
}

.medallion-specular-glint {
  position: absolute;
  top: 10px;
  left: 18px;
  width: 24px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, transparent 80%);
  transform: rotate(-35deg);
  pointer-events: none;
  z-index: 2;
}

/* 6. Pancaran Cahaya Emas Dari Dalam Sampul (Step 2: Inside Radiance) */
.envelope-inner-radiance {
  position: absolute;
  top: 10px;
  left: 10%;
  right: 10%;
  height: 150px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: scaleY(0.2);
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  justify-content: center;
}

.radiance-gold-beam {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 245, 190, 0.95) 0%, rgba(229, 193, 88, 0.6) 40%, rgba(212, 175, 55, 0.15) 70%, transparent 100%);
  filter: blur(14px);
}

/* 7. Kad Undangan Diraja Yang Meluncur Keluar (Step 3 & 4: Royal Sliding Card) */
.royal-sliding-card {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%) translateY(15px) translateZ(4px);
  width: min(390px, 86%);
  height: 480px;
  background: #0D1622;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.9), inset 0 0 40px rgba(0, 0, 0, 0.6);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: transform 1.25s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.7s ease, z-index 0.01s 0.2s;
  overflow: hidden;
}

.card-inner-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.card-arch-border-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.card-text-body {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.card-arabic-crest {
  margin-top: 4px;
}

.arabic-bismillah-svg {
  width: 75px;
  height: 24px;
  filter: drop-shadow(0 0 5px rgba(229, 193, 88, 0.7));
}

.card-eyebrow-text {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: #E5C158;
  margin-top: 6px;
  opacity: 0.9;
}

.card-wedding-script {
  font-family: 'Great Vibes', 'Playfair Display', cursive, serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.1;
  color: #FFF6DF;
  margin: 4px 0 6px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF3D4 40%, #E5C158 80%, #C29226 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.card-couple-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-align: center;
  max-width: 90%;
  line-height: 1.35;
}

.card-couple-names .c-groom,
.card-couple-names .c-bride {
  display: block;
}

.card-couple-names .c-amp {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #E5C158;
  margin: 0;
}

.card-gold-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E5C158;
  font-size: 0.65rem;
  margin: 8px 0;
  width: 140px;
}

.card-gold-divider .div-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #E5C158, transparent);
}

.card-guest-box {
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid rgba(229, 193, 88, 0.35);
  border-radius: 8px;
  padding: 5px 14px 6px;
  width: 85%;
  margin: 4px 0;
}

.guest-to-lbl {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  color: #F0D590;
}

.guest-honored-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: #FFF;
  margin-top: 2px;
}

.card-rsvp-block {
  margin-top: 8px;
  width: 100%;
}

.card-rsvp-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #E5C158;
  margin-bottom: 8px;
}

.btn-card-confirm {
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.25) 0%, rgba(194, 146, 38, 0.4) 100%);
  border: 1.5px solid #E5C158;
  border-radius: 25px;
  color: #FFF5D6;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 193, 88, 0.3);
}

.btn-card-confirm:hover {
  background: linear-gradient(135deg, #E5C158 0%, #C29226 100%);
  color: #0E1622;
  box-shadow: 0 6px 22px rgba(229, 193, 88, 0.6);
  transform: translateY(-2px);
}

/* 8. Teks & Pembahagi "PRESS TO OPEN" (Bawah Sampul) */
.press-to-open-container {
  text-align: center;
  margin-top: 20px;
  z-index: 12;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.press-to-open-text {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.35em;
  color: #F0D590;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.press-gold-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  color: #E5C158;
}

.orn-line {
  width: 45px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #E5C158, transparent);
}

.orn-diamond {
  font-size: 0.65rem;
}

/* 9. Bar Navigasi 4 Langkah (Sebijik Macam Gambar Rujukan) */
.envelope-four-steps-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-top: 20px;
  z-index: 12;
  width: 100%;
  max-width: 440px;
  padding: 0 10px;
  box-sizing: border-box;
}

.step-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.42;
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-width: 0;
}

.step-col.active {
  opacity: 1 !important;
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #E5C158;
  line-height: 1;
  margin-bottom: 3px;
  transition: all 0.3s ease;
}

.step-col.active .step-num {
  color: #FFE082 !important;
  text-shadow: 0 0 14px rgba(255, 224, 130, 0.95);
  transform: scale(1.15);
}

.step-lbl {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  color: #FFF2D1;
  font-weight: 600;
  margin: 1px 0 2px;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  display: block;
}

.step-col.active .step-lbl {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
}

.step-div {
  font-size: 0.45rem;
  color: #E5C158;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-top: 2px;
}

.step-col.active .step-div {
  color: #FFE082 !important;
  opacity: 1 !important;
  text-shadow: 0 0 8px rgba(255, 224, 130, 0.9);
}

/* ==========================================================================
   10. INTERAKSI LANGKAH 1 -> 2 -> 3 -> 4 (TRANSISI BUKA SAMPUL)
   ========================================================================== */

/* Step 2: The Envelope Opens */
.royal-midnight-envelope-container.opened .envelope-top-flap,
.royal-midnight-envelope-container.step-opens .envelope-top-flap,
.royal-midnight-envelope-container.step-card-up .envelope-top-flap {
  transform: rotateX(180deg) translateZ(-5px);
  z-index: 2; /* Drops behind the card once opened! */
}

.royal-midnight-envelope-container.opened .flap-front,
.royal-midnight-envelope-container.step-opens .flap-front,
.royal-midnight-envelope-container.step-card-up .flap-front {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.royal-midnight-envelope-container.opened .gold-medallion-btn,
.royal-midnight-envelope-container.step-opens .gold-medallion-btn,
.royal-midnight-envelope-container.step-card-up .gold-medallion-btn {
  transform: translate(-50%, -50%) translateZ(80px) scale(1.35);
  filter: drop-shadow(0 0 35px #FFE082) brightness(2.2);
  opacity: 0;
  pointer-events: none;
}

.royal-midnight-envelope-container.opened .envelope-inner-radiance,
.royal-midnight-envelope-container.step-opens .envelope-inner-radiance,
.royal-midnight-envelope-container.step-card-up .envelope-inner-radiance {
  opacity: 1;
  transform: scaleY(1.8);
}

/* Step 3: Invitation Appears (Card rises out of pocket slit) */
.royal-midnight-envelope-container.step-card-up .royal-sliding-card {
  transform: translateX(-50%) translateY(-230px) translateZ(50px);
  opacity: 1;
  z-index: 20 !important;
  pointer-events: auto;
}

/* Step 4: RSVP Form Ready (Card fully elevated) */
.royal-midnight-envelope-container.opened .royal-sliding-card {
  transform: translateX(-50%) translateY(-210px) translateZ(55px) scale(1.02);
  opacity: 1;
  z-index: 20 !important;
  pointer-events: auto;
}

/* Hide PRESS TO OPEN during steps 2, 3, 4 */
.royal-midnight-envelope-container.opened ~ .press-to-open-container,
.royal-midnight-envelope-container.step-opens ~ .press-to-open-container,
.royal-midnight-envelope-container.step-card-up ~ .press-to-open-container {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(15px);
}

/* Sembunyikan dock bawah menu semasa skrin sampul aktif (Clean Look) */
body.locked-entry .floral-dock-nav,
.theatre-active ~ .floral-dock-nav,
.royal-sunset-envelope-portal:not(.portal-open) ~ .floral-dock-nav,
.royal-sunset-envelope-portal:not(.portal-open) ~ * .floral-dock-nav {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   RESPONSIF FORMAT TELEFON PINTAR (OPTIMIZED UNTUK SEMUA SKRIN PHONE)
   ========================================================================== */
@media (max-width: 600px) {
  .royal-sunset-envelope-portal {
    padding: 10px 8px;
    box-sizing: border-box;
  }
  .envelope-3d-stage {
    width: 100%;
    max-width: 360px;
    margin-top: 8px;
    padding: 0 4px;
    box-sizing: border-box;
  }
  /* Saiz sampul seimbang dalam format telefon supaya tidak terkeluar */
  .royal-midnight-envelope-container {
    width: min(340px, 88vw);
    height: 215px;
    margin-top: 6px;
  }
  .envelope-top-flap {
    height: 125px;
  }
  .gold-medallion-btn {
    top: 115px;
    width: 74px;
    height: 74px;
  }
  .flap-rsvp-heading {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
  }
  .flap-sub-caption {
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }
  .royal-sliding-card {
    height: 425px;
    width: min(315px, 92%);
  }
  .card-inner-frame {
    padding: 16px 12px 14px;
  }
  .royal-midnight-envelope-container.step-card-up .royal-sliding-card {
    transform: translateX(-50%) translateY(-205px) translateZ(50px);
  }
  .royal-midnight-envelope-container.opened .royal-sliding-card {
    transform: translateX(-50%) translateY(-185px) translateZ(55px) scale(1.02);
  }
  .card-wedding-script {
    font-size: 2.35rem;
    margin: 2px 0 4px;
  }
  .card-couple-names {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    gap: 2px;
    max-width: 95%;
    line-height: 1.25;
  }
  .card-couple-names .c-amp {
    font-size: 0.9rem;
    margin: 0;
  }
  .card-gold-divider {
    margin: 4px 0;
  }
  .card-guest-box {
    padding: 4px 10px 5px;
    width: 92%;
    margin: 2px 0;
  }
  .guest-honored-name {
    font-size: 0.88rem;
  }
  .card-rsvp-block {
    margin-top: 6px;
  }
  .card-rsvp-title {
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    margin-bottom: 8px;
  }
  .btn-card-confirm {
    padding: 7px 16px;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  .press-to-open-container {
    margin-top: 12px;
  }
  .press-to-open-text {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
  }
  /* Bar 4 Langkah: muat kemas 100% pada mana-mana telefon tanpa terkeluar kiri/kanan */
  .envelope-four-steps-bar {
    width: 100%;
    max-width: 340px;
    margin-top: 14px;
    padding: 0 4px;
    gap: 2px;
  }
  .step-num {
    font-size: 0.88rem;
    margin-bottom: 2px;
  }
  .step-lbl {
    font-size: 0.48rem;
    letter-spacing: 0.03em;
    line-height: 1.2;
  }
  .step-div {
    font-size: 0.42rem;
    margin-top: 2px;
  }
}

/* ==========================================================================
   ACT II: MAIN DOSSIER (PASTEL FLORAL LAYOUT)
   ========================================================================== */
.floral-main {
  position: relative;
  z-index: 10;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-bottom: 90px;
}

body:not(.locked-entry) .floral-main {
  opacity: 1;
}

.pastel-container {
  width: min(840px, 92vw);
  margin: 0 auto;
}

.floral-section {
  padding: 70px 0;
  position: relative;
}

.floral-section + .floral-section::before {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: var(--pastel-blush-deep);
  margin: -35px auto 35px;
  opacity: 0.6;
}

/* Dock Menu Bawah */
.floral-dock-nav {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translate3d(0, 0, 0);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  gap: 6px;
  z-index: 900;
  box-shadow: var(--shadow-soft);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.dock-item span {
  font-size: 0.95rem;
}

.dock-item small {
  font-family: var(--font-heading);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.dock-item.active, .dock-item:hover {
  background: var(--pastel-blush);
  color: var(--pastel-rose);
}

/* Common Section Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.sec-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--pastel-rose);
  margin-bottom: 6px;
  font-weight: 600;
}

.sec-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.sec-desc-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================================================
   PROLOGUE & COUNTDOWN
   ========================================================================== */
.bismillah-pastel-card {
  text-align: center;
  padding: 38px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 35px;
}

.arabic-script {
  font-family: var(--font-arabic);
  font-size: clamp(2.2rem, 6vw, 3rem);
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.soft-flower-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0;
}

.soft-flower-divider .line {
  width: 50px;
  height: 1px;
  background: var(--pastel-blush-deep);
  opacity: 0.6;
}

.soft-flower-divider .flower-symbol {
  font-size: 0.85rem;
}

.quran-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  max-width: 620px;
  margin: 0 auto 10px;
  line-height: 1.8;
}

.quran-ref {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--pastel-rose);
  font-style: normal;
  display: block;
}

/* Countdown Board */
.countdown-pastel-board {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.countdown-header-lbl {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--pastel-rose);
  margin-bottom: 20px;
  font-weight: 600;
}

.countdown-tiles-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.c-tile {
  background: #FFF;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px 12px;
  min-width: 76px;
  box-shadow: 0 4px 12px rgba(180, 145, 135, 0.08);
}

.c-val {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1;
  color: var(--pastel-rose);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.c-lbl {
  font-size: 0.62rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

.c-dot {
  color: var(--pastel-blush-deep);
  font-size: 1.2rem;
}

.cal-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pastel-btn-outline {
  background: #FFF;
  border: 1px solid var(--pastel-blush-deep);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.pastel-btn-outline:hover {
  background: var(--pastel-blush);
  color: var(--pastel-rose);
  transform: translateY(-2px);
}

/* ==========================================================================
   INVITATION CARD SHEET
   ========================================================================= */
.invitation-card-sheet {
  background: #FFFDFB;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-float);
}

.sheet-top-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--pastel-rose);
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.sheet-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 30px;
}

.parents-pastel-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px 16px;
  background: #FAF5F0;
  border-radius: 12px;
  margin-bottom: 28px;
}

.p-role {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--pastel-rose);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.p-names {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.parents-heart-icon {
  color: var(--pastel-blush-deep);
  font-size: 1.2rem;
}

.invitation-gentle-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 16px auto;
}

.guest-spotlight-pill {
  margin: 26px auto;
  padding: 22px 20px;
  background: linear-gradient(135deg, #FFF9FA 0%, #FDF3F4 100%);
  border: 1px solid var(--pastel-blush-deep);
  border-radius: 12px;
  max-width: 560px;
  box-shadow: 0 6px 20px rgba(220, 168, 174, 0.15);
}

.g-prefix {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--pastel-rose);
  font-weight: 600;
  margin-bottom: 4px;
}

.g-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.g-seat {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  background: var(--pastel-blush);
  color: var(--pastel-rose);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.couple-bloom-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}

.couple-card {
  text-align: center;
}

.c-title {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--pastel-rose);
  margin-bottom: 4px;
  font-weight: 600;
}

.c-full-name {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.c-bin {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.couple-script-and {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--pastel-rose);
  line-height: 1;
}

/* ==========================================================================
   ATUR CARA & DRESS CODE
   ========================================================================= */
.timeline-pastel-list {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.timeline-slot {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.timeline-slot:hover {
  transform: translateX(4px);
  background: #FFF;
  border-color: var(--pastel-blush-deep);
}

.slot-time {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pastel-rose);
  letter-spacing: 0.1em;
  border-right: 1px solid var(--pastel-blush);
  padding-right: 16px;
}

.slot-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.slot-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.dresscode-soft-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFDFB;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.dc-flower {
  font-size: 2.2rem;
}

.dc-content {
  flex: 1;
}

.dc-title-tag {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--pastel-rose);
  font-weight: 600;
  margin-bottom: 4px;
}

.dc-main-theme {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dc-explanation {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.dc-color-dots {
  display: flex;
  gap: 8px;
}

.dot-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* ==========================================================================
   VENUE SECTION
   ========================================================================= */
.venue-pastel-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #FFFDFB;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.venue-info-pane {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v-sub {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--pastel-rose);
  margin-bottom: 6px;
  font-weight: 600;
}

.v-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.v-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
  line-height: 1.6;
}

.venue-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #FAF5F0;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  transition: all 0.25s;
}

.v-btn:hover {
  background: var(--pastel-blush);
  border-color: var(--pastel-blush-deep);
  color: var(--pastel-rose);
  transform: translateY(-2px);
}

.venue-map-pane iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ==========================================================================
   RSVP FORM
   ========================================================================= */
.rsvp-pastel-form-box {
  background: #FFFDFB;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 44px 34px;
  box-shadow: var(--shadow-float);
  max-width: 620px;
  margin: 0 auto;
}

.pastel-form {
  display: grid;
  gap: 20px;
}

.f-lbl {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--pastel-rose);
  font-weight: 600;
  margin-bottom: 6px;
}

.pastel-input, .pastel-textarea {
  width: 100%;
  background: #FAF6F2;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.pastel-input:focus, .pastel-textarea:focus {
  border-color: var(--pastel-blush-deep);
  box-shadow: 0 0 14px rgba(220, 168, 174, 0.25);
  background: #FFF;
}

.attendance-pastel-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.att-card {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: #FAF6F2;
  transition: all 0.25s;
}

.att-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.att-flower {
  font-size: 1.1rem;
}

.att-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.att-text small {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.att-card.active {
  border-color: var(--pastel-blush-deep);
  background: #FFF0F2;
  box-shadow: 0 4px 14px rgba(220, 168, 174, 0.2);
}

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

.p-btn {
  background: #FAF6F2;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.p-btn.active {
  border-color: var(--pastel-blush-deep);
  background: var(--pastel-blush);
  color: var(--pastel-rose);
  box-shadow: 0 4px 12px rgba(220, 168, 174, 0.25);
}

.form-feedback-text {
  font-size: 0.82rem;
  color: #c94b57;
  min-height: 1.2rem;
  text-align: center;
}

.pastel-submit-btn {
  background: linear-gradient(135deg, #F8E4E6 0%, #EFC5C9 100%);
  color: #6E3F45;
  border: 1px solid var(--pastel-blush-deep);
  border-radius: 999px;
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(220, 168, 174, 0.35);
  transition: all 0.25s;
}

.pastel-submit-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FFF 0%, #F5DADB 100%);
  box-shadow: 0 10px 28px rgba(220, 168, 174, 0.45);
}

/* Success Card */
.rsvp-success-card {
  text-align: center;
  padding: 20px 10px;
}

.success-flower {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.success-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.success-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.success-ticket-pill {
  background: #FFF9FA;
  border: 1px solid var(--pastel-blush-deep);
  border-radius: 14px;
  padding: 22px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(220, 168, 174, 0.2);
}

.ticket-tag {
  display: inline-block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--pastel-rose);
  font-weight: 600;
  margin-bottom: 6px;
}

.ticket-guest-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ticket-details {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.ticket-code {
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--pastel-rose);
}

/* ==========================================================================
   WISHES SECTION
   ========================================================================= */
.wishes-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.counter-flower {
  font-size: 0.85rem;
}

.wishes-soft-stream {
  display: grid;
  gap: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--pastel-blush-deep) transparent;
}

.wish-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--pastel-rose);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  animation: tileFadeIn 0.4s ease;
}

@keyframes tileFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wish-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.wish-author {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 600;
}

.wish-time {
  font-size: 0.65rem;
  color: var(--text-light);
}

.wish-quote {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  white-space: pre-line;
}

.empty-wish-notice {
  text-align: center;
  padding: 35px 20px;
  border: 1px dashed var(--border-soft);
  border-radius: 10px;
  color: var(--text-secondary);
}
.empty-wish-notice span { font-size: 1.8rem; display: block; margin-bottom: 6px; }

/* ==========================================================================
   FOOTER
   ========================================================================= */
.floral-footer {
  text-align: center;
  padding: 60px 0 160px;
  border-top: 1px solid var(--border-soft);
  margin-top: 50px;
}

.footer-wreath-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.footer-couple-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-amp {
  font-family: var(--font-script);
  color: var(--pastel-rose);
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.footer-date-line {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-hashtag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--pastel-rose);
}

.footer-credits {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0.85;
}

.footer-credits::before,
.footer-credits::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--border-soft);
}

/* Toast */
.floral-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 150%);
  background: #FFF;
  border: 1px solid var(--pastel-blush-deep);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.78rem;
  box-shadow: 0 10px 30px rgba(180, 145, 135, 0.25);
  transition: transform 0.4s cubic-bezier(0.2, 1.2, 0.4, 1);
  z-index: 99999;
  pointer-events: none;
}

.floral-toast.show {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   KISAH DUA HATI (LOVE STORY CHAPTERS)
   ========================================================================== */
.love-story-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.story-chapter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 30px 22px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-chapter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: var(--pastel-blush-deep);
  background: var(--bg-card-hover);
}

.chapter-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F3D5D8, #E2EADF);
  border: 1px solid rgba(200, 125, 133, 0.4);
  padding: 3px 12px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  font-weight: 600;
}

.chapter-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.chapter-date {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pastel-rose);
  margin-bottom: 14px;
}

.chapter-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   PANDUAN TETAMU VIP (CONCIERGE & PROTOKOL MAJLIS)
   ========================================================================== */
.concierge-accordion-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.concierge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.concierge-card.active {
  border-color: var(--pastel-blush-deep);
  box-shadow: var(--shadow-float);
}

.concierge-header {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.concierge-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.concierge-title-group {
  flex-grow: 1;
}

.concierge-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.concierge-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.concierge-chevron {
  font-size: 1rem;
  color: var(--pastel-rose);
  transition: transform 0.3s ease;
}

.concierge-card.active .concierge-chevron {
  transform: rotate(180deg);
}

.concierge-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 20px 0 54px;
}

.concierge-card.active .concierge-body {
  max-height: 200px;
  padding-bottom: 18px;
}

.concierge-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   VOICE WISH RECORDER (TITIPAN SUARA TETAMU)
   ========================================================================== */
.voice-wish-container {
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 4px;
}

.voice-wish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 4px;
}

.voice-wish-lbl {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  font-weight: 600;
}

.voice-wish-hint {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.voice-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.voice-btn-record {
  background: #FFF;
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.voice-btn-record:hover {
  border-color: var(--pastel-rose);
  background: #FFF0F2;
}

.voice-btn-record.recording {
  background: #FFE2E6;
  border-color: #E25867;
  color: #C02636;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9534F;
  display: inline-block;
}

.voice-btn-record.recording .rec-dot {
  animation: pulseDot 1s infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 1; }
}

.voice-timer-display {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #C02636;
}

.voice-btn-clear {
  background: transparent;
  border: none;
  color: #9C8C7E;
  font-size: 0.72rem;
  text-decoration: underline;
  cursor: pointer;
}

.voice-btn-clear:hover {
  color: #C02636;
}

/* ==========================================================================
   EXTRA ACTIONS IN RSVP & SUCCESS SLIP
   ========================================================================== */
.rsvp-extra-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-royal-link {
  background: transparent;
  border: 1px dashed var(--pastel-blush-deep);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-royal-link:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--pastel-rose);
  border-color: var(--pastel-rose);
  border-style: solid;
}

.confirmed-slip-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-view-pass {
  background: linear-gradient(135deg, #F3D5D8, #E2EADF);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(180, 145, 135, 0.15);
  transition: all 0.3s ease;
}

.btn-view-pass:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(180, 145, 135, 0.25);
  border-color: var(--pastel-rose);
}

.btn-gift-inline {
  background: #FFF;
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gift-inline:hover {
  background: #FAF5EE;
  color: var(--text-primary);
}

/* ==========================================================================
   MODAL OVERLAYS & SHEETS (VIP PASS & SALAM KAUT)
   ========================================================================== */
.floral-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(30, 24, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.floral-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.floral-modal-sheet {
  background: #FFFDFB;
  border-radius: 20px;
  width: min(520px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 36px 26px;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floral-modal-overlay.open .floral-modal-sheet {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #F4D9DC;
  color: #C02636;
}

/* VIP TICKET CARD PREVIEW */
.modal-vip-sheet {
  padding: 30px 22px 24px;
}

.vip-ticket-preview {
  background: #FAF7F2;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(180, 145, 135, 0.15);
  padding: 24px 20px 20px;
  text-align: center;
}

.ticket-header-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ribbon-text {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--pastel-rose);
  font-weight: 600;
}

.ticket-couple-monogram {
  margin-bottom: 18px;
}

.monogram-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid var(--pastel-gold);
  background: #FDF2F3;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(203, 176, 104, 0.3);
}

.ticket-monogram-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.ticket-sub-tag {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  display: block;
}

.ticket-names-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ticket-guest-spotlight {
  background: #FFF;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.t-spot-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  display: block;
  font-weight: 600;
}

.t-spot-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 4px 0 6px;
}

.t-spot-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EAF3E7;
  border: 1px solid #C4DEC0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #3B6E32;
  letter-spacing: 0.08em;
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3B6E32;
}

.ticket-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 6px;
  margin-bottom: 14px;
}

.t-meta-cell {
  text-align: center;
}

.t-cell-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.t-cell-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 2px 0 1px;
}

.t-cell-sub {
  font-size: 0.55rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.ticket-venue-row {
  margin-bottom: 16px;
}

.t-venue-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  font-weight: 600;
}

.t-venue-name {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
}

.ticket-perforated-divide {
  position: relative;
  margin: 16px -20px;
  display: flex;
  align-items: center;
}

.ticket-perforated-divide .notch {
  width: 18px;
  height: 18px;
  background: #FFFDFB;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.ticket-perforated-divide .notch-left { left: -9px; }
.ticket-perforated-divide .notch-right { right: -9px; }

.dashed-line {
  width: 100%;
  border-top: 1.5px dashed rgba(200, 160, 150, 0.5);
}

.ticket-stub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  text-align: left;
}

.stub-serial {
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}

.barcode-graphic {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
}

.barcode-graphic span {
  width: 2px;
  height: 100%;
  background: #3E3228;
}

.barcode-graphic span:nth-child(even) { width: 1px; }
.barcode-graphic span:nth-child(3n) { width: 3px; }

.stub-qr-badge {
  text-align: center;
}

.stub-qr-badge small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-top: 2px;
}

.vip-modal-actions {
  margin-top: 20px;
  text-align: center;
}

.btn-download-pass-png {
  width: 100%;
  background: linear-gradient(135deg, #F3D5D8, #E2EADF);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(180, 145, 135, 0.2);
  transition: all 0.3s ease;
}

.btn-download-pass-png:hover {
  transform: translateY(-2px);
  border-color: var(--pastel-rose);
  box-shadow: 0 10px 28px rgba(180, 145, 135, 0.3);
}

.download-tip {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* SALAM KAUT & HADIAH MODAL */
.modal-gift-sheet {
  text-align: center;
  padding: 36px 24px;
}

.gift-modal-header {
  margin-bottom: 20px;
}

.gift-modal-flower {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 6px;
}

.gift-modal-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
}

.gift-modal-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.duitnow-luxury-card {
  background: #FAF7F2;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
}

.dn-top-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.dn-badge-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ED008C; /* DuitNow Magenta Signature */
  letter-spacing: 0.08em;
}

.dn-badge-sub {
  font-size: 0.6rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.dn-qr-wrapper {
  background: #FFF;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin-bottom: 8px;
  max-width: 220px;
}

.dn-qr-image {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 0 auto;
}

.dn-scan-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.bank-details-box {
  background: #FFF;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  text-align: left;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.82rem;
  border-bottom: 1px dashed rgba(220, 195, 185, 0.4);
}

.bank-row:last-of-type {
  border-bottom: none;
}

.b-lbl {
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.b-val {
  color: var(--text-primary);
  font-weight: 600;
}

.acc-number {
  font-family: monospace;
  font-size: 0.95rem;
  color: #9E4B56;
  letter-spacing: 0.05em;
}

.btn-copy-acc-number {
  width: 100%;
  margin-top: 12px;
  background: #FAF5EE;
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-copy-acc-number:hover {
  background: #F4D9DC;
  border-color: var(--pastel-rose);
  color: #9E4B56;
}

.gift-courtesy-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE DESIGN ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .parents-pastel-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .parents-heart-icon {
    display: none;
  }
  .couple-bloom-container {
    flex-direction: column;
    gap: 12px;
  }
  .couple-script-and {
    font-size: 2.2rem;
  }
  .love-story-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .timeline-slot {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .slot-time {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 6px;
  }
  .venue-pastel-card {
    grid-template-columns: 1fr;
  }
  .dresscode-soft-box {
    flex-direction: column;
    text-align: center;
  }
  .attendance-pastel-toggle {
    grid-template-columns: 1fr;
  }
  .floral-floating-widgets {
    top: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(95vw, 360px);
    justify-content: center;
    gap: 6px 8px;
  }
  .cine-pill-btn,
  .audio-pill-btn,
  .shower-pill-btn,
  .gift-pill-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
    height: 32px;
    box-sizing: border-box;
  }
  #prologue {
    padding-top: 96px;
  }
  .concierge-body {
    padding-left: 20px;
  }
}

/* ==========================================================================
   CINEMATIC STORYLINE THEATRE — ULTRA LUXURY ROYAL FILM EXPERIENCE
   TENGKU AHMAD KHAIRI (KJ) & JOANNE HANNA QALISYA
   ========================================================================== */
:root {
  --cine-bg: #090709;
  --cine-bg-silk: #120D11;
  --cine-gold-bright: #F5D78E;
  --cine-gold-mid: #D4AF37;
  --cine-gold-soft: #C5A059;
  --cine-blush-glow: rgba(226, 123, 139, 0.28);
  --cine-gold-glow: rgba(212, 175, 55, 0.35);
  --cine-text-light: #F7EFE9;
  --cine-text-muted: #C9B8B0;
  --cine-bar-h: 68px;
}

/* The Overarching Fullscreen Theatre */
.cinematic-theatre {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: var(--cine-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  overflow: hidden;
  user-select: none;
}

.cinematic-theatre.theatre-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 2.39:1 CinemaScope Letterbox Bars */
.cinematic-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--cine-bar-h);
  background: linear-gradient(180deg, #050405 0%, #0D0A0D 100%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(16px, 4vw, 40px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-bar.bar-top {
  top: 0;
  height: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  border-bottom: none;
  box-shadow: none;
  padding: 8px 16px 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.cinematic-bar.bar-bottom {
  bottom: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  transform: translateY(100%);
}

.cinematic-theatre.theatre-active .cinematic-bar.bar-top,
.cinematic-theatre.theatre-active .cinematic-bar.bar-bottom {
  transform: translateY(0);
}

/* Top Bar Content - Hidden completely as requested by user */
.cine-top-content {
  display: none !important;
}

.cine-brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cine-roll-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 8px var(--cine-gold-bright));
}

.cine-brand-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--cine-gold-bright);
  font-weight: 600;
  text-transform: uppercase;
}

.cine-sound-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cine-mini-eq {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}

.cine-mini-eq span {
  width: 2.5px;
  background-color: var(--cine-gold-bright);
  border-radius: 1px;
  animation: eqBounce 1.2s infinite ease-in-out alternate;
}

.cine-mini-eq span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.cine-mini-eq span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.cine-mini-eq span:nth-child(3) { height: 60%; animation-delay: 0.2s; }

@keyframes eqBounce {
  0% { height: 25%; }
  100% { height: 100%; }
}

.cine-sound-txt {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--cine-text-muted);
  text-transform: uppercase;
}

.cine-skip-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FDF4E7;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.cine-skip-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--cine-gold-bright);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Instagram / Cinema Reel Progress Bars */
.cine-progress-reel {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 3px;
  display: flex;
  gap: 4px;
  padding: 0 16px;
  pointer-events: auto;
}

.cine-reel-track {
  flex: 1;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cine-reel-track:hover {
  background: rgba(255, 255, 255, 0.45);
}

.cine-reel-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #D4AF37, #FFF1C5);
  box-shadow: 0 0 8px rgba(245, 215, 142, 0.8);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Bottom Bar Content */
.cine-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cine-scene-index-badge {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--cine-gold-bright);
  display: flex;
  align-items: center;
  gap: 6px;
}


.cine-divider {
  opacity: 0.4;
}

.cine-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cine-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8EFE6;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cine-nav-btn:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--cine-gold-bright);
  color: #FFF;
}

.cine-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Theatrical Visual Stage */
.cinematic-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Real Cinematic Background Video Player */
.cine-video-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
}

.cine-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate3d(-50%, -50%, 0) scale(1.01);
  -webkit-transform: translate3d(-50%, -50%, 0) scale(1.01);
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity;
  pointer-events: none;
  z-index: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cine-bg-video.active {
  opacity: 0.95;
  z-index: 2;
}

.cine-video-tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14, 10, 14, 0.2) 0%, rgba(10, 7, 10, 0.55) 70%, rgba(6, 4, 6, 0.82) 100%);
  z-index: 6;
}

.cine-video-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px 30px rgba(0, 0, 0, 0.7);
  z-index: 7;
}

/* Pulsing REC / Video Badge */
.cine-video-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(226, 123, 139, 0.15);
  border: 1px solid rgba(226, 123, 139, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: #FFC2CD;
  font-weight: 600;
}

.cine-rec-dot {
  width: 7px;
  height: 7px;
  background-color: #E27B8B;
  border-radius: 50%;
  box-shadow: 0 0 8px #FF8DA1;
  animation: recPulse 1.5s infinite;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* Ambient Starry Dust */
.cine-ambient-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.dust-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: var(--cine-gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(245, 215, 142, 0.7);
  animation: dustDrift 14s infinite linear;
  opacity: 0.5;
}

.dust-spark.s1 { top: 20%; left: 15%; animation-duration: 16s; animation-delay: 0s; }
.dust-spark.s2 { top: 70%; left: 30%; animation-duration: 12s; animation-delay: 2s; }
.dust-spark.s3 { top: 35%; left: 80%; animation-duration: 18s; animation-delay: 1s; }
.dust-spark.s4 { top: 80%; left: 75%; animation-duration: 14s; animation-delay: 3s; }
.dust-spark.s5 { top: 15%; left: 60%; animation-duration: 20s; animation-delay: 4s; }

@keyframes dustDrift {
  0% { transform: translateY(0) scale(0.8); opacity: 0.2; }
  50% { opacity: 0.8; transform: translateY(-40px) scale(1.3); }
  100% { transform: translateY(-90px) scale(0.6); opacity: 0.1; }
}

/* Invisible Tap Zones for Fast Touch / Click Navigation */
.cine-tap-zone {
  position: absolute;
  top: var(--cine-bar-h);
  bottom: var(--cine-bar-h);
  width: 25%;
  z-index: 30;
  cursor: pointer;
}

.cine-tap-zone.zone-left { left: 0; }
.cine-tap-zone.zone-right { right: 0; }

/* The Scenes */
.cine-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.7s;
  padding: 30px 24px calc(var(--cine-bar-h) + 15px);
  background: transparent !important;
  z-index: 20;
}

.cine-scene.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 20;
}

/* Opaque scene backdrops are hidden so the Islamic video is 100% visible! */
.cine-scene-backdrop {
  display: none !important;
}

@keyframes kenBurnsMotion1 {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-15px, -10px, 0); }
}

@keyframes kenBurnsMotion2 {
  0% { transform: scale(1.08) translate3d(10px, 5px, 0); }
  100% { transform: scale(1) translate3d(-10px, -8px, 0); }
}

/* Scene Content Card */
.cine-content-card {
  position: relative;
  z-index: 25;
  max-width: 820px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cineContentFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cineContentFadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cine-scene-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  color: var(--cine-gold-bright);
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 5px 18px;
  border-radius: 30px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.cine-arabic-basmalah {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--cine-gold-bright);
  opacity: 0.9;
  letter-spacing: 0.05em;
  text-shadow: 0 0 15px rgba(245, 215, 142, 0.4);
}

.cine-scene-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 400;
  color: #FFFDF9;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 215, 142, 0.25);
}

.cine-scene-headline.couple-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cine-name-span {
  background: linear-gradient(135deg, #FFFDFB 0%, #FBE5B2 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.cine-amp {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: #E27B8B;
  -webkit-text-fill-color: #E27B8B;
  line-height: 0.8;
  transform: translateY(-4px);
}

.cine-formal-fullnames {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  letter-spacing: 0.12em;
  color: var(--cine-text-muted);
  text-transform: uppercase;
  line-height: 1.6;
}

/* Royal Monogram Shield */
.cine-royal-monogram-shield {
  position: relative;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cine-monogram-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 202, 101, 0.55) 0%, rgba(248, 232, 233, 0.25) 50%, transparent 75%);
  animation: pulseGlow 3s infinite alternate;
  pointer-events: none;
}

.cine-monogram-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E6CA65;
  box-shadow: 0 0 0 1px #8B6508, 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 22px rgba(230, 202, 101, 0.5);
  display: block;
  background: #FDF2F3;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.7; }
}

/* Crystal Venue & Date Badges */
.cine-crystal-chandelier-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 18px;
  border-radius: 30px;
}

.cine-crystal-icon {
  font-size: 1.1rem;
}

.cine-venue-text {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: #F8EFE4;
}

.cine-scene-headline.date-headline {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--cine-gold-bright);
}

.cine-time-pill {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #D2C4BC;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 6px 18px;
  border-radius: 20px;
}

/* Gold Divider Flourish */
.cine-gold-divider-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  margin: 4px 0;
}

.cine-gold-divider-flourish .cg-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
}

.cine-gold-divider-flourish .cg-sparkle {
  color: var(--cine-gold-bright);
  font-size: 0.9rem;
  text-shadow: 0 0 10px rgba(245, 215, 142, 0.8);
}

/* Poetic Texts */
.cine-scene-poetic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: #F5EAE1;
  line-height: 1.8;
  max-width: 680px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.cine-scene-subpoetic {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.8vw, 0.92rem);
  letter-spacing: 0.08em;
  color: var(--cine-text-muted);
  line-height: 1.6;
}

/* Guest Spotlight in Scene 4 */
.guest-reveal-card {
  gap: 14px;
}

.cine-rings-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #FFF2D6;
  padding: 5px 16px;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
  margin-bottom: 2px;
}

.cine-rings-badge .rings-badge-icon {
  font-size: 1rem;
}

.cine-guest-salutation {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--cine-gold-bright);
}

.cine-guest-hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 0 35px rgba(245, 215, 142, 0.45), 0 4px 20px rgba(0, 0, 0, 0.9);
  padding: 8px 24px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  display: inline-block;
  line-height: 1.25;
}

.cine-guest-subtitle {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--cine-text-muted);
}

.cine-final-actions {
  margin-top: 10px;
  width: 100%;
}

.btn-cine-enter-grand {
  position: relative;
  background: linear-gradient(135deg, #D4AF37 0%, #F5D78E 50%, #C49830 100%);
  color: #2D1D09;
  border: none;
  border-radius: 40px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.45), 0 0 25px rgba(245, 215, 142, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.btn-cine-enter-grand:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 45px rgba(212, 175, 55, 0.65), 0 0 35px rgba(245, 215, 142, 0.5);
  color: #170E04;
}

.btn-cine-shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: btnShineAnim 3s infinite ease-in-out;
}

@keyframes btnShineAnim {
  0% { left: -100%; }
  40%, 100% { left: 180%; }
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.btn-cine-enter-grand:hover .btn-arrow {
  transform: translateX(5px);
}

/* Envelope Front Cinematic CTA Button */
.btn-envelope-cinematic-cta {
  margin-top: 12px;
  background: linear-gradient(135deg, #382416 0%, #1F1511 100%);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--cine-gold-bright);
  padding: 10px 20px;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), 0 0 15px rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
  width: auto;
}

.btn-envelope-cinematic-cta:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #B88E28 100%);
  color: #1C1105;
  border-color: #FFF;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* Floating Replay Widget Button */
.cine-pill-btn {
  background: rgba(20, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--cine-gold-bright);
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18), 0 0 10px rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.cine-pill-btn:hover {
  background: #2D1D16;
  border-color: var(--cine-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.cine-pill-icon {
  font-size: 0.9rem;
}

/* Footer Replay Button */
.footer-cine-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.btn-footer-replay-cine {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  padding: 10px 22px;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.btn-footer-replay-cine:hover {
  background: #FFFFFF;
  border-color: var(--pastel-rose);
  color: #9E4B56;
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
}

/* Mobile Responsiveness for Cinematic Theatre */
@media (max-width: 768px) {
  :root {
    --cine-bar-h: 54px;
  }
  .cine-brand-title {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  .cine-sound-status {
    display: none;
  }
  .cine-skip-btn {
    padding: 4px 10px;
    font-size: 0.65rem;
  }
  .cine-scene-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    padding: 4px 12px;
  }
  .cine-scene-headline {
    font-size: 1.85rem;
  }
  .cine-scene-headline.couple-headline {
    gap: 8px;
  }
  .cine-amp {
    font-size: 2.2rem;
  }
  .cine-scene-poetic {
    font-size: 1.05rem;
    line-height: 1.65;
  }
  .cine-guest-hero-name {
    font-size: 1.7rem;
    padding: 6px 16px;
  }
  .btn-cine-enter-grand {
    padding: 13px 24px;
    font-size: 0.8rem;
    width: 100%;
  }
  .cine-royal-monogram-shield {
    width: 76px;
    height: 76px;
  }
}

