/* ==========================================================================
   MARIUNDANG.SITE - ULTRA LUXURY MODERN EDITORIAL (ONY & KEVIN)
   Aesthetic: Minimalist Champagne & Warm Ivory, High-Fashion Editorial Typography,
              Frosted Glass UI, Seamless Ambient Desktop Backdrop
   ========================================================================== */

:root {
  --color-bg-base: #F8F5F0;
  --color-bg-surface: #FCFAF7;
  --color-bg-card: rgba(255, 255, 255, 0.88);
  --color-card-border: rgba(214, 203, 189, 0.6);
  
  --color-primary: #5A4432;
  --color-primary-dark: #3D2D20;
  --color-primary-light: #7E644D;
  --color-gold: #C09A5E;
  --color-gold-light: #DFC79B;
  --color-gold-muted: rgba(192, 154, 94, 0.15);
  
  --color-text-title: #221C18;
  --color-text-body: #554C43;
  --color-text-muted: #8E8377;
  --color-divider: rgba(140, 115, 85, 0.2);

  --font-serif-luxury: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans-clean: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-script: 'Pinyon Script', cursive;

  --app-max-width: 480px;
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 20px rgba(70, 50, 30, 0.05);
  --shadow-card: 0 12px 36px rgba(70, 50, 30, 0.07);
  --shadow-float: 0 20px 45px rgba(45, 30, 15, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  height: 100%;
}

/* SEAMLESS LUXURY DESKTOP AMBIENT BACKDROP (No harsh split lines or gradient cuts) */
body {
  font-family: var(--font-sans-clean);
  background-color: #1a1613;
  color: var(--color-text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  position: relative;
}

body.locked {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Fixed fullscreen desktop ambient layer */
.desktop-ambient-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url('../assets/ony-kevin/closing.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(28px) brightness(0.35) saturate(1.1);
  transform: scale(1.08);
  pointer-events: none;
}

.desktop-ambient-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(30, 24, 19, 0.4) 0%, rgba(18, 14, 11, 0.85) 100%);
  pointer-events: none;
}

/* APP FRAME CONTAINER */
.wedding-app-container {
  width: 100%;
  max-width: var(--app-max-width);
  background-color: var(--color-bg-base);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);
  overflow-x: hidden;
  margin: 0 auto;
}

/* -------------------------------------------------------------
   STICKY BACKGROUND (INSIDE APP FRAME)
   ------------------------------------------------------------- */
.sticky-bg-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/ony-kevin/hero.jpg') center 25%/cover no-repeat;
  opacity: 0.12;
  filter: blur(2px);
}

.bg-gradient-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(248, 245, 240, 0.92) 0%, rgba(243, 238, 230, 0.86) 50%, rgba(248, 245, 240, 0.94) 100%);
}

/* -------------------------------------------------------------
   MODERN MINIMALIST CARDS & DIVIDERS
   ------------------------------------------------------------- */
.luxury-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.luxury-card:hover {
  box-shadow: var(--shadow-float);
}

/* Clean Modern Divider Line */
.modern-line-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin: 36px auto 20px;
  position: relative;
}

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

.modern-line-divider span {
  padding: 0 12px;
  color: var(--color-gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* Modern Clean Category Pill Tag */
.modern-pill-tag {
  display: inline-block;
  font-family: var(--font-sans-clean);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-gold-muted);
  border: 1px solid rgba(192, 154, 94, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* Modern Section Title */
.luxury-section-title {
  font-family: var(--font-serif-luxury);
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-text-title);
  font-weight: 600;
  line-height: 1.2;
}

/* -------------------------------------------------------------
   COVER / LOCK SCREEN OVERLAY (BUKA UNDANGAN)
   ------------------------------------------------------------- */
.cover-overlay {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background-color: var(--color-bg-base);
  background-image: linear-gradient(180deg, #FAF7F2 0%, #F4EFE6 100%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 34px 20px 24px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s ease, visibility 0.85s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cover-overlay.unlocked {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-header {
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

.cover-title-couples {
  font-family: var(--font-serif-luxury);
  font-size: clamp(2.3rem, 7.5vw, 2.9rem);
  letter-spacing: 6px;
  font-weight: 500;
  color: var(--color-text-title);
  line-height: 1.1;
  margin: 2px 0;
}

.cover-date-text {
  font-family: var(--font-sans-clean);
  font-size: 0.82rem;
  letter-spacing: 4px;
  color: var(--color-primary);
  font-weight: 600;
}

.cover-script-quote {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 5vw, 1.85rem);
  color: var(--color-gold);
  margin-top: 4px;
  line-height: 1.2;
}

.cover-photo-wrap {
  width: 100%;
  max-width: 320px;
  height: clamp(230px, 36vh, 290px);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  border: 4px solid #ffffff;
  margin: 12px 0;
  z-index: 2;
  flex-shrink: 0;
}

.cover-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.cover-invitation-message {
  font-size: 0.82rem;
  color: var(--color-text-body);
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.cover-guest-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-card-border);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  width: 100%;
  max-width: 300px;
  box-shadow: var(--shadow-subtle);
}

.cover-guest-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.cover-guest-name {
  font-family: var(--font-serif-luxury);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-title);
  margin-top: 2px;
}

.btn-open-invitation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #6c533e, #4d3a2b);
  color: #ffffff;
  font-family: var(--font-sans-clean);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(92, 67, 45, 0.35);
  transition: all 0.3s ease;
  text-transform: uppercase;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(192, 154, 94, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(192, 154, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 154, 94, 0); }
}

.btn-open-invitation:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(92, 67, 45, 0.45);
}

/* -------------------------------------------------------------
   BOTANICAL ACCENTS
   ------------------------------------------------------------- */
.botanical-corner {
  position: absolute;
  width: clamp(75px, 18vw, 100px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.botanical-top-left { top: 0; left: 0; }
.botanical-bottom-right { bottom: 0; right: 0; transform: rotate(180deg); }

/* -------------------------------------------------------------
   FLOATING AUDIO & FIXED BOTTOM NAV (FLOATING GLASS PILL)
   ------------------------------------------------------------- */
.audio-floating-btn {
  position: fixed;
  bottom: 84px;
  right: calc(50% - 225px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

@media (max-width: 500px) {
  .audio-floating-btn {
    right: 16px;
    bottom: 80px;
  }
}

.audio-floating-btn.spinning svg {
  animation: spinSlow 5s linear infinite;
}

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

/* Floating Glass Pill Navigation */
.bottom-nav-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 456px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
  z-index: 998;
  box-shadow: 0 10px 30px rgba(45, 30, 15, 0.15);
}

.nav-link-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 4px 4px;
  transition: all 0.25s ease;
  flex: 1;
  height: 100%;
  min-width: 0;
  text-align: center;
  border-radius: var(--radius-full);
}

.nav-link-btn svg {
  width: 17px;
  height: 17px;
  margin-bottom: 2px;
  stroke: var(--color-text-muted);
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.nav-link-btn.active, .nav-link-btn:hover {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-link-btn.active svg {
  transform: translateY(-2px);
  stroke: var(--color-primary);
}

/* -------------------------------------------------------------
   CONTENT SECTIONS
   ------------------------------------------------------------- */
.content-section {
  padding: 52px 20px 28px;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.section-header-wrap {
  margin-bottom: 22px;
}

.section-subtext {
  font-size: 0.85rem;
  color: var(--color-text-body);
  max-width: 360px;
  margin: 8px auto 0;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   HERO / COVER SECTION
   ------------------------------------------------------------- */
#sec-cover {
  padding-top: 36px;
  padding-bottom: 16px;
}

.hero-main-title {
  font-family: var(--font-serif-luxury);
  font-size: clamp(2.4rem, 8vw, 3rem);
  letter-spacing: 6px;
  font-weight: 500;
  color: var(--color-text-title);
  line-height: 1.1;
}

.hero-date-tag {
  font-family: var(--font-sans-clean);
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 4px;
}

.hero-script-tag {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 5vw, 1.95rem);
  color: var(--color-gold);
  margin-top: 2px;
  margin-bottom: 18px;
}

.hero-image-card {
  padding: 6px;
  max-width: 380px;
  margin: 0 auto 18px;
}

.hero-image-wrap {
  width: 100%;
  height: clamp(240px, 38vh, 310px);
  border-radius: calc(var(--radius-md) - 6px);
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quote-glass-card {
  padding: 18px 20px;
  max-width: 380px;
  margin: 0 auto;
}

.holy-scripture {
  font-family: var(--font-serif-luxury);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

.holy-source {
  font-family: var(--font-sans-clean);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 8px;
}

/* -------------------------------------------------------------
   SECTION: OUR SPECIAL DAY
   ------------------------------------------------------------- */
.date-highlight-card {
  padding: 24px 18px 20px;
  max-width: 400px;
  margin: 0 auto 16px;
  text-align: center;
}

.date-large-number {
  font-family: var(--font-serif-luxury);
  font-size: clamp(3.8rem, 12vw, 4.8rem);
  font-weight: 600;
  color: var(--color-text-title);
  line-height: 0.95;
  letter-spacing: 3px;
}

.date-large-month {
  font-family: var(--font-sans-clean);
  font-size: clamp(1rem, 3.8vw, 1.2rem);
  letter-spacing: 6px;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 6px;
}

.date-large-year {
  font-family: var(--font-sans-clean);
  font-size: 1.05rem;
  letter-spacing: 4px;
  color: var(--color-text-title);
  font-weight: 400;
}

/* Modern Clean Countdown */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
}

.timer-pill {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-value {
  font-family: var(--font-serif-luxury);
  font-size: clamp(1.4rem, 4.5vw, 1.65rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.timer-unit {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 3px;
}

/* Event Details Card */
.event-details-card {
  padding: 22px 18px;
  max-width: 400px;
  margin: 0 auto;
}

.event-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.event-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold-muted);
  border: 1px solid rgba(192, 154, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.event-text-block {
  flex: 1;
}

.event-sub-label {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

.event-main-val {
  font-family: var(--font-serif-luxury);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-title);
  line-height: 1.25;
}

.event-desc-val {
  font-size: 0.8rem;
  color: var(--color-text-body);
  margin-top: 2px;
}

.btn-modern-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 15px rgba(92, 67, 45, 0.25);
  transition: all 0.3s ease;
  width: 100%;
}

.btn-modern-action:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.church-sketch-wrap {
  width: 90px;
  margin: 18px auto 6px;
  opacity: 0.8;
}

.event-quote-italic {
  font-family: var(--font-serif-luxury);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 330px;
  margin: 12px auto 0;
  line-height: 1.55;
  text-align: center;
}

/* -------------------------------------------------------------
   SECTION: THE BRIDE & THE GROOM
   ------------------------------------------------------------- */
.couple-profiles-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
  width: 100%;
}

.person-card {
  padding: 20px 16px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.person-photo-frame {
  position: relative;
  width: clamp(160px, 48vw, 195px);
  height: clamp(210px, 62vw, 255px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid #ffffff;
  margin-bottom: 14px;
}

.person-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.person-card:hover .person-photo-frame img {
  transform: scale(1.05);
}

.photo-badge-role {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(90, 68, 50, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(192, 154, 94, 0.5);
  white-space: nowrap;
}

.person-callname {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 7vw, 2.6rem);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 2px;
}

.person-fullname {
  font-family: var(--font-serif-luxury);
  font-size: clamp(1.1rem, 3.8vw, 1.25rem);
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 6px;
}

.person-family {
  font-size: 0.8rem;
  color: var(--color-text-body);
  max-width: 310px;
  line-height: 1.48;
}

.person-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--color-gold-muted);
  border: 1px solid rgba(192, 154, 94, 0.3);
  transition: all 0.25s ease;
}

.person-social-link:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.ampersand-divider {
  font-family: var(--font-serif-luxury);
  font-size: 2.2rem;
  color: var(--color-gold);
  margin: -8px 0;
  font-style: italic;
}

/* -------------------------------------------------------------
   SECTION: OUR LOVE STORY (TIMELINE)
   ------------------------------------------------------------- */
.story-timeline {
  position: relative;
  max-width: 400px;
  margin: 18px auto 0;
  padding-left: 44px;
  text-align: left;
  width: 100%;
}

.story-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 17px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold), rgba(140, 115, 85, 0.2));
}

.story-item {
  position: relative;
  margin-bottom: 20px;
}

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

.story-badge-num {
  position: absolute;
  left: -44px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans-clean);
  font-size: 0.78rem;
  font-weight: 700;
  border: 2px solid var(--color-bg-base);
  box-shadow: 0 4px 12px rgba(90, 68, 50, 0.3);
  z-index: 2;
}

.story-card-content {
  padding: 14px 16px;
}

.story-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.story-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.story-title {
  font-family: var(--font-serif-luxury);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-title);
  line-height: 1.25;
}

.story-desc {
  font-size: 0.8rem;
  color: var(--color-text-body);
  line-height: 1.5;
}

/* -------------------------------------------------------------
   SECTION: A LITTLE MOMENT (PHOTO GALLERY)
   ------------------------------------------------------------- */
.gallery-quote-script {
  font-family: var(--font-serif-luxury);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.gallery-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.gallery-photo-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid #ffffff;
  cursor: pointer;
}

.gallery-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(90, 68, 50, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-photo-cell:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-dots-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(140, 115, 85, 0.25);
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: var(--color-primary);
  width: 18px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   SECTION: WEDDING GIFT (AMPLOP DIGITAL)
   ------------------------------------------------------------- */
.gift-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
  margin: 20px auto 14px;
  width: 100%;
}

.bank-card {
  padding: 20px 18px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #FAF7F2 100%);
  border: 1px solid var(--color-card-border);
}

.bank-card-chip {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d4af37, #aa7c11);
  margin: 0 auto 10px;
  opacity: 0.85;
}

.bank-owner-heading {
  font-family: var(--font-sans-clean);
  font-size: 0.88rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 2px;
}

.bank-name-label {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.bank-number-display {
  font-family: var(--font-sans-clean);
  font-size: clamp(1.25rem, 4.5vw, 1.45rem);
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--color-text-title);
  margin: 6px 0;
}

.bank-holder-name {
  font-size: 0.8rem;
  color: var(--color-text-body);
  margin-bottom: 12px;
}

.btn-copy-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(90, 68, 50, 0.2);
  transition: all 0.25s ease;
}

.btn-copy-account:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.thankyou-script-sub {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 7vw, 2.7rem);
  color: var(--color-gold);
  margin-top: 14px;
  line-height: 1.2;
}

/* -------------------------------------------------------------
   SECTION: RSVP & GUESTBOOK
   ------------------------------------------------------------- */
.rsvp-form-box {
  padding: 22px 18px;
  max-width: 400px;
  margin: 18px auto 0;
  text-align: left;
  width: 100%;
}

.form-group-field {
  margin-bottom: 14px;
}

.form-group-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-text-body);
  margin-bottom: 6px;
}

.form-input-control {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-sans-clean);
  font-size: 0.86rem;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-text-title);
  transition: all 0.25s ease;
}

.form-input-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-gold-muted);
}

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

.radio-pill-item input {
  display: none;
}

.radio-pill-item label {
  display: block;
  text-align: center;
  padding: 8px 4px;
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-text-body);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}

.radio-pill-item input:checked + label {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(90, 68, 50, 0.25);
}

.btn-submit-rsvp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gold);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 6px;
  box-shadow: 0 4px 15px rgba(90, 68, 50, 0.25);
}

.btn-submit-rsvp:hover {
  background: var(--color-primary-dark);
}

.guestbook-feed-container {
  margin-top: 22px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 2px;
  width: 100%;
}

.guestbook-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  box-shadow: var(--shadow-subtle);
}

.guestbook-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.guestbook-author {
  font-family: var(--font-serif-luxury);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-title);
}

.guestbook-badge {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-hadir {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-halangan {
  background: #ffebee;
  color: #c62828;
}

.badge-ragu {
  background: #fff8e1;
  color: #f57f17;
}

.guestbook-message {
  font-size: 0.82rem;
  color: var(--color-text-body);
  line-height: 1.45;
}

.guestbook-time {
  font-size: 0.66rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* -------------------------------------------------------------
   SECTION: YOUR PRAYERS MEAN THE WORLD TO US (CLOSING SECTION)
   ------------------------------------------------------------- */
.closing-card-wrap {
  position: relative;
  border-radius: var(--radius-md);
  padding: 36px 20px 30px 20px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.closing-text-paragraph {
  font-size: 0.85rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin: 12px 0;
}

.closing-sign-with-love {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--color-gold);
  margin-top: 14px;
}

.closing-couples-names {
  font-family: var(--font-serif-luxury);
  font-size: 1.5rem;
  letter-spacing: 5px;
  color: var(--color-text-title);
  font-weight: 700;
  margin-top: 2px;
}

.closing-date-text {
  font-family: var(--font-sans-clean);
  font-size: 0.82rem;
  letter-spacing: 3px;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 4px;
}

.closing-forever-tag {
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--color-gold);
  margin-top: 12px;
}

/* -------------------------------------------------------------
   SECTION: OUTRO PHOTO & FOOTER
   ------------------------------------------------------------- */
.outro-photo-section {
  position: relative;
  width: 100%;
  height: clamp(320px, 48vh, 420px);
  overflow: hidden;
}

.outro-photo-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outro-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 245, 240, 0.92) 0%, rgba(248, 245, 240, 0.15) 30%, rgba(26, 22, 19, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 36px;
}

.outro-thankyou-script {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 8vw, 3.2rem);
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.outro-heart-icon {
  color: #ffffff;
  margin-top: -6px;
  font-size: 1.1rem;
}

/* FOOTER BRANDING */
.wedding-footer {
  background: #1a1613;
  color: #e5ded4;
  padding: 24px 16px 95px;
  text-align: center;
  font-size: 0.76rem;
  position: relative;
  z-index: 2;
}

.footer-brand-title {
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 3px;
}

.footer-brand-title span {
  color: var(--color-gold);
}

/* -------------------------------------------------------------
   LIGHTBOX MODAL
   ------------------------------------------------------------- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image-preview {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border: 2px solid #ffffff;
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* TOAST NOTIFICATION */
.toast-bubble {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: rgba(30, 24, 19, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(192, 154, 94, 0.4);
}

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

/* ANIMATIONS & REVEAL */
.fade-up-element {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up-element.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------
   MOBILE RESPONSIVE BREAKPOINTS (320px - 500px)
   ------------------------------------------------------------- */
@media (max-width: 500px) {
  .desktop-ambient-backdrop,
  .desktop-ambient-overlay {
    display: none;
  }

  body {
    background-color: var(--color-bg-base);
  }

  .wedding-app-container {
    max-width: 100%;
    box-shadow: none;
  }

  .cover-overlay {
    max-width: 100%;
    box-shadow: none;
    padding: 26px 16px 20px;
  }

  .sticky-bg-container {
    max-width: 100%;
  }

  .content-section {
    padding: 46px 16px 26px;
  }

  .story-timeline {
    padding-left: 38px;
  }

  .story-badge-num {
    left: -38px;
    width: 32px;
    height: 32px;
    font-size: 0.74rem;
  }

  .story-timeline::before {
    left: 15px;
  }

  .bottom-nav-bar {
    width: calc(100% - 20px);
    max-width: 100%;
    bottom: 10px;
  }
}
