/* ==========================================================================
   PAWIWAHAN AGUNG: MAYANG & AGRA
   Theme: Modern Javanese Royal Elegance (Keraton Noir & Prada Emas)
   High-Art Interactive Motion Graphics Stylesheet
   ========================================================================== */

:root {
  --bg-deep: #0b0806;
  --bg-sogan: #150f0a;
  --bg-card: rgba(28, 20, 14, 0.76);
  --bg-card-solid: #1c140e;
  --bg-glass: rgba(21, 15, 10, 0.72);

  --gold-100: #fef9e7;
  --gold-200: #fbf2c4;
  --gold-300: #f3dc8a;
  --gold-400: #d4af37;
  --gold-500: #b88928;
  --gold-600: #8c6216;
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #d4af37 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-border: linear-gradient(135deg, rgba(212, 175, 55, 0.65), rgba(252, 246, 186, 0.2), rgba(212, 175, 55, 0.65));

  --text-ivory: #faf5ec;
  --text-cream: #e6dac8;
  --text-muted: #b5a38b;
  --accent-emerald: #234233;
  --accent-terracotta: #8c4a27;

  --font-royal: 'Cinzel Decorative', 'Cormorant Garamond', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-jawa: 'Noto Sans Javanese', serif;

  --shadow-gold: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(212, 175, 55, 0.14);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  overflow-x: hidden;
  selection-background-color: var(--gold-400);
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: var(--gold-100);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-ivory);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8c6216, #d4af37, #8c6216);
  border-radius: 99px;
}

/* ==========================================================================
   BACKGROUND MOTION LAYERS (BATIK KAWUNG, NOISE, CANVAS PARTICLES)
   ========================================================================== */

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 35;
}

.batik-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.11) 0%, transparent 55%),
    radial-gradient(circle at 15% 65%, rgba(140, 74, 39, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0b0806 0%, #16100b 50%, #0b0806 100%);
}

/* Authentic Javanese Batik Kawung SVG Pattern Overlay */
.batik-pattern-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='1'%3E%3Cpath d='M40 0 C55 15 55 25 40 40 C25 25 25 15 40 0 Z'/%3E%3Cpath d='M40 80 C55 65 55 55 40 40 C25 55 25 65 40 80 Z'/%3E%3Cpath d='M0 40 C15 25 25 25 40 40 C25 55 15 55 0 40 Z'/%3E%3Cpath d='M80 40 C65 25 55 25 40 40 C55 55 65 55 80 40 Z'/%3E%3Ccircle cx='40' cy='20' r='2.5' fill='%23D4AF37'/%3E%3Ccircle cx='40' cy='60' r='2.5' fill='%23D4AF37'/%3E%3Ccircle cx='20' cy='40' r='2.5' fill='%23D4AF37'/%3E%3Ccircle cx='60' cy='40' r='2.5' fill='%23D4AF37'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Ornamental Fixed Corner Frames */
.royal-viewport-frame {
  position: fixed;
  inset: 12px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  pointer-events: none;
  z-index: 40;
  border-radius: 6px;
}

.royal-viewport-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212, 175, 55, 0.07);
  border-radius: 4px;
}

.frame-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  color: var(--gold-400);
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.35));
}
.frame-corner.tl { top: -2px; left: -2px; }
.frame-corner.tr { top: -2px; right: -2px; transform: scaleX(-1); }
.frame-corner.bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.frame-corner.br { bottom: -2px; right: -2px; transform: scale(-1, -1); }

/* ==========================================================================
   TYPOGRAPHY & GOLD FOIL UTILITIES
   ========================================================================== */

.gold-foil-text {
  background: var(--gold-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGold 6s linear infinite;
}

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

.aksara-jawa {
  font-family: var(--font-jawa);
  color: var(--gold-400);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  opacity: 0.85;
  display: inline-block;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-300);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.section-title {
  font-family: var(--font-royal);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-cream);
  max-width: 680px;
  margin: 0 auto;
  font-style: italic;
}

/* ==========================================================================
   CINEMATIC OPENING GATE (GEBYOK & GUNUNGAN KAYON 3D DOORS)
   ========================================================================== */

#opening-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #23180f 0%, #0b0806 80%);
  transition: visibility 1.2s ease, opacity 1.1s ease;
}

#opening-gate.gate-opened {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

/* Left & Right 3D Gebyok Doors */
.gebyok-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background:
    radial-gradient(circle at 50% 50%, rgba(36, 25, 16, 0.96), rgba(11, 8, 6, 0.99)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='0.6' stroke-opacity='0.12'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 2;
  transition: transform 1.6s cubic-bezier(0.7, 0, 0.2, 1), opacity 1.4s ease;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gebyok-door.door-left {
  left: 0;
  transform-origin: left center;
  border-right: 1px solid rgba(212, 175, 55, 0.45);
  justify-content: flex-end;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.8);
}

.gebyok-door.door-right {
  right: 0;
  transform-origin: right center;
  border-left: 1px solid rgba(212, 175, 55, 0.45);
  justify-content: flex-start;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
}

#opening-gate.gate-opening .gebyok-door.door-left {
  transform: translateX(-18%) rotateY(65deg) scale(1.05);
  opacity: 0;
}

#opening-gate.gate-opening .gebyok-door.door-right {
  transform: translateX(18%) rotateY(-65deg) scale(1.05);
  opacity: 0;
}

.door-gunungan-relief {
  width: 340px;
  max-width: 75vw;
  opacity: 0.16;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
  pointer-events: none;
}

.door-left .door-gunungan-relief {
  transform: translateX(42%);
}
.door-right .door-gunungan-relief {
  transform: translateX(-42%) scaleX(-1);
}

/* Gate Center Stage Content */
.gate-stage {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 540px;
  width: 92%;
  padding: 2rem 1.5rem;
  transition: transform 1.2s var(--ease-luxury), opacity 0.9s ease;
}

#opening-gate.gate-opening .gate-stage {
  transform: scale(1.18) translateY(-20px);
  opacity: 0;
}

/* Rotating Javanese Mandala Halo behind Cover Portrait */
.gate-portrait-wrapper {
  position: relative;
  width: 220px;
  height: 280px;
  margin: 0.75rem auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mandala-ring {
  position: absolute;
  width: 310px;
  height: 310px;
  pointer-events: none;
  opacity: 0.55;
  animation: rotateSlow 36s linear infinite;
}

.mandala-ring-reverse {
  position: absolute;
  width: 265px;
  height: 265px;
  pointer-events: none;
  opacity: 0.4;
  animation: rotateSlowReverse 24s linear infinite;
}

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

.gate-arch-photo {
  position: relative;
  width: 196px;
  height: 256px;
  border-radius: 110px 110px 24px 24px;
  padding: 5px;
  background: var(--gold-gradient);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.35);
  z-index: 2;
  overflow: hidden;
}

.gate-arch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 105px 105px 20px 20px;
  display: block;
  transition: transform 6s ease;
}

.gate-arch-photo:hover img {
  transform: scale(1.07);
}

.gate-couple-names {
  font-family: var(--font-royal);
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.gate-date-badge {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.32em;
  color: var(--gold-300);
  margin-bottom: 1.35rem;
  text-transform: uppercase;
}

/* Guest Name Box */
.guest-card-box {
  background: rgba(20, 14, 9, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  margin: 0 auto 1.35rem;
  max-width: 380px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 25px rgba(212, 175, 55, 0.08), 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.guest-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

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

/* Open Invitation Royal Button */
.btn-open-invitation {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.95rem 2.25rem;
  border-radius: 99px;
  border: 1px solid var(--gold-300);
  background: var(--gold-gradient);
  background-size: 200% auto;
  color: #140d07;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.45), 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.4s var(--ease-luxury);
  overflow: hidden;
}

.btn-open-invitation:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.75), 0 14px 30px rgba(0, 0, 0, 0.7);
  background-position: right center;
}

.btn-open-invitation svg {
  width: 18px;
  height: 18px;
  animation: pulseBounce 2s infinite;
}

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

/* ==========================================================================
   MAIN INVITATION LAYOUT & SECTIONS
   ========================================================================== */

main#invitation-content {
  position: relative;
  z-index: 10;
}

.section-block {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
  position: relative;
}

/* Gunungan Kayon Divider between sections */
.gunungan-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1rem auto;
  max-width: 480px;
  opacity: 0.85;
}

.gunungan-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.gunungan-divider svg {
  width: 44px;
  height: 62px;
  color: var(--gold-400);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
}

/* ==========================================================================
   HERO / SAMPUL AGUNG SECTION
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-halo-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 95vw);
  height: min(760px, 95vw);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.hero-content-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 100%;
}

.hero-gunungan-arch {
  position: relative;
  width: clamp(260px, 34vw, 350px);
  height: clamp(350px, 45vw, 460px);
  margin: 1.5rem auto 2rem;
}

/* Gunungan-shaped Golden Frame */
.hero-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 180px 180px 28px 28px;
  padding: 6px;
  background: var(--gold-gradient);
  box-shadow: var(--shadow-gold), 0 0 60px rgba(212, 175, 55, 0.22);
  position: relative;
  z-index: 2;
}

.hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 174px 174px 22px 22px;
  overflow: hidden;
  position: relative;
  background: #140e09;
}

.hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.03);
  transition: transform 1.2s var(--ease-luxury);
}

.hero-photo-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 8, 6, 0.85) 100%);
}

/* Floating Wayang Kulit Pair at Hero Base */
.hero-wayang-pair {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 118%;
  max-width: 420px;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.85));
}

.hero-names {
  font-family: var(--font-royal);
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin: 1.2rem 0 0.5rem;
}

.hero-names .amp {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.15em;
  margin: 0 0.15em;
  color: var(--gold-300);
}

.hero-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0.55rem 1.65rem;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(24, 17, 11, 0.75);
  backdrop-filter: blur(10px);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  color: var(--gold-200);
  margin-top: 0.5rem;
}

.scroll-indicator {
  margin-top: 2.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--gold-400);
  border-radius: 14px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  border-radius: 99px;
  background: var(--gold-300);
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ==========================================================================
   PHILOSOPHY & QURAN VERSE (AR-RUM 21 + WAYANG KAMAJAYA KAMARATIH)
   ========================================================================== */

.philosophy-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 28px;
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 20%), rgba(212, 175, 55, 0.14), transparent 55%);
  pointer-events: none;
}

.bismillah-img {
  height: 54px;
  width: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: brightness(1.3) sepia(0.35) saturate(1.4) drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
}

.verse-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2.3vw, 1.5rem);
  font-style: italic;
  line-height: 1.75;
  color: var(--text-ivory);
  margin-bottom: 1.25rem;
}

.verse-ref {
  font-family: var(--font-royal);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  text-transform: uppercase;
}

.jawa-proverb-box {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.jawa-proverb {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-200);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   MEMPELAI (BRIDE & GROOM HIGH-ART SHOWCASE)
   ========================================================================== */

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.couple-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 28px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-gold);
  transition: transform 0.4s var(--ease-luxury), border-color 0.4s ease;
  overflow: hidden;
}

.couple-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(212, 175, 55, 0.16), transparent 60%);
  pointer-events: none;
}

.couple-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
}

.couple-portrait-stage {
  position: relative;
  width: 260px;
  height: 350px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.couple-mandala-bg {
  position: absolute;
  width: 280px;
  height: 280px;
  opacity: 0.32;
  animation: rotateSlow 30s linear infinite;
  pointer-events: none;
}

/* Primary & Secondary Portrait Switcher */
.couple-photo-display {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.couple-photo-framed {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.75));
  transition: opacity 0.55s ease, transform 0.65s var(--ease-luxury);
}

.couple-photo-editorial {
  position: absolute;
  width: 210px;
  height: 290px;
  object-fit: cover;
  border-radius: 110px 110px 20px 20px;
  border: 3px solid var(--gold-400);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.55s ease, transform 0.65s var(--ease-luxury);
}

.couple-card.show-alt-photo .couple-photo-framed,
.couple-portrait-stage:hover .couple-photo-framed {
  opacity: 0;
  transform: scale(0.95);
}

.couple-card.show-alt-photo .couple-photo-editorial,
.couple-portrait-stage:hover .couple-photo-editorial {
  opacity: 1;
  transform: scale(1);
}

.photo-toggle-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--gold-300);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 0.28rem 0.85rem;
  border-radius: 99px;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.photo-toggle-hint:hover {
  background: rgba(212, 175, 55, 0.25);
}

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

.couple-fullname {
  font-family: var(--font-royal);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: 0.03em;
}

.couple-parents {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--text-cream);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.couple-parents strong {
  color: var(--gold-200);
  font-weight: 600;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.25rem;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-200);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.35s ease;
}

.btn-instagram:hover {
  background: var(--gold-gradient);
  color: #140d07;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.couple-center-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.emblem-ampersand {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), rgba(20, 14, 9, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--gold-300);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   COUNTDOWN TIMER & SAVE THE DATE
   ========================================================================== */

.countdown-wrapper {
  background: linear-gradient(145deg, rgba(32, 22, 14, 0.88), rgba(16, 11, 7, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 30px;
  padding: clamp(2.25rem, 5vw, 3.75rem) 1.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 680px;
  margin: 2rem auto;
}

.countdown-item {
  background: rgba(11, 8, 6, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 1.35rem 0.75rem;
  position: relative;
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.08);
}

.countdown-number {
  font-family: var(--font-royal);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  display: block;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1.85rem;
  border-radius: 99px;
  border: 1px solid var(--gold-400);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-200);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-luxury);
}

.btn-gold-outline:hover {
  background: var(--gold-gradient);
  color: #140d07;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   RANGKAIAN ACARA (JOGLO AGUNG AKAD & RESEPSI)
   ========================================================================== */

.joglo-header-illustration {
  max-width: 460px;
  width: 90%;
  margin: 0 auto 2rem;
  display: block;
  filter: sepia(0.35) saturate(1.5) brightness(1.15) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.75));
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.event-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 28px;
  padding: 2.75rem 2rem;
  text-align: center;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 0 0 8px 8px;
}

.event-icon-circle {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), rgba(20, 14, 9, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  box-shadow: var(--shadow-glow);
}

.event-title {
  font-family: var(--font-royal);
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}

.event-day-date {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.event-time-badge {
  display: inline-block;
  padding: 0.35rem 1.15rem;
  border-radius: 99px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-100);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.event-venue-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-ivory);
  margin-bottom: 0.35rem;
}

.event-venue-address {
  font-size: 0.94rem;
  color: var(--text-cream);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Map Showcase Box */
.map-showcase-box {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 26px;
  padding: 1.25rem;
  box-shadow: var(--shadow-gold);
}

.map-iframe-frame {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  filter: grayscale(0.25) contrast(1.05);
}

.map-iframe-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   LOVE STORY (GOLDEN THREAD ANIMATED TIMELINE)
   ========================================================================== */

.story-timeline {
  position: relative;
  max-width: 980px;
  margin: 3rem auto 0;
  padding: 1rem 0;
}

.story-line-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(212, 175, 55, 0.18);
}

.story-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400), var(--gold-200));
  box-shadow: 0 0 15px var(--gold-400);
}

.story-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: 3.5rem;
}

.story-item:last-child {
  margin-bottom: 0;
}

.story-node {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--bg-sogan);
  border: 2px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-royal);
  font-size: 0.85rem;
  color: var(--gold-200);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
  z-index: 2;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-gold);
  position: relative;
}

.story-photo-box {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-gold);
  aspect-ratio: 4 / 5;
  max-height: 360px;
  width: 100%;
}

.story-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s var(--ease-luxury);
}

.story-photo-box:hover img {
  transform: scale(1.06);
}

.story-chapter-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
  display: block;
}

.story-chapter-title {
  font-family: var(--font-royal);
  font-size: 1.55rem;
  color: var(--gold-200);
  margin-bottom: 0.85rem;
}

.story-chapter-text {
  font-size: 0.96rem;
  color: var(--text-cream);
  line-height: 1.75;
}

.story-chapter-text p + p {
  margin-top: 0.75rem;
}

/* ==========================================================================
   CURATED HIGH-ART GALLERY & CINEMA LIGHTBOX
   ========================================================================== */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: rgba(20, 14, 9, 0.65);
  color: var(--text-cream);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold-gradient);
  color: #140d07;
  font-weight: 700;
  border-color: var(--gold-300);
  box-shadow: var(--shadow-glow);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.32);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: #140e09;
  box-shadow: var(--shadow-gold);
}

.gallery-item.featured-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 11;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.85s var(--ease-luxury), filter 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 8, 6, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-caption {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-200);
}

.gallery-sub {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* Lightbox Modal */
#lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 5, 3, 0.94);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  position: relative;
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-stage img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-caption-bar {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-200);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(20, 14, 9, 0.85);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-btn:hover {
  background: var(--gold-gradient);
  color: #140d07;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close {
  top: 24px;
  right: 24px;
  transform: none;
}

/* ==========================================================================
   WEDDING GIFT / TALI ASIH (METALLIC GOLD BATIK BANK CARDS)
   ========================================================================== */

.gift-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.bank-card-3d {
  position: relative;
  border-radius: 24px;
  padding: 2rem 1.85rem;
  background:
    radial-gradient(circle at var(--mouse-x, 80%) var(--mouse-y, 20%), rgba(252, 246, 186, 0.22), transparent 55%),
    linear-gradient(135deg, #261b11 0%, #150e09 55%, #2b1e12 100%);
  border: 1px solid rgba(212, 175, 55, 0.48);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 235px;
}

.bank-card-3d::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 180px;
  height: 180px;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23D4AF37' stroke-width='2'/%3E%3Cpath d='M50 5 L95 50 L50 95 L5 50 Z' fill='none' stroke='%23D4AF37' stroke-width='2'/%3E%3C/svg%3E");
  background-size: contain;
  pointer-events: none;
}

.bank-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.emv-chip {
  width: 46px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d4af37, #fef1b5, #aa771c);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.bank-logo-img {
  height: 30px;
  width: auto;
  filter: brightness(1.8) contrast(1.1);
}

.bank-acc-number {
  font-family: 'Courier New', monospace;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-200);
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.bank-acc-holder {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-cream);
  margin-bottom: 1.35rem;
}

.btn-copy-gold {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.2rem;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-200);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-copy-gold:hover {
  background: var(--gold-gradient);
  color: #140d07;
}

/* ==========================================================================
   RSVP & WISHES WALL (KONFIRMASI KEHADIRAN & DOA RESTU)
   ========================================================================== */

.rsvp-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: start;
}

.rsvp-form-card,
.wishes-wall-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 28px;
  padding: 2.25rem 1.85rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-gold);
}

.rsvp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-pill {
  background: rgba(11, 8, 6, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.stat-pill strong {
  display: block;
  font-family: var(--font-royal);
  font-size: 1.5rem;
  color: var(--gold-300);
}

.stat-pill span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-300);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(11, 8, 6, 0.75);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.wishes-list {
  max-height: 460px;
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wish-item {
  background: rgba(14, 10, 7, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  transition: border-color 0.3s ease;
}

.wish-item:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.wish-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.wish-author {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-200);
}

.wish-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wish-badge.hadir {
  background: rgba(46, 125, 82, 0.25);
  color: #8ce9b5;
  border: 1px solid rgba(140, 233, 181, 0.35);
}

.wish-badge.ragu {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-200);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.wish-badge.absen {
  background: rgba(180, 65, 65, 0.22);
  color: #f5a3a3;
  border: 1px solid rgba(245, 163, 163, 0.3);
}

.wish-message {
  font-size: 0.92rem;
  color: var(--text-cream);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

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

/* ==========================================================================
   CLOSING MATUR NUWUN & FOOTER
   ========================================================================== */

.closing-section {
  text-align: center;
  padding: 5rem 1.25rem 8rem;
  position: relative;
}

.closing-wayang {
  max-width: 340px;
  width: 80%;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.8));
}

/* ==========================================================================
   FLOATING NAVIGATION DOCK & ROTATING GAMELAN/JAZZ AUDIO CONTROLLER
   ========================================================================== */

.floating-dock {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 99px;
  background: rgba(16, 11, 7, 0.86);
  border: 1px solid rgba(212, 175, 55, 0.42);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.2);
}

.dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 99px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
}

.dock-link svg {
  width: 17px;
  height: 17px;
  margin-bottom: 2px;
}

.dock-link.active,
.dock-link:hover {
  color: #140d07;
  background: var(--gold-gradient);
  font-weight: 700;
}

/* Audio Floating Disc Button */
.audio-controller-btn {
  position: fixed;
  bottom: 26px;
  right: 24px;
  z-index: 85;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  background: radial-gradient(circle, #2a1d12, #0e0906);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.35);
  transition: transform 0.3s ease;
}

.audio-controller-btn:hover {
  transform: scale(1.08);
}

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.eq-bar {
  width: 3px;
  background: var(--gold-300);
  border-radius: 2px;
  height: 5px;
  transition: height 0.2s ease;
}

.audio-controller-btn.playing .eq-bar:nth-child(1) { animation: eqAnim 0.8s ease-in-out infinite; }
.audio-controller-btn.playing .eq-bar:nth-child(2) { animation: eqAnim 0.6s ease-in-out 0.15s infinite; }
.audio-controller-btn.playing .eq-bar:nth-child(3) { animation: eqAnim 0.9s ease-in-out 0.3s infinite; }
.audio-controller-btn.playing .eq-bar:nth-child(4) { animation: eqAnim 0.7s ease-in-out 0.1s infinite; }

@keyframes eqAnim {
  0%, 100% { height: 5px; }
  50% { height: 18px; }
}

/* Toast Notification */
#royal-toast {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 250;
  background: rgba(20, 14, 9, 0.95);
  border: 1px solid var(--gold-400);
  color: var(--gold-200);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-size: 0.88rem;
  box-shadow: var(--shadow-glow), 0 12px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-luxury);
}

#royal-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 900px) {
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .couple-center-emblem {
    margin: -0.5rem 0;
  }
  .events-grid,
  .rsvp-layout {
    grid-template-columns: 1fr;
  }
  .story-line-track {
    left: 22px;
  }
  .story-item {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
  }
  .story-item .story-photo-box {
    grid-column: 2;
    margin-top: 1rem;
  }
  .story-item .story-card {
    grid-column: 2;
  }
  .story-item .story-node {
    grid-column: 1;
    grid-row: 1;
  }
  .gallery-item.featured-wide {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 600px) {
  .royal-viewport-frame {
    inset: 6px;
  }
  .countdown-grid {
    gap: 0.65rem;
  }
  .countdown-item {
    padding: 1rem 0.4rem;
  }
  .floating-dock {
    width: 92%;
    justify-content: space-around;
    bottom: 14px;
  }
  .dock-link span {
    display: none;
  }
  .dock-link {
    padding: 0.55rem;
  }
  .audio-controller-btn {
    bottom: 74px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
}

