/* ==========================================================================
   DARK JAVANESE LUXURY WEDDING INVITATION — STYLESHEET
   Aesthetics: Sacred, Minimal, High-End, Cinematic Javanese Luxury
   ========================================================================== */

/* -------------------------------------------------------------
   1. Design System Tokens & Custom Properties
------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-obsidian: #0a0908;
  --bg-dark-charcoal: #0d0c0a;
  --bg-card-brown: #141210;
  --bg-deep-brown: #1a1410;

  /* Gold Palette */
  --gold-antique: #c5a059;
  --gold-bright: #d4af37;
  --gold-light: #e5c158;
  --gold-bronze: #8c6d3f;
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-text-gradient: linear-gradient(180deg, #f4efa6 0%, #d4af37 60%, #8c6d3f 100%);

  /* Text Colors */
  --text-ivory: #eae3d2;
  --text-gold: #e5c158;
  --text-muted: #a69888;

  /* Borders & Shadows */
  --border-gold-subtle: rgba(197, 160, 89, 0.25);
  --border-gold-glow: rgba(229, 193, 88, 0.5);
  --shadow-cinematic: 0 20px 50px rgba(0, 0, 0, 0.85);

  /* Typography Fonts */
  --font-heading: 'Cinzel', 'Cormorant Garamond', serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Inter', -apple-system, sans-serif;
}

/* -------------------------------------------------------------
   2. Reset & Baseline Styles
------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #030303;
  color: var(--text-ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #030303;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

body.cover-active {
  overflow: hidden;
}

/* -------------------------------------------------------------
   3. Desktop Central Viewport & Mobile Ergonomics
------------------------------------------------------------- */
#bg-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.invitation-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  /* Mobile viewport standard */
  min-height: 100vh;
  background-color: var(--bg-obsidian);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.95), 0 0 2px var(--gold-bronze);
  z-index: 2;
  overflow: hidden;
  border-left: 1px solid rgba(140, 109, 63, 0.15);
  border-right: 1px solid rgba(140, 109, 63, 0.15);
}

/* Subtle Batik Texture Overlay */
.batik-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(#c5a059 0.75px, transparent 0.75px), radial-gradient(#c5a059 0.75px, var(--bg-obsidian) 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  z-index: 1;
}

/* Desktop Ambient Backdrop side decorations */
@media (min-width: 768px) {

  body::before,
  body::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc((100vw - 480px) / 2);
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(20, 18, 16, 0.6) 0%, rgba(3, 3, 3, 0.95) 100%);
  }

  body::before {
    left: 0;
  }

  body::after {
    right: 0;
  }
}

/* -------------------------------------------------------------
   4. Floating Audio Controller & Toast Notification
------------------------------------------------------------- */
.floating-audio {
  position: fixed;
  top: 24px;
  right: max(24px, calc((100vw - 480px) / 2 + 24px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.85);
  border: 1px solid var(--gold-antique);
  color: var(--text-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 10px rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.floating-audio.hidden {
  display: none;
}

.floating-audio:hover {
  transform: scale(1.1);
  border-color: var(--gold-light);
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.5);
}

.floating-audio.playing .audio-icon {
  animation: pulseRotate 4s linear infinite;
}

@keyframes pulseRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20, 18, 16, 0.95);
  border: 1px solid var(--gold-antique);
  color: var(--text-ivory);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(197, 160, 89, 0.3);
}

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

/* -------------------------------------------------------------
   5. Common Scene Container & Typography Hierarchy
------------------------------------------------------------- */
.scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  border-bottom: 1px solid rgba(140, 109, 63, 0.12);
}

.scene-subtitle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-antique);
  margin-bottom: 12px;
}

.scene-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.divider-ornament {
  width: 180px;
  height: 30px;
  margin: 16px 0 28px 0;
  margin-top: 200px;
}

/* -------------------------------------------------------------
   6. SCENE 01 — Opening / Cover
------------------------------------------------------------- */
.cover-scene {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  margin: 0 auto;
  background: #0a0908;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  overflow-y: auto;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 1s ease;
}

/* Dark Photo Background Layer */
.cover-bg-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.cover-bg-img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.95) contrast(1.05) saturate(1.05);
  animation: coverPhotoZoom 18s ease-in-out infinite alternate;
}

@keyframes coverPhotoZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.cover-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg,
      rgba(10, 9, 8, 0.35) 0%,
      rgba(10, 9, 8, 0.10) 30%,
      rgba(10, 9, 8, 0.55) 68%,
      rgba(10, 9, 8, 0.92) 88%,
      rgba(10, 9, 8, 0.98) 100%),
    radial-gradient(ellipse at center, transparent 50%, rgba(10, 9, 8, 0.6) 100%);
}

.cover-scene.cover-unlocked {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.cover-header,
.cover-names,
.cover-footer {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.9), 0 0 4px #000;
}

.cover-fade-in {
  animation: coverFadeIn 1.2s ease forwards;
}

.cover-scale-in {
  animation: coverScaleIn 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.cover-slide-up {
  animation: coverSlideUp 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes coverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes coverScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes coverSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cover-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.cover-gunungan {
  width: 90px;
  max-width: 110px;
  height: auto;
  max-height: 140px;
  margin: 10px auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 15px rgba(229, 193, 88, 0.4));
  animation: floatGunungan 6s ease-in-out infinite alternate;
}

@keyframes floatGunungan {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.cover-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px 0;
}

.name-groom,
.name-bride {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.1;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.name-ampersand {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--gold-antique);
  margin: 2px 0;
}

.cover-date {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--text-ivory);
  margin-top: 10px;
}

.cover-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.cover-guest-wrapper {
  width: 100%;
  max-width: 360px;
  margin: 8px 0;
  padding: 12px 16px;
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
  background: rgba(20, 18, 16, 0.7);
  border-radius: 4px;
}

.cover-guest-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guest-name-output {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-gold);
  margin-top: 4px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #141210 0%, #1a1410 100%);
  border: 1px solid var(--gold-antique);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(197, 160, 89, 0.2);
}

.btn-gold:hover {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, #1a1410 0%, #261d15 100%);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(229, 193, 88, 0.4);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   7. SCENE 02 — Couple Introduction
------------------------------------------------------------- */
.couple-hero-card {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.main-couple-frame {
  width: 280px;
  height: 360px;
  border-radius: 16px;
  border: 1px solid var(--gold-bright);
  box-shadow: var(--shadow-cinematic), 0 0 25px rgba(212, 175, 55, 0.3);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
}

.portrait-gold-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 45%,
      rgba(255, 235, 170, 0.15) 50%,
      transparent 55%);
  animation: goldSweep 8s infinite;
  pointer-events: none;
}

@keyframes goldSweep {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }

  30%,
  100% {
    transform: translateX(100%) translateY(100%);
  }
}

.couple-card.side-by-side {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 32px;
  text-align: left;
  box-shadow: none;
}

.couple-card.side-by-side.reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.side-frame {
  width: 130px;
  height: 175px;
  flex-shrink: 0;
  border-radius: 0 !important;
  overflow: hidden;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0;
  position: relative;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 95%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 95%);
}

.side-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, #0a0908 95%);
}

.couple-info-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.couple-info-side .couple-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  line-height: 1.25;
  color: var(--gold-light);
  margin-bottom: 6px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.couple-info-side .couple-parents {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.flip-horizontal {
  transform: scaleX(-1);
}

.portrait-frame:hover .portrait-img.flip-horizontal {
  transform: scaleX(-1) scale(1.05);
}

.couple-card {
  width: 100%;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait-frame {
  width: 240px;
  height: 300px;
  position: relative;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gold-antique);
  box-shadow: var(--shadow-cinematic), 0 0 15px rgba(197, 160, 89, 0.2);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.portrait-frame:hover .portrait-img {
  transform: scale(1.05);
}

.couple-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.couple-parents {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   8. SCENE 03 — Wedding Information & Editorial Layout
------------------------------------------------------------- */
#scene-info {
  justify-content: flex-start;
  padding-top: 32px;
}

.scene-with-bg {
  position: relative;
  overflow: hidden;
}

.scene-bg-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.scene-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
  filter: brightness(0.92) contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}

.scene-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg,
      rgba(10, 9, 8, 0.88) 0%,
      rgba(10, 9, 8, 0.65) 25%,
      rgba(10, 9, 8, 0.15) 50%,
      rgba(10, 9, 8, 0.50) 80%,
      rgba(10, 9, 8, 0.95) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(10, 9, 8, 0.6) 100%);
}

.scene-content-relative {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-editorial-item {
  position: relative;
  padding: 24px 20px;
  background: rgba(20, 18, 16, 0.6);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
}

.hero-event-item {
  padding: 20px 16px;
  background: rgba(13, 12, 10, 0.65);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  margin-top: 6px;
}

backdrop-filter: blur(4px);
box-shadow: var(--shadow-cinematic),
0 0 20px rgba(197, 160, 89, 0.2);
}

.event-gold-badge {
  display: inline-block;
  padding: 4px 18px;
  background: linear-gradient(135deg, #1a1410 0%, #261d15 100%);
  border: 1px solid var(--gold-bright);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 16px;
}

.event-date-hero {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.event-date-sub {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-ivory);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.event-time-badge {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--gold-antique);
  letter-spacing: 1.5px;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.event-date {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-ivory);
  margin-bottom: 6px;
}

.event-time {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--gold-antique);
  letter-spacing: 1px;
}

/* Realtime Countdown Timer UI */
.countdown-container {
  width: 100%;
  margin-top: 40px;
  padding: 24px 12px;
  background: rgba(10, 9, 8, 0.8);
  border-top: 1px stroke var(--border-gold-subtle);
  border-bottom: 1px stroke var(--border-gold-subtle);
}

.countdown-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 4px;
  background: rgba(20, 18, 16, 0.8);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
}

.cd-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.cd-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* -------------------------------------------------------------
   9. SCENE 04 — Venue / Location
------------------------------------------------------------- */
.venue-box {
  width: 100%;
  padding: 24px;
  background: rgba(20, 18, 16, 0.5);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 8px;
  margin-bottom: 24px;
}

.venue-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.venue-address {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-ivory);
  margin-bottom: 16px;
}

.map-preview-frame {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gold-antique);
  margin-bottom: 24px;
  position: relative;
  background: #0d0c0a;
  box-shadow: var(--shadow-cinematic), 0 0 15px rgba(197, 160, 89, 0.2);
}

.map-preview-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) saturate(0.95);
}

/* -------------------------------------------------------------
   10. SCENE 05 — Family Invitation Letter
------------------------------------------------------------- */
.letter-container {
  width: 100%;
  padding: 32px 20px;
  background: rgba(13, 12, 10, 0.68);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.letter-text {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-ivory);
  margin-bottom: 0;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

/* -------------------------------------------------------------
   11. SCENE 07 — RSVP Form
------------------------------------------------------------- */
.rsvp-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-gold);
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(13, 12, 10, 0.9);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
  color: var(--text-ivory);
  font-family: var(--font-body);
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 8px rgba(229, 193, 88, 0.3);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-ivory);
}

.radio-option input {
  accent-color: var(--gold-bright);
  width: 18px;
  height: 18px;
}

/* -------------------------------------------------------------
   12. SCENE 08 — Wedding Gift (Tanda Kasih)
------------------------------------------------------------- */
.bank-card {
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(135deg, #141210 0%, #1a1410 100%);
  border: 1px solid var(--gold-antique);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-cinematic);
}

.bank-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.bank-number {
  font-family: var(--font-ui);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-ivory);
  margin-bottom: 6px;
}

.bank-owner {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   13. SCENE 09 & 10 — Quote & Closing
------------------------------------------------------------- */
.quote-box {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-ivory);
  max-width: 90%;
}

#scene-closing .scene-content-relative {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.9);
}

.closing-thanks {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px 0 8px 0;
}

.made-with-love {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 40px;
}

.supported-by {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 25px;
  line-height: 1.6;
  opacity: 0.9;
}

.supported-by strong {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 2px;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-top: 2px;
}

/* -------------------------------------------------------------
   14. Animation Utilities (`data-animation`)
------------------------------------------------------------- */
[data-animation] {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

[data-animation="fade-up"] {
  transform: translateY(40px);
}

[data-animation="fade"] {
  transform: translateY(0);
}

[data-animation="scale"] {
  transform: scale(0.92);
}

[data-animation="cinematic"] {
  transform: translateY(30px) scale(0.96);
  filter: blur(4px);
  transition: opacity 1.5s ease, transform 1.5s ease, filter 1.5s ease;
}

[data-animation].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Media Queries for Mobile Fine-Tuning */
@media (max-width: 480px) {
  .scene {
    padding: 48px 18px;
  }

  .name-groom,
  .name-bride {
    font-size: 2.6rem;
  }

  .portrait-frame {
    width: 200px;
    height: 260px;
  }
}