/* ==========================================================================
   THE WEDDING OF ARUL & ALPIN - ROYAL BOTANICAL EMERALD & GOLD
   Undangan Pernikahan Digital Eksklusif
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root, [data-theme="emerald"] {
  /* Theme 1: Royal Emerald & Champagne Gold (Default) */
  --bg-dark-0: #040e0b;
  --bg-dark-1: #071913;
  --bg-dark-2: #0b241c;
  --bg-card: rgba(8, 28, 22, 0.82);
  --bg-card-hover: rgba(13, 40, 31, 0.9);
  --bg-card-glass: rgba(8, 28, 22, 0.65);
  
  /* Gold Accents & Shimmer */
  --gold-light: #fbeeb8;
  --gold-primary: #dcb35c;
  --gold-deep: #b3862b;
  --gold-shadow: rgba(220, 179, 92, 0.28);
  --gold-border: rgba(220, 179, 92, 0.35);
  --gold-border-subtle: rgba(220, 179, 92, 0.18);
  --gold-gradient: linear-gradient(135deg, #fff2cc 0%, #e0bb6b 40%, #b88a30 100%);
  --gold-gradient-glow: linear-gradient(135deg, #fff7db 0%, #f1cd7e 50%, #c49638 100%);

  /* Flowing Background Orb Colors */
  --orb-color-1: rgba(16, 185, 129, 0.5);
  --orb-color-2: rgba(220, 179, 92, 0.45);
  --orb-color-3: rgba(5, 150, 105, 0.4);
  --orb-color-4: rgba(251, 238, 184, 0.3);

  /* Botanical Accents */
  --sage-green: #8ba38d;
  --forest-green: #144234;
  --accent-emerald: #10b981;

  /* Typography Colors */
  --text-primary: #fdfbf7;
  --text-secondary: #c9d6ce;
  --text-muted: #8fa197;
  --text-gold: #f3d790;

  /* Typography Families */
  --font-serif-title: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel Decorative', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 12px 36px -8px rgba(220, 179, 92, 0.22);
  --shadow-deep: 0 20px 45px -10px rgba(0, 0, 0, 0.7);

  /* Dimensions */
  --container-max: 920px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
}

/* Theme 2: Midnight Sapphire & Silver Starlight */
[data-theme="sapphire"] {
  --bg-dark-0: #020813;
  --bg-dark-1: #05142a;
  --bg-dark-2: #081d3d;
  --bg-card: rgba(8, 25, 52, 0.84);
  --bg-card-hover: rgba(12, 35, 72, 0.92);
  --bg-card-glass: rgba(8, 25, 52, 0.65);
  
  --gold-light: #e0f2fe;
  --gold-primary: #38bdf8;
  --gold-deep: #0284c7;
  --gold-shadow: rgba(56, 189, 248, 0.3);
  --gold-border: rgba(56, 189, 248, 0.4);
  --gold-border-subtle: rgba(56, 189, 248, 0.2);
  --gold-gradient: linear-gradient(135deg, #f0f9ff 0%, #38bdf8 45%, #0284c7 100%);
  --gold-gradient-glow: linear-gradient(135deg, #ffffff 0%, #7dd3fc 50%, #0369a1 100%);
  --text-gold: #7dd3fc;

  --orb-color-1: rgba(56, 189, 248, 0.55);
  --orb-color-2: rgba(37, 99, 235, 0.5);
  --orb-color-3: rgba(96, 165, 250, 0.45);
  --orb-color-4: rgba(186, 230, 253, 0.35);
}

/* Theme 3: Velvet Ruby & Rose Gold */
[data-theme="ruby"] {
  --bg-dark-0: #120408;
  --bg-dark-1: #1f070f;
  --bg-dark-2: #2e0b17;
  --bg-card: rgba(45, 10, 22, 0.84);
  --bg-card-hover: rgba(62, 14, 30, 0.92);
  --bg-card-glass: rgba(45, 10, 22, 0.65);
  
  --gold-light: #ffe4e6;
  --gold-primary: #fb7185;
  --gold-deep: #be123c;
  --gold-shadow: rgba(244, 63, 94, 0.3);
  --gold-border: rgba(251, 113, 133, 0.4);
  --gold-border-subtle: rgba(251, 113, 133, 0.2);
  --gold-gradient: linear-gradient(135deg, #fff1f2 0%, #fb7185 45%, #be123c 100%);
  --gold-gradient-glow: linear-gradient(135deg, #ffffff 0%, #fda4af 50%, #9f1239 100%);
  --text-gold: #fda4af;

  --orb-color-1: rgba(244, 63, 94, 0.55);
  --orb-color-2: rgba(190, 18, 60, 0.5);
  --orb-color-3: rgba(251, 113, 133, 0.45);
  --orb-color-4: rgba(254, 205, 211, 0.35);
}

/* Theme 4: Royal Amethyst & Lilac Kristal */
[data-theme="amethyst"] {
  --bg-dark-0: #0b0314;
  --bg-dark-1: #150723;
  --bg-dark-2: #220b38;
  --bg-card: rgba(33, 10, 54, 0.84);
  --bg-card-hover: rgba(46, 14, 75, 0.92);
  --bg-card-glass: rgba(33, 10, 54, 0.65);
  
  --gold-light: #f3e8ff;
  --gold-primary: #c084fc;
  --gold-deep: #9333ea;
  --gold-shadow: rgba(192, 132, 252, 0.3);
  --gold-border: rgba(192, 132, 252, 0.4);
  --gold-border-subtle: rgba(192, 132, 252, 0.2);
  --gold-gradient: linear-gradient(135deg, #faf5ff 0%, #c084fc 45%, #7e22ce 100%);
  --gold-gradient-glow: linear-gradient(135deg, #ffffff 0%, #d8b4fe 50%, #6b21a8 100%);
  --text-gold: #d8b4fe;

  --orb-color-1: rgba(168, 85, 247, 0.55);
  --orb-color-2: rgba(126, 34, 206, 0.5);
  --orb-color-3: rgba(192, 132, 252, 0.45);
  --orb-color-4: rgba(243, 232, 255, 0.35);
}

/* Theme 5: Luxury Obsidian & Emas 24K */
[data-theme="obsidian"] {
  --bg-dark-0: #070707;
  --bg-dark-1: #101010;
  --bg-dark-2: #1a1a1a;
  --bg-card: rgba(24, 24, 24, 0.86);
  --bg-card-hover: rgba(34, 34, 34, 0.94);
  --bg-card-glass: rgba(24, 24, 24, 0.65);
  
  --gold-light: #fef3c7;
  --gold-primary: #f59e0b;
  --gold-deep: #b45309;
  --gold-shadow: rgba(245, 158, 11, 0.3);
  --gold-border: rgba(245, 158, 11, 0.4);
  --gold-border-subtle: rgba(245, 158, 11, 0.2);
  --gold-gradient: linear-gradient(135deg, #fffbeb 0%, #fbbf24 45%, #b45309 100%);
  --gold-gradient-glow: linear-gradient(135deg, #ffffff 0%, #fde68a 50%, #92400e 100%);
  --text-gold: #fde68a;

  --orb-color-1: rgba(245, 158, 11, 0.55);
  --orb-color-2: rgba(180, 83, 9, 0.5);
  --orb-color-3: rgba(251, 191, 36, 0.45);
  --orb-color-4: rgba(254, 243, 199, 0.35);
}
/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark-0);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-0);
}
::-webkit-scrollbar-thumb {
  background: rgba(220, 179, 92, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 179, 92, 0.65);
}

/* --------------------------------------------------------------------------
   3. BACKGROUND AMBIENCE & ANIMATED FLOWING BACKGROUND (BEGRON BERJALAN)
   -------------------------------------------------------------------------- */
.flowing-bg-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg-dark-0);
  transition: background-color 0.8s ease;
}

/* Moving Fluid Mesh Gradient */
.flowing-mesh-gradient {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 25% 25%, var(--orb-color-1) 0%, transparent 45%),
              radial-gradient(circle at 75% 35%, var(--orb-color-2) 0%, transparent 45%),
              radial-gradient(circle at 35% 75%, var(--orb-color-3) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, var(--orb-color-4) 0%, transparent 45%);
  filter: blur(85px);
  animation: meshFlow 20s ease-in-out infinite alternate;
  transition: background 0.8s ease, filter 0.8s ease;
  will-change: transform;
}

@keyframes meshFlow {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-4%, 6%, 0) rotate(5deg) scale(1.08); }
  100% { transform: translate3d(5%, -5%, 0) rotate(-3deg) scale(1.02); }
}

/* Floating Moving Orbs */
.flowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.48;
  pointer-events: none;
  transition: background 0.8s ease;
  will-change: transform;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: var(--orb-color-1);
  top: -80px;
  left: -80px;
  animation: floatOrb1 16s ease-in-out infinite alternate;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: var(--orb-color-2);
  bottom: 12%;
  right: -100px;
  animation: floatOrb2 20s ease-in-out infinite alternate;
}

.orb-3 {
  width: 380px;
  height: 380px;
  background: var(--orb-color-3);
  top: 40%;
  left: 25%;
  animation: floatOrb3 24s ease-in-out infinite alternate;
}

.orb-4 {
  width: 320px;
  height: 320px;
  background: var(--orb-color-4);
  bottom: -60px;
  left: 10%;
  animation: floatOrb4 18s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(120px, 140px, 0) scale(1.15); }
}
@keyframes floatOrb2 {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(-150px, -110px, 0) scale(0.9); }
}
@keyframes floatOrb3 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  100% { transform: translate3d(-80px, 130px, 0) scale(1.18); }
}
@keyframes floatOrb4 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(140px, -80px, 0) scale(1.08); }
}

.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3A. WATER SPLASH & RIPPLE OVERLAY CANVAS (SENTUHAN LAYAR)
   -------------------------------------------------------------------------- */
.water-splash-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
}

/* --------------------------------------------------------------------------
   3B. FLOATING THEME SELECTOR WIDGET (PILIHAN 5 WARNA TAMU)
   -------------------------------------------------------------------------- */
.floating-theme-widget {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 99;
}

.theme-picker-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 26, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 12px;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-subtle), 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s var(--transition-bounce);
}

.theme-picker-btn:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.theme-active-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  transition: background 0.3s, box-shadow 0.3s;
}

.theme-btn-icon {
  font-size: 18px;
  color: var(--gold-primary);
}

.theme-btn-text {
  letter-spacing: 0.5px;
}

/* Theme Palette Modal / Dropdown */
.theme-palette-modal {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 310px;
  background: rgba(7, 22, 17, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(220, 179, 92, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.theme-palette-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.palette-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.palette-modal-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
}

.palette-modal-title .material-symbols-outlined {
  color: var(--gold-primary);
  font-size: 18px;
}

.palette-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.palette-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.palette-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.theme-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  background: rgba(12, 34, 27, 0.6);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.theme-option-card:hover {
  background: rgba(16, 46, 36, 0.85);
  border-color: var(--gold-border);
  transform: translateX(3px);
}

.theme-option-card.active {
  background: rgba(220, 179, 92, 0.15);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(220, 179, 92, 0.2);
}

.theme-preview-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  position: relative;
}

.theme-preview-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Color Dot Gradients for 5 Themes */
.dot-emerald {
  background: linear-gradient(135deg, #10b981 0%, #064e3b 50%, #dcb35c 100%);
}
.dot-sapphire {
  background: linear-gradient(135deg, #38bdf8 0%, #1e3a8a 50%, #e0f2fe 100%);
}
.dot-ruby {
  background: linear-gradient(135deg, #fb7185 0%, #881337 50%, #ffe4e6 100%);
}
.dot-amethyst {
  background: linear-gradient(135deg, #c084fc 0%, #581c87 50%, #f3e8ff 100%);
}
.dot-obsidian {
  background: linear-gradient(135deg, #fbbf24 0%, #1c1917 50%, #f59e0b 100%);
}

.theme-info {
  flex-grow: 1;
}

.theme-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.theme-tagline {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.theme-option-card .check-icon {
  font-size: 18px;
  color: var(--gold-primary);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s var(--transition-bounce);
}

.theme-option-card.active .check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Gold Shimmer Text Effect */
.text-gold-shimmer {
  background: linear-gradient(
    120deg,
    #b88a30 0%,
    #fff5d6 25%,
    #e0bb6b 50%,
    #fff5d6 75%,
    #b88a30 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: goldShimmer 7s ease-in-out infinite;
}

@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --------------------------------------------------------------------------
   4. ENVELOPE GATE / COVER MODAL
   -------------------------------------------------------------------------- */
.envelope-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.envelope-gate.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Sliding Velvet Curtains */
.envelope-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: linear-gradient(165deg, #061913 0%, #030d0a 60%, #071e16 100%);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

.curtain-left {
  left: 0;
  border-right: 1px solid var(--gold-border);
}

.curtain-right {
  right: 0;
  border-left: 1px solid var(--gold-border);
}

.envelope-gate.opened .curtain-left {
  transform: translateX(-100%);
}
.envelope-gate.opened .curtain-right {
  transform: translateX(100%);
}

.envelope-card-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 480px;
  background: rgba(8, 26, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-deep), 0 0 40px rgba(220, 179, 92, 0.15);
  animation: modalCardFloat 6s ease-in-out infinite alternate;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.envelope-gate.opened .envelope-card-inner {
  transform: scale(0.9) translateY(-30px);
  opacity: 0;
}

@keyframes modalCardFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* 3D Wax Seal Monogram */
.monogram-seal-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  cursor: pointer;
  transition: transform 0.4s var(--transition-bounce), filter 0.3s;
}

.monogram-seal-badge:hover {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 0 16px rgba(220, 179, 92, 0.6));
}

.seal-outer-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd978 0%, #c49332 45%, #7e5a17 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.7),
              inset 0 -3px 6px rgba(0, 0, 0, 0.7),
              0 6px 20px rgba(0, 0, 0, 0.6),
              0 0 25px rgba(220, 179, 92, 0.3);
  border: 2px solid rgba(255, 240, 180, 0.4);
}

.seal-inner-core {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 240, 180, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(168, 126, 38, 0.8) 0%, rgba(102, 74, 18, 0.95) 100%);
}

.seal-monogram {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff9e6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 8px rgba(255, 235, 170, 0.5);
  letter-spacing: 1px;
}

.cover-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cover-couple-name {
  font-family: var(--font-serif-title);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.cover-date-badge {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  margin-bottom: 1.75rem;
  display: inline-block;
  padding: 4px 16px;
  background: rgba(220, 179, 92, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border-subtle);
}

.cover-guest-card {
  background: rgba(6, 20, 15, 0.75);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.cover-guest-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.cover-guest-name {
  font-family: var(--font-serif-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.cover-invitation-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.btn-primary-luxury {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: var(--gold-gradient);
  color: #171103;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--shadow-gold), 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--transition-bounce), filter 0.25s, box-shadow 0.25s;
}

.btn-primary-luxury:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 36px -6px rgba(220, 179, 92, 0.45);
}

.btn-primary-luxury:active {
  transform: translateY(1px);
}

.icon-spin-hover {
  transition: transform 0.4s var(--transition-bounce);
}
.btn-primary-luxury:hover .icon-spin-hover {
  transform: rotate(-12deg) scale(1.1);
}

.btn-subtle-share {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-subtle-share:hover {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   5. FLOATING AUDIO CONTROLLER & DOCK BOTTOM NAVIGATION
   -------------------------------------------------------------------------- */
.floating-audio-widget {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8, 25, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 6px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s, border-color 0.3s;
}

.floating-audio-widget:hover {
  border-color: var(--gold-border);
}

.audio-vinyl-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.vinyl-record {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a1a 0%, #080808 60%, #1f1f1f 100%);
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  animation: vinylSpin 4s linear infinite;
  animation-play-state: paused;
}

.vinyl-record.playing {
  animation-play-state: running;
  border-color: var(--gold-primary);
}

@keyframes vinylSpin {
  100% { transform: rotate(360deg); }
}

.vinyl-center {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-icon {
  font-size: 11px;
  color: #1a1103;
}

.audio-meta {
  display: flex;
  flex-direction: column;
}

.audio-track-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.2;
}

.audio-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 10px;
  margin-top: 3px;
}

.audio-wave-bars span {
  width: 2px;
  height: 4px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.vinyl-record.playing + .audio-meta .audio-wave-bars span:nth-child(1) { animation: wavePulse 0.9s ease-in-out infinite alternate; }
.vinyl-record.playing + .audio-meta .audio-wave-bars span:nth-child(2) { animation: wavePulse 0.7s ease-in-out infinite alternate 0.2s; }
.vinyl-record.playing + .audio-meta .audio-wave-bars span:nth-child(3) { animation: wavePulse 1.1s ease-in-out infinite alternate 0.4s; }
.vinyl-record.playing + .audio-meta .audio-wave-bars span:nth-child(4) { animation: wavePulse 0.8s ease-in-out infinite alternate 0.1s; }

@keyframes wavePulse {
  0% { height: 3px; opacity: 0.5; }
  100% { height: 10px; opacity: 1; }
}

/* Modern iOS Glass Dock Bottom Navigation */
.dock-bottom-nav {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(7, 24, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 6px 10px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.75), 0 0 20px rgba(220, 179, 92, 0.15);
  max-width: 95vw;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--transition-smooth);
}

.dock-item .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.25s var(--transition-bounce);
}

.dock-label {
  font-size: 0.65rem;
  font-weight: 500;
  margin-top: 2px;
  display: none;
}

@media (min-width: 600px) {
  .dock-label {
    display: block;
  }
}

.dock-item:hover {
  color: var(--gold-light);
}

.dock-item.active {
  background: var(--gold-gradient);
  color: #171103;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(220, 179, 92, 0.35);
}

.dock-item.active .material-symbols-outlined {
  transform: scale(1.1);
  color: #171103;
}

/* --------------------------------------------------------------------------
   6. MAIN WRAPPER & SECTIONS LAYOUT
   -------------------------------------------------------------------------- */
.main-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem 6rem;
}

.section-container {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif-title);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0.75rem 0 1.25rem;
}

.section-divider .line {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
}

.section-divider .diamond {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem 4rem;
  margin-bottom: 2rem;
}

.hero-bg-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-deep);
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.4) contrast(1.1);
  transform: scale(1.03);
  transition: transform 10s ease;
}

.hero-section:hover .hero-bg-image {
  transform: scale(1.08);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 23, 17, 0.4) 0%, rgba(4, 14, 11, 0.92) 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(10, 32, 24, 0.75);
  border: 1px solid var(--gold-border);
  margin-bottom: 1.25rem;
}

.badge-gem {
  color: var(--gold-primary);
}

.hero-intro-text {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-serif-title);
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title .ampersand {
  font-family: var(--font-display);
  font-size: 0.85em;
  font-weight: 400;
  margin: 0 0.15em;
  color: var(--gold-light);
}

.hero-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-date-dot {
  color: var(--gold-primary);
}

.hero-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-ornament-divider .ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
}

.hero-ornament-divider .ornament-monogram {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-light);
  letter-spacing: 2px;
}

/* Countdown Card */
.countdown-card {
  background: rgba(8, 26, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.countdown-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.countdown-box {
  background: rgba(5, 17, 13, 0.85);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, border-color 0.2s;
}

.countdown-box:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
}

.countdown-value {
  font-family: var(--font-serif-title);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-unit {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.countdown-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn-calendar, .btn-calendar-subtle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--transition-smooth);
}

.btn-calendar {
  background: var(--gold-gradient);
  color: #171103;
  border: none;
  box-shadow: 0 4px 15px rgba(220, 179, 92, 0.25);
}

.btn-calendar:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-calendar-subtle {
  background: rgba(220, 179, 92, 0.1);
  border: 1px solid var(--gold-border-subtle);
  color: var(--text-primary);
}

.btn-calendar-subtle:hover {
  background: rgba(220, 179, 92, 0.2);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   8. BLESSING SECTION (QS AR-RUM 21)
   -------------------------------------------------------------------------- */
.blessing-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.card-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-primary);
  border-style: solid;
}

.corner-tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.corner-tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.blessing-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220, 179, 92, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold-light);
}

.arabic-text {
  font-family: var(--font-arabic);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  direction: rtl;
}

.arabic-verse {
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  line-height: 2.2;
  color: #fffbf0;
  margin-bottom: 1.75rem;
  direction: rtl;
}

.verse-translation {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.verse-reference {
  font-family: var(--font-serif-title);
  font-size: 1.15rem;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   9. COUPLE / MEMPELAI PROFILES
   -------------------------------------------------------------------------- */
.couple-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .couple-cards-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
  }
}

.profile-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.35s var(--transition-smooth), border-color 0.3s;
}

.profile-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 179, 92, 0.6);
}

.profile-portrait-wrap {
  position: relative;
  width: 190px;
  height: 240px;
  margin: 0 auto 1.75rem;
}

.portrait-halo {
  position: absolute;
  inset: -8px;
  border-radius: 120px;
  border: 1px dashed var(--gold-primary);
  opacity: 0.6;
  animation: haloPulse 8s linear infinite;
}

@keyframes haloPulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 110px;
  border: 2px solid var(--gold-light);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.portrait-botanical-tag {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark-1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.profile-full-name {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.profile-nickname {
  font-family: var(--font-serif-title);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.profile-lineage {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.profile-lineage strong {
  color: #fff;
}

.profile-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.btn-profile-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(220, 179, 92, 0.1);
  border: 1px solid var(--gold-border-subtle);
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-profile-social:hover {
  background: var(--gold-gradient);
  color: #171103;
  border-color: transparent;
}

.couple-union-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.union-line-v {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold-primary), transparent);
}

.union-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171103;
  box-shadow: 0 0 20px rgba(220, 179, 92, 0.4);
}

/* --------------------------------------------------------------------------
   10. EVENT DETAILS / RANGKAIAN ACARA
   -------------------------------------------------------------------------- */
.event-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .event-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.event-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem 2rem;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s, border-color 0.3s;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 179, 92, 0.6);
}

.highlighted-card {
  border-color: var(--gold-primary);
  background: var(--bg-card);
  box-shadow: var(--shadow-gold);
}

.event-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #171103;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.event-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(220, 179, 92, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.event-title {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.event-meta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 2rem;
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.event-meta-item .material-symbols-outlined {
  color: var(--gold-primary);
  font-size: 22px;
  margin-top: 1px;
}

.event-meta-item strong {
  color: #fff;
}

.btn-event-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(220, 179, 92, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s;
}

.btn-event-primary:hover {
  background: var(--gold-gradient);
  color: #171103;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(220, 179, 92, 0.3);
}

/* Dress Code Card */
.dresscode-box {
  background: rgba(8, 26, 20, 0.7);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  text-align: center;
}

.dresscode-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.dresscode-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.color-swatch-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.swatch-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.swatch-name {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. LOVE STORY / KISAH KAMI TIMELINE
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 27px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-primary), var(--gold-border-subtle));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  top: 14px;
  left: -2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-dark-1);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  box-shadow: 0 0 14px var(--gold-shadow);
  transition: all 0.3s ease;
}

.timeline-dot .material-symbols-outlined {
  font-size: 19px;
  color: var(--gold-light);
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.75rem;
  margin-left: 1rem;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-gold);
}

.highlight-timeline {
  background: var(--bg-card);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.timeline-title {
  font-family: var(--font-serif-title);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   12. GALLERY SECTION & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(10, 32, 25, 0.7);
  border: 1px solid var(--gold-border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold-border);
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #171103;
  font-weight: 700;
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border-subtle);
  cursor: pointer;
  transition: transform 0.35s var(--transition-smooth), border-color 0.3s;
}

.gallery-card:hover {
  transform: scale(1.02);
  border-color: var(--gold-primary);
}

.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #061812;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-thumb {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 14, 11, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .material-symbols-outlined {
  color: var(--gold-light);
  font-size: 28px;
  margin-bottom: 4px;
}

.overlay-caption {
  font-family: var(--font-serif-title);
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 11, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper {
  text-align: center;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-deep);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-serif-title);
  font-size: 1.35rem;
  color: var(--gold-light);
}

.lightbox-btn-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(220, 179, 92, 0.15);
  border: 1px solid var(--gold-border);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-btn-close:hover {
  background: var(--gold-gradient);
  color: #171103;
}

.lightbox-btn-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(220, 179, 92, 0.18);
  border: 1px solid var(--gold-border);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-btn-nav:hover {
  background: var(--gold-gradient);
  color: #171103;
}

.lightbox-btn-nav.prev { left: -60px; }
.lightbox-btn-nav.next { right: -60px; }

@media (max-width: 768px) {
  .lightbox-btn-nav.prev { left: 10px; }
  .lightbox-btn-nav.next { right: 10px; }
}

/* --------------------------------------------------------------------------
   13. DIGITAL GIFT / AMPLOP DIGITAL
   -------------------------------------------------------------------------- */
.gift-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .gift-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bank-card {
  position: relative;
  background: linear-gradient(145deg, var(--bg-card-hover) 0%, var(--bg-dark-1) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  transition: transform 0.3s;
}

.bank-card:hover {
  transform: translateY(-4px);
}

.bank-card-chip {
  width: 45px;
  height: 35px;
  background: linear-gradient(135deg, #ffd978 0%, #aa8222 100%);
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.7), 0 2px 5px rgba(0,0,0,0.5);
  position: relative;
}

.bank-card-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 4px;
}

.bank-logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.bank-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 2px;
}

.bank-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bank-account-num {
  font-family: monospace;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 0.35rem;
}

.bank-holder {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
}

.btn-copy-acc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(220, 179, 92, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-copy-acc:hover {
  background: var(--gold-gradient);
  color: #171103;
  border-color: transparent;
}

/* Physical Gift Delivery */
.physical-gift-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 600px) {
  .physical-gift-card {
    flex-direction: row;
    text-align: left;
  }
}

.physical-gift-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(220, 179, 92, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.physical-gift-info {
  flex-grow: 1;
}

.physical-gift-info h4 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.physical-gift-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.btn-copy-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(220, 179, 92, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-copy-address:hover {
  background: var(--gold-gradient);
  color: #171103;
}

/* --------------------------------------------------------------------------
   14. RSVP & GUESTBOOK (BUKU TAMU)
   -------------------------------------------------------------------------- */
.rsvp-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 820px) {
  .rsvp-layout-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.rsvp-form-card, .guestbook-feed-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-subtle);
}

.card-inner-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif-title);
  font-size: 1.55rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(5, 17, 13, 0.85);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(220, 179, 92, 0.2);
}

.form-textarea {
  resize: vertical;
}

.btn-submit-rsvp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: var(--gold-gradient);
  color: #171103;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s var(--transition-bounce);
}

.btn-submit-rsvp:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Guestbook Feed */
.guestbook-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.guestbook-stats {
  display: flex;
  gap: 8px;
}

.badge-stat {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(220, 179, 92, 0.12);
  border: 1px solid var(--gold-border-subtle);
  color: var(--gold-light);
  font-weight: 600;
}

.stat-attending {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.wishes-scroll-list {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wish-item-card {
  background: rgba(6, 20, 15, 0.75);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: transform 0.2s, border-color 0.2s;
}

.wish-item-card:hover {
  border-color: var(--gold-border);
}

.wish-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.wish-sender-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wish-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #171103;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wish-sender-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
}

.wish-status-tag {
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.tag-hadir { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.tag-ragu { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.tag-tidak { background: rgba(239, 68, 68, 0.18); color: #f87171; }

.wish-message-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.wish-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-wish-like {
  background: none;
  border: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-wish-like:hover, .btn-wish-like.liked {
  color: #f43f5e;
}

/* --------------------------------------------------------------------------
   15. SHARE TO WHATSAPP TOOL SECTION
   -------------------------------------------------------------------------- */
.share-tool-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  max-width: 700px;
  margin: 0 auto;
}

.share-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.share-header .material-symbols-outlined {
  color: var(--gold-primary);
  font-size: 28px;
}

.share-title {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 700;
}

.share-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.share-input-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.75rem;
}

@media (min-width: 600px) {
  .share-input-row {
    flex-direction: row;
    align-items: flex-end;
  }
  .share-input-group {
    flex-grow: 1;
    text-align: left;
  }
}

.share-input-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.btn-generate-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.5rem;
  background: var(--gold-gradient);
  color: #171103;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-generate-link:hover {
  filter: brightness(1.1);
}

.share-result-box {
  background: rgba(5, 17, 13, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
}

.share-result-box label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.result-url-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.form-input-readonly {
  flex-grow: 1;
  background: rgba(10, 32, 25, 0.9);
  border: 1px solid var(--gold-border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--gold-light);
  font-size: 0.88rem;
}

.btn-copy-url {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(220, 179, 92, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-url:hover {
  background: var(--gold-gradient);
  color: #171103;
}

.btn-wa-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa-share:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid var(--gold-border-subtle);
}

.footer-monogram {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.footer-note {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.footer-families {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.footer-couple-name {
  display: block;
  font-family: var(--font-serif-title);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 0.5rem;
}

.footer-bottom-line {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom-line strong {
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

/* Watermark Styling - BY PT EXCORE MEDIADATA */
.cover-watermark {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--gold-border-subtle);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.cover-watermark:hover {
  opacity: 1;
  color: var(--gold-light);
}

.cover-watermark-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(220, 179, 92, 0.4));
}

.cover-watermark .watermark-dot {
  color: var(--gold-primary);
  font-size: 0.65rem;
}

.footer-watermark-wrap {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 2rem;
}

.watermark-pill {
  background: rgba(8, 26, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(220, 179, 92, 0.15);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.watermark-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 12px rgba(220, 179, 92, 0.45));
}

.watermark-pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(220, 179, 92, 0.25);
}

.watermark-badge-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.watermark-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.watermark-icon {
  font-size: 18px;
  color: var(--gold-primary);
}

.watermark-badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   17. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-alert {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(9, 28, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.35rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(220, 179, 92, 0.25);
  transform: translateX(120%);
  transition: transform 0.35s var(--transition-bounce), opacity 0.35s;
}

.toast-alert.show {
  transform: translateX(0);
}

.toast-alert .toast-icon {
  color: var(--gold-light);
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   18. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   19. DEDICATED HANDPHONE (MOBILE SMARTPHONE) OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 640px) {
  /* Safe spacing for mobile bottom dock */
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 15px));
  }

  .main-wrapper {
    padding: 0 0.85rem calc(80px + env(safe-area-inset-bottom, 15px));
  }

  .section-container {
    padding: 3.25rem 0;
  }

  /* Cover Envelope on Handphone */
  .envelope-card-inner {
    width: 92%;
    max-width: 390px;
    padding: 2.25rem 1.15rem 1.75rem;
    border-radius: var(--radius-md);
  }

  .monogram-seal-badge {
    width: 72px;
    height: 72px;
    margin-bottom: 1.15rem;
  }

  .seal-inner-core {
    width: 54px;
    height: 54px;
  }

  .seal-monogram {
    font-size: 1.1rem;
  }

  .cover-couple-name {
    font-size: 2.15rem;
  }

  .cover-guest-card {
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
  }

  .cover-guest-name {
    font-size: 1.25rem;
  }

  .btn-primary-luxury {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Floating Audio Controller on Mobile */
  .floating-audio-widget {
    top: 1rem;
    left: 1rem;
    padding: 4px 10px 4px 4px;
  }

  .vinyl-record {
    width: 34px;
    height: 34px;
  }

  .audio-track-title {
    font-size: 0.7rem;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Floating Theme Selector on Mobile */
  .floating-theme-widget {
    top: 1rem;
    right: 1rem;
  }

  .theme-picker-btn {
    padding: 6px 12px 6px 8px;
    font-size: 0.75rem;
  }

  .theme-palette-modal {
    right: -10px;
    width: calc(100vw - 2rem);
    max-width: 320px;
  }

  /* Mobile Handphone Dock Bottom Navigation */
  .dock-bottom-nav {
    bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 1.25rem);
    max-width: 410px;
    padding: 5px 6px;
    justify-content: space-around;
    gap: 2px;
  }

  .dock-item {
    padding: 7px 6px;
    flex: 1;
    min-width: 0;
  }

  .dock-item .material-symbols-outlined {
    font-size: 21px;
  }

  /* Hero Section on Handphone */
  .hero-section {
    min-height: 85vh;
    padding: 4rem 0.5rem 2.25rem;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-date-row {
    font-size: 0.82rem;
    gap: 6px;
    letter-spacing: 1px;
    flex-wrap: wrap;
  }

  .countdown-card {
    padding: 1.25rem 0.85rem;
  }

  .countdown-grid {
    gap: 6px;
  }

  .countdown-box {
    padding: 0.65rem 0.2rem;
  }

  .countdown-value {
    font-size: 1.55rem;
  }

  .countdown-unit {
    font-size: 0.65rem;
  }

  .btn-calendar, .btn-calendar-subtle {
    width: 100%;
    justify-content: center;
  }

  /* Blessing Quran Verse */
  .blessing-card {
    padding: 2.25rem 1.15rem;
  }

  .arabic-text {
    font-size: 1.3rem;
  }

  .arabic-verse {
    font-size: 1.15rem;
    line-height: 2;
  }

  .verse-translation {
    font-size: 0.88rem;
  }

  /* Couple Profiles */
  .profile-card {
    padding: 2rem 1.25rem;
  }

  .profile-portrait-wrap {
    width: 165px;
    height: 215px;
  }

  .profile-full-name {
    font-size: 1.55rem;
  }

  .profile-nickname {
    font-size: 1.15rem;
  }

  /* Events Card */
  .event-card {
    padding: 2.25rem 1.25rem 1.75rem;
  }

  .event-title {
    font-size: 1.55rem;
  }

  .event-meta-item {
    font-size: 0.88rem;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .overlay-caption {
    font-size: 0.85rem;
  }

  /* Bank & Gift Cards */
  .bank-card {
    padding: 1.75rem 1.25rem;
  }

  .bank-account-num {
    font-size: 1.25rem;
    letter-spacing: 1.5px;
  }

  .bank-brand {
    font-size: 1.25rem;
  }

  /* RSVP & Guestbook */
  .rsvp-form-card, .guestbook-feed-card {
    padding: 1.75rem 1.15rem;
  }

  .card-inner-title {
    font-size: 1.35rem;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  }

  /* Share Tool on Handphone */
  .share-tool-card {
    padding: 2rem 1.15rem;
  }

  .result-url-wrapper {
    flex-direction: column;
  }

  .btn-copy-url {
    width: 100%;
    justify-content: center;
  }

  /* Toast Alerts */
  .toast-container {
    top: 1rem;
    right: 0.75rem;
    left: 0.75rem;
  }

  .toast-alert {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.75rem 1rem;
  }
}

/* Extra small devices (iPhone SE, Galaxy A series, 360px - 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .cover-couple-name {
    font-size: 1.9rem;
  }
  .dock-bottom-nav {
    padding: 4px;
  }
  .dock-item {
    padding: 6px 3px;
  }
  .dock-item .material-symbols-outlined {
    font-size: 19px;
  }
}


/* ==========================================================================
   19. DEDICATED HANDPHONE (MOBILE SMARTPHONE) OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 640px) {
  /* Safe spacing for mobile bottom nav */
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 12px));
  }

  .main-wrapper {
    padding: 0 1rem calc(80px + env(safe-area-inset-bottom, 15px));
  }

  .section-container {
    padding: 3.5rem 0;
  }

  /* Cover Envelope on Handphone */
  .envelope-card-inner {
    width: 92%;
    padding: 2.25rem 1.25rem 2rem;
    border-radius: var(--radius-md);
  }

  .monogram-seal-badge {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
  }

  .seal-inner-core {
    width: 54px;
    height: 54px;
  }

  .seal-monogram {
    font-size: 1.1rem;
  }

  .cover-couple-name {
    font-size: 2.2rem;
  }

  .cover-guest-card {
    padding: 1rem 1.15rem;
    margin-bottom: 1.4rem;
  }

  .cover-guest-name {
    font-size: 1.25rem;
  }

  .btn-primary-luxury {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Floating Audio Controller on Mobile */
  .floating-audio-widget {
    top: 1rem;
    left: 1rem;
    padding: 4px 10px 4px 4px;
  }

  .vinyl-record {
    width: 34px;
    height: 34px;
  }

  .audio-track-title {
    font-size: 0.7rem;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Mobile Handphone Dock Bottom Navigation */
  .dock-bottom-nav {
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 1.5rem);
    max-width: 420px;
    padding: 5px 6px;
    justify-content: space-around;
    gap: 2px;
  }

  .dock-item {
    padding: 7px 8px;
    flex: 1;
    min-width: 0;
  }

  .dock-item .material-symbols-outlined {
    font-size: 21px;
  }

  /* Hero Section on Handphone */
  .hero-section {
    min-height: 88vh;
    padding: 4.5rem 0.5rem 2.5rem;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 2.85rem;
  }

  .hero-date-row {
    font-size: 0.82rem;
    gap: 6px;
    letter-spacing: 1px;
  }

  .countdown-card {
    padding: 1.25rem 1rem;
  }

  .countdown-grid {
    gap: 8px;
  }

  .countdown-box {
    padding: 0.65rem 0.25rem;
  }

  .countdown-value {
    font-size: 1.55rem;
  }

  .countdown-unit {
    font-size: 0.65rem;
  }

  .btn-calendar, .btn-calendar-subtle {
    width: 100%;
    justify-content: center;
  }

  /* Blessing Quran Verse */
  .blessing-card {
    padding: 2.25rem 1.25rem;
  }

  .arabic-text {
    font-size: 1.3rem;
  }

  .arabic-verse {
    font-size: 1.2rem;
    line-height: 2;
  }

  .verse-translation {
    font-size: 0.88rem;
  }

  /* Couple Profiles */
  .profile-card {
    padding: 2rem 1.25rem;
  }

  .profile-portrait-wrap {
    width: 165px;
    height: 215px;
  }

  .profile-full-name {
    font-size: 1.55rem;
  }

  .profile-nickname {
    font-size: 1.15rem;
  }

  /* Events Card */
  .event-card {
    padding: 2.25rem 1.25rem 1.75rem;
  }

  .event-title {
    font-size: 1.55rem;
  }

  .event-meta-item {
    font-size: 0.88rem;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .overlay-caption {
    font-size: 0.9rem;
  }

  /* Bank & Gift Cards */
  .bank-card {
    padding: 1.75rem 1.25rem;
  }

  .bank-account-num {
    font-size: 1.25rem;
    letter-spacing: 1.5px;
  }

  .bank-brand {
    font-size: 1.25rem;
  }

  /* RSVP & Guestbook */
  .rsvp-form-card, .guestbook-feed-card {
    padding: 1.75rem 1.25rem;
  }

  .card-inner-title {
    font-size: 1.35rem;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents auto-zoom in Safari iOS */
  }

  /* Share Tool on Handphone */
  .share-tool-card {
    padding: 2rem 1.25rem;
  }

  .result-url-wrapper {
    flex-direction: column;
  }

  .btn-copy-url {
    width: 100%;
    justify-content: center;
  }

  /* Toast Alerts */
  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast-alert {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.75rem 1rem;
  }
}

/* Extra small devices (iPhone SE, Galaxy A series, 360px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 2.45rem;
  }
  .cover-couple-name {
    font-size: 1.95rem;
  }
  .dock-bottom-nav {
    padding: 4px;
  }
  .dock-item {
    padding: 6px 4px;
  }
  .dock-item .material-symbols-outlined {
    font-size: 19px;
  }
}

