/* ==========================================================================
   Twilight Nocturne - Luxury Minimalist Wedding Invitation Design System
   Palet: Deep Midnight Navy, Starlight Gold (#E5C07B), Warm White (#F9FAFB)
   ========================================================================== */

:root {
  --bg-deep: #0a0d14;
  --bg-gradient: radial-gradient(ellipse at top, #151b2e 0%, #0d111d 55%, #07090f 100%);
  --bg-surface: rgba(16, 21, 34, 0.78);
  --border-gold: rgba(229, 192, 123, 0.22);
  --border-gold-hover: rgba(229, 192, 123, 0.5);
  --border-light: rgba(255, 255, 255, 0.08);
  --gold-accent: #e5c07b;
  --gold-accent-light: #f3d8a0;
  --gold-glow: rgba(229, 192, 123, 0.25);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --font-serif: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --card-radius: 24px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

html.gate-active, body.gate-active {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}

/* Three.js Canvas Layer (Fixed) */
#sakura-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Gate Cover & Cosmic Atmosphere with Shooting Stars (Comets)
   ========================================================================== */
#gate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, #12182b 0%, #090c16 60%, #04060b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  transition: visibility 1.2s ease, opacity 0.8s ease;
}

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

/* Interactive Cosmic Canvas: Random Twinkling Stars, Multiple Comets & Spiral Vortex */
#gate-cosmos-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Center Expanding Circular PURE WHITE Shockwave */
#center-light-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle,
    #ffffff 0%,
    #ffffff 45%,
    rgba(255, 255, 255, 0.95) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow:
    0 0 50px 30px #ffffff,
    0 0 120px 60px #ffffff,
    0 0 250px 120px rgba(255, 255, 255, 0.9),
    0 0 450px 200px rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  will-change: transform, opacity;
}

#gate-modal.impact #center-light-ripple {
  animation: circleRippleExpandPureWhite 1.2s cubic-bezier(0.12, 0.85, 0.25, 1) forwards;
}

@keyframes circleRippleExpandPureWhite {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(75);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(120);
    opacity: 0;
  }
}

/* ==========================================================================
   Gate Preloader (Audio Pre-buffering before revealing invitation)
   ========================================================================== */
.gate-preloader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
  pointer-events: auto;
}

.gate-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.pulse-glow {
  display: inline-block;
  font-size: 36px;
  margin-bottom: 8px;
  animation: monogramPulse 2s ease-in-out infinite alternate;
}

@keyframes monogramPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.75;
    text-shadow: 0 0 10px rgba(229, 192, 123, 0.25);
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
    text-shadow: 0 0 25px rgba(229, 192, 123, 0.65), 0 0 45px rgba(229, 192, 123, 0.35);
  }
}

.preloader-title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.preloader-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  border: 1px solid rgba(229, 192, 123, 0.25);
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #c5a059, #f9e2af, #ffffff);
  box-shadow: 0 0 12px rgba(229, 192, 123, 0.8);
  transition: width 0.2s ease-out;
  border-radius: 6px;
}

.preloader-status {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 500;
}

/* Gate Card */
.gate-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(165deg, rgba(14, 19, 34, 0.42) 0%, rgba(8, 12, 22, 0.50) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(229, 192, 123, 0.28);
  border-radius: var(--card-radius);
  padding: 52px 32px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(229, 192, 123, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 10;

  /* Initial hidden state while audio is preloading */
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.75s ease, filter 0.65s ease;
}

.gate-card.ready {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.gate-card.hide-card {
  opacity: 0 !important;
  transform: scale(0.9) !important;
  filter: blur(10px) !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease !important;
}

#gate-modal.impact .gate-card {
  transform: scale(1.08);
  opacity: 0;
  filter: blur(14px);
  pointer-events: none;
}

#gate-modal.opening-curtain {
  opacity: 0;
  transition: opacity 0.65s ease 0.35s;
}

.gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

.monogram {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 6px;
  color: var(--gold-accent);
  margin-bottom: 24px;
  display: block;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.gate-label {
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.gate-couple-names {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.gate-guest-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 32px;
}

.guest-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.guest-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-accent);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Luxury Button */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(229, 192, 123, 0.18), rgba(229, 192, 123, 0.05));
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  padding: 14px 30px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(229, 192, 123, 0.15);
  text-decoration: none;
}

.btn-luxury:hover {
  background: var(--gold-accent);
  color: #0a0d14;
  box-shadow: 0 6px 25px rgba(229, 192, 123, 0.35);
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-accent);
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-gold:hover {
  border-color: var(--gold-accent);
  background: rgba(229, 192, 123, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Main Content Stream & Layout
   ========================================================================== */
#main-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 18px 80px;
}

.section-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Luxury Cards */
.luxury-card {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--card-radius);
  padding: 40px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(229, 192, 123, 0.04);
  position: relative;
  overflow: hidden;
}

.luxury-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 192, 123, 0.35), transparent);
}

/* Section Header Typography */
.section-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-align: center;
}

/* Section Divider Ornament */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 28px;
}

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

.section-divider::after {
  background: linear-gradient(90deg, var(--border-gold), transparent);
}

.section-divider-dot {
  width: 5px;
  height: 5px;
  background: var(--gold-accent);
  transform: rotate(45deg);
  opacity: 0.8;
}

/* ==========================================================================
   Hero & Countdown Section
   ========================================================================== */
.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin: 10px 0;
  letter-spacing: 1px;
}

.hero-title span {
  display: block;
  font-size: 26px;
  color: var(--gold-accent);
  font-style: italic;
  margin: 4px 0;
}

.hero-date {
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* Countdown Grid */
.countdown-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(8, 11, 18, 0.65);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 12px;
  margin-top: 10px;
}

.countdown-box > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.countdown-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Couple Profiles
   ========================================================================== */
.couple-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.profile-card {
  text-align: center;
  width: 100%;
}

.profile-avatar-frame {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-accent) 0%, rgba(229, 192, 123, 0.15) 100%);
  box-shadow: 0 0 25px rgba(229, 192, 123, 0.2);
  transition: transform 0.4s ease;
}

.profile-avatar-frame:hover {
  transform: scale(1.03);
}

.profile-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-role {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.profile-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.profile-parent {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.couple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 4px 0;
}

.couple-divider::before,
.couple-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold));
}

.couple-divider::after {
  background: linear-gradient(90deg, var(--border-gold), transparent);
}

.couple-divider-symbol {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  color: var(--gold-accent);
}

/* ==========================================================================
   Timeline: Love Story (Untaian Kisah)
   ========================================================================== */
.timeline-track {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-accent) 0%, rgba(229, 192, 123, 0.15) 100%);
}

.timeline-item {
  position: relative;
}

.timeline-bullet {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #0a0d14;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 0 10px rgba(229, 192, 123, 0.4);
}

.timeline-date {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-accent);
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: #fff;
  margin: 4px 0 6px;
}

.timeline-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Event Details (Sacred Vows & Celebration)
   ========================================================================== */
.event-item {
  background: rgba(8, 11, 18, 0.55);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.event-item:hover {
  border-color: var(--border-gold);
}

.event-type {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.event-meta {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.event-meta strong {
  color: #fff;
  font-weight: 500;
}

/* ==========================================================================
   RSVP & Wishes Form
   ========================================================================== */
.form-input-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(8, 11, 18, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: var(--gold-accent);
  background: rgba(12, 16, 26, 0.9);
  box-shadow: 0 0 15px rgba(229, 192, 123, 0.15);
}

.attendance-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.attendance-option input[type="radio"] {
  display: none;
}

.attendance-box {
  background: rgba(8, 11, 18, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.attendance-option input[type="radio"]:checked + .attendance-box {
  border-color: var(--gold-accent);
  background: rgba(229, 192, 123, 0.12);
  color: var(--gold-accent);
  font-weight: 500;
}

.wishes-stream {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: visible;
  padding-right: 0;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishes-stream.page-switching {
  opacity: 0;
  transform: translateY(-8px);
}

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

.wish-card {
  background: rgba(8, 11, 18, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 18px;
  text-align: left;
  animation: wishCardEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wish-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(229, 192, 123, 0.08);
}

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

.wish-author span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-accent);
}

.wish-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

/* Wishes Pagination Controls */
.wishes-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  user-select: none;
}

.page-btn {
  background: rgba(14, 18, 30, 0.7);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: rgba(229, 192, 123, 0.12);
  transform: translateY(-1px);
}

.page-btn.active {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #070a12;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(229, 192, 123, 0.4);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Digital Gift (Amplop Digital)
   ========================================================================== */
.bank-item {
  background: rgba(8, 11, 18, 0.65);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.bank-info-label {
  font-size: 11px;
  color: var(--gold-accent);
  letter-spacing: 1.5px;
  font-weight: 500;
}

.bank-account-num {
  font-family: monospace;
  font-size: 17px;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 4px 0;
}

.bank-holder-name {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Refined Floating Audio Player
   Minimal circular vinyl button with pulsing wave/glow
   ========================================================================== */
#audio-controller {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(14, 18, 30, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 192, 123, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

#audio-controller:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 192, 123, 0.3);
}

.audio-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #252834 25%, #111420 65%, var(--gold-accent) 100%);
  border: 1px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-disc.playing {
  animation: spinVinyl 4s linear infinite;
}

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

/* Floating Audio Equalizer / Pulse Indicator */
.audio-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(229, 192, 123, 0.4);
  opacity: 0;
  pointer-events: none;
}

.audio-disc.playing ~ .audio-pulse-ring {
  animation: pulseGlow 2.5s ease-out infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   QRIS Direct Inline Card (Twilight Nocturne Luxury Theme)
   ========================================================================== */
.qris-inline-card {
  background: rgba(8, 11, 18, 0.65);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 22px 20px;
  margin-top: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.qris-inline-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(229, 192, 123, 0.12);
}

.qris-inline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  margin-bottom: 18px;
}

.qris-tag-live {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-accent);
  background: rgba(229, 192, 123, 0.12);
  border: 1px solid rgba(229, 192, 123, 0.35);
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 600;
  white-space: nowrap;
}

.qris-frame {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  max-width: 270px;
  margin: 0 auto;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 18px rgba(229, 192, 123, 0.15);
  border: 1.5px solid rgba(229, 192, 123, 0.45);
  transition: transform 0.3s ease;
}

.qris-frame:hover {
  transform: scale(1.02);
}

.qris-inline-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #141a2c;
  border: 1px solid var(--gold-accent);
  color: #fff;
  padding: 11px 24px;
  border-radius: 25px;
  font-size: 13px;
  z-index: 10001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 192, 123, 0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .hero-title {
    font-size: 44px;
  }
  .gate-couple-names {
    font-size: 32px;
  }
  .luxury-card {
    padding: 32px 20px;
  }
  .events-schedule-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Responsive Map & Street View Embed */
.map-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 58%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-gold);
  margin: 22px 0 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  background: #0d111d;
}

.map-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}
