/* ==========================================================================
   SIMPLE AMAZING 01 - THEME MASTER STYLESHEET
   Style: Luxury Dark Charcoal & Warm Botanical Gold
   Designed for Studio 1 Invitation
   ========================================================================== */

/* --------------------------------------------------
   1. CSS VARIABLES / DESIGN TOKENS
   -------------------------------------------------- */
:root {
  --bg-primary: #211e15;
  --bg-secondary: #2a2619;
  --bg-tertiary: #191710;
  --bg-card: rgba(42, 38, 25, 0.85);
  --bg-card-hover: rgba(53, 49, 37, 0.95);
  --bg-glass: rgba(33, 30, 21, 0.75);

  --color-gold: #d1a964;
  --color-gold-light: #ffd966;
  --color-gold-dark: #bf9000;
  --color-gold-glow: rgba(209, 169, 100, 0.35);

  --text-primary: #ffffff;
  --text-cream: #f7eadf;
  --text-muted: #c5bdb5;
  --text-gold: #ecbb6c;

  --border-gold: rgba(209, 169, 100, 0.25);
  --border-gold-strong: rgba(209, 169, 100, 0.6);

  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 25px rgba(209, 169, 100, 0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-cream);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 720px;
}

/* --------------------------------------------------
   3. TYPOGRAPHY & SECTION HEADINGS
   -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: 0.5px;
}

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

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

.font-arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: 1.5rem;
  line-height: 2.2;
}

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

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(209, 169, 100, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 12px auto 0;
}

.section-greeting {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  color: var(--color-gold-light);
  margin: 18px auto 10px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --------------------------------------------------
   4. SHAPE DIVIDERS (MOUNTAIN & CURVE)
   -------------------------------------------------- */
.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
}

@media (min-width: 768px) {
  .shape-divider svg {
    height: 75px;
  }
}

.shape-divider-top {
  top: -1px;
}

.shape-divider-bottom {
  bottom: -1px;
}

.shape-fill-primary {
  fill: var(--bg-primary);
}

.shape-fill-secondary {
  fill: var(--bg-secondary);
}

.shape-fill-tertiary {
  fill: var(--bg-tertiary);
}

/* --------------------------------------------------
   5. WELCOME ENVELOPE / MODAL COVER
   -------------------------------------------------- */
/* PENGATURAN BACKGROUND COVER PEMBUKA:
   - Gambar background diatur di bawah ini dan di index.php pada div #welcomeCover.
   - Kepekatan overlay diatur pada .welcome-cover::before:
     Makin kecil angka rgba (misal 0.1 / 0.35), makin TERANG dan JELAS gambar background-nya.
     Makin besar angka rgba (misal 0.8 / 0.9), makin GELAP gambar background-nya.
*/
.welcome-cover {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  background-image: url('../images/cover-template-27c.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s ease;
}

.welcome-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Overlay dibuat lebih ringan/transparan agar gambar background lebih jelas terlihat */
  background: radial-gradient(circle at center, rgba(18, 16, 11, 0.05) 0%, rgba(18, 16, 11, 0.10) 100%);
  z-index: 1;
}

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

/* Top Corner Botanical Ornament */
.welcome-corner-top {
  position: absolute;
  top: 0;
  left: 0;
  width: min(360px, 48vw);
  max-height: 50vh;
  object-fit: contain;
  object-position: top left;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
  animation: cornerFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cornerFadeIn {
  0% {
    opacity: 0;
    transform: translate(-15px, -15px);
  }
  100% {
    opacity: 0.95;
    transform: translate(0, 0);
  }
}

/* Bottom-Left Corner Botanical Ornament (tp-27-k) */
.welcome-corner-bottom,
.welcome-corner-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(280px, 42vw);
  max-height: 42vh;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 -4px 15px rgba(0, 0, 0, 0.5));
  transform-origin: bottom left;
  animation: plantSway 5s ease-in-out infinite;
}

@keyframes plantSway {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3.8deg);
  }
  50% {
    transform: rotate(-2.2deg);
  }
  75% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Bottom-Right Corner Botanical Ornament (tp-27-l) */
.welcome-corner-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(260px, 40vw);
  max-height: 40vh;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 -4px 15px rgba(0, 0, 0, 0.5));
  animation: cornerBottomRightFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cornerBottomRightFadeIn {
  0% {
    opacity: 0;
    transform: translate(15px, 15px);
  }
  100% {
    opacity: 0.95;
    transform: translate(0, 0);
  }
}

.welcome-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(92%, 520px);
  padding: 20px 15px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin: auto;
  max-height: 95vh;
  overflow-y: auto;
  animation: welcomeFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes welcomeFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.welcome-ornament-wrap {
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

.welcome-ornament-top {
  max-width: 100px;
  margin: 0 0 30px auto;
  opacity: 0.95;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transform-origin: bottom center;
  animation: ornamentTopSway 4.5s ease-in-out infinite;
}

@keyframes ornamentTopSway {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3.5deg);
  }
  50% {
    transform: rotate(-2.5deg);
  }
  75% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.welcome-subtitle {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.welcome-names {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.welcome-date {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--color-gold-light);
  margin-bottom: 22px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.welcome-guest-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  margin-bottom: 25px;
}

.welcome-guest-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.welcome-guest-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.welcome-guest-sub {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.welcome-guest-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  max-width: 440px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Primary Open Invitation Button */
@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(209, 169, 100, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(209, 169, 100, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(209, 169, 100, 0);
  }
}

.btn-open-invitation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  background: linear-gradient(135deg, #d1a964 0%, #bf9000 100%);
  color: #1a1710;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(209, 169, 100, 0.4);
  transition: all var(--transition-fast);
  animation: buttonPulse 2.5s infinite;
}

.btn-open-invitation:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(209, 169, 100, 0.6);
  background: linear-gradient(135deg, #ffd966 0%, #d1a964 100%);
  color: #12100a;
}

/* --------------------------------------------------
   6. HERO / COVER SECTION
   -------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 120px 20px 80px;
  background-color: var(--bg-primary);
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 16, 11, 0.15) 0%,
    rgba(18, 16, 11, 0.3) 35%,
    rgba(18, 16, 11, 0.75) 65%,
    rgba(18, 16, 11, 0.96) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.65;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5.2vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: 1px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.85);
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px;
  background: rgba(26, 23, 16, 0.7);
  border: 1px solid rgba(209, 169, 100, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  color: var(--color-gold-light);
  margin-bottom: 24px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Countdown Timer */
.countdown-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.countdown-item {
  background: rgba(22, 19, 14, 0.78);
  border: 1px solid rgba(209, 169, 100, 0.35);
  border-radius: 12px;
  padding: 12px 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(209, 169, 100, 0.2);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.countdown-item:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 12px rgba(209, 169, 100, 0.3);
}

.countdown-digit {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 700;
  color: #ffd966;
  line-height: 1.1;
  display: block;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.countdown-label {
  font-size: 0.68rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #c5bca8;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}

/* Bottom Botanical Ornaments in Hero Section */
.hero-corner-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(240px, 36vw);
  max-height: 35vh;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 -4px 15px rgba(0, 0, 0, 0.6));
  transform-origin: bottom left;
  animation: plantSway 5s ease-in-out infinite;
}

.hero-corner-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(220px, 34vw);
  max-height: 33vh;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 -4px 15px rgba(0, 0, 0, 0.6));
}

@media (max-width: 576px) {
  .hero-section {
    padding: 90px 14px 60px;
  }
  .hero-corner-bottom-left {
    width: min(150px, 34vw);
    max-height: 24vh;
  }
  .hero-corner-bottom-right {
    width: min(140px, 32vw);
    max-height: 22vh;
  }
}

/* --------------------------------------------------
   7. QUOTE / AYAT SECTION
   -------------------------------------------------- */
.quote-section {
  position: relative;
  padding: 105px 0 120px;
  background-color: var(--bg-secondary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 19, 14, 0.88) 0%,
    rgba(28, 24, 17, 0.82) 50%,
    rgba(22, 19, 14, 0.92) 100%
  );
  z-index: 1;
}

/* Botanical Corner Ornaments in Quote Section */
.quote-ornament-left {
  position: absolute;
  top: -25px;
  left: -20px;
  width: min(220px, 32vw);
  max-height: 40vh;
  object-fit: contain;
  object-position: top left;
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));
  transform-origin: top left;
  animation: plantSway 6s ease-in-out infinite;
}

.quote-ornament-right {
  position: absolute;
  bottom: 20px;
  right: -15px;
  width: min(170px, 26vw);
  max-height: 38vh;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
  transform-origin: bottom right;
  animation: leafFloat 7s ease-in-out infinite alternate;
}

@keyframes leafFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-4px, -6px) rotate(-2.5deg);
  }
  100% {
    transform: translate(2px, 3px) rotate(1.5deg);
  }
}

.quote-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 26, 18, 0.88) 0%, rgba(18, 16, 11, 0.95) 100%);
  border: 1px solid rgba(209, 169, 100, 0.42);
  border-radius: 20px;
  padding: 48px 36px 42px;
  text-align: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 217, 102, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 720px;
  margin: 0 auto;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(209, 169, 100, 0.18);
  border-radius: 14px;
  pointer-events: none;
}

.quote-bismillah {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.quote-divider-top {
  text-align: center;
  margin-bottom: 22px;
}

.quote-divider-img {
  width: min(220px, 65%);
  max-width: 250px;
  height: auto;
  margin: 0 auto;
  display: block;
  opacity: 0.92;
  filter: drop-shadow(0 2px 8px rgba(209, 169, 100, 0.45));
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.98rem, 2.3vw, 1.14rem);
  color: #f7f1e3;
  line-height: 1.95;
  max-width: 620px;
  margin: 0 auto 22px;
  position: relative;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.quote-source {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffd966;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.quote-source::before,
.quote-source::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d1a964, transparent);
}

@media (max-width: 576px) {
  .quote-section {
    padding: 85px 0 95px;
  }
  .quote-card {
    padding: 34px 18px 30px;
  }
  .quote-card::before {
    inset: 5px;
  }
  .quote-ornament-left {
    width: min(140px, 32vw);
    top: -15px;
    left: -15px;
  }
  .quote-ornament-right {
    width: min(110px, 24vw);
    bottom: 5px;
    right: -10px;
  }
}

/* --------------------------------------------------
   8. COUPLE / MEMPELAI SECTION
   -------------------------------------------------- */
.couple-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .couple-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
  }
}

.couple-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.couple-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-strong);
}

.couple-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.couple-avatar-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 22px;
  border-radius: var(--radius-full);
  padding: 6px;
  background: linear-gradient(135deg, #ffd966, #bf9000);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.couple-avatar-wrap:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.couple-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  background-color: #332d1f;
}

.couple-avatar-zoom-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 23, 16, 0.85);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.couple-avatar-wrap:hover .couple-avatar-zoom-badge {
  transform: scale(1.12);
  background: var(--color-gold);
  color: #1a1710;
}

.couple-role {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.couple-name {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.couple-title {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.couple-parents {
  font-size: 0.92rem;
  color: var(--text-cream);
  line-height: 1.65;
  margin-bottom: 12px;
}

.couple-parents-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 4px;
  font-style: italic;
}

.couple-parents strong {
  color: var(--text-primary);
  font-weight: 600;
}

.couple-parents-sep {
  color: var(--color-gold);
  font-weight: 700;
  margin: 0 4px;
  display: inline-block;
}

.couple-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 auto 18px;
  max-width: 290px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.couple-address i {
  color: var(--color-gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.couple-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(209, 169, 100, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gold);
  transition: all var(--transition-fast);
}

.couple-instagram-btn:hover {
  background: var(--color-gold);
  color: #1a1710;
  border-color: var(--color-gold);
}

.couple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.couple-divider-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(209, 169, 100, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.couple-ampersand {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-gold);
  line-height: 1;
}

/* --------------------------------------------------
   9. EVENTS / ACARA SECTION
   -------------------------------------------------- */
.events-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.event-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(209, 169, 100, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 14px;
  font-weight: 600;
}

.event-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.event-datetime-box {
  background: rgba(33, 30, 21, 0.6);
  border: 1px solid rgba(209, 169, 100, 0.15);
  border-radius: var(--radius-md);
  padding: 15px 12px;
  margin-bottom: 18px;
}

.event-date {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-gold-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.event-time {
  font-size: 0.9rem;
  color: var(--text-cream);
}

.event-location-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.event-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .event-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-event-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-event-maps {
  background: linear-gradient(135deg, #d1a964, #bf9000);
  color: #1a1710;
  border: none;
}

.btn-event-maps:hover {
  background: linear-gradient(135deg, #ffd966, #d1a964);
  color: #12100a;
  transform: translateY(-2px);
}

.btn-event-calendar {
  background: rgba(209, 169, 100, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--color-gold-light);
}

.btn-event-calendar:hover {
  background: rgba(209, 169, 100, 0.25);
  border-color: var(--color-gold);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive Google Maps Embed Wrapper */
.event-maps-embed {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}

.event-maps-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --------------------------------------------------
   10. LOVE STORY / CERITA CINTA SECTION
   -------------------------------------------------- */
.story-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0;
}

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

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 55px;
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    padding-right: 0;
  }
}

.timeline-dot {
  position: absolute;
  top: 18px;
  left: 11px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 12px var(--color-gold-glow);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 100%;
    transform: translateX(-50%);
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    transform: translateX(-50%);
  }
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold-strong);
}

.timeline-year {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(209, 169, 100, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--color-gold-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

/* --------------------------------------------------
   12. GALLERY / GALERI FOTO SECTION
   -------------------------------------------------- */
.gallery-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-primary);
}

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

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 11, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.gallery-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #12100a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 8, 5, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold-strong);
  box-shadow: var(--shadow-md);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-gold);
  color: #1a1710;
}

/* --------------------------------------------------
   13. VIDEO PREWEDDING & LIVE STREAMING (CONDITIONAL)
   -------------------------------------------------- */
.video-section, .livestream-section {
  position: relative;
  padding: 90px 0;
  background-color: var(--bg-secondary);
}

.responsive-video-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold-strong);
  box-shadow: var(--shadow-md);
}

.responsive-video-wrap iframe,
.responsive-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.6);
  border-radius: var(--radius-full);
  color: #ff6b6b;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: 700;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background-color: #ff6b6b;
  border-radius: var(--radius-full);
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* --------------------------------------------------
   14. GIFTS / AMPLOP DIGITAL SECTION
   -------------------------------------------------- */
.gift-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.gift-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 750px;
  margin: 0 auto 35px;
}

@media (min-width: 600px) {
  .gift-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bank-card {
  background: linear-gradient(145deg, rgba(42, 38, 25, 0.95), rgba(30, 27, 18, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.bank-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
}

.bank-logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bank-logo-wrap img {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
}

.bank-holder-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bank-holder-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.bank-number-box {
  background: rgba(18, 16, 11, 0.65);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold-light);
  letter-spacing: 2px;
  margin-bottom: 16px;
  user-select: all;
}

.btn-copy-acc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(209, 169, 100, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-acc:hover, .btn-copy-acc.copied {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #1a1710;
}

/* Gift Delivery Card */
.gift-address-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.gift-address-icon {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.physical-gift-package-label {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 2.2vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  line-height: 1.45;
  text-align: center;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
  opacity: 0.95;
}

.physical-gift-package-label i {
  color: var(--color-gold);
  font-size: 0.92rem;
  flex-shrink: 0;
}

.physical-gift-package-label span {
  display: inline-block;
}

.gift-address-title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  font-weight: 700;
  color: var(--color-gold-light, #ffd966);
  margin-bottom: 8px;
  line-height: 1.35;
}

@media (max-width: 576px) {
  .gift-address-card {
    padding: 24px 16px;
  }

  .physical-gift-package-label {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    gap: 6px;
    margin-bottom: 6px;
  }

  .physical-gift-package-label i {
    font-size: 0.85rem;
  }
}

@media (max-width: 380px) {
  .gift-address-card {
    padding: 20px 12px;
  }

  .physical-gift-package-label {
    font-size: 0.67rem;
    letter-spacing: 0.3px;
    gap: 5px;
  }

  .physical-gift-package-label i {
    font-size: 0.8rem;
  }
}

.gift-address-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* --------------------------------------------------
   15. RSVP & WISHES / UCAPAN & DOA SECTION
   -------------------------------------------------- */
.rsvp-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.rsvp-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .rsvp-box {
    padding: 45px 35px;
  }
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-cream);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(18, 16, 11, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--text-cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(209, 169, 100, 0.3);
}

.form-control::placeholder {
  color: #7a736a;
}

.form-control option {
  background-color: #1a1712;
  color: var(--text-cream);
}

/* Radio attendance options */
.attendance-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 10px;
}

.attendance-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(18, 16, 11, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-cream);
  transition: all var(--transition-fast);
}

.attendance-label input[type="radio"] {
  accent-color: var(--color-gold);
}

.attendance-label:has(input:checked) {
  background: rgba(209, 169, 100, 0.2);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

.btn-submit-wishes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d1a964, #bf9000);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1710;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-gold);
}

.btn-submit-wishes:hover {
  background: linear-gradient(135deg, #ffd966, #d1a964);
  transform: translateY(-2px);
  color: #12100a;
}

/* Wishes Stream List & Box */
.wishes-box {
  background: rgba(22, 19, 14, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.wishes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-gold);
}

.wishes-header-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishes-header-count {
  font-size: 0.85rem;
  color: #8c8479;
}

.wishes-header-count strong {
  color: var(--color-gold);
}

.wishes-stream {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wishes-stream::-webkit-scrollbar {
  width: 6px;
}

.wishes-stream::-webkit-scrollbar-track {
  background: rgba(18, 16, 11, 0.5);
  border-radius: var(--radius-full);
}

.wishes-stream::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: var(--radius-full);
}

.wish-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.wish-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(209, 169, 100, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.wish-content {
  flex-grow: 1;
}

.wish-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

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

.wish-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.wish-badge.attending {
  background: rgba(40, 167, 69, 0.2);
  color: #5cd67c;
  border: 1px solid rgba(40, 167, 69, 0.4);
}

.wish-badge.not-attending {
  background: rgba(220, 53, 69, 0.2);
  color: #ff7b88;
  border: 1px solid rgba(220, 53, 69, 0.4);
}

.wish-badge.doubtful {
  background: rgba(255, 193, 7, 0.2);
  color: #ffd166;
  border: 1px solid rgba(255, 193, 7, 0.4);
}

.wish-time {
  font-size: 0.75rem;
  color: #8c8479;
  margin-left: auto;
}

.wish-message {
  font-size: 0.88rem;
  color: var(--text-cream);
  line-height: 1.6;
}

/* --------------------------------------------------
   13. DIGITAL GUEST PASS / QR CHECK-IN (#qr-pass)
   -------------------------------------------------- */
.qr-pass-section {
  position: relative;
  padding: 80px 0 110px;
  background-color: var(--bg-primary);
}

#qrPassSection {
  max-width: 440px;
  margin: 0 auto;
}

#qrPassSection .qr-pass-card {
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-gold-strong) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md), 0 0 20px var(--color-gold-glow) !important;
  backdrop-filter: blur(12px) !important;
  color: var(--text-cream) !important;
  overflow: hidden !important;
}

#qrPassSection .qr-pass-header {
  border-bottom: 1px solid var(--border-gold) !important;
  padding: 20px !important;
  text-align: center !important;
}

#qrPassSection .qr-pass-title {
  font-family: var(--font-serif) !important;
  color: var(--color-gold-light) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
}

#qrPassSection .qr-code-wrapper {
  background: #ffffff !important;
  padding: 14px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  display: inline-block !important;
  border: 2px solid var(--border-gold-strong) !important;
}

#qrPassSection .btn-download-qr {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 12px 20px !important;
  background: linear-gradient(135deg, #ffd966, #d1a964) !important;
  color: #1a1710 !important;
  font-family: var(--font-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  text-decoration: none !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 4px 14px rgba(209, 169, 100, 0.35) !important;
  border: none !important;
}

#qrPassSection .btn-download-qr:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(209, 169, 100, 0.5) !important;
  color: #1a1710 !important;
}

/* --------------------------------------------------
   14. INSTAGRAM STORY FILTER (#instagram-filter)
   -------------------------------------------------- */
.instagram-filter-section {
  position: relative;
  padding: 80px 0 110px;
  background-color: var(--bg-secondary);
}

#instagramFilterSection {
  max-width: 440px;
  margin: 0 auto;
}

#instagramFilterSection .ig-filter-card {
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-gold-strong) !important;
  border-radius: var(--radius-lg) !important;
  padding: 30px 22px !important;
  box-shadow: var(--shadow-md), 0 0 20px var(--color-gold-glow) !important;
  backdrop-filter: blur(12px) !important;
  text-align: center !important;
  color: var(--text-cream) !important;
}

#instagramFilterSection .ig-title {
  font-family: var(--font-serif) !important;
  font-size: 1.35rem !important;
  color: var(--color-gold-light) !important;
  font-weight: 700 !important;
  margin: 0 0 10px 0 !important;
}

#instagramFilterSection .btn-ig-open {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 22px !important;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4) !important;
  transition: all var(--transition-fast) !important;
}

#instagramFilterSection .btn-ig-open:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(220, 39, 67, 0.6) !important;
  color: #ffffff !important;
}

#instagramFilterSection .btn-ig-qr {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 11px 20px !important;
  background: rgba(33, 30, 21, 0.9) !important;
  color: var(--color-gold) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--border-gold-strong) !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
}

#instagramFilterSection .btn-ig-qr:hover {
  background: rgba(209, 169, 100, 0.15) !important;
  color: var(--color-gold-light) !important;
  transform: translateY(-2px) !important;
}

/* --------------------------------------------------
   15. VENDOR PENDUKUNG SECTION (#vendor)
   -------------------------------------------------- */
.vendor-section {
  position: relative;
  padding: 100px 0 120px;
  background-color: var(--bg-primary);
}

.vendor-subtitle-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 3px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-top: 4px;
}

.vendor-divider-wrap,
.turut-divider-wrap {
  text-align: center;
  margin: 12px 0 16px;
}

.section-divider-gold {
  max-width: 140px;
  margin: 0 auto;
  opacity: 0.85;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.vendor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vendor-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-md), 0 0 20px var(--color-gold-glow);
}

.vendor-logo-box {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(28, 25, 17, 0.9);
  border: 2px solid var(--border-gold-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  padding: 6px;
}

.vendor-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vendor-icon-fallback {
  color: var(--color-gold);
  font-size: 1.8rem;
}

.vendor-body {
  width: 100%;
}

.vendor-name {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.vendor-category {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-gold);
  background: rgba(209, 169, 100, 0.12);
  border: 1px solid var(--border-gold);
  padding: 2px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.vendor-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.vendor-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-cream);
  margin-bottom: 6px;
}

.vendor-meta i {
  color: var(--color-gold);
  font-size: 0.85rem;
}

.vendor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.btn-vendor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-vendor-wa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.btn-vendor-wa:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

.btn-vendor-web {
  background: linear-gradient(135deg, #ffd966, #d1a964);
  color: #1a1710;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(209, 169, 100, 0.3);
}

.btn-vendor-web:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(209, 169, 100, 0.5);
  color: #1a1710;
}

.btn-vendor-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(220, 39, 67, 0.3);
}

.btn-vendor-ig:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.45);
}

/* --------------------------------------------------
   16. TURUT MENGUNDANG SECTION (#turut-mengundang)
   -------------------------------------------------- */
.turut-section {
  position: relative;
  padding: 100px 0 120px;
  background-color: var(--bg-secondary);
}

.turut-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.turut-header {
  margin-bottom: 24px;
}

.turut-parents-photo-wrapper {
  margin: 0 auto 26px;
  display: flex;
  justify-content: center;
}

.turut-parents-frame {
  position: relative;
  display: inline-block;
  padding: 6px;
  background: rgba(28, 25, 17, 0.95);
  border: 1.5px solid var(--border-gold-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px var(--color-gold-glow);
  cursor: pointer;
  max-width: 300px;
  width: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.turut-parents-frame:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 24px var(--color-gold-glow);
}

.turut-parents-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
}

.turut-parents-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(28, 25, 17, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
}

.mengundang-list-structured {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.keluarga-group,
.keluarga-item {
  padding: 18px 20px;
  background: rgba(28, 25, 17, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.keluarga-role {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 14px;
  background: rgba(209, 169, 100, 0.12);
  color: var(--color-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
}

.keluarga-names,
.keluarga-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.6;
}

.keluarga-names .keluarga-sep {
  color: var(--color-gold);
  font-size: 0.95rem;
  margin: 0 4px;
  font-style: italic;
  font-weight: 600;
}

.turut-sub-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 2px 0;
}

.turut-sub-divider::before,
.turut-sub-divider::after {
  content: "";
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold-strong), transparent);
}

.turut-sub-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  font-family: var(--font-serif);
}

.turut-ringkas-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.turut-ringkas-list li {
  font-size: 0.9rem;
  color: var(--text-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.turut-ringkas-list li i {
  color: var(--color-gold);
  font-size: 0.72rem;
}

/* --------------------------------------------------
   17. CLOSING / SALAM PENUTUP SECTION (#closing)
   -------------------------------------------------- */
.closing-section {
  position: relative;
  padding: 110px 0 120px;
  background-color: var(--bg-primary);
  text-align: center;
}

.closing-ornament {
  display: block;
  width: min(210px, 60%);
  max-width: 230px;
  height: auto;
  margin: 0 auto 28px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.closing-text {
  font-size: 0.96rem;
  color: var(--text-cream);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.8;
  font-style: italic;
}

.closing-doa {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.5px;
  margin: 0 auto 8px;
  text-shadow: 0 0 12px var(--color-gold-glow);
}

.closing-salam {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0 auto 28px;
  letter-spacing: 0.5px;
}

.closing-signature-label {
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.closing-names {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffd966, #d1a964);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.closing-family {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --------------------------------------------------
   18. FOOTER SECTION (.section-footer)
   -------------------------------------------------- */
.section-footer {
  width: 100%;
  position: relative;
  z-index: 2;
}

.footer {
  padding: 40px 20px 130px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #100e0a 100%);
  border-top: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
}

.footer-date {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 1px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: rgba(33, 30, 21, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.footer-ornament-divider {
  width: 140px;
  max-width: 65vw;
  height: auto;
  margin: 6px auto 2px;
  display: block;
  opacity: 0.85;
}

.section-footer .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.section-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(209, 169, 100, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--color-gold);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.section-footer .footer-social a:hover {
  transform: translateY(-3px) scale(1.08);
  background: linear-gradient(135deg, #ffd966, #d1a964);
  border-color: transparent;
  color: #1a1710;
  box-shadow: 0 6px 18px rgba(209, 169, 100, 0.45);
}

.section-footer .footer-social i {
  font-size: 1.15rem;
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0;
  width: 100%;
}

.footer-divider span {
  width: 50px;
  height: 1px;
  background: var(--border-gold);
}

.footer-divider i.fa-heart {
  color: #e53935;
  font-size: 14px;
  filter: drop-shadow(0 2px 6px rgba(229, 57, 53, 0.45));
}

.footer-copy {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  width: 100%;
}

.footer-copy a.footer-link {
  color: var(--color-gold);
  font-weight: 600;
}

.footer-copy a.footer-link:hover {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

.footer-service {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   18. FLOATING BOTTOM DOCK NAVIGATION
   -------------------------------------------------- */
.bottom-dock-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(28, 25, 17, 0.92);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(209, 169, 100, 0.2);
  backdrop-filter: blur(14px);
  width: auto;
  max-width: 95vw;
}

.dock-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 480px) {
  .dock-container {
    gap: 14px;
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-width: 44px;
}

.dock-label {
  font-size: 0.62rem;
  letter-spacing: 0.5px;
  margin-top: 3px;
  display: none;
}

@media (min-width: 600px) {
  .dock-label {
    display: block;
  }
}

.dock-item:hover, .dock-item.active {
  color: #1a1710;
  background: linear-gradient(135deg, #ffd966, #d1a964);
  box-shadow: 0 4px 12px rgba(209, 169, 100, 0.4);
}

.dock-item:hover .dock-label, .dock-item.active .dock-label {
  color: #1a1710;
  font-weight: 700;
}

/* --------------------------------------------------
   19. FLOATING BACKGROUND MUSIC PLAYER
   -------------------------------------------------- */
.floating-music-btn {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 9998;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: rgba(33, 30, 21, 0.9);
  border: 1px solid var(--border-gold-strong);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 15px rgba(209, 169, 100, 0.25);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-fast);
}

.floating-music-btn:hover {
  transform: scale(1.1);
  color: var(--color-gold-light);
}

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

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

/* --------------------------------------------------
   20. TOAST NOTIFICATION
   -------------------------------------------------- */
.theme-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(28, 25, 17, 0.95);
  border: 1px solid var(--color-gold);
  color: var(--text-cream);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 100001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

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