/* ==========================================================================
   VINTAGE ART LAMPUNG - WEDDING INVITATION THEME
   Aesthetic: Heritage Lampung, Vintage Parchment, Warm Gold, Antique Bronze
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-parchment: #FDFBF7;
  --bg-cream: #F5EFE6;
  --bg-card: #FFFFFF;
  --bg-card-tint: #FAF6EF;
  --bg-dark: #251B14;
  --bg-dark-card: #34261D;

  --color-gold: #C49A45;
  --color-gold-light: #DFBF73;
  --color-gold-dark: #987226;
  --color-bronze: #7F5539;
  --color-terracotta: #A2583E;

  --text-primary: #382A21;
  --text-secondary: #746053;
  --text-muted: #9C887A;
  --text-light: #FDFBF7;
  --text-gold: #B88931;

  --border-light: rgba(196, 154, 69, 0.25);
  --border-gold: rgba(196, 154, 69, 0.45);
  --shadow-subtle: 0 4px 20px rgba(56, 42, 33, 0.08);
  --shadow-card: 0 10px 30px rgba(56, 42, 33, 0.12);
  --shadow-glow: 0 0 25px rgba(196, 154, 69, 0.3);

  /* Typography */
  --font-serif-display: 'Cinzel', 'Playfair Display', serif;
  --font-serif-heading: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', 'Alex Brush', cursive;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;

  /* Dimensions */
  --max-content-width: 480px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-arch: 180px 180px 16px 16px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: #1A1410;
  background-image: radial-gradient(circle at 50% 50%, #2A2019 0%, #150F0C 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body.stop-scrolling {
  overflow: hidden;
  height: 100vh;
}

/* Background Texture for Invitation Canvas */
.invitation-wrapper {
  max-width: var(--max-content-width);
  margin: 0 auto;
  background-color: var(--bg-parchment);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  overflow-x: hidden;
}

/* Subtle vintage watermark background overlay */
.invitation-wrapper::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-content-width);
  height: 100vh;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(196, 154, 69, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(162, 88, 62, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif-heading);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.font-script {
  font-family: var(--font-script);
  font-weight: 400;
}

.font-display {
  font-family: var(--font-serif-display);
  letter-spacing: 2px;
}

.text-gold {
  color: var(--color-gold);
}

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

/* Ornate Lampung Siger & Dividers */
.siger-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 14px;
}

.siger-lampung-img {
  width: 120px;
  max-width: 42vw;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s ease;
}

.cover-siger-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px auto;
  text-align: center;
}

.cover-header .siger-lampung-img {
  width: 125px;
  max-width: 44vw;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 16px rgba(223, 191, 115, 0.4));
  animation: floatSiger 4s ease-in-out infinite alternate;
}

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

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

.hero-section .siger-lampung-img {
  width: 110px;
  filter: drop-shadow(0 3px 8px rgba(127, 85, 57, 0.28));
}

.closing-section .siger-lampung-img {
  width: 95px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.vintage-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto;
  width: 80%;
}

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

.vintage-divider i {
  color: var(--color-gold);
  font-size: 0.9rem;
}

/* ==========================================================================
   COVER / ENVELOPE GATE (BUKA UNDANGAN)
   ========================================================================== */
#cover {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #1A1410;
  background-image:
    linear-gradient(to bottom, rgba(26, 20, 16, 0.25) 0%, rgba(26, 20, 16, 0.1) 35%, rgba(26, 20, 16, 0.65) 72%, rgba(26, 20, 16, 0.92) 100%),
    url('../images/couple-hero.JPG');
  background-size: cover;
  background-position: center 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.3s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

#cover.opened {
  transform: translateY(-100%);
  pointer-events: none;
}

.cover-container {
  width: 100%;
  max-width: var(--max-content-width, 480px);
  height: 100%;
  padding: 50px 24px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}

.cover-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.cover-header .the-wedding-of {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--color-gold-light);
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cover-header .couple-title {
  font-family: var(--font-serif-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #FFF;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.cover-guest-card {
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(223, 191, 115, 0.3);
  padding: 24px 20px 20px;
  border-radius: 20px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 10px;
}

.cover-guest-card .guest-prefix {
  font-size: 0.88rem;
  color: #EDE4D8;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cover-guest-card .guest-name {
  font-family: var(--font-serif-heading);
  font-size: 1.6rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: capitalize;
  word-break: break-word;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Open Invitation Button (Matching Image 1 Reference) */
.btn-open-invitation {
  background: #c3884b;
  background: linear-gradient(135deg, #c78d52 0%, #ad7338 100%);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 12px 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(195, 136, 75, 0.45);
  transition: all 0.35s ease;
  animation: pulseButton 2.5s infinite;
}

.btn-open-invitation:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(195, 136, 75, 0.6);
  background: linear-gradient(135deg, #d49859 0%, #ba7e3f 100%);
}

.cover-guest-card .guest-note {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-top: 14px;
  margin-bottom: 0;
}

@keyframes pulseButton {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 25px rgba(196, 154, 69, 0.45);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(196, 154, 69, 0.7);
  }
}

/* ==========================================================================
   MAIN INVITATION SECTIONS
   ========================================================================== */
section {
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

/* Section Header Typography */
.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-bronze);
  font-weight: 700;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif-heading);
  font-size: 2.1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Arch Frame Card */
.arch-card {
  background: var(--bg-card);
  border-radius: var(--radius-arch);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.arch-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: calc(180px - 6px) calc(180px - 6px) 10px 10px;
  border: 1px dashed rgba(196, 154, 69, 0.3);
  pointer-events: none;
}

/* 1. HERO SECTION (WITH TRADITIONAL LAMPUNG MOTION & HERITAGE PHOTO) */
.hero-section {
  position: relative;
  padding: 40px 20px 30px;
  text-align: center;
  background-color: var(--bg-parchment);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Background Motion Video & Heritage Photo Container */
.hero-motion-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-motion-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  z-index: 1;
}

.hero-motion-canvas {
  pointer-events: none;
}

.hero-bg-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.25) 0%, transparent 20%, transparent 70%, rgba(253, 251, 247, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-particles-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(223, 191, 115, 0.35) 0%, transparent 22%),
    radial-gradient(circle at 75% 65%, rgba(196, 154, 69, 0.3) 0%, transparent 28%),
    radial-gradient(circle at 45% 85%, rgba(223, 191, 115, 0.25) 0%, transparent 20%);
  animation: heroShimmerGlow 7s ease-in-out infinite alternate;
}

@keyframes heroShimmerGlow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

/* Traditional Lampung Motif Borders */
.hero-motif-top,
.hero-motif-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
  opacity: 0.6;
  line-height: 0;
}

.hero-motif-top {
  top: 0;
}

.hero-motif-bottom {
  bottom: 0;
}

.hero-motif-top img,
.hero-motif-bottom img {
  width: 100%;
  height: 40px;
  object-fit: cover;
}

/* ==========================================================================
   DECORATIVE SECTION MOTIF BORDERS (SAVE THE DATE, RANGKAIAN ACARA, GALLERY)
   Layer gambar ornamen Tapis Lampung di tepi atas (motif_flip) & bawah (motif)
   ========================================================================== */
.has-motif-borders,
.countdown-section,
.event-section,
.gallery-section {
  position: relative;
  overflow: hidden;
}

.section-motif-top,
.section-motif-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  line-height: 0;
  opacity: 0.7;
}

.section-motif-top {
  top: 0;
}

.section-motif-bottom {
  bottom: 0;
}

.section-motif-top img,
.section-motif-bottom img {
  width: 100%;
  height: 44px;
  object-fit: cover;
  display: block;
}

/* Konten section selalu berada di atas layer ornamen background */
.countdown-section>*:not(.section-motif-top):not(.section-motif-bottom),
.event-section>*:not(.section-motif-top):not(.section-motif-bottom),
.gallery-section>*:not(.section-motif-top):not(.section-motif-bottom) {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   TRANSISI MASUK KONTEN HERO (BISA ANDA ATUR DI SINI)
   File: assets/css/style.css (Baris 490 - 545)
   ========================================================================== */
.hero-content-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 440px;
  margin: -45px auto 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  will-change: transform, opacity;
}

.hero-content-wrap.revealed {
  opacity: 1;
  pointer-events: auto;
  /* Atur durasi di sini (2.2s = transisi lembut mengalir, tidak membuat kaget) */
  animation: heroUltraSmoothDissolve 2.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Netralkan pergeseran 40px kasar pada elemen hero agar menyatu halus dengan container */
.hero-content-wrap .muncul,
.hero-content-wrap .zoom {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Keyframe: Dimulai sangat tipis (0% - 25%) agar transisi dari kosong ke muncul terasa sangat lembut */
@keyframes heroUltraSmoothDissolve {
  0% {
    opacity: 0;
    transform: scale(0.92);
    /* 1. Mulai dari 92% (tidak melompat dari terlalu kecil) */
  }

  25% {
    opacity: 0.15;
    /* 2. Awal sangat tipis & samar, mata punya waktu adaptasi */
    transform: scale(0.94);
  }

  65% {
    opacity: 0.8;
    /* 3. Perlahan makin jelas dan padat */
    transform: scale(0.98);
  }

  85% {
    opacity: 1;
    transform: scale(1.015);
    /* 4. Sentuhan zoom in mikro (sangat halus) */
  }

  100% {
    opacity: 1;
    transform: scale(1);
    /* 5. Menetap pas di ukuran normal 100% */
  }
}

/* Video Intro Hint / Indicator */
.hero-video-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #382A21;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(253, 251, 247, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 154, 69, 0.35);
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: bounceHint 2.4s infinite;
}

.hero-video-hint i {
  color: var(--color-gold-dark);
  font-size: 0.8rem;
}

.hero-video-hint.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
}

@keyframes bounceHint {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -6px);
  }

  60% {
    transform: translate(-50%, -3px);
  }
}

.hero-arch-photo {
  width: 255px;
  height: 345px;
  margin: 0 auto 16px;
  border-radius: 140px 140px 16px 16px;
  overflow: hidden;
  position: relative;
  border: 5px solid #FFFFFF;
  box-shadow: 0 12px 35px rgba(56, 42, 33, 0.2);
}

.hero-arch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-arch-photo:hover img {
  transform: scale(1.04);
}

.hero-tag {
  font-family: var(--font-serif-display);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: 4px;
}

.hero-names {
  font-family: var(--font-script);
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.hero-hashtag {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-date-string {
  font-family: var(--font-serif-display);
  font-size: 1.05rem;
  color: var(--color-bronze);
  letter-spacing: 1px;
}

/* 2. SCRIPTURE / AYAT SUCI */
.scripture-section {
  padding: 40px 20px;
  text-align: center;
}

.scripture-card {
  background: var(--bg-card);
  padding: 34px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.scripture-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(196, 154, 69, 0.2);
  border-radius: calc(var(--radius-lg) - 5px);
  pointer-events: none;
}

.arabic-text {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  line-height: 2.2;
  color: var(--text-primary);
  direction: rtl;
  margin-bottom: 18px;
  font-weight: 500;
}

.scripture-translation {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.scripture-ref {
  font-family: var(--font-serif-display);
  font-size: 0.9rem;
  color: var(--color-gold-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* 3. MEMPELAI (BRIDE & GROOM - IMAGE 2 REFERENCE) */
.mempelai-section {
  padding: 40px 16px;
  text-align: center;
  background-color: var(--bg-cream);
}

/* Arched Card Container (Image 2 Reference) */
.mempelai-arch-card,
.countdown-arch-card {
  background: var(--bg-card);
  border-radius: 120px 120px 24px 24px;
  border: 1.5px solid rgba(196, 154, 69, 0.35);
  box-shadow: 0 12px 35px rgba(44, 35, 28, 0.08);
  padding: 40px 20px 30px;
  position: relative;
  overflow: hidden;
}

.mempelai-arch-card::before,
.countdown-arch-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 112px 112px 18px 18px;
  border: 1px dashed rgba(196, 154, 69, 0.25);
  pointer-events: none;
}

/* Mahkota Lampung Header (Image 2 Reference) */
.mahkota-lampung-header {
  text-align: center;
  margin: 0 auto 16px auto;
}

.mahkota-lampung-img {
  width: 190px;
  max-width: 65%;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s ease;
}

.mahkota-lampung-img:hover {
  transform: scale(1.04);
}

.mahkota-countdown {
  width: 155px;
  margin-bottom: 12px;
}

/* We Are Getting Married Script Typography */
.we-are-married-title {
  text-align: center;
  margin-bottom: 16px;
}

.script-we-are {
  font-family: 'Alex Brush', 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: var(--color-gold);
  line-height: 1;
  display: block;
}

.script-getting-married {
  font-family: 'Alex Brush', 'Great Vibes', cursive;
  font-size: 3.2rem;
  color: var(--text-primary);
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
}

.script-save-date {
  font-family: 'Alex Brush', 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: var(--color-gold);
  line-height: 1.1;
  margin-bottom: 2px;
}

.mempelai-blessing-intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  max-width: 440px;
  margin: 0 auto 35px auto;
  padding: 0 10px;
}

.mempelai-intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 35px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
  position: relative;
  overflow: visible;
}

/* ==========================================================================
   ORNAMEN BUNGA TEMA COUPLE (tema_couple.webp) PADA FOTO MEMPELAI
   Posisi: Atas Kiri (Groom) & Atas Kanan (Bride) di layer PALING ATAS FOTO
   ========================================================================== */
.profile-photo-wrap {
  position: relative;
  width: 170px;
  height: 230px;
  margin: 0 auto 18px;
  overflow: visible;
}

.profile-photo-wrap .profile-photo-arch {
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
  z-index: 2;
}

.profile-flower-decor {
  position: absolute;
  z-index: 5;
  /* Di paling atas foto */
  pointer-events: none;
  width: clamp(75px, 20vw, 95px);
  aspect-ratio: 435 / 731;
  line-height: 0;
  opacity: 0;
  filter: drop-shadow(0 6px 14px rgba(70, 45, 20, 0.28));
  will-change: transform, opacity;
}

.profile-flower-decor .flower-decor-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Bunga Mempelai Pria (Groom) - Menghias Lengkungan ATAS KIRI Foto */
.flower-groom {
  top: -16px;
  left: -18px;
  transform: translate(-10px, -10px) scale(0.85) rotate(-8deg);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.profile-card.active .flower-groom {
  opacity: 0.96;
  transform: translate(0, 0) scale(1) rotate(0deg);
  animation: flowerSwayGroomTop 6.5s ease-in-out infinite alternate 1.3s;
}

/* Bunga Mempelai Wanita (Bride) - Menghias Lengkungan ATAS KANAN Foto (Mirrored) */
.flower-bride {
  top: -16px;
  right: -18px;
  transform: translate(10px, -10px) scale(0.85) rotate(8deg);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.flower-bride .flower-decor-img {
  transform: scaleX(-1);
}

.profile-card.active .flower-bride {
  opacity: 0.96;
  transform: translate(0, 0) scale(1) rotate(0deg);
  animation: flowerSwayBrideTop 6.5s ease-in-out infinite alternate 1.3s;
}

/* Ayunan organik kelopak bunga di atas foto */
@keyframes flowerSwayGroomTop {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(2px, -3px) rotate(1.5deg) scale(1.02);
  }

  100% {
    transform: translate(-2px, 1px) rotate(-1deg) scale(0.99);
  }
}

@keyframes flowerSwayBrideTop {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-2px, -3px) rotate(-1.5deg) scale(1.02);
  }

  100% {
    transform: translate(2px, 1px) rotate(1deg) scale(0.99);
  }
}

.profile-photo-arch {
  width: 170px;
  height: 230px;
  border-radius: 90px 90px 10px 10px;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 3px double var(--color-gold);
  box-shadow: 0 8px 20px rgba(56, 42, 33, 0.15);
}

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

.profile-call-name {
  font-family: var(--font-script);
  font-size: 2.7rem;
  line-height: 1.1;
  color: var(--color-bronze);
  margin-bottom: 4px;
}

.profile-full-name {
  font-family: var(--font-serif-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.profile-parents {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.profile-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 30px;
  border: 1px solid var(--color-gold);
  background: rgba(196, 154, 69, 0.08);
  transition: var(--transition-smooth);
}

.profile-ig-btn:hover {
  background: var(--color-gold);
  color: #FFFFFF;
}

.mempelai-ampersand {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--color-gold);
  margin: 10px 0 25px;
}

/* 4. COUNTDOWN WEDDING & SAVE THE DATE */
.countdown-section {
  padding: 58px 20px 52px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-parchment) 100%);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 380px;
  margin: 25px auto 30px;
}

.countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 14px 6px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.countdown-digit {
  font-family: var(--font-serif-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-bronze);
  line-height: 1;
  display: block;
}

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

.calendar-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-bronze) 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(127, 85, 57, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(127, 85, 57, 0.45);
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-bronze);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 40px;
  border: 1px solid var(--color-bronze);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-action:hover {
  background: rgba(127, 85, 57, 0.08);
}

/* 5. ACARA PERNIKAHAN & MAPS */
.event-section {
  padding: 58px 20px 52px;
  text-align: center;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 25px;
  position: relative;
}

.event-icon-circle {
  width: 55px;
  height: 55px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(196, 154, 69, 0.12);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bronze);
  font-size: 1.3rem;
}

.event-title {
  font-family: var(--font-serif-heading);
  font-size: 1.55rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.event-time-badge {
  display: inline-block;
  background: var(--bg-cream);
  color: var(--color-bronze);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.event-venue-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.event-venue-address {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.maps-embed-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-top: 15px;
  height: 190px;
  width: 100%;
}

.maps-embed-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 6. LIVE STREAMING & FILTER INSTAGRAM */
.streaming-section {
  padding: 45px 20px;
  text-align: center;
  background: var(--bg-cream);
}

.streaming-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
}

.btn-youtube {
  background: #CC181E;
  color: #FFFFFF;
}

.btn-instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  color: #FFFFFF;
}

/* 7. LOVE STORY TIMELINE */
.story-section {
  padding: 50px 20px;
  text-align: center;
}

.story-banner-wrap {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  border: 3px solid var(--color-gold);
  box-shadow: var(--shadow-card);
}

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

.timeline {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 10px 0;
  text-align: left;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-bronze) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 30px;
}

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

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-parchment);
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 10px rgba(196, 154, 69, 0.4);
}

.timeline-year {
  font-family: var(--font-serif-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-gold-dark);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.timeline-title {
  font-family: var(--font-serif-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 8. GALLERY (10 COUPLE & 2 SOLO) */
.gallery-section {
  padding: 58px 20px 52px;
  text-align: center;
  background-color: var(--bg-cream);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.gallery-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-tab-btn.active,
.gallery-tab-btn:hover {
  background: var(--color-bronze);
  color: #FFFFFF;
  border-color: var(--color-bronze);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(196, 154, 69, 0.2);
  background: #EAE3D7;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 32, 25, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFFFFF;
  font-size: 1.4rem;
}

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

.gallery-tag-solo {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(37, 27, 20, 0.75);
  color: var(--color-gold-light);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 7, 0.94);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.7);
}

.lightbox-caption {
  color: #E6DDD5;
  font-size: 0.88rem;
  margin-top: 10px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(42, 32, 25, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(196, 154, 69, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.lightbox-nav-btn:hover {
  background: var(--color-gold);
  color: #1A1410;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(42, 32, 25, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(196, 154, 69, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 9. WEDDING GIFT & ANGPAO ONLINE */
.gift-section {
  padding: 50px 20px;
  text-align: center;
}

.gift-toggle-btn {
  margin: 15px auto 25px;
}

.gift-drawer {
  display: none;
  animation: fadeIn 0.4s ease;
}

.gift-drawer.active {
  display: block;
}

.bank-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-subtle);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.bank-name {
  font-family: var(--font-serif-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-bronze);
}

.bank-holder {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bank-account-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.btn-copy {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(196, 154, 69, 0.12);
  color: var(--color-bronze);
  border: 1px solid var(--color-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: var(--transition-smooth);
}

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

.physical-gift-card {
  background: var(--bg-card-tint);
  border: 1px dashed var(--color-gold);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  margin-top: 25px;
  text-align: left;
}

.physical-gift-card h4 {
  color: var(--color-bronze);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 10. WISHES & RSVP (GUESTBOOK) */
.wishes-section {
  padding: 50px 20px;
  text-align: center;
  background-color: var(--bg-cream);
}

.rsvp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.stat-box {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.stat-count {
  font-family: var(--font-serif-heading);
  font-size: 1.45rem;
  font-weight: 700;
  display: block;
}

.stat-box.hadir .stat-count {
  color: #2E7D32;
}

.stat-box.tidak-hadir .stat-count {
  color: #C62828;
}

.stat-box.ragu .stat-count {
  color: #F57F17;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.wishes-form {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  text-align: left;
  margin-bottom: 30px;
}

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

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

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #D5C8BB;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: #FCFAF8;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 69, 0.15);
  background: #FFFFFF;
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

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

.wish-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

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

.wish-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.wish-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.wish-badge.hadir {
  background: #E8F5E9;
  color: #2E7D32;
}

.wish-badge.tidak-hadir {
  background: #FFEBEE;
  color: #C62828;
}

.wish-badge.ragu {
  background: #FFF9C4;
  color: #F57F17;
}

.wish-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 6px;
}

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

/* 11. CLOSING & FOOTER (BACKGROUND FOTO COUPLE-HERO.JPG DENGAN EFEK SHADOW HITAM) */
.closing-section {
  position: relative;
  padding: 85px 24px 120px;
  text-align: center;
  background-color: #120e0b;
  background-image:
    /* Layer 1: Gradien shadow hitam atas-bawah */
    linear-gradient(to bottom,
      rgba(14, 10, 8, 0.92) 0%,
      rgba(14, 10, 8, 0.5) 25%,
      rgba(14, 10, 8, 0.65) 65%,
      rgba(14, 10, 8, 0.96) 100%),
    /* Layer 2: Vignette shadow hitam di sekeliling */
    radial-gradient(ellipse at center, transparent 35%, rgba(10, 7, 5, 0.75) 100%),
    /* Layer 3: Foto couple-hero.JPG (sama dengan cover) */
    url('../images/couple-hero.JPG');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.6);
}

.closing-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Efek shadow hitam pekat di bagian bawah */
    linear-gradient(to top, rgba(10, 7, 5, 0.95) 0%, rgba(10, 7, 5, 0.5) 35%, transparent 70%),
    /* Efek shadow hitam halus di bagian atas untuk blending halus dengan section sebelumnya */
    linear-gradient(to bottom, rgba(14, 10, 8, 0.85) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin: 0 auto;
}

.closing-section .siger-lampung-img {
  width: 95px;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.7));
}

.closing-section .section-title {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  margin-bottom: 6px;
}

.closing-section .section-subtitle {
  color: var(--color-gold-light);
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.closing-section p {
  color: #EDE4D8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.closing-couple-names {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 4.5vw, 4rem);
  color: var(--color-gold-light);
  margin: 15px 0 20px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95), 0 0 30px rgba(223, 191, 115, 0.4);
}

.closing-footer-note {
  font-size: 0.78rem;
  color: #C8BCB1;
  letter-spacing: 1px;
  margin-top: 45px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   FLOATING DOCK & CONTROLS
   ========================================================================== */

/* Floating Audio Disc */
.floating-music-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--bg-dark);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.floating-music-btn.playing {
  animation: spinDisc 4s linear infinite;
}

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

/* Request Music Floating Trigger Button */
.floating-song-req-btn {
  position: fixed;
  bottom: 85px;
  left: 20px;
  height: 40px;
  padding: 0 14px;
  background: rgba(37, 27, 20, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold);
  border-radius: 20px;
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
}

.floating-song-req-btn:hover {
  background: var(--color-gold);
  color: #1A1410;
}

/* Floating Bottom Navigation Bar */
.bottom-nav-dock {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: 440px;
  background: rgba(37, 27, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 154, 69, 0.4);
  border-radius: 40px;
  padding: 6px 4px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 997;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  box-sizing: border-box;
}

.bottom-nav-dock.visible {
  opacity: 1;
  pointer-events: auto;
}

.dock-item {
  color: #CFC1B3;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.62rem;
  gap: 2px;
  transition: var(--transition-smooth);
  padding: 4px 1px;
  border-radius: 10px;
  text-align: center;
}

.dock-item span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.dock-item i {
  font-size: 0.95rem;
}

.dock-item.active,
.dock-item:hover {
  color: var(--color-gold-light);
  transform: translateY(-2px);
}

/* Sender Tools Floating Quick Access */
.floating-sender-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(37, 27, 20, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 996;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.floating-sender-btn:hover {
  background: var(--color-gold);
  color: #1A1410;
}

/* ==========================================================================
   MODALS (SENDER TOOLS & MUSIC PLAYLIST)
   ========================================================================== */
.custom-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 7, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-modal.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-parchment);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gold);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  padding: 24px;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-title {
  font-family: var(--font-serif-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Sender Tools Tabs */
.sender-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.sender-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.sender-tab.active {
  color: var(--color-bronze);
  border-color: var(--color-bronze);
}

.preview-box {
  background: #EFE9E0;
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 180px;
  overflow-y: auto;
  margin: 12px 0 16px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(37, 27, 20, 0.94);
  color: #FFFFFF;
  border: 1px solid var(--color-gold);
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  animation: slideDownToast 0.35s ease, fadeOutToast 0.35s ease 2.7s forwards;
}

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

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

@keyframes fadeOutToast {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Scroll Animation Classes */
.muncul {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.muncul.active {
  opacity: 1;
  transform: translateY(0);
}

.muncul-kiri {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.muncul-kiri.active {
  opacity: 1;
  transform: translateX(0);
}

.muncul-kanan {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.muncul-kanan.active {
  opacity: 1;
  transform: translateX(0);
}

.zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   DESKTOP SPLIT VIEW (LAMPUNG HERITAGE - MATCHING REFERENCE IMAGE 2)
   ========================================================================== */
.desktop-showcase-pane {
  display: none;
}

@media (min-width: 992px) {
  :root {
    --invitation-desktop-width: 30vw;
  }

  body {
    background-color: #120e0b;
    overflow-x: hidden;
  }

  /* Desktop Left Pane Showcase (Background: tema_bg.png - Persis 70% Lebar Desktop) */
  .desktop-showcase-pane {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 70vw !important;
    height: 100vh;
    z-index: 5;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    background-color: #15100c;
    background-image: url('../images/tema_bg.png') !important;
    background-size: cover !important;
    background-position: center 80% !important;
    background-repeat: no-repeat !important;
  }

  .desktop-showcase-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../images/tema_bg.png');
    background-size: cover;
    background-position: center 80%;
  }

  .desktop-showcase-overlay {
    position: absolute;
    inset: 0;
    background:
      /* Efek shadow gelap di bagian bawah (sesuai referensi gambar) */
      linear-gradient(to top, rgba(12, 8, 6, 0.95) 0%, rgba(12, 8, 6, 0.7) 20%, rgba(12, 8, 6, 0.25) 50%, transparent 75%),
      /* Bayangan halus di tengah agar teks mempelai lebih kontras dan terbaca */
      radial-gradient(circle at center 55%, rgba(15, 10, 7, 0.45) 0%, rgba(15, 10, 7, 0.15) 50%, transparent 80%),
      /* Vignette lembut di sekeliling */
      radial-gradient(circle at center, transparent 40%, rgba(15, 10, 7, 0.4) 100%);
    border-right: 2px solid rgba(223, 191, 115, 0.35);
    pointer-events: none;
  }

  .desktop-showcase-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 540px;
  }

  .desktop-siger-icon .siger-icon-img {
    width: 90px;
    height: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 12px rgba(223, 191, 115, 0.5));
  }

  .desktop-the-wedding-of {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--color-gold-light);
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }

  .desktop-couple-title {
    font-family: var(--font-serif-display);
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
    margin-bottom: 18px;
    line-height: 1.15;
  }

  .desktop-wedding-date {
    display: inline-block;
    font-family: var(--font-serif-display);
    font-size: 1.15rem;
    letter-spacing: 5px;
    color: var(--color-gold-light);
    padding: 6px 26px;
    border-top: 1px solid rgba(223, 191, 115, 0.6);
    border-bottom: 1px solid rgba(223, 191, 115, 0.6);
  }

  /* Right Invitation Track - fills right column edge-to-edge (Persis 30% Lebar Desktop)! */
  .invitation-wrapper {
    margin-left: 70vw !important;
    width: 30vw !important;
    max-width: 30vw !important;
    min-height: 100vh;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 6;
  }

  /* Cover on Desktop - fills right column edge-to-edge (Persis 30% Lebar Desktop) with couple-hero.JPG! */
  #cover {
    left: 70vw !important;
    right: 0 !important;
    width: 30vw !important;
    height: 100vh !important;
    background-image:
      linear-gradient(to bottom, rgba(26, 20, 16, 0.25) 0%, rgba(26, 20, 16, 0.1) 35%, rgba(26, 20, 16, 0.65) 72%, rgba(26, 20, 16, 0.92) 100%),
      url('../images/couple-hero.JPG');
    background-size: cover !important;
    background-position: center 15% !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  }

  /* Responsiveness of Cover Card inside 30vw */
  #cover .cover-container {
    padding: 40px 18px 25px;
    width: 100%;
    max-width: 100%;
  }

  #cover .cover-siger-wrap {
    margin: 0 auto 10px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #cover .cover-header .siger-lampung-img {
    width: clamp(85px, 8vw, 115px);
    margin: 0 auto;
    display: block;
  }

  #cover .cover-header .couple-title {
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  }

  #cover .cover-header .the-wedding-of {
    font-size: clamp(1.15rem, 1.4vw, 1.6rem);
  }

  #cover .cover-guest-card {
    padding: 18px 14px 16px;
    max-width: 94%;
  }

  #cover .cover-guest-card .guest-name {
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    margin-bottom: 12px;
  }

  #cover .btn-open-invitation {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  /* Bottom Navigation Dock centered inside right 30vw column */
  .bottom-nav-dock,
  #bottomDock {
    left: 85vw !important;
    transform: translateX(-50%) !important;
    width: calc(30vw - 20px) !important;
    max-width: 380px !important;
  }

  /* Floating Music Button inside right column */
  .floating-music-btn {
    right: 20px !important;
  }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE LAYOUT OPTIMIZATIONS
   ========================================================================== */

/* 1. Tablet & Mobile Base (< 992px) */
@media (max-width: 991px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .desktop-showcase-pane {
    display: none !important;
  }

  .invitation-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: min(var(--max-content-width, 480px), 100vw);
    overflow-x: hidden;
    position: relative;
    box-shadow: none;
  }

  #cover {
    inset: 0;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden;
  }

  .bottom-nav-dock,
  #bottomDock {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 16px) !important;
    max-width: 440px !important;
  }

  .floating-music-btn {
    right: 14px !important;
  }
}

/* 2. Standard Mobile Smartphone (<= 600px) */
@media (max-width: 600px) {
  /* Section Spacing & Structure */
  section {
    padding: 42px 14px 38px;
  }

  .section-subtitle {
    font-size: clamp(0.72rem, 2.4vw, 0.8rem);
    letter-spacing: 2.5px;
    margin-bottom: 4px;
  }

  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2rem);
    margin-bottom: 10px;
  }

  /* Decorative Motif Heights */
  .hero-motif-top img,
  .hero-motif-bottom img,
  .section-motif-top img,
  .section-motif-bottom img {
    height: clamp(26px, 7vw, 36px);
  }

  /* Cover Screen */
  #cover .cover-container {
    padding: 36px 14px 22px;
  }

  #cover .cover-siger-wrap {
    margin: 0 auto 8px;
  }

  #cover .cover-header .siger-lampung-img {
    width: clamp(75px, 20vw, 100px);
  }

  #cover .cover-header .the-wedding-of {
    font-size: clamp(1.3rem, 4.2vw, 1.65rem);
    margin-bottom: 2px;
  }

  #cover .cover-header .couple-title {
    font-size: clamp(2rem, 6.5vw, 2.55rem);
    letter-spacing: 1.5px;
    margin-bottom: 4px;
  }

  #cover .cover-guest-card {
    padding: 16px 14px;
    max-width: min(340px, 94vw);
    border-radius: 18px;
    margin-bottom: 6px;
  }

  #cover .cover-guest-card .guest-prefix {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  #cover .cover-guest-card .guest-name {
    font-size: clamp(1.2rem, 4.4vw, 1.5rem);
    margin-bottom: 12px;
  }

  #cover .btn-open-invitation {
    padding: 10px 24px;
    font-size: clamp(0.85rem, 2.8vw, 0.92rem);
  }

  #cover .cover-guest-card .guest-note {
    font-size: 0.7rem;
    margin-top: 10px;
  }

  /* Hero Section (Responsive Postcard Framing Sesuai Layar Mobile) */
  .hero-section {
    min-height: 100dvh;
    height: 100dvh;
    padding: 30px 14px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-content-wrap {
    margin: -10px auto 0;
    padding: 0 10px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-section .siger-icon-wrap {
    margin: 0 auto 6px;
  }

  .hero-section .siger-lampung-img {
    width: clamp(65px, 8.5vh, 85px);
    height: auto;
    filter: drop-shadow(0 3px 8px rgba(127, 85, 57, 0.35));
  }

  .hero-tag {
    font-size: clamp(0.72rem, 1.6vh, 0.84rem);
    letter-spacing: clamp(2px, 0.8vw, 3px);
    margin-bottom: 2px;
  }

  .hero-names {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4.4vh, 2.7rem);
    line-height: 1.1;
    margin-bottom: 3px;
    color: var(--text-primary);
  }

  .hero-hashtag {
    font-size: clamp(0.72rem, 1.4vh, 0.82rem);
    letter-spacing: 1.5px;
    margin-bottom: clamp(6px, 1.2vh, 10px);
  }

  /* Foto Arch Proporsional & Elegan Sesuai Ukuran Device (Tidak Terlalu Besar) */
  .hero-arch-photo {
    height: clamp(190px, 32vh, 260px);
    width: auto;
    aspect-ratio: 255 / 345;
    max-width: min(205px, 56vw);
    margin: 0 auto clamp(8px, 1.2vh, 12px);
    border: 3.5px solid #FFFFFF;
    border-radius: clamp(70px, 11vh, 95px) clamp(70px, 11vh, 95px) 14px 14px;
    box-shadow: 0 10px 28px rgba(56, 42, 33, 0.22);
  }

  .hero-date-string {
    font-family: var(--font-serif-display);
    font-size: clamp(0.84rem, 1.8vh, 0.98rem);
    letter-spacing: 1.2px;
    margin-bottom: 3px;
    color: var(--color-bronze);
  }

  #hero .vintage-divider {
    margin: 4px auto 0;
    width: clamp(75px, 18vw, 110px);
  }

  #hero .vintage-divider i {
    font-size: 0.75rem;
  }

  .hero-video-hint {
    bottom: clamp(10px, 2vh, 18px);
    padding: 5px 14px;
    font-size: 0.68rem;
  }

  /* Scripture Card */
  .scripture-section {
    padding: 34px 12px;
  }

  .scripture-card {
    padding: 24px 14px;
    border-radius: 16px;
  }

  .arabic-text {
    font-size: clamp(1.15rem, 4vw, 1.35rem);
    line-height: 2;
    margin-bottom: 14px;
  }

  .scripture-translation {
    font-size: clamp(0.8rem, 2.6vw, 0.88rem);
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .scripture-ref {
    font-size: clamp(0.78rem, 2.5vw, 0.86rem);
  }

  /* Mempelai Section */
  .mempelai-section {
    padding: 36px 10px 30px;
  }

  .mempelai-arch-card {
    padding: 32px 12px 24px;
    border-radius: 90px 90px 20px 20px;
  }

  .mempelai-arch-card::before {
    border-radius: 82px 82px 14px 14px;
    inset: 6px;
  }

  .mahkota-lampung-img {
    width: clamp(125px, 40vw, 165px);
    margin-bottom: 12px;
  }

  .script-we-are {
    font-size: clamp(1.7rem, 5.5vw, 2.1rem);
  }

  .script-getting-married {
    font-size: clamp(2.3rem, 7.5vw, 2.9rem);
  }

  .mempelai-blessing-intro {
    font-size: clamp(0.82rem, 2.8vw, 0.88rem);
    line-height: 1.6;
    margin-bottom: 22px;
    padding: 0 4px;
  }

  .profile-card {
    padding: 22px 12px 18px;
    margin-bottom: 20px;
    border-radius: 16px;
  }

  .profile-photo-wrap {
    width: clamp(140px, 42vw, 165px);
    height: clamp(190px, 56vw, 220px);
    margin: 0 auto 12px;
  }

  .profile-photo-arch {
    border-radius: 80px 80px 10px 10px;
  }

  .profile-flower-decor {
    width: clamp(70px, 20vw, 86px);
  }

  .flower-groom {
    top: -14px;
    left: -14px;
  }

  .flower-bride {
    top: -14px;
    right: -14px;
  }

  .profile-call-name {
    font-size: clamp(2rem, 6.8vw, 2.5rem);
    margin-bottom: 2px;
  }

  .profile-full-name {
    font-size: clamp(1.05rem, 3.5vw, 1.2rem);
    margin-bottom: 6px;
  }

  .profile-parents {
    font-size: clamp(0.8rem, 2.6vw, 0.86rem);
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .profile-ig-btn {
    font-size: 0.78rem;
    padding: 6px 14px;
  }

  .mempelai-ampersand {
    font-size: clamp(2.4rem, 8vw, 3rem);
    margin: 6px 0 16px;
  }

  /* Countdown & Save The Date */
  .countdown-section {
    padding: 44px 10px 38px;
  }

  .countdown-arch-card {
    padding: 28px 10px 22px;
    border-radius: 90px 90px 20px 20px;
  }

  .countdown-arch-card::before {
    border-radius: 82px 82px 14px 14px;
    inset: 6px;
  }

  .mahkota-countdown {
    width: clamp(110px, 35vw, 135px);
    margin-bottom: 10px;
  }

  .script-save-date {
    font-size: clamp(1.9rem, 6vw, 2.3rem);
  }

  .countdown-grid {
    gap: 6px;
    max-width: 340px;
    margin: 16px auto 20px;
  }

  .countdown-box {
    padding: 10px 2px;
    border-radius: 10px;
  }

  .countdown-digit {
    font-size: clamp(1.3rem, 4.4vw, 1.6rem);
  }

  .countdown-label {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    margin-top: 4px;
  }

  .calendar-action-group {
    max-width: 290px;
    gap: 8px;
  }

  .btn-primary-action {
    padding: 10px 18px;
    font-size: clamp(0.8rem, 2.6vw, 0.86rem);
    letter-spacing: 0.5px;
  }

  .btn-secondary-action {
    padding: 9px 16px;
    font-size: clamp(0.76rem, 2.5vw, 0.82rem);
  }

  /* Rangkaian Acara & Maps */
  .event-section {
    padding: 44px 10px 38px;
  }

  .event-card {
    padding: 22px 12px;
    border-radius: 16px;
    margin-bottom: 18px;
  }

  .event-icon-circle {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .event-title {
    font-size: clamp(1.3rem, 4.4vw, 1.5rem);
    margin-bottom: 8px;
  }

  .event-time-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .event-venue-name {
    font-size: clamp(0.92rem, 3.2vw, 1rem);
  }

  .event-venue-address {
    font-size: clamp(0.8rem, 2.6vw, 0.85rem);
    margin-bottom: 14px;
    line-height: 1.45;
  }

  .maps-embed-container {
    height: 195px;
    border-radius: 12px;
  }

  /* Live Streaming */
  .streaming-section {
    padding: 38px 10px;
  }

  .streaming-card {
    padding: 20px 12px;
    border-radius: 14px;
  }

  /* Love Story Timeline */
  .story-section {
    padding: 42px 10px;
  }

  .story-banner-wrap {
    height: clamp(170px, 48vw, 210px);
    border-radius: 14px;
    margin-bottom: 22px;
  }

  .timeline {
    padding: 6px 0;
    max-width: 100%;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-dot {
    left: 5px;
    width: 18px;
    height: 18px;
  }

  .timeline-item {
    padding-left: 36px;
    margin-bottom: 22px;
  }

  .timeline-year {
    font-size: 0.84rem;
  }

  .timeline-title {
    font-size: clamp(1rem, 3.5vw, 1.12rem);
  }

  .timeline-desc {
    font-size: clamp(0.82rem, 2.6vw, 0.87rem);
    line-height: 1.55;
  }

  /* Wedding Gallery */
  .gallery-section {
    padding: 44px 10px 38px;
  }

  .gallery-tabs {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
  }

  .gallery-tab-btn {
    padding: 6px 12px;
    font-size: 0.76rem;
    border-radius: 20px;
  }

  .gallery-grid {
    gap: 8px;
  }

  .gallery-item {
    border-radius: 10px;
  }

  .gallery-tag-solo {
    font-size: 0.65rem;
    padding: 2px 7px;
  }

  .lightbox-content {
    max-width: 95vw;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  /* Digital Gift */
  .gift-section {
    padding: 42px 10px;
  }

  .bank-card {
    padding: 16px 14px;
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .bank-name {
    font-size: clamp(1.1rem, 3.8vw, 1.25rem);
  }

  .bank-account-num {
    font-size: clamp(1.15rem, 4vw, 1.3rem);
    letter-spacing: 0.5px;
  }

  .bank-holder {
    font-size: clamp(0.8rem, 2.6vw, 0.85rem);
  }

  .btn-copy {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .physical-gift-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  /* Wishes / RSVP */
  .wishes-section {
    padding: 42px 10px;
  }

  .rsvp-stats-grid {
    gap: 6px;
    margin-bottom: 18px;
  }

  .stat-box {
    padding: 10px 2px;
    border-radius: 10px;
  }

  .stat-count {
    font-size: clamp(1.25rem, 4.2vw, 1.45rem);
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .wishes-form {
    padding: 18px 12px;
    border-radius: 16px;
    margin-bottom: 22px;
  }

  /* 16px prevents iOS Safari from automatically zooming into inputs */
  .form-control,
  .wishes-form input,
  .wishes-form select,
  .wishes-form textarea {
    font-size: 16px !important;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .wishes-list {
    gap: 10px;
    max-height: 440px;
  }

  .wish-item {
    padding: 12px;
    border-radius: 10px;
  }

  .wish-author {
    font-size: 0.88rem;
  }

  .wish-text {
    font-size: 0.84rem;
  }

  /* Closing & Footer */
  .closing-section {
    padding: 55px 14px 95px;
  }

  .closing-section .siger-lampung-img {
    width: clamp(75px, 20vw, 95px);
  }

  .closing-section .section-title {
    font-size: clamp(1.6rem, 5.5vw, 1.95rem);
  }

  .closing-couple-names {
    font-size: clamp(2.6rem, 8.5vw, 3.5rem);
    margin: 10px 0 16px;
  }

  .closing-section p {
    font-size: clamp(0.82rem, 2.7vw, 0.88rem);
    line-height: 1.55;
  }

  .closing-footer-note {
    font-size: 0.72rem;
    margin-top: 30px;
  }

  /* Bottom Nav Dock & Floating Controls */
  .bottom-nav-dock {
    bottom: 10px;
    width: calc(100% - 14px);
    max-width: 440px;
    padding: 5px 3px;
    border-radius: 35px;
  }

  .dock-item {
    padding: 3px 1px;
    font-size: clamp(0.55rem, 2vw, 0.62rem);
    flex: 1 1 0;
    min-width: 0;
  }

  .dock-item i {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
  }

  .floating-music-btn {
    bottom: 68px !important;
    right: 12px !important;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .floating-song-req-btn {
    bottom: 68px;
    left: 12px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.72rem;
  }
}

/* 3. Extra Narrow Smartphone (<= 380px: Galaxy Z Flip cover, iPhone SE 1st gen, small Androids) */
@media (max-width: 380px) {
  section {
    padding: 36px 8px 32px;
  }

  .countdown-grid {
    gap: 4px;
    margin: 14px auto 18px;
  }

  .countdown-box {
    padding: 8px 1px;
  }

  .countdown-digit {
    font-size: 1.25rem;
  }

  .countdown-label {
    font-size: 0.58rem;
    letter-spacing: 0;
  }

  .dock-item span {
    font-size: 0.54rem;
  }

  .dock-item i {
    font-size: 0.88rem;
  }

  .profile-photo-wrap {
    width: 140px;
    height: 190px;
  }

  .hero-names {
    font-size: 1.85rem !important;
  }

  .hero-arch-photo {
    height: clamp(170px, 30vh, 220px) !important;
    max-width: min(180px, 54vw) !important;
  }

  .mempelai-arch-card {
    padding: 28px 8px 20px;
  }

  .event-card {
    padding: 18px 8px;
  }

  .bank-card {
    padding: 14px 10px;
  }

  .wishes-form {
    padding: 16px 10px;
  }
}