/* ==========================================================================
   ROYAL JAVANESE HERITAGE WEDDING INVITATION STYLESHEET
   Ilyas, S.Kom & Niam Septia Akroma, S.Pd — Sabtu Kliwon, 19 Desember 2026
   Theme: "Royal Crimson, Sogan Espresso & Champagne Gold"
   ========================================================================== */

:root {
  /* Primary Royal Javanese Palette (Matched to Couple's Prewedding Attire) */
  --maroon-deep: #34080F;
  --maroon-royal: #58101C;
  --maroon-crimson: #7B1828;
  --sogan-dark: #1A0C09;
  --sogan-brown: #2E1811;
  --sogan-warm: #5A3522;

  /* Gold Accents */
  --gold-primary: #D4AF37;
  --gold-light: #F5E6B8;
  --gold-bright: #E6C65B;
  --gold-dark: #9B7416;
  --gold-border: rgba(212, 175, 55, 0.42);
  --gold-glow: rgba(212, 175, 55, 0.25);

  /* Cream & Parchment Surfaces */
  --cream-bg: #FAF5EE;
  --cream-card: #FFFDF9;
  --cream-soft: #F3E9DC;
  --text-dark: #261310;
  --text-muted-dark: #63483F;
  --text-light: #FDF8F2;
  --text-muted-light: rgba(253, 248, 242, 0.8);

  /* Typography */
  --font-display: 'Cinzel Decorative', 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-javanese: 'Noto Sans Javanese', serif;

  /* Shadows & Transitions */
  --shadow-royal: 0 18px 45px rgba(20, 5, 8, 0.45);
  --shadow-soft: 0 12px 32px rgba(46, 24, 17, 0.12);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--sogan-dark);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Floating Gold Dust Canvas */
#gold-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 45;
}

/* ==========================================================================
   ORNAMENTAL CORNERS & BATIK TEXTURES
   ========================================================================== */
.batik-texture-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/ornaments/batik-pattern.svg');
  background-size: 130px 130px;
  background-repeat: repeat;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.ukiran-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold-primary);
  border-style: solid;
  pointer-events: none;
  opacity: 0.85;
  z-index: 2;
}

.ukiran-tl {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 6px;
}
.ukiran-tr {
  top: 10px;
  right: 10px;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 6px;
}
.ukiran-bl {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 6px;
}
.ukiran-br {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 6px;
}

.ukiran-corner::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--gold-primary);
  transform: rotate(45deg);
}
.ukiran-tl::after { top: 4px; left: 4px; }
.ukiran-tr::after { top: 4px; right: 4px; }
.ukiran-bl::after { bottom: 4px; left: 4px; }
.ukiran-br::after { bottom: 4px; right: 4px; }

/* ==========================================================================
   1. COVER GATE (LAYAR SAMPUL PEMBUKA GEBYOK & GUNUNGAN)
   ========================================================================== */
.cover-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  transition: visibility 1.2s ease, opacity 1s ease;
}

.cover-gate.is-opened {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.gate-door {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: radial-gradient(circle at center, var(--maroon-royal) 0%, var(--maroon-deep) 65%, var(--sogan-dark) 100%);
  z-index: 1;
  transition: transform 1.35s var(--ease-out-expo);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
}

.gate-door-left {
  left: 0;
  border-right: 2px solid var(--gold-primary);
}

.gate-door-right {
  right: 0;
  border-left: 2px solid var(--gold-primary);
}

.cover-gate.is-opened .gate-door-left {
  transform: translateX(-105%);
}

.cover-gate.is-opened .gate-door-right {
  transform: translateX(105%);
}

.gate-batik-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../assets/ornaments/batik-pattern.svg');
  background-size: 120px 120px;
  opacity: 0.45;
}

.gate-border-inner {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  pointer-events: none;
}

.cover-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 440px;
  margin: auto;
  transition: transform 0.9s var(--ease-out-expo), opacity 0.7s ease;
}

.cover-gate.is-opened .cover-content {
  transform: scale(1.08);
  opacity: 0;
}

.cover-card {
  position: relative;
  background: linear-gradient(165deg, rgba(74, 14, 23, 0.94) 0%, rgba(32, 14, 11, 0.96) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: 22px;
  padding: 26px 22px 24px;
  text-align: center;
  box-shadow: var(--shadow-royal), 0 0 35px rgba(212, 175, 55, 0.16);
  backdrop-filter: blur(10px);
}

.aksara-jawa {
  display: block;
  font-family: var(--font-javanese);
  font-size: 0.95rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.cover-subtitle {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.cover-medallion-wrap {
  position: relative;
  width: 220px;
  height: 266px;
  margin: 16px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-gunungan-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 276px;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0.48;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
  animation: floatSlowCentered 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cover-arch-frame {
  position: relative;
  width: 148px;
  height: 198px;
  margin: 0 auto;
  border-radius: 90px 90px 18px 18px;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.cover-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 86px 86px 14px 14px;
}

.cover-title-script {
  font-family: var(--font-script);
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 1.1;
  background: linear-gradient(to right, var(--gold-light), var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.cover-fullnames {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.cover-date-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(26, 12, 9, 0.65);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.guest-card {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 8, 6, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.guest-label {
  font-size: 0.74rem;
  color: var(--text-muted-light);
  margin-bottom: 4px;
}

.guest-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.25;
}

.guest-note {
  font-size: 0.66rem;
  color: rgba(253, 248, 242, 0.6);
  margin-top: 4px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-royal-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--gold-light);
  background: linear-gradient(135deg, #E8C766 0%, #C89B27 50%, #9E7411 100%);
  color: #1F0B08;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-royal-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.48);
  filter: brightness(1.06);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-primary);
  background: rgba(43, 15, 20, 0.55);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.18);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-open-pulse {
  animation: pulseGold 2.4s infinite;
}

/* ==========================================================================
   2. DUAL-PANE LAYOUT (DESKTOP SPLIT VIEW + MOBILE CARD VIEW)
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Left Fixed Showcase Pane (Visible on Desktop >= 1024px) */
.showcase-pane {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: calc(100% - 520px);
  overflow: hidden;
  border-right: 2px solid rgba(212, 175, 55, 0.35);
  z-index: 10;
}

.showcase-bg-slideshow {
  position: absolute;
  inset: 0;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.8s ease, transform 7s ease;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 12, 9, 0.55) 0%,
    rgba(52, 8, 15, 0.38) 45%,
    rgba(26, 12, 9, 0.92) 100%
  );
}

.showcase-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 48px;
}

.showcase-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.showcase-mini-gunungan {
  width: 38px;
  height: 54px;
}

.showcase-aksara {
  font-family: var(--font-javanese);
  color: var(--gold-light);
  font-size: 1.05rem;
}

.showcase-bottom {
  max-width: 580px;
}

.showcase-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.showcase-couple-title {
  font-family: var(--font-serif);
  font-size: 2.55rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 10px;
}

.showcase-couple-title span {
  font-family: var(--font-script);
  color: var(--gold-primary);
  font-weight: 400;
  margin: 0 6px;
}

.showcase-date {
  font-size: 0.96rem;
  color: var(--gold-light);
  font-weight: 600;
}

.showcase-place {
  font-size: 0.88rem;
  color: var(--text-muted-light);
  margin-top: 2px;
}

.showcase-quote {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--gold-primary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(253, 248, 242, 0.88);
}

/* Right Invitation Scroll Pane */
.invitation-pane {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--sogan-dark);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 20;
}

@media (min-width: 1024px) {
  .showcase-pane {
    display: block;
  }
  .invitation-pane {
    margin-left: auto;
    margin-right: 0;
  }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.inv-section {
  position: relative;
  padding: 68px 24px;
  overflow: hidden;
}

.section-inner {
  position: relative;
  z-index: 2;
  max-width: 450px;
  margin: 0 auto;
}

.maroon-section {
  background: radial-gradient(circle at top, var(--maroon-royal) 0%, var(--maroon-deep) 65%, var(--sogan-dark) 100%);
  color: var(--text-light);
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.cream-section {
  background: linear-gradient(180deg, var(--cream-bg) 0%, var(--cream-soft) 100%);
  color: var(--text-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.aksara-subtitle {
  display: block;
  font-family: var(--font-javanese);
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 4px;
  opacity: 0.9;
}

.aksara-subtitle-dark {
  display: block;
  font-family: var(--font-javanese);
  color: var(--maroon-crimson);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.eyebrow-gold {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.eyebrow-maroon {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--maroon-crimson);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-heading-gold {
  font-family: var(--font-serif);
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-heading-dark {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.2;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtext-light {
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.section-subtext-dark {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at top, #681220 0%, #34080F 58%, #180A08 100%);
  padding-top: 48px;
  padding-bottom: 76px;
  text-align: center;
}

.hero-gunungan {
  width: 68px;
  height: 98px;
  margin: 0 auto 8px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.hero-arch-container {
  position: relative;
  width: 268px;
  margin: 22px auto 26px;
}

.hero-arch-border {
  padding: 7px;
  border-radius: 150px 150px 24px 24px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 28px rgba(212, 175, 55, 0.25);
}

.hero-main-photo {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 144px 144px 18px 18px;
}

.hero-floating-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--maroon-deep), var(--sogan-dark));
  border: 1.5px solid var(--gold-primary);
  padding: 5px 20px;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.hero-couple-script {
  font-family: var(--font-script);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1.1;
  margin-top: 8px;
}

.hero-couple-formal {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 6px 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.gold-amp {
  font-family: var(--font-script);
  color: var(--gold-primary);
  font-size: 1.45rem;
}

.hero-weton-box {
  background: rgba(24, 9, 7, 0.62);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.weton-main {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.weton-sub {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ==========================================================================
   SECTION 2: SALAM, AYAT SUCI & FALSAFAH JAWA
   ========================================================================== */
.javanese-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.divider-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--maroon-crimson), transparent);
}

.divider-gunungan {
  width: 34px;
  height: 50px;
}

.bismillah-arabic {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--maroon-royal);
  margin-bottom: 8px;
}

.greeting-lead {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  margin-bottom: 24px;
}

.sacred-quote-card {
  position: relative;
  background: var(--cream-card);
  border: 1.5px solid rgba(123, 24, 40, 0.22);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.ayah-arabic {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 2;
  color: var(--maroon-deep);
  margin-bottom: 14px;
}

.ayah-translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 10px;
}

.ayah-source {
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  color: var(--maroon-crimson);
}

.philosophy-banner {
  background: linear-gradient(135deg, var(--maroon-deep), var(--sogan-brown));
  color: var(--text-light);
  border-radius: 18px;
  padding: 20px 18px;
  text-align: center;
  border: 1px solid var(--gold-border);
}

.aksara-jawa-banner {
  font-family: var(--font-javanese);
  color: var(--gold-primary);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.philosophy-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.philosophy-desc {
  font-size: 0.84rem;
  color: var(--text-muted-light);
}

/* ==========================================================================
   SECTION 3: PROFIL MEMPELAI (COUPLE CARDS)
   ========================================================================== */
.couple-card {
  position: relative;
  background: linear-gradient(165deg, rgba(46, 14, 19, 0.92) 0%, rgba(24, 10, 8, 0.95) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: 24px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-royal);
}

.couple-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.couple-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.couple-arch-frame {
  width: 200px;
  height: 260px;
  padding: 6px;
  border-radius: 110px 110px 22px 22px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.couple-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 104px 104px 16px 16px;
}

.fallback-groom-crop {
  object-position: 32% 24%;
}

.couple-nickname-script {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--gold-primary);
  line-height: 1.1;
}

.couple-fullname {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 2px;
}

.couple-divider-mini {
  width: 60px;
  height: 2px;
  background: var(--gold-primary);
  margin: 12px auto;
  opacity: 0.65;
}

.parent-intro {
  font-size: 0.82rem;
  color: var(--text-muted-light);
  margin-bottom: 4px;
}

.parent-names {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.parent-names span {
  font-family: var(--font-script);
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.couple-connector {
  display: flex;
  justify-content: center;
  margin: 22px 0;
}

.connector-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  background: radial-gradient(circle, var(--maroon-royal), var(--sogan-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   SECTION 4: HITUNG MUNDUR & ACARA (AKAD 09.00 & RESEPSI 10.00)
   ========================================================================== */
.countdown-banner {
  background-size: cover;
  background-position: center 28%;
  border-radius: 22px;
  padding: 26px 18px;
  text-align: center;
  color: var(--text-light);
  border: 1.5px solid var(--gold-primary);
  box-shadow: var(--shadow-soft);
  margin-bottom: 26px;
}

.countdown-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 14px;
}

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

.cd-item {
  background: rgba(20, 8, 6, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 14px;
  padding: 12px 6px;
  backdrop-filter: blur(4px);
}

.cd-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.cd-label {
  font-size: 0.72rem;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-date-note {
  font-size: 0.83rem;
  color: var(--gold-light);
  font-weight: 500;
}

.event-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.event-card-royal {
  position: relative;
  background: linear-gradient(165deg, #420B14 0%, #230E0B 100%);
  color: var(--text-light);
  border: 1.5px solid var(--gold-primary);
  border-radius: 22px;
  padding: 28px 20px;
  box-shadow: var(--shadow-soft);
}

.event-card-header {
  text-align: center;
  margin-bottom: 18px;
}

.event-card-gunungan {
  width: 38px;
  height: 56px;
  margin: 0 auto 6px;
}

.event-type-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
}

.event-date-highlight {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  background: rgba(15, 6, 5, 0.55);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 12px 10px;
  margin-bottom: 18px;
  text-align: center;
}

.date-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted-light);
  margin-bottom: 2px;
}

.date-val {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--gold-light);
}

.date-center-num {
  padding: 0 14px;
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
}

.month-top, .year-bot {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  font-weight: 700;
}

.day-big {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: #FFFFFF;
  margin: 2px 0;
}

.event-details-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.detail-icon svg {
  width: 18px;
  height: 18px;
}

.detail-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted-light);
}

.detail-value {
  display: block;
  font-size: 0.98rem;
  color: var(--gold-light);
  margin-top: 1px;
}

.detail-subaddress {
  font-size: 0.82rem;
  color: rgba(253, 248, 242, 0.85);
  margin-top: 3px;
  line-height: 1.5;
}

.center-action {
  text-align: center;
}

/* ==========================================================================
   SECTION 5: LOKASI & GOOGLE MAPS
   ========================================================================== */
.map-card-royal {
  position: relative;
  background: rgba(24, 10, 8, 0.88);
  border: 1.5px solid var(--gold-border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-royal);
}

.map-frame-wrapper {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  margin-bottom: 18px;
}

.map-address-box {
  text-align: center;
  padding: 4px 6px 8px;
}

.map-venue-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.map-venue-address {
  font-size: 0.88rem;
  color: var(--text-muted-light);
  margin-bottom: 18px;
  line-height: 1.6;
}

.map-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   SECTION 6: GALERI FOTO & FILOSOFI ADAT
   ========================================================================== */
.philosophy-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.philo-mini-card {
  background: var(--cream-card);
  border: 1px solid rgba(123, 24, 40, 0.2);
  border-left: 4px solid var(--maroon-royal);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(46, 24, 17, 0.06);
}

.philo-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--maroon-crimson);
  background: rgba(123, 24, 40, 0.1);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.philo-mini-card h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--maroon-deep);
  margin-bottom: 3px;
}

.philo-mini-card p {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(90, 53, 34, 0.3);
  background: var(--cream-card);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--maroon-royal);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--sogan-dark);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 8px 22px rgba(46, 24, 17, 0.14);
  aspect-ratio: 3 / 4;
}

.gallery-item.is-wide {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 12, 9, 0.86) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  font-size: 0.75rem;
  color: var(--gold-light);
  line-height: 1.35;
}

/* ==========================================================================
   SECTION 7: TANDA KASIH / GIFT
   ========================================================================== */
.gift-card-royal {
  background: linear-gradient(145deg, rgba(46, 14, 19, 0.94), rgba(22, 9, 7, 0.96));
  border: 1.5px solid var(--gold-primary);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-royal);
}

.gift-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gift-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.gift-mini-gunungan {
  width: 28px;
  height: 40px;
}

.gift-recipient-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.gift-address-detail {
  font-size: 0.85rem;
  color: var(--text-muted-light);
  margin-bottom: 16px;
}

/* ==========================================================================
   SECTION 8: RSVP & DOA RESTU
   ========================================================================== */
.rsvp-card {
  background: var(--cream-card);
  border: 1.5px solid rgba(123, 24, 40, 0.22);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--maroon-deep);
  margin-bottom: 5px;
}

.req {
  color: var(--maroon-crimson);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(90, 53, 34, 0.32);
  background: #FFFFFF;
  color: var(--text-dark);
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon-royal);
  box-shadow: 0 0 0 3px rgba(123, 24, 40, 0.12);
}

.wishes-feed-header {
  border-top: 1px solid rgba(90, 53, 34, 0.18);
  padding-top: 18px;
  margin-bottom: 14px;
}

.wishes-feed-header h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--maroon-deep);
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.wish-item {
  background: var(--cream-bg);
  border: 1px solid rgba(123, 24, 40, 0.16);
  border-radius: 14px;
  padding: 14px;
}

.wish-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.wish-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--maroon-deep);
}

.wish-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--maroon-royal);
  color: var(--gold-light);
}

.wish-message {
  font-size: 0.84rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.wish-time {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted-dark);
  margin-top: 6px;
}

/* ==========================================================================
   SECTION 9: FOOTER (MATUR NUWUN)
   ========================================================================== */
.footer-section {
  background: radial-gradient(circle at top, var(--maroon-royal) 0%, var(--sogan-dark) 85%);
  text-align: center;
  padding-bottom: 110px;
}

.footer-photo-arch {
  width: 190px;
  height: 240px;
  margin: 0 auto 18px;
  padding: 5px;
  border-radius: 100px 100px 20px 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  box-shadow: var(--shadow-royal);
}

.footer-photo-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 95px 95px 15px 15px;
}

.footer-gunungan {
  width: 48px;
  height: 70px;
  margin: 0 auto 10px;
}

.footer-maturnuwun {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.footer-closing-text {
  font-size: 0.88rem;
  color: var(--text-muted-light);
  margin-bottom: 12px;
}

.footer-salam {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.footer-couple-sign {
  margin-bottom: 24px;
}

.sign-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
}

.sign-names {
  font-family: var(--font-script);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1.1;
}

.sign-formal {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-light);
}

.footer-families-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(20, 8, 6, 0.55);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 16px 12px;
  margin-bottom: 22px;
}

.family-label {
  display: block;
  font-size: 0.7rem;
  color: var(--gold-primary);
  margin-bottom: 3px;
}

.family-col strong {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--text-light);
}

.btn-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  font-size: 0.78rem;
  cursor: pointer;
  margin-bottom: 20px;
}

.footer-copyright {
  font-size: 0.74rem;
  color: rgba(253, 248, 242, 0.55);
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION & AUDIO DISC
   ========================================================================== */
.floating-nav {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(28, 10, 8, 0.92);
  border: 1.5px solid var(--gold-primary);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

@media (min-width: 1024px) {
  .floating-nav {
    left: calc(100% - 260px);
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(253, 248, 242, 0.7);
  font-size: 0.65rem;
  transition: all 0.2s ease;
}

.nav-item svg {
  width: 17px;
  height: 17px;
  margin-bottom: 2px;
}

.nav-item.is-active,
.nav-item:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #1F0B08;
  font-weight: 700;
}

/* Music Disc Button */
.music-disc-btn {
  position: fixed;
  bottom: 82px;
  right: 18px;
  z-index: 65;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: radial-gradient(circle, var(--maroon-royal), var(--sogan-dark));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

.music-disc-btn.is-playing .music-disc-inner {
  animation: spinDisc 6s linear infinite;
}

.music-disc-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-disc-inner svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   LIGHTBOX & SHARE MODALS
   ========================================================================== */
.lightbox-modal,
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(14, 5, 4, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.is-open,
.share-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  max-width: 820px;
  max-height: 88vh;
  text-align: center;
}

.lightbox-img {
  max-height: 76vh;
  width: auto;
  margin: 0 auto;
  border-radius: 14px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--gold-light);
}

.lightbox-counter {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted-light);
  margin-top: 4px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 2.4rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  background: rgba(43, 15, 20, 0.8);
  color: var(--gold-light);
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Share Modal Card */
.share-modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--cream-card);
  color: var(--text-dark);
  border: 2px solid var(--gold-primary);
  border-radius: 20px;
  padding: 24px 20px;
}

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.share-modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--maroon-deep);
}

.share-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--maroon-deep);
  cursor: pointer;
}

.share-modal-desc {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
  margin-bottom: 14px;
}

.share-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.share-modal-actions button {
  flex: 1;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 150;
  background: linear-gradient(135deg, var(--maroon-deep), var(--sogan-dark));
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.toast-notification.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes floatSlowCentered {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 5px)); }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55); }
  50% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
}

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