/* ==========================================================================
   STYLE - LUXURY BROWN, GOLD & CREAM DIGITAL INVITATION
   ========================================================================== */

:root {
  /* Brown Palette */
  --brown-950: #1C120C;
  --brown-900: #2C1B12;
  --brown-800: #3E271B;
  --brown-700: #553727;
  --brown-600: #714C37;
  --brown-500: #8E624A;
  --brown-400: #AE8066;
  --brown-300: #CBA58F;
  --brown-200: #E4CCBD;
  --brown-100: #F3E7DF;

  /* Cream Palette */
  --cream-50:  #FFFEFA;
  --cream-100: #FDFBF7;
  --cream-200: #F7F1E6;
  --cream-300: #EFE4D3;
  --cream-400: #E3D2BC;
  --cream-500: #D3BEA2;

  /* Gold Palette */
  --gold-100: #FCF7E6;
  --gold-200: #F7EABF;
  --gold-300: #EED68F;
  --gold-400: #E2BF63;
  --gold-500: #D4AF37; /* Royal Gold */
  --gold-600: #B89227;
  --gold-700: #937119;
  --gold-800: #6F5210;

  /* Gradients */
  --gold-grad-primary: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --gold-grad-soft: linear-gradient(135deg, #D4AF37 0%, #F5E8C7 50%, #B89227 100%);
  --brown-grad: linear-gradient(145deg, #3E271B 0%, #25160E 100%);
  --cream-grad: linear-gradient(180deg, #FDFBF7 0%, #F8F2E8 100%);

  /* UI Tokens - Kodeez Studio Luxury Digital Wedding Invitation */
  --font-heading: 'Italiana', 'Cinzel', Georgia, serif;
  --font-serif: 'Italiana', 'Cinzel', Georgia, serif;
  --font-script: 'Playball', 'Great Vibes', cursive;
  --font-sans: 'Montserrat', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-roman: 'Cinzel', 'Italiana', serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;

  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(212, 175, 55, 0.38);
  --card-shadow: 0 16px 40px -8px rgba(62, 39, 27, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

/* ==========================================================================
   CUSTOM LUXURY SCROLLBAR (Gold Foil & Warm Cream - Kodeez Studio Theme)
   ========================================================================== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #EFE7DC;
  /* Firefox standard */
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) rgba(247, 241, 230, 0.7);
}

/* WebKit custom luxury scrollbar (Chrome, Edge, Safari, Opera) */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: rgba(247, 241, 230, 0.65);
  backdrop-filter: blur(4px);
  border-left: 1px solid rgba(212, 175, 55, 0.15);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #E2C376 0%, #D4AF37 40%, #B08436 80%, #8F6722 100%);
  border-radius: 999px;
  border: 2px solid rgba(253, 251, 247, 0.85);
  box-shadow: 0 1px 4px rgba(44, 27, 18, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #F5E5B8 0%, #E2C376 35%, #D4AF37 70%, #9E7428 100%);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #C9A050 0%, #B08436 50%, #7A5517 100%);
}

::-webkit-scrollbar-corner {
  background: rgba(247, 241, 230, 0.8);
}

body {
  font-family: var(--font-sans);
  color: var(--brown-900);
  background-color: #EFE7DC;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select,
.btn-copy,
.btn-submit-rsvp,
a {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

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

/* Outer Desktop Wrapper with Aesthetic Backdrop Matching Invitation Theme */
.desktop-stage {
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(circle at 50% 20%, #FAF6F0 0%, #F3ECE0 45%, #E5DACB 100%);
  background-color: #EFE7DC;
  display: flex;
  justify-content: center;
  position: relative;
}

@media (min-width: 768px) {
  .desktop-stage::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: calc(50% - 260px);
    height: 100%;
    background-image: radial-gradient(circle at 20% 25%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
                      radial-gradient(circle at 40% 75%, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
  }
  
  .desktop-stage::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: calc(50% - 260px);
    height: 100%;
    background-image: radial-gradient(circle at 80% 25%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
                      radial-gradient(circle at 60% 75%, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
  }
}

/* Main Mobile/Tablet Invitation Frame */
.invitation-container {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  background-color: #FAF5EE;
  background-image: url('../images/floral-botanical-bg.jpg');
  background-repeat: repeat-y;
  background-size: 520px auto;
  background-position: top center;
  position: relative;
  box-shadow: 0 0 45px rgba(120, 85, 45, 0.14), 0 0 20px rgba(212, 175, 55, 0.12), 0 16px 45px rgba(44, 27, 18, 0.07);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  border-right: 1px solid rgba(212, 175, 55, 0.25);
  overflow: hidden;
}

/* Canvas Particle Petals */
#petals-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
}

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

.font-arabic {
  font-family: var(--font-arabic);
  direction: rtl;
}

/* Gold Text and Highlights */
.text-gold {
  color: var(--gold-600);
}

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

.text-gold-foil {
  background: var(--gold-grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-brown-muted {
  color: var(--brown-600);
}

.text-brown-deep {
  color: var(--brown-900);
}

/* Ornate Dividers */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto;
  width: 100%;
  max-width: 260px;
}

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

.gold-divider svg,
.gold-divider i {
  color: var(--gold-500);
  font-size: 14px;
}

/* ==========================================================================
   COVER / SPLASH SCREEN (Amplop & Modal Pembuka)
   ========================================================================== */
.cover-screen {
  background-color: #F9F2EA;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.cover-wrapper {
  width: 100%;
  max-width: 520px;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 12px;
  overflow: hidden;
  background: #F9F2EA;
}

/* Browser-Native Progressive Drawing Frame for 18MB Floral SVG (Zero GPU Stalls, 60-120fps) */
.cover-bg-artwork {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: none;
  pointer-events: none;
  z-index: 1;
  background: transparent;
  display: block;
}

/* ==========================================================================
   CORNER FLORAL ORNAMENTS (bunga_3.svg - Sudut Atas Kiri & Kanan)
   Animasi Muncul Halus & Goyang-Goyang Mengikuti Angin (Gentle Breeze Sway)
   ========================================================================== */
.corner-flower {
  position: absolute;
  width: 142px;
  height: auto;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(44, 27, 18, 0.12));
  will-change: transform, opacity;
}

.corner-flower-left {
  top: -6px;
  left: -6px;
  transform-origin: 20px 20px;
  animation: 
    cornerFlowerEntranceLeft 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both,
    cornerFlowerSwayLeft 6.2s ease-in-out 1.8s infinite alternate;
}

.corner-flower-right {
  top: -6px;
  right: -6px;
  transform-origin: 50% 50%;
  animation: 
    cornerFlowerEntranceRight 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both,
    cornerFlowerSwayRight 7.0s ease-in-out 2.0s infinite alternate;
}

/* Animasi Muncul Halus dari Sudut */
@keyframes cornerFlowerEntranceLeft {
  0% {
    opacity: 0;
    transform: translate3d(-30px, -30px, 0) scale(0.8) rotate(-9deg);
  }
  65% {
    opacity: 0.95;
    transform: translate3d(2px, 2px, 0) scale(1.02) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes cornerFlowerEntranceRight {
  0% {
    opacity: 0;
    transform: scaleX(-1) translate3d(-30px, -30px, 0) scale(0.8) rotate(-9deg);
  }
  65% {
    opacity: 0.95;
    transform: scaleX(-1) translate3d(2px, 2px, 0) scale(1.02) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    transform: scaleX(-1) translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

/* Animasi Goyang-Goyang Anggun Semilir Angin (Natural Gentle Sway) */
@keyframes cornerFlowerSwayLeft {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
  35% {
    transform: rotate(3.4deg) translate3d(1.5px, 2px, 0);
  }
  70% {
    transform: rotate(-2.6deg) translate3d(-1px, 1px, 0);
  }
  100% {
    transform: rotate(1.8deg) translate3d(0.5px, -1px, 0);
  }
}

@keyframes cornerFlowerSwayRight {
  0% {
    transform: scaleX(-1) rotate(0deg) translate3d(0, 0, 0);
  }
  35% {
    transform: scaleX(-1) rotate(-3.4deg) translate3d(1.5px, 2px, 0);
  }
  70% {
    transform: scaleX(-1) rotate(2.6deg) translate3d(-1px, 1px, 0);
  }
  100% {
    transform: scaleX(-1) rotate(-1.8deg) translate3d(0.5px, -1px, 0);
  }
}

@media (max-width: 480px) {
  .corner-flower {
    width: 116px;
  }
}

@media (max-width: 360px) {
  .corner-flower {
    width: 96px;
  }
}

/* Center Luxury Layout - Direct on Background (Tanpa Card Putih), Mengisi Space Vertikal Secara Proporsional */
.cover-card-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 360px;
  height: auto;
  max-height: 88vh;
  max-height: 88dvh;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  animation: cardSlideEntrance 1.4s cubic-bezier(0.22, 1, 0.36, 1) 2.4s both;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cardSlideEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Card Hidden Mode (Saat cover membuka) */
.cover-card-inner.is-hidden {
  opacity: 0 !important;
  transform: translateY(90px) scale(0.90) !important;
  pointer-events: none !important;
}

.cover-card-inner::before {
  display: none;
}

/* Staggered Element Animations */
@keyframes elemFadeUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes monogramPopIn {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-8deg);
  }
  70% {
    opacity: 0.95;
    transform: scale(1.06) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.anim-stagger-1 { animation: elemFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.6s both; }
.anim-stagger-2 { animation: monogramPopIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 2.8s both; }
.anim-stagger-3 { animation: elemFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 3.0s both; }
.anim-stagger-4 { animation: elemFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 3.2s both; }
.anim-stagger-5 { animation: elemFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 3.4s both; }
.anim-stagger-6 { animation: elemFadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 3.7s both; }
.anim-stagger-7 { animation: elemFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 4.0s both; }

.cover-subtitle {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brown-600);
  font-weight: 600;
  margin-bottom: 0;
}

/* ==========================================================================
   AUTHENTIC FLORAL MONOGRAM S & A (Matching Section Mempelai)
   ========================================================================== */
.cover-monogram-sa-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 124px;
  height: 124px;
  margin: 0 auto;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-monogram-sa-wrap:hover {
  transform: scale(1.08);
}

.cover-monogram-flower {
  position: absolute;
  width: 118px;
  height: auto;
  z-index: 1;
  opacity: 0.92;
  filter: drop-shadow(0 4px 12px rgba(44, 27, 18, 0.15));
}

.cover-monogram-text {
  font-family: var(--font-script);
  font-size: 60px;
  color: var(--gold-600);
  z-index: 2;
  text-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
  transform: translateY(-4px);
  user-select: none;
}

/* Fallback Royal Medallion Styles */
.luxury-monogram-crest {
  position: relative;
  width: 114px;
  height: 114px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.4s ease;
}

.luxury-monogram-crest:hover {
  transform: scale(1.05);
}

.crest-wreath-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 10px rgba(184, 134, 11, 0.28));
  pointer-events: none;
}

.crest-letters-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  user-select: none;
}

.monogram-letter-s {
  font-family: var(--font-script);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(135deg, #F3D993 0%, #D4AF37 35%, #9E721D 70%, #F9ECC2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(184, 134, 11, 0.35));
  margin-right: -4px;
  transform: translateY(-2px);
}

.monogram-ampersand {
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-700);
  opacity: 0.9;
  margin: 0 1px;
  transform: translateY(3px);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.monogram-letter-a {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F3D993 0%, #D4AF37 35%, #9E721D 70%, #F9ECC2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(184, 134, 11, 0.35));
  margin-left: -2px;
  transform: translateY(2px);
}

.cover-names {
  font-family: var(--font-script);
  font-size: 46px;
  line-height: 1.15;
  color: var(--gold-600);
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  font-weight: 400;
}

.cover-date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
}

.cover-date-divider .date-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

.cover-date {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

.guest-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  padding: 10px 18px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 4px 18px rgba(44, 27, 18, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.guest-intro {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brown-500);
  margin-bottom: 2px;
}

.guest-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--brown-900);
  letter-spacing: 0.02em;
}

.guest-apology {
  font-family: var(--font-sans);
  font-size: 10px;
  font-style: italic;
  color: var(--brown-500);
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-height: 720px) {
  .cover-card-inner {
    gap: 8px;
    padding: 4px 8px;
  }
  .cover-monogram-sa-wrap {
    width: 105px;
    height: 105px;
  }
  .cover-monogram-flower {
    width: 98px;
  }
  .cover-monogram-text {
    font-size: 50px;
  }
  .luxury-monogram-crest {
    width: 96px;
    height: 96px;
  }
  .monogram-letter-s { font-size: 52px; }
  .monogram-ampersand { font-size: 14px; }
  .monogram-letter-a { font-size: 36px; }
  .cover-names { font-size: 38px; }
  .guest-card { padding: 8px 14px; }
  .btn-open-invitation { padding: 10px 24px; font-size: 12.5px; }
}

@media (max-height: 600px) {
  .cover-card-inner {
    gap: 5px;
    padding: 2px 6px;
  }
  .cover-monogram-sa-wrap {
    width: 88px;
    height: 88px;
  }
  .cover-monogram-flower {
    width: 80px;
  }
  .cover-monogram-text {
    font-size: 42px;
  }
  .luxury-monogram-crest {
    width: 80px;
    height: 80px;
  }
  .monogram-letter-s { font-size: 44px; }
  .monogram-ampersand { font-size: 12px; }
  .monogram-letter-a { font-size: 30px; }
  .cover-names { font-size: 30px; }
  .guest-card { padding: 6px 12px; }
  .guest-intro { font-size: 9px; }
  .guest-name { font-size: 14px; }
  .btn-open-invitation { padding: 8px 20px; font-size: 12px; }
}

/* Ultra-Smooth Cinematic Opening States */
.cover-screen.is-opening {
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.85s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.cover-screen.is-opening .cover-card-inner {
  transform: scale(0.92) translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cover-screen.is-opening .corner-flower {
  opacity: 0;
  transform: translateY(-30px) scale(0.85);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cover-screen.is-opening .cover-bg-artwork {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Open Button */
.btn-open-invitation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-300);
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  margin-top: 2px;
}

.btn-open-invitation:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.btn-open-invitation:active {
  transform: translateY(1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 16px 20px;
  background: transparent;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Hero Top Corner Florals (bunga_3.svg - Sesuai Permintaan User Seperti di Cover) */
.hero-corner-flower {
  position: absolute !important;
  width: 120px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(44, 27, 18, 0.10));
}

.hero-corner-tl {
  top: -6px;
  left: -6px;
  transform-origin: 20px 20px;
}

.hero-corner-tr {
  top: -6px;
  right: -6px;
  transform-origin: 50% 50% !important;
  transform: scaleX(-1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-400);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-script);
  font-size: 52px;
  line-height: 1.15;
  color: var(--gold-600);
  margin: 4px 0 8px;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  font-weight: 400;
}

.hero-date-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-date-box span {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brown-800);
  text-transform: uppercase;
}

.hero-scroll-hint {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold-700);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-content .section-tag {
  margin-top: 10px;
  margin-bottom: 24px;
  letter-spacing: 0.28em;
}

/* ==========================================================================
   HERO SECTION COUPLE PORTRAIT (Foto Berdua Mempelai - Kodeez Studio Design)
   ========================================================================== */
.hero-couple-frame {
  position: relative;
  display: inline-block;
  margin: 18px auto 20px;
  z-index: 2;
}

.hero-couple-img-wrapper {
  position: relative;
  width: 155px;
  height: 225px;
  border-radius: 500px;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  box-shadow: 0 10px 30px rgba(44, 27, 18, 0.22), 0 0 24px rgba(212, 175, 55, 0.3);
  margin: 0 auto;
  background-color: var(--cream-200);
}

.hero-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-couple-frame:hover .hero-couple-img {
  transform: scale(1.06);
}

.hero-couple-flower-tl {
  position: absolute;
  top: -20px;
  left: -32px;
  width: 78px;
  height: auto;
  pointer-events: none;
  z-index: 3;
}

.hero-couple-flower-br {
  position: absolute;
  bottom: -22px;
  right: -36px;
  width: 90px;
  height: auto;
  pointer-events: none;
  z-index: 3;
}

/* ==========================================================================
   AUTHENTIC FLORAL LINE-ART PATTERN FOR CONTENT SECTIONS (Media 1788601160526)
   Diterapkan dengan opasitas tipis dan lembut agar elegan & tidak mengganggu
   ========================================================================== */
.quote-section,
.couple-section,
.events-section,
.location-section,
.gallery-section,
.story-section,
.gift-section,
.rsvp-section,
.closing-section {
  position: relative;
  background-color: transparent;
  overflow: hidden;
}

.quote-section::before,
.couple-section::before,
.events-section::before,
.location-section::before,
.gallery-section::before,
.story-section::before,
.gift-section::before,
.rsvp-section::before,
.closing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/bg_floral_pattern.jpg');
  background-repeat: repeat;
  background-size: 380px auto;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

/* Alternating Luxury Cream Sections (Warna Background Sama dengan Section Kisah Cinta Sesuai Permintaan) */
.couple-section,
.location-section,
.story-section,
.rsvp-section {
  background-color: var(--cream-200) !important;
  box-shadow: inset 0 6px 16px rgba(62, 39, 27, 0.025), inset 0 -6px 16px rgba(62, 39, 27, 0.025);
}

.quote-section > *,
.couple-section > *,
.events-section > *,
.location-section > *,
.gallery-section > *,
.story-section > *,
.gift-section > *,
.rsvp-section > *,
.closing-section > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   AYAT SUCI / BLESSING SECTION
   ========================================================================== */
.quote-section {
  padding: 40px 20px;
  text-align: center;
}

.quote-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: 0 10px 32px rgba(44, 27, 18, 0.08), 0 1px 4px rgba(212, 175, 55, 0.18);
  position: relative;
}

.quote-arabic {
  font-size: 20px;
  line-height: 2;
  color: var(--brown-900);
  margin-bottom: 16px;
  font-family: var(--font-arabic);
}

.quote-translation {
  font-size: 13px;
  color: var(--brown-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.quote-source {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-700);
}

/* ==========================================================================
   COUPLE SECTION (Mempelai)
   ========================================================================== */
.couple-section {
  padding: 40px 20px;
  position: relative;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 13px;
  color: var(--brown-500);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

.couple-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.person-card {
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -5px rgba(62, 39, 27, 0.16);
}

.person-avatar-frame {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  padding: 5px;
  background: var(--gold-grad-primary);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-img,
.person-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--cream-300);
  border: 3px solid #FFF;
  display: block;
}

.person-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 6px;
}

.person-role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 14px;
}

.person-parents {
  font-size: 13px;
  color: var(--brown-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-400);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brown-800);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-social:hover {
  background: var(--gold-500);
  color: #FFF;
  border-color: var(--gold-500);
}

.couple-ampersand {
  font-family: var(--font-script);
  font-size: 56px;
  color: var(--gold-500);
  line-height: 1;
  margin: -10px 0;
  text-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   LOVE STORY / OUR JOURNEY
   ========================================================================== */
.story-section {
  padding: 80px 24px;
  background: var(--cream-200);
  position: relative;
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

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

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 3px solid var(--gold-500);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-700);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 13px;
  color: var(--brown-600);
  line-height: 1.6;
}

/* ==========================================================================
   COUNTDOWN TIMER (Save The Date) - Warm Cream & Luxury Gold Palette
/* Hero Countdown (Clean Display - No Card Container Sesuai Permintaan User) */
.hero-countdown-wrap,
.hero-countdown-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 380px;
  margin: 14px auto 16px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-countdown-wrap .section-flower-medallion,
.hero-countdown-card .section-flower-medallion {
  width: 40px;
  margin: 0 auto 4px;
}

.hero-countdown-title {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 2px;
  letter-spacing: 0.03em;
}

.hero-countdown-date {
  font-size: 11.5px;
  color: var(--brown-600);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-countdown-wrap .countdown-grid,
.hero-countdown-card .countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 310px;
  margin: 0 auto 14px;
}

.hero-countdown-wrap .countdown-box,
.hero-countdown-card .countdown-box {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 4px 8px;
  box-shadow: 0 4px 14px rgba(62, 39, 27, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-countdown-wrap .countdown-box:hover,
.hero-countdown-card .countdown-box:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
}

.hero-countdown-wrap .countdown-number,
.hero-countdown-card .countdown-number {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-600);
  line-height: 1.1;
  margin-bottom: 2px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-countdown-wrap .countdown-label,
.hero-countdown-card .countdown-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-600);
  font-weight: 700;
}

.hero-countdown-wrap .btn-calendar,
.hero-countdown-card .btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold-500);
  color: var(--brown-900);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.12);
  transition: all 0.25s ease;
}

.hero-countdown-wrap .btn-calendar:hover,
.hero-countdown-card .btn-calendar:hover {
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  border-color: var(--gold-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.countdown-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #FAF5EE 0%, #F5ECE0 50%, #FAF5EE 100%);
  color: var(--brown-900);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-section .section-title {
  color: var(--brown-900);
}

.countdown-section .section-tag {
  color: var(--gold-600);
}

.countdown-section .section-desc {
  color: var(--brown-600);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 420px;
  margin: 32px auto 26px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(44, 27, 18, 0.08), 0 0 12px rgba(212, 175, 55, 0.12);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-600);
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.countdown-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-600);
  font-weight: 700;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gold-400);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(44, 27, 18, 0.08);
}

.btn-calendar:hover {
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

/* ==========================================================================
   EVENT DETAILS (Akad & Resepsi)
   ========================================================================== */
.events-section {
  padding: 40px 20px;
  position: relative;
}

.events-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  margin: 0 auto;
}

.event-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.event-card-header {
  margin-bottom: 20px;
}

.event-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-grad-soft);
  color: var(--brown-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.event-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 4px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
  font-size: 13.5px;
  color: var(--brown-700);
}

.meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.meta-item i {
  color: var(--gold-600);
  font-size: 15px;
  width: 20px;
}

.event-location {
  margin: 18px 0;
  padding: 14px;
  background: rgba(247, 241, 230, 0.65);
  border-radius: var(--radius-md);
}

.location-name {
  font-weight: 700;
  color: var(--brown-900);
  font-size: 14px;
  margin-bottom: 4px;
}

.location-address {
  font-size: 12.5px;
  color: var(--brown-600);
  line-height: 1.5;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: all 0.25s ease;
}

.btn-maps:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   DRESSCODE GUIDE
   ========================================================================== */
.dresscode-section {
  padding: 60px 24px;
  background: var(--cream-200);
  text-align: center;
}

.dresscode-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.swatch-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 16px;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.swatch-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #FFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.swatch-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--brown-700);
}

.dresscode-desc {
  font-size: 12.5px;
  color: var(--brown-600);
  line-height: 1.6;
}

/* ==========================================================================
   PHOTO & VIDEO GALLERY (Kodeez Studio Luxury Standard)
   ========================================================================== */
.gallery-section {
  padding: 40px 20px;
}

/* Featured Romantic Video Card */
.gallery-video-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 10px 32px rgba(44, 27, 18, 0.08), 0 1px 4px rgba(212, 175, 55, 0.18);
  margin: 0 auto 18px;
  max-width: 440px;
}

.gallery-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--gold-400);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.35);
  background: #000;
}

.gallery-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

/* Interactive Video Poster Overlay */
.video-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-poster-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-poster-overlay:hover .video-poster-img {
  transform: scale(1.06);
}

.video-poster-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 18, 12, 0.35) 0%, rgba(20, 10, 5, 0.75) 100%);
  z-index: 1;
}

.btn-video-play-pulse {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F3D993 0%, #D4AF37 50%, #AA7C11 100%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  color: #2C1B12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: playPulseGlow 2s infinite;
  transition: transform 0.25s ease;
  padding-left: 4px;
}

.btn-video-play-pulse:hover {
  transform: scale(1.12);
}

@keyframes playPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(212, 175, 55, 0), 0 8px 24px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 8px 24px rgba(0, 0, 0, 0.5);
  }
}

.video-poster-info {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 2;
  text-align: center;
}

.video-duration-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #F8E7B9;
  background: rgba(44, 27, 18, 0.75);
  backdrop-filter: blur(6px);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 4px;
}

.video-poster-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.gallery-video-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.gallery-video-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-700);
}

.gallery-video-caption i {
  color: var(--gold-500);
  font-size: 13px;
}

.btn-watch-youtube {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #C5A059 0%, #9A7B38 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.28);
  transition: all 0.25s ease;
}

.btn-watch-youtube i {
  color: #FFFFFF;
  font-size: 13px;
}

.btn-watch-youtube:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #A67C1E 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 6px 18px rgba(62, 39, 27, 0.1);
  border: 1px solid var(--card-border);
  cursor: pointer;
  background: var(--cream-300);
}

.gallery-item.span-2 {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 27, 18, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
  color: #FFF;
  font-size: 22px;
  background: rgba(212, 175, 55, 0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold-400);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #FFF;
  font-size: 28px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

/* ==========================================================================
   LOVE STORY / KISAH CINTA SECTION
   ========================================================================== */
.story-section {
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

.story-timeline {
  position: relative;
  max-width: 440px;
  margin: 28px auto 10px;
  padding: 10px 0 10px 10px;
}

/* Vertical Gold Timeline Connecting Line */
.story-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 36px;
  width: 2px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.85) 50%, rgba(212, 175, 55, 0.3) 100%);
  z-index: 1;
}

.story-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  text-align: left;
  z-index: 2;
}

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

/* Timeline Node & Year Badge */
.story-node {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
  margin-right: 14px;
  position: relative;
  z-index: 3;
}

.story-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #FAF6EE 0%, #FFFFFF 100%);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.22);
  margin-bottom: 6px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.story-item:hover .story-icon-circle {
  transform: scale(1.12);
  background: var(--gold-grad-primary);
  color: var(--brown-950);
}

.story-year-badge {
  font-family: var(--font-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-700);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--gold-400);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(44, 27, 18, 0.05);
}

.story-year-highlight {
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Story Card Content */
.story-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(44, 27, 18, 0.05), 0 2px 8px rgba(212, 175, 55, 0.08);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.18);
}

.story-card-highlight {
  border-color: var(--gold-500);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 246, 238, 0.94) 100%);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.18);
}

.story-item-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.story-item-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--brown-600);
}

/* ==========================================================================
   WEDDING GIFT / AMPLOP DIGITAL
   ========================================================================== */
.gift-section {
  padding: 40px 20px;
  text-align: center;
}

.gift-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 18px auto 0;
}

.bank-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF4EB 100%);
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  color: var(--brown-900);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15), 0 4px 14px rgba(44, 27, 18, 0.06);
  text-align: left;
  position: relative;
}

.bank-card::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.bank-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-600);
}

.bank-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #d4af37, #f7e7b4);
  border-radius: 4px;
}

.bank-number {
  font-family: 'Courier New', monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brown-950);
  margin-bottom: 6px;
}

.bank-holder {
  font-size: 13px;
  color: var(--brown-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   RSVP & WISHES (Buku Tamu & Doa)
   ========================================================================== */
.rsvp-section {
  padding: 40px 20px;
}

.rsvp-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  max-width: 440px;
  margin: 0 auto 20px;
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.16), 0 4px 16px rgba(44, 27, 18, 0.05);
  position: relative;
  overflow: hidden;
}

.rsvp-card::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.luxury-form {
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brown-900);
  margin-bottom: 8px;
}

.form-label-icon {
  color: var(--gold-600);
  font-size: 13px;
}

/* Input with Icon */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--gold-600);
  font-size: 14px;
  pointer-events: none;
}

.input-with-icon .form-input {
  padding-left: 42px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  background: #FFFDF9;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--brown-950);
  box-shadow: inset 0 1px 3px rgba(44, 27, 18, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25), 0 4px 12px rgba(212, 175, 55, 0.12);
}

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

/* Interactive Attendance Pills */
.attendance-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.attendance-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: #FFFDF9;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brown-800);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.attendance-pill i {
  font-size: 16px;
  color: var(--gold-600);
  transition: all 0.25s ease;
}

.attendance-pill[data-val="tidak"] i {
  color: #B2533E;
}

.attendance-pill[data-val="ragu"] i {
  color: #D4AF37;
}

.attendance-pill[data-val="hadir"] i {
  color: #3E7B27;
}

.attendance-pill:hover {
  border-color: var(--gold-500);
  transform: translateY(-1px);
}

.attendance-pill.active {
  background: var(--gold-grad-primary);
  border-color: var(--gold-500);
  color: var(--brown-950);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.attendance-pill.active i {
  color: var(--brown-950) !important;
}

/* Guests Count Segmented Pills */
.guests-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  transition: opacity 0.3s ease;
}

.guest-pill {
  padding: 10px 6px;
  background: #FFFDF9;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--brown-800);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.guest-pill:hover {
  border-color: var(--gold-500);
}

.guest-pill.active {
  background: var(--gold-grad-primary);
  border-color: var(--gold-500);
  color: var(--brown-950);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Submit Button */
.btn-submit-rsvp {
  width: 100%;
  padding: 14px 24px;
  margin-top: 10px;
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
}

.btn-submit-rsvp:active {
  transform: translateY(1px);
}

/* Wishes Feed */
.wishes-container {
  max-width: 440px;
  margin: 0 auto;
}

.wishes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}

.wishes-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-700);
  background: var(--cream-200);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

.wish-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--cream-400);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 4px 12px rgba(62, 39, 27, 0.05);
  text-align: left;
}

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

.wish-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--brown-900);
}

.badge-hadir {
  font-size: 10px;
  font-weight: 700;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-tidak {
  font-size: 10px;
  font-weight: 700;
  color: #c62828;
  background: #ffebee;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-ragu {
  font-size: 10px;
  font-weight: 700;
  color: #ef6c00;
  background: #fff3e0;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.wish-message {
  font-size: 13px;
  color: var(--brown-700);
  line-height: 1.5;
  margin-bottom: 6px;
}

.wish-time {
  font-size: 11px;
  color: var(--brown-400);
}

/* ==========================================================================
   CLOSING & FOOTER
   ========================================================================== */
.closing-section {
  padding: 44px 20px 110px;
  color: var(--brown-800);
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  overflow: hidden;
}

/* Arched Couple Portrait Photo in Footer (Sesuai Permintaan User & Media 1788601068178) */
.footer-couple-frame {
  position: relative;
  display: inline-block;
  margin: 14px auto 22px;
  z-index: 2;
}

.footer-couple-img-wrapper {
  position: relative;
  width: 148px;
  height: 215px;
  border-radius: 500px;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  box-shadow: 0 10px 30px rgba(44, 27, 18, 0.18), 0 0 22px rgba(212, 175, 55, 0.25);
  margin: 0 auto;
  background-color: var(--cream-200);
}

.footer-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.footer-couple-frame:hover .footer-couple-img {
  transform: scale(1.06);
}

.footer-couple-flower-tl {
  position: absolute;
  top: -20px;
  left: -30px;
  width: 74px;
  height: auto;
  pointer-events: none;
  z-index: 3;
}

.footer-couple-flower-br {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: 82px;
  height: auto;
  pointer-events: none;
  z-index: 3;
}

.closing-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--brown-900);
  margin-bottom: 12px;
}

.closing-text {
  font-size: 13px;
  color: var(--brown-700);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 20px;
}

.closing-names {
  font-family: var(--font-script);
  font-size: 50px;
  color: var(--gold-600);
  line-height: 1.2;
  margin-bottom: 18px;
}

.closing-families {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-600);
}

/* ==========================================================================
   KODEEZ STUDIO BRANDING & FOOTER CREDIT
   ========================================================================== */
.footer-branding-container {
  margin-top: 36px;
  position: relative;
  z-index: 3;
  width: 100%;
}

.footer-copyright {
  font-size: 11px;
  color: var(--brown-500);
  margin: 0 0 14px;
  letter-spacing: 0.03em;
}

.kodeez-credit-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 18px;
  padding: 14px 18px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 6px 22px rgba(62, 39, 27, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kodeez-credit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.22);
  border-color: var(--gold-500);
}

.kodeez-credit-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.kodeez-credit-tagline {
  font-size: 11px;
  color: var(--brown-600);
  font-weight: 500;
}

.kodeez-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold-700);
  text-decoration: none;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.kodeez-brand-link:hover {
  color: var(--gold-500);
}

.kodeez-brand-link i {
  font-size: 10px;
  opacity: 0.85;
}

.kodeez-contacts-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--brown-600);
}

.kodeez-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brown-800);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 252, 245, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.kodeez-contact-item i.fa-instagram,
.kodeez-contact-item i.fa-whatsapp {
  color: var(--gold-600);
  font-size: 12px;
  transition: color 0.2s ease;
}

.kodeez-contact-item:hover {
  background: var(--gold-500);
  color: #FFF;
  border-color: var(--gold-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(184, 134, 11, 0.25);
}

.kodeez-contact-item:hover i {
  color: #FFF;
}

.kodeez-contact-sep {
  color: var(--gold-400);
  font-size: 9px;
}

/* ==========================================================================
   FLOATING CONTROLS & NAVIGATION (Ultra-Aesthetic Luxury Design)
   ========================================================================== */

/* Floating Bottom Navbar - Modern Luxury Floating Dock */
.floating-navbar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 997;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 32px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 10px 30px rgba(62, 39, 27, 0.14), 0 2px 8px rgba(212, 175, 55, 0.18);
  max-width: calc(100% - 24px);
  width: max-content;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #7A583A;
  text-decoration: none;
  font-size: 8.5px;
  font-weight: 600;
  padding: 5px 6px;
  border-radius: 14px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 36px;
  line-height: 1;
}

.nav-link i {
  font-size: 13px;
  color: #8C6D4F;
  transition: all 0.22s ease;
  line-height: 1;
}

.nav-link span {
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-link.active {
  background: linear-gradient(135deg, #C59B27 0%, #9B720B 100%);
  color: #FFFFFF !important;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(155, 114, 11, 0.32);
  transform: translateY(-1px);
}

.nav-link.active i {
  color: #FFFFFF !important;
  transform: scale(1.08);
}

.nav-link.active span {
  color: #FFFFFF !important;
  font-weight: 700;
}

.nav-link:hover:not(.active) {
  color: var(--gold-700);
  background: rgba(212, 175, 55, 0.1);
}

/* Floating Music Player Widget */
.floating-music-btn {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 997;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-grad-primary);
  border: 2px solid #FFF;
  color: var(--brown-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.floating-music-btn:hover {
  transform: scale(1.08);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 10001;
  background: rgba(36, 22, 15, 0.95);
  border: 1px solid var(--gold-500);
  color: var(--gold-300);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* ==========================================================================
   CONTENT FLORAL ORNAMENTS (bunga_1, bunga_2, bunga_3, bunga_4, bunga_5)
   Penyelarasan Seni Vektor Mewah di Seluruh Konten Undangan
   ========================================================================== */

/* Universal Floral Image Properties */
.flower-ornament {
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 14px rgba(44, 27, 18, 0.10));
}

/* Horizontal Garland Arch (bunga_5.svg - 1040x582) */
.flower-garland-hero {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(44, 27, 18, 0.12));
}

.flower-garland-divider {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(44, 27, 18, 0.08));
}

.flower-garland-closing {
  width: 100%;
  max-width: 290px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(44, 27, 18, 0.12));
}

/* Section Header Flower Medallions (bunga_4.svg) */
.section-flower-medallion {
  width: 82px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(44, 27, 18, 0.08));
}

/* Floating Corner Accents on Cards */
.person-card,
.event-card,
.quote-card,
.dresscode-card,
.rsvp-card,
.timeline-card,
.bank-card {
  position: relative;
}

.card-flower-accent-tl {
  position: absolute;
  top: -24px;
  left: -20px;
  width: 92px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(44, 27, 18, 0.10));
}

.card-flower-accent-tr {
  position: absolute;
  top: -24px;
  right: -20px;
  width: 92px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  transform: scaleX(-1);
  filter: drop-shadow(0 6px 14px rgba(44, 27, 18, 0.10));
}

.card-flower-accent-br {
  position: absolute;
  bottom: -22px;
  right: -18px;
  width: 88px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(44, 27, 18, 0.10));
}

.card-flower-accent-bl {
  position: absolute;
  bottom: -22px;
  left: -18px;
  width: 88px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  transform: scaleX(-1);
  filter: drop-shadow(0 6px 14px rgba(44, 27, 18, 0.10));
}

/* Ampersand Center Floral Cluster (bunga_4.svg) */
.ampersand-flower-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
}

.ampersand-flower {
  width: 74px;
  height: auto;
  margin-bottom: -18px;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(44, 27, 18, 0.08));
}

/* Floating Side Botanical Accents */
.side-flower-float {
  position: absolute;
  width: 100px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(0 6px 16px rgba(44, 27, 18, 0.08));
}

.side-flower-float.left {
  left: -15px;
}

.side-flower-float.right {
  right: -15px;
  transform: scaleX(-1);
}

/* ==========================================================================
   PHOTO-MATCHED WEDDING SECTIONS (SYIFFA & ANDI)
   ========================================================================== */

/* Topeng Betawi Header Icon */
.hero-topeng-img {
  width: 92px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(44, 27, 18, 0.15));
}

/* Kembar Mayang Janur Flanking */
.hero-janur-left {
  position: absolute;
  left: -8px;
  bottom: 12%;
  width: 96px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(44, 27, 18, 0.15));
}

.hero-janur-right {
  position: absolute;
  right: -8px;
  bottom: 12%;
  width: 96px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  transform: scaleX(-1);
  filter: drop-shadow(0 8px 20px rgba(44, 27, 18, 0.15));
}

/* Hero Date Badge */
.hero-date-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-700);
  margin: 14px 0 20px;
}

/* Hero Guest Plaque */
.hero-guest-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: 18px 20px 14px;
  max-width: 320px;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}

.hero-guest-title {
  font-size: 11.5px;
  color: var(--brown-600);
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-guest-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--brown-950);
}

.guest-apology {
  font-size: 10.5px;
  font-style: italic;
  color: var(--brown-500);
  margin-top: 14px;
  line-height: 1.4;
}

/* Monogram SA Centerpiece (Photo 2) */
.monogram-sa-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
}

.monogram-sa-text {
  font-family: var(--font-script);
  font-size: 68px;
  color: var(--gold-600);
  z-index: 2;
  text-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transform: translateY(-4px);
}

.monogram-sa-flower {
  position: absolute;
  width: 130px;
  height: auto;
  z-index: 1;
  opacity: 0.88;
}

.salam-subtitle {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-700);
  margin-bottom: 12px;
}

.couple-connector-script {
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--gold-600);
  display: block;
  margin: 8px 0;
}

/* Main Formal Event Card with Rumah Adat Watermark (Photo 5) */
.main-formal-event-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 34px 22px;
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.16), 0 4px 14px rgba(44, 27, 18, 0.06);
  text-align: center;
  overflow: visible;
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* Event Card Top Corner Floral Ornaments (bunga_3.svg - Matched to Cover Corners) */
.event-card-corner-flower {
  position: absolute !important;
  width: 82px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(44, 27, 18, 0.12));
}

.event-card-corner-tl {
  top: -8px;
  left: -8px;
  transform-origin: 20px 20px;
}

.event-card-corner-tr {
  top: -8px;
  right: -8px;
  transform-origin: 50% 50% !important;
  transform: scaleX(-1);
}

/* Event Card Top Center Monogram SA */
.event-card-monogram-sa {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  margin: 2px auto 14px;
  z-index: 2;
}

.event-card-monogram-text {
  font-family: var(--font-script);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold-600);
  position: relative;
  z-index: 2;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
}

.event-card-monogram-flower {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.main-formal-event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url('../images/rumah_adat_vector.png');
  background-repeat: no-repeat;
  background-position: center 55%;
  background-size: 280px auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.main-formal-event-card > *:not(.event-card-corner-flower) {
  position: relative;
  z-index: 1;
}

.main-date-display {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 380px;
  margin: 20px auto 24px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 241, 230, 0.9));
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gold-400);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.15);
}

.main-date-day {
  text-align: right;
  padding-right: 14px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--brown-800);
  text-transform: uppercase;
}

.main-date-number-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1.5px solid var(--gold-400);
  border-right: 1.5px solid var(--gold-400);
  padding: 0 16px;
  min-width: 62px;
}

.main-date-number {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-600);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.main-date-month {
  text-align: left;
  padding-left: 14px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brown-800);
  text-transform: uppercase;
  white-space: nowrap;
}

.events-dual-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}

.event-col-item {
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(44, 27, 18, 0.04);
}

.event-type-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--brown-950);
  margin-bottom: 6px;
}

.event-time-val {
  font-size: 12px;
  color: var(--brown-700);
  font-weight: 600;
}

.event-venue-info {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(212, 175, 55, 0.4);
}

.event-venue-title {
  font-size: 13.5px;
  color: var(--brown-900);
  margin-bottom: 4px;
}

.event-venue-address {
  font-size: 12px;
  color: var(--brown-600);
  line-height: 1.5;
}

/* Route Map Card (Photo 4) */
.location-section {
  padding: 40px 20px;
  position: relative;
  text-align: center;
}

.location-venue-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 14px auto;
  max-width: 440px;
  box-shadow: var(--card-shadow);
}

.location-venue-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--brown-950);
  margin-bottom: 6px;
}

.location-address-full {
  font-size: 13px;
  color: var(--brown-600);
  line-height: 1.6;
}

.map-route-card {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.16), 0 4px 14px rgba(44, 27, 18, 0.06);
  margin: 24px auto;
  max-width: 440px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.map-route-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.28);
}

.map-route-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.map-route-hint {
  font-size: 11.5px;
  color: var(--brown-500);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.location-buttons-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn-copy-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brown-900);
  border: 1.5px solid var(--gold-500);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(44, 27, 18, 0.08);
  transition: all 0.25s ease;
}

.btn-copy-address:hover {
  background: var(--gold-grad-primary);
  color: var(--brown-950);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.closing-salam {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-700);
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 12px 10px 8px;
    justify-content: center;
  }
  .hero-corner-flower { width: 90px; }
  .hero-corner-tl { top: -2px; left: -2px; }
  .hero-corner-tr { top: -2px; right: -2px; }
  .hero-content .section-tag { margin-top: 2px; margin-bottom: 4px; font-size: 9px; letter-spacing: 0.22em; }
  .hero-couple-frame { margin: 3px auto 5px; }
  .hero-couple-img-wrapper { width: 110px; height: 154px; }
  .hero-couple-flower-tl { width: 54px; top: -12px; left: -18px; }
  .hero-couple-flower-br { width: 60px; bottom: -12px; right: -18px; }
  .hero-title { font-size: 34px; margin: 0 0 1px; line-height: 1.1; }
  .hero-date-badge { font-size: 10px; margin: 1px 0 5px; padding: 2px 10px; }
  
  .hero-countdown-wrap,
  .hero-countdown-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 2px auto 4px;
    max-width: 290px;
  }
  .hero-countdown-wrap .section-flower-medallion,
  .hero-countdown-card .section-flower-medallion { width: 26px; margin-bottom: 0px; }
  .hero-countdown-title { font-size: 12.5px; margin-bottom: 1px; }
  .hero-countdown-date { font-size: 9.5px; margin-bottom: 4px; }
  .hero-countdown-wrap .countdown-grid,
  .hero-countdown-card .countdown-grid { gap: 4px; margin: 0 auto 5px; max-width: 250px; }
  .hero-countdown-wrap .countdown-box,
  .hero-countdown-card .countdown-box { padding: 4px 2px; border-radius: 8px; }
  .hero-countdown-wrap .countdown-number,
  .hero-countdown-card .countdown-number { font-size: 16.5px; }
  .hero-countdown-wrap .countdown-label,
  .hero-countdown-card .countdown-label { font-size: 7.5px; }
  .hero-countdown-wrap .btn-calendar,
  .hero-countdown-card .btn-calendar { padding: 4px 12px; font-size: 9.5px; gap: 4px; }
  .hero-scroll-hint { margin-top: 3px; font-size: 8px; gap: 2px; }

  /* Floating Navbar on Mobile - Compact & Balanced */
  .floating-navbar {
    bottom: 10px;
    padding: 3px 4px;
    gap: 1px;
    max-width: calc(100% - 14px);
    border-radius: 24px;
  }
  .nav-link {
    min-width: 31px;
    padding: 3px 2px;
    font-size: 7.5px;
    border-radius: 9px;
    gap: 1px;
  }
  .nav-link i {
    font-size: 11.5px;
  }
  .nav-link.active {
    padding: 3px 3px;
    border-radius: 9px;
  }
  .floating-music-btn {
    bottom: 66px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  /* Kodeez Studio Branding Mobile */
  .kodeez-credit-card {
    padding: 10px 12px;
    border-radius: 14px;
    max-width: 100%;
    gap: 6px;
  }
  .kodeez-credit-tagline { font-size: 10px; }
  .kodeez-brand-name { font-size: 11.5px; }
  .kodeez-contacts-row { gap: 5px; font-size: 9.5px; }
  .kodeez-contact-item { padding: 3px 6px; font-size: 9.5px; gap: 3.5px; }
  .kodeez-contact-sep { display: none; }

  .quote-section,
  .couple-section,
  .events-section,
  .location-section,
  .gallery-section,
  .story-section,
  .gift-section,
  .rsvp-section,
  .closing-section {
    padding: 34px 14px;
  }

  .flower-garland-divider { max-width: 200px; margin: 0 auto 8px; }
  .card-flower-accent-tl,
  .card-flower-accent-tr { width: 70px; top: -16px; }
  .card-flower-accent-br,
  .card-flower-accent-bl { width: 68px; bottom: -14px; }
  .section-flower-medallion { width: 56px; }
  .hero-janur-left, .hero-janur-right { width: 64px; }
  .events-dual-col { grid-template-columns: 1fr; gap: 10px; }
  .main-date-display { max-width: 100%; padding: 7px 10px; }
  .main-date-day { font-size: 11.5px; padding-right: 8px; }
  .main-date-number-wrap { padding: 0 8px; min-width: 44px; }
  .main-date-number { font-size: 26px; }
  .main-date-month { font-size: 10.5px; padding-left: 8px; }
  .event-card-corner-flower { width: 68px; }
  .event-card-corner-tl { top: -8px; left: -8px; }
  .event-card-corner-tr { top: -8px; right: -8px; transform-origin: 50% 50% !important; transform: scaleX(-1); }
  .event-card-monogram-sa { width: 76px; height: 76px; margin: 2px auto 8px; }
  .event-card-monogram-text { font-size: 36px; }
  .footer-couple-img-wrapper { width: 125px; height: 180px; }
}