/* ============================================================
   THEME BLOOM BLUE - DIGITAL WEDDING INVITATION
   Author: Studio1
   Palette:
   - Primary Navy: #1b3d6c
   - Primary Dark: #0f1f38
   - Soft Blue Accent: #D6E1EE
   - Champagne Gold: #F8EDC6
   - Background White: #FFFFFF
   - Background Soft: #F4F8FC
   ============================================================ */

:root {
  --invitation-bg: #ffffff;
  --invitation-bg-soft: #f4f8fc;
  --bs-primary: #1b3d6c;
  --bs-primary-hover: #132b4d;
  --bs-primary-light: #d6e1ee;
  --bs-primary-dark: #0e1c31;
  --text-primary: #1b3d6c;
  --text-muted: #64748b;
  --text-dark: #1e293b;
  --gold-accent: #f8edc6;
  --gold-dark: #c5a059;
  --card-border: rgba(214, 225, 238, 0.6);
  --card-shadow: 0 10px 25px rgba(27, 61, 108, 0.07);
  --modal-backdrop: rgba(14, 28, 49, 0.85);

  --font-title: 'Dancing Script', cursive;
  --font-serif: 'Playfair Display', serif;
  --font-content: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --font-size-title: 34px;
  --font-size-subtitle: 24px;
  --font-size-content: 14px;
  --font-size-caption: 14.5px;
}

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

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

body {
  font-family: var(--font-content);
  color: var(--text-dark);
  background-color: var(--bs-primary-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* Typography Utility */
.font-title {
  font-family: var(--font-title) !important;
  text-align: center;
}
.font-serif {
  font-family: var(--font-serif) !important;
}
.font-content {
  font-family: var(--font-content) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}
.text-light-primary {
  color: var(--bs-primary-light) !important;
}
.text-muted {
  color: var(--text-muted) !important;
}
.bg-primary {
  background-color: var(--bs-primary) !important;
}
.bg-light-primary {
  background-color: var(--bs-primary-light) !important;
}
.bg-primary-dark {
  background-color: var(--bs-primary-dark) !important;
}
.bg-soft {
  background-color: var(--invitation-bg-soft) !important;
}

.text-size-title {
  font-size: var(--font-size-title) !important;
  text-align: center;
}
.text-size-subtitle {
  font-size: var(--font-size-subtitle) !important;
  text-align: center;
}
.text-size-content {
  font-size: var(--font-size-content) !important;
}
.text-size-caption {
  font-size: var(--font-size-caption) !important;
  line-height: 1.65 !important;
  letter-spacing: 0.15px;
}

.section-caption-text {
  width: 100%;
  max-width: 460px;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #1e293b !important; /* Slate navy gelap berbobot & kontras tinggi */
  font-weight: 500 !important; /* Huruf tegas dan tidak tipis/pudar */
  line-height: 1.65 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Global Centering for Badges & Title Texts */
.story-badge-chip,
.badge-hero,
.vendor-category-badge,
.turut-label,
.keluarga-role,
.desktop-side-badge,
.couple-role,
.bank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.badge-hero {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: center;
  background: rgba(214, 225, 238, 0.45);
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary-light);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-sizing: border-box;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--invitation-bg);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--bs-primary-light);
  border-top-color: var(--bs-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ============================================================
   DESKTOP DUAL VIEW & MOBILE CONTAINER ARCHITECTURE
   ============================================================ */
.page-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Left Panel for Desktop Screen */
.desktop-side-panel {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: calc(100% - 460px);
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 10;
  overflow: hidden;
}

.desktop-side-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  padding: 40px;
  z-index: 15;
  width: 100%;
  max-width: 620px;
}

.desktop-side-badge {
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--bs-primary-light);
  margin-bottom: 16px;
  font-weight: 600;
}

.desktop-side-title {
  font-family: var(--font-title);
  font-size: 64px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.desktop-side-date {
  font-size: 16px;
  color: var(--gold-accent);
  letter-spacing: 2px;
  font-weight: 500;
}

/* Main App Container (Mobile View & Mobile Mockup on Desktop) */
.main-invitation-container {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  min-height: 100vh;
  background-color: var(--invitation-bg);
  position: relative;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.35);
  overflow-x: hidden;
}

@media (min-width: 992px) {
  .desktop-side-panel {
    display: block;
  }
}

@media (max-width: 991px) {
  .main-invitation-container {
    max-width: 100%;
    margin: 0 auto;
    box-shadow: none;
  }
}

/* ============================================================
   COVER / WELCOME OVERLAY SCREEN (MODERN BOTANICAL MINIMALIST)
   ============================================================ */
.cover-overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: 460px;
  max-width: 460px;
  height: 100%;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 24px 20px 18px;
  overflow: hidden;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s ease;
}

@media (max-width: 991px) {
  .cover-overlay {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-shadow: none;
  }
}

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

/* Top Header */
.cover-top-header {
  text-align: center;
  margin-top: 4px;
  margin-bottom: 6px;
}

.cover-invitation-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #5c7eab;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.cover-invitation-subtitle {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1.15;
  margin-top: 1px;
}

/* Center Photo Frame */
.cover-photo-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  flex-shrink: 0;
}

.cover-photo-frame {
  position: relative;
  width: 100%;
  max-width: 310px;
  height: 48vh;
  max-height: 380px;
  min-height: 270px;
  background-size: cover;
  background-position: center top;
  border: 6px solid #4a709c;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(27, 61, 108, 0.1);
}

/* Floating Accent Dots */
.cover-dot-accent {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.cover-dot-accent.top-right {
  width: 32px;
  height: 32px;
  top: -14px;
  right: -14px;
}

.cover-dot-accent.bottom-left {
  width: 36px;
  height: 36px;
  bottom: -15px;
  left: -15px;
}

/* Names & Date */
.cover-center-meta {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}

.cover-couple-names {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cover-couple-names .name-bride,
.cover-couple-names .name-groom {
  font-family: var(--font-title);
  font-size: 50px;
  color: #1e4574;
  line-height: 1.08;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(27, 61, 108, 0.08);
}

.cover-couple-names .name-ampersand {
  font-family: var(--font-title);
  font-size: 56px;
  color: #9bbcdb;
  line-height: 0.45;
  margin: -8px 0 -4px;
  font-weight: 400;
}

.cover-event-date {
  font-size: 16px;
  font-weight: 600;
  color: #4a709c;
  letter-spacing: 0.3px;
  margin-top: 6px;
}

/* Bottom Action & Recipient + Illustration */
.cover-footer-row {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 96px;
  padding-bottom: 4px;
}

.cover-actions-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 5;
  padding-bottom: 2px;
}

.btn-open-invitation {
  background-color: #4a709c;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(74, 112, 156, 0.35);
  transition: all 0.3s ease;
}

.btn-open-invitation:hover {
  background-color: #385a82;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74, 112, 156, 0.45);
}

.btn-open-invitation i {
  font-size: 15px;
}

.cover-guest-section {
  text-align: left;
  padding-left: 2px;
}

.guest-to-label {
  display: block;
  font-size: 12px;
  color: #4a709c;
  font-weight: 500;
  margin-bottom: 2px;
}

.guest-name-text {
  font-size: 15px;
  font-weight: 700;
  color: #1b3d6c;
  line-height: 1.2;
}

/* Corner Botanical Art */
.cover-corner-illustration {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 195px;
  height: 235px;
  pointer-events: none;
  z-index: 1;
}

.corner-blob-blue {
  position: absolute;
  width: 140px;
  height: 140px;
  bottom: -20px;
  right: -20px;
  opacity: 0.88;
}

.corner-blob-yellow {
  position: absolute;
  width: 115px;
  height: 115px;
  bottom: 50px;
  right: -5px;
  opacity: 0.9;
}

.corner-floral-art {
  position: absolute;
  height: 100%;
  max-height: 245px;
  right: -4px;
  bottom: -10px;
  z-index: 2;
}

/* ============================================================
   FLOATING ACTION CONTROLS (MUSIC & SCROLL)
   ============================================================ */
.floating-music-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: var(--bs-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(27, 61, 108, 0.35);
  transition: all 0.3s ease;
}

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

.floating-music-btn i {
  font-size: 18px;
}

/* ============================================================
   HERO / COUNTDOWN SECTION
   ============================================================ */
.hero-section {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.hero-banner {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 20px;
  text-align: center;
}

.hero-banner-gradient {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.8) 35%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  margin-top: -80px;
  padding: 0 25px 35px;
  text-align: center;
  z-index: 5;
}

.hero-header-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bs-primary);
  margin-bottom: 10px;
}

/* Countdown Display */
.countdown-container {
  display: flex;
  justify-content: left;
  gap: 12px;
  margin: 42px -15px 20px;
}

.countdown-box {
  background-color: var(--bs-primary);
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 8px;
  min-width: 65px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(27, 61, 108, 0.18);
}

.countdown-number {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--font-serif);
}

.countdown-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-top: 2px;
}

.hero-calendar-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 16px -15px 0;
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
  position: relative;
  background-color: #ffffff;
  padding: 40px 25px 30px;
  text-align: center;
}

.quote-card {
  background-color: #ffffff;
  border: 1px solid var(--bs-primary-light);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.quote-icon {
  font-size: 32px;
  color: var(--bs-primary);
  margin-bottom: 12px;
}

.quote-text {
  font-style: italic;
  color: var(--bs-primary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.quote-author {
  font-weight: 700;
  font-size: 12px;
  color: var(--bs-primary);
  letter-spacing: 1px;
}

/* ============================================================
   BRIDE & GROOM PROFILE SECTION (MODERN LUXURY CARDS)
   ============================================================ */
.couple-section {
  position: relative;
  background-color: #ffffff;
  padding: 35px 20px 45px;
  text-align: center;
}

.couple-arch-container {
  background: linear-gradient(180deg, rgba(214, 225, 238, 0.45) 0%, rgba(240, 246, 252, 0.7) 120px, #ffffff 100%);
  border-radius: 500px 500px 0 0;
  border: 2px solid var(--bs-primary);
  padding: 55px 16px 35px;
  position: relative;
  margin-top: 20px;
}

.couple-salam {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #1b3d6c;
  margin-bottom: 8px;
}

.couple-opening-text {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto 20px;
}

/* Individual Profile Card (Clean & Frameless) */
.couple-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 0 16px;
  margin: 10px 0 20px;
  text-align: center;
  box-shadow: none;
  transition: none;
}

.couple-card:hover {
  transform: none;
  box-shadow: none;
}

.couple-photo-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
}

.couple-photo-frame {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid #ffffff;
  outline: 2.5px solid #295791;
  box-shadow: 0 10px 25px rgba(27, 61, 108, 0.18);
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.couple-card:hover .couple-photo-frame {
  transform: scale(1.03);
}

.couple-role-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 4px 14px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 8px;
}

.couple-role-badge.bride {
  color: #295791;
  background: rgba(41, 87, 145, 0.09);
  border: 1px solid rgba(41, 87, 145, 0.18);
}

.couple-role-badge.groom {
  color: #1b3d6c;
  background: rgba(27, 61, 108, 0.09);
  border: 1px solid rgba(27, 61, 108, 0.18);
}

.couple-name {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: #1b3d6c;
  line-height: 1.25;
  margin-bottom: 6px;
}

.couple-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 14px;
  width: 75%;
  position: relative;
}

.couple-card-divider::before,
.couple-card-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 188, 219, 0.7), transparent);
}

.couple-card-divider .divider-flower {
  padding: 0 8px;
  color: #5c7eab;
  font-size: 13px;
}

/* Parents Info Box (Frameless) */
.couple-parents-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 10px;
  margin-bottom: 10px;
  box-shadow: none;
}

.parents-order-label {
  font-size: 11px;
  font-weight: 600;
  color: #7b93af;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 2px;
}

.parents-names {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a60;
  line-height: 1.45;
}

/* Address Pill */
.couple-address-pill {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  background-color: rgba(214, 225, 238, 0.4);
  border: 1px solid rgba(155, 188, 219, 0.35);
  border-radius: 50px;
  padding: 6px 16px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  max-width: 90%;
}

/* Instagram Pill Button */
.btn-couple-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #1b3d6c 0%, #295791 100%);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(27, 61, 108, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none !important;
}

.btn-couple-ig i {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.btn-couple-ig:hover {
  background: linear-gradient(135deg, #244b78 0%, #356cae 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 61, 108, 0.35);
}

.btn-couple-ig:hover i {
  transform: scale(1.18);
}

/* Romantic Connector Between Cards */
.couple-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px auto;
  width: 90%;
}

.connector-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(41, 87, 145, 0.35), transparent);
}

.connector-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f0f6fc 100%);
  border: 2px solid #295791;
  box-shadow: 0 4px 14px rgba(27, 61, 108, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.connector-badge .connector-amp {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: #1b3d6c;
  line-height: 1;
}

.connector-badge i {
  position: absolute;
  top: -6px;
  right: -4px;
  font-size: 11px;
  color: #e74c3c;
  filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.3));
}

/* ============================================================
   EVENTS / SCHEDULE SECTION (MODERN LUXURY)
   ============================================================ */
.schedule-section {
  position: relative;
  background-color: #ffffff;
  padding: 35px 20px 45px;
}

.schedule-arch-bg {
  border-radius: 500px 500px 0 0;
  border: 2px solid var(--bs-primary);
  padding: 55px 20px 35px;
  background: linear-gradient(180deg, rgba(240, 246, 252, 0.7) 0%, #ffffff 180px);
  position: relative;
  text-align: center;
}

.schedule-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  border: 1.5px solid rgba(155, 188, 219, 0.5);
  border-radius: 20px;
  padding: 38px 20px 24px;
  margin-top: 48px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(27, 61, 108, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(27, 61, 108, 0.12);
}

.schedule-card-top-icon {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b3d6c 0%, #2e5f9e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(27, 61, 108, 0.35);
  border: 3px solid #ffffff;
  z-index: 4;
}

.schedule-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #295791;
  background: rgba(41, 87, 145, 0.09);
  padding: 4px 14px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 8px;
}

.schedule-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: #1b3d6c;
  line-height: 1.2;
  margin-bottom: 6px;
}

.schedule-divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 16px;
  width: 80%;
  position: relative;
}

.schedule-divider-line::before,
.schedule-divider-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 188, 219, 0.7), transparent);
}

.schedule-divider-line .divider-gem {
  padding: 0 10px;
  color: #5c7eab;
  font-size: 14px;
}

/* Datetime Card Box */
.schedule-datetime-card {
  background-color: #ffffff;
  border: 1px solid rgba(155, 188, 219, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(27, 61, 108, 0.03);
}

.datetime-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.datetime-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(27, 61, 108, 0.1) 0%, rgba(41, 87, 145, 0.05) 100%);
  color: #1b3d6c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(27, 61, 108, 0.12);
}

.datetime-text-wrap {
  display: flex;
  flex-direction: column;
}

.datetime-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #7b93af;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.2;
}

.datetime-value {
  font-size: 13.5px;
  font-weight: 700;
  color: #1b3d6c;
  line-height: 1.4;
  margin-top: 1px;
}

.badge-timezone {
  font-size: 10px;
  background-color: #1b3d6c;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-left: 3px;
  vertical-align: middle;
}

/* Location Box */
.schedule-location-box {
  background-color: #ffffff;
  border: 1px solid rgba(155, 188, 219, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(27, 61, 108, 0.03);
}

.schedule-venue-name {
  font-size: 14px;
  font-weight: 700;
  color: #1b3d6c;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-venue-address {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  padding-left: 20px;
}

/* Actions Buttons */
.schedule-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btn-schedule-action {
  background: linear-gradient(135deg, #1b3d6c 0%, #295791 50%, #153259 100%);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(27, 61, 108, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-decoration: none !important;
}

.btn-schedule-action i {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.btn-schedule-action:hover {
  background: linear-gradient(135deg, #244b78 0%, #356cae 50%, #1b3d6c 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 61, 108, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-schedule-action:hover i {
  transform: scale(1.15);
}

.btn-schedule-action:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(27, 61, 108, 0.3);
}

.btn-schedule-action.btn-schedule-calendar {
  background: linear-gradient(135deg, #ffffff 0%, #f0f6fc 100%);
  color: #1b3d6c !important;
  border: 1.5px solid #1b3d6c;
  box-shadow: 0 4px 12px rgba(27, 61, 108, 0.12);
}

.btn-schedule-action.btn-schedule-calendar:hover {
  background: linear-gradient(135deg, #1b3d6c 0%, #295791 100%);
  color: #ffffff !important;
  border-color: #1b3d6c;
}

.btn-schedule-action.btn-schedule-live {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
}

.btn-schedule-action.btn-schedule-live:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #ff5252 100%);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.45);
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
  position: relative;
  background-color: var(--bs-primary-light);
  border-radius: 500px 500px 0 0;
  padding: 55px 20px 45px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 25px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 28, 49, 0.94);
  z-index: 100000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

.lightbox-img-wrapper {
  max-width: 90%;
  max-height: 85%;
  position: relative;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
}

/* ============================================================
   RSVP & ATTENDANCE SECTION
   ============================================================ */
.rsvp-section {
  position: relative;
  background-color: #ffffff;
  padding: 40px 25px 30px;
  text-align: center;
}

.rsvp-box {
  background-color: var(--bs-primary);
  border-radius: 16px;
  padding: 30px 25px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(27, 61, 108, 0.2);
}

.rsvp-box h3 {
  font-family: var(--font-title);
  font-size: 36px;
  margin-bottom: 8px;
}

.rsvp-box p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.btn-rsvp-open {
  background-color: #ffffff;
  color: var(--bs-primary);
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-rsvp-open:hover {
  background-color: var(--bs-primary-light);
}

/* ============================================================
   DIGITAL GIFT / AMPLOP DIGITAL
   ============================================================ */
.gift-section {
  position: relative;
  background-color: #ffffff;
  padding: 40px 20px 30px;
  text-align: center;
}

.gift-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 20px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.bank-badge {
  font-weight: 800;
  font-size: 16px;
  color: var(--bs-primary);
  margin-bottom: 6px;
}

.account-holder {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.account-number {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  background-color: var(--bs-primary-light);
  padding: 6px 16px;
  border-radius: 8px;
}

.btn-copy {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bs-primary);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.btn-copy:hover {
  transform: scale(1.2);
}

/* ============================================================
   WISHES & DOA SECTION (WISHES WALL)
   ============================================================ */
.wishes-section {
  position: relative;
  background: linear-gradient(180deg, rgba(214, 225, 238, 0.35) 0%, #ffffff 40%, rgba(214, 225, 238, 0.25) 100%);
  border-top: 1px solid rgba(27, 61, 108, 0.08);
  border-bottom: 1px solid rgba(27, 61, 108, 0.08);
  padding: 55px 18px 50px;
  text-align: center;
  overflow: hidden;
}

.wishes-blob-left {
  position: absolute;
  width: 32%;
  top: -15px;
  left: -25px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.wishes-flower-right {
  position: absolute;
  width: 30%;
  top: 10px;
  right: -20px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.wishes-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px 22px;
  box-shadow: 0 10px 30px rgba(27, 61, 108, 0.07);
  border: 1px solid rgba(27, 61, 108, 0.12);
  margin: 20px auto 0;
  max-width: 440px;
  text-align: left;
}

.form-card-header {
  border-bottom: 1px solid rgba(214, 225, 238, 0.7);
  padding-bottom: 10px;
}

.form-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bs-primary);
  display: flex;
  align-items: center;
}

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

.form-label {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #2c4a75;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d6e1ee;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  background-color: #fbfcff;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--bs-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 61, 108, 0.1);
}

.form-control::placeholder {
  color: #a0aec0;
  font-size: 12.5px;
}

/* Luxury RSVP Attendance 3-Grid Options */
.rsvp-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.rsvp-option {
  border-radius: 12px;
  padding: 10px 4px;
  border: 1.5px solid #d6e1ee;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #4a5568;
  user-select: none;
}

.rsvp-option .rsvp-icon {
  font-size: 18px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.rsvp-option:hover {
  border-color: #1b3d6c;
  transform: translateY(-2px);
}

.rsvp-option.selected[data-value="hadir"] {
  background: rgba(46, 204, 113, 0.12) !important;
  border-color: #2ecc71 !important;
  color: #1e824c !important;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}
.rsvp-option.selected[data-value="hadir"] .rsvp-icon {
  color: #2ecc71;
  transform: scale(1.15);
}

.rsvp-option.selected[data-value="tidak_hadir"] {
  background: rgba(231, 76, 60, 0.12) !important;
  border-color: #e74c3c !important;
  color: #c0392b !important;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}
.rsvp-option.selected[data-value="tidak_hadir"] .rsvp-icon {
  color: #e74c3c;
  transform: scale(1.15);
}

.rsvp-option.selected[data-value="ragu"] {
  background: rgba(243, 156, 18, 0.12) !important;
  border-color: #f39c12 !important;
  color: #d35400 !important;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}
.rsvp-option.selected[data-value="ragu"] .rsvp-icon {
  color: #f39c12;
  transform: scale(1.15);
}

/* Submit Wish Button */
.btn-submit-wish {
  width: 100%;
  background: linear-gradient(135deg, #1b3d6c 0%, #295791 50%, #153259 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(27, 61, 108, 0.28);
  transition: all 0.3s ease;
}

.btn-submit-wish:hover {
  background: linear-gradient(135deg, #244b78 0%, #356cae 50%, #1b3d6c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 61, 108, 0.4);
}

.btn-submit-wish:active {
  transform: scale(0.98);
}

/* Wishes Counter Bar */
.wishes-counter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 440px;
  margin: 30px auto 14px;
  padding: 0 4px;
}

.wishes-counter-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bs-primary);
  display: flex;
  align-items: center;
}

.wishes-counter-pill {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #2a5a9e 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(27, 61, 108, 0.2);
}

/* Wishes Feed & Cards */
.wishes-feed {
  max-width: 440px;
  margin: 0 auto;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wishes-feed::-webkit-scrollbar {
  width: 5px;
}
.wishes-feed::-webkit-scrollbar-track {
  background: rgba(214, 225, 238, 0.3);
  border-radius: 10px;
}
.wishes-feed::-webkit-scrollbar-thumb {
  background: #b5cbe2;
  border-radius: 10px;
}
.wishes-feed::-webkit-scrollbar-thumb:hover {
  background: var(--bs-primary);
}

.wish-item {
  background: #ffffff;
  border: 1px solid rgba(27, 61, 108, 0.1);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 4px 15px rgba(27, 61, 108, 0.05);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wish-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 61, 108, 0.1);
  border-color: rgba(27, 61, 108, 0.22);
}

.wish-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wish-user-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wish-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b3d6c 0%, #3e6ea8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 3px 8px rgba(27, 61, 108, 0.2);
  flex-shrink: 0;
  border: 2px solid #ffffff;
}

.wish-user-info {
  display: flex;
  flex-direction: column;
}

.wish-author {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1.25;
}

.wish-time {
  font-size: 11px;
  color: #8c9ba5;
  margin-top: 2px;
}

.badge-attendance {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.badge-hadir {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge-absen {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-ragu {
  background: rgba(243, 156, 18, 0.15);
  color: #d35400;
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.wish-text-bubble {
  margin-top: 10px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(214, 225, 238, 0.6);
}

.wish-text {
  font-size: 12.5px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   INSTAGRAM STORY TEMPLATE SECTION
   ============================================================ */
.igstory-section {
  background-color: #ffffff;
  padding: 35px 20px 25px;
  text-align: center;
}

.igstory-card {
  background: linear-gradient(135deg, #1b3d6c 0%, #29538a 100%);
  border-radius: 16px;
  padding: 24px 20px;
  color: #ffffff;
  box-shadow: var(--card-shadow);
}

.btn-download-igstory {
  background-color: #ffffff;
  color: var(--bs-primary);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-download-igstory:hover {
  background-color: var(--bs-primary-light);
}

/* ============================================================
   CLOSING & FOOTER
   ============================================================ */
.closing-section {
  background-color: #ffffff;
  padding: 40px 20px 50px;
  text-align: center;
}

.closing-thanks {
  font-size: 14px;
  color: var(--bs-primary);
  margin-bottom: 8px;
}

.closing-couple-names {
  font-family: var(--font-title);
  font-size: 42px;
  color: var(--bs-primary);
  margin-bottom: 20px;
}

.app-footer {
  background-color: var(--bs-primary-dark);
  color: #94a3b8;
  padding: 25px 20px 90px;
  text-align: center;
  font-size: 12px;
}

.app-footer a {
  color: #ffffff;
  font-weight: 600;
}

/* ============================================================
   BOTTOM FLOATING NAVIGATION BAR (MODERN PILL DOCK)
   ============================================================ */
.bottom-navbar-container {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  right: 0;
  left: auto;
  width: 460px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  pointer-events: none;
  animation: slideUpNav 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 991px) {
  .bottom-navbar-container {
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
  }
}

@keyframes slideUpNav {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.bottom-navbar {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  backdrop-filter: blur(20px) saturate(190%);
  border-radius: 9999px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(27, 61, 108, 0.2);
  box-shadow: 0 12px 35px -5px rgba(27, 61, 108, 0.22), 0 4px 14px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab-item {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #557297;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-tab-item i {
  transition: transform 0.3s ease;
}

.nav-tab-item:hover {
  color: var(--bs-primary);
  background: rgba(214, 225, 238, 0.45);
  transform: translateY(-2px);
}

.nav-tab-item.active {
  background: linear-gradient(135deg, #1b3d6c 0%, #2a5a9e 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(27, 61, 108, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transform: translateY(-4px) scale(1.08);
}

.nav-tab-item.active i {
  transform: scale(1.05);
}

.nav-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background: #c5a059;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(197, 160, 89, 0.9);
}

.nav-tab-item:active {
  transform: scale(0.92);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-msg {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background-color: var(--bs-primary-dark);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--bs-primary-light);
}

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

@media (min-width: 992px) {
  .toast-msg {
    left: auto;
    right: 230px;
    transform: translateX(50%) translateY(-100px);
  }
  .toast-msg.show {
    transform: translateX(50%) translateY(0);
  }
}

/* ============================================================
   MODALS (RSVP, ETC.)
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--modal-backdrop);
  z-index: 100000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

.modal-window {
  background-color: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bs-primary-light);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--bs-primary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background-color: var(--invitation-bg-soft);
  border-top: 1px solid var(--bs-primary-light);
}

/* Radio select buttons */
.rsvp-options {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.rsvp-option {
  flex: 1;
  text-align: center;
  border: 1px solid var(--bs-primary-light);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.rsvp-option.selected {
  background-color: var(--bs-primary);
  color: #ffffff;
  border-color: var(--bs-primary);
}

/* ============================================================
   HERO BANNER DATE BREAKDOWN TABLE
   ============================================================ */
.banner-date-table {
  width: 100%;
  max-width: 380px;
  margin: 15px auto 20px;
  color: var(--bs-primary);
}

.banner-date-table td {
  vertical-align: middle;
}

/* ============================================================
   FLOATING ACTION BUTTONS (MUSIC, AUTO-SCROLL, AMPLOP)
   ============================================================ */
.floating-actions {
  position: fixed;
  bottom: 85px;
  right: 18px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 992px) {
  .floating-actions {
    right: 18px;
  }
}

.floating-actions .float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bs-primary) !important;
  border: 1px solid var(--bs-primary-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 15px rgba(27, 61, 108, 0.2);
  transition: all 0.3s ease;
}

.floating-actions .float-btn:hover {
  transform: scale(1.1);
  background: var(--bs-primary);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(27, 61, 108, 0.35);
}

.float-btn.spinning i {
  animation: spinDisc 3s linear infinite;
}

/* ============================================================
   BISMILLAH & AR-RUM 21 SECTION
   ============================================================ */
.bismillah-img {
  height: 80px;
  max-width: 80%;
  margin: 0 auto 12px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(27, 61, 108, 0.1));
}

.quran-box {
  background: #ffffff;
  border: 1px solid var(--bs-primary-light);
  border-radius: 20px;
  padding: 24px 20px;
  margin: 20px 0;
  box-shadow: 0 6px 20px rgba(27, 61, 108, 0.05);
  text-align: center;
}

.quran-arabic {
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 2.2;
  color: var(--bs-primary);
  margin-bottom: 14px;
}

.quran-translation {
  font-size: 13px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
}

.quran-source {
  font-size: 14px;
  font-weight: 700;
  color: var(--bs-primary);
  margin-top: 10px;
}

/* ============================================================
   GOOGLE MAPS IFRAME & ACARA ENHANCEMENT
   ============================================================ */
.mapGoogle {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(27, 61, 108, 0.1);
  margin-top: 15px;
  margin-bottom: 15px;
  border: 1px solid var(--bs-primary-light);
}

.mapGoogle iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

/* ============================================================
   PREWEDDING VIDEO 16:9 CONTAINER
   ============================================================ */
.videoPreWedding {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(27, 61, 108, 0.15);
  margin: 25px 0 10px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border: 3px solid #ffffff;
}

.videoPreWedding iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   STORY SECTION (MODERN LOVE JOURNEY TIMELINE)
   ============================================================ */
.story-section {
  padding: 55px 20px 45px;
  background-color: var(--invitation-bg);
  border-top: 1px solid rgba(214, 225, 238, 0.5);
}

.story-badge-chip {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: center;
  background: rgba(214, 225, 238, 0.45);
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary-light);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-sizing: border-box;
}

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

.story-timeline-container::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 9px;
  width: 2px;
  background: linear-gradient(180deg, #d6e1ee 0%, #1b3d6c 40%, #c5a059 80%, #d6e1ee 100%);
  border-radius: 2px;
}

.story-timeline-item {
  position: relative;
  margin-bottom: 32px;
  text-align: left;
}

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

.story-node-marker {
  position: absolute;
  left: -24px;
  top: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(214, 225, 238, 0.8), 0 2px 8px rgba(27, 61, 108, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.story-node-icon {
  font-size: 8px;
  color: var(--bs-primary);
  display: none;
}

.story-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(27, 61, 108, 0.12);
  box-shadow: 0 10px 30px rgba(27, 61, 108, 0.07);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(27, 61, 108, 0.13);
  border-color: rgba(27, 61, 108, 0.25);
}

.story-card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.story-chapter-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bs-primary) 0%, #2a5a9e 100%);
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(27, 61, 108, 0.2);
}

.story-date-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bs-primary);
  background: rgba(214, 225, 238, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(27, 61, 108, 0.08);
}

.story-photo-frame {
  width: 100%;
  height: 185px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  position: relative;
}

.story-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.story-card:hover .story-photo-frame img {
  transform: scale(1.06);
}

.story-card-title {
  font-family: var(--font-title);
  font-size: 28px;
  color: var(--bs-primary);
  line-height: 1.2;
  margin-bottom: 8px;
  font-weight: 600;
  text-align: center;
}

.story-card-desc {
  font-size: 13px;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

/* ============================================================
   WEDDING GIFT - LUXURY ATM & PARCEL CARDS
   ============================================================ */
.gift-section {
  padding: 55px 20px 50px;
  background-color: #ffffff;
  border-top: 1px solid rgba(214, 225, 238, 0.5);
}

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

/* Metallic Navy ATM Card */
.luxury-atm-card {
  background: linear-gradient(135deg, #18355e 0%, #0e2444 55%, #1d4277 100%);
  border-radius: 20px;
  padding: 22px 20px 18px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px -4px rgba(27, 61, 108, 0.35), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.luxury-atm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(27, 61, 108, 0.45);
}

.atm-card-glare {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

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

.atm-bank-logo {
  max-height: 32px;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.atm-bank-name {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.atm-chip-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.atm-chip-icon {
  color: #f1c40f;
  font-size: 26px;
  text-shadow: 0 2px 8px rgba(241, 196, 15, 0.4);
}

.atm-nfc-icon {
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
}

.atm-card-body {
  margin-bottom: 16px;
  text-align: center;
}

.atm-label-small {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a3c2e6;
  margin-bottom: 4px;
  text-align: center;
}

.atm-account-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  word-break: break-all;
  text-align: center;
}

.atm-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.atm-holder-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-copy-atm {
  background: rgba(255, 255, 255, 0.95);
  color: var(--bs-primary);
  border: none;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-copy-atm:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

.btn-copy-atm:active {
  transform: scale(0.95);
}

/* Luxury Parcel / Physical Gift Card */
.luxury-parcel-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px 18px;
  margin: 22px auto 0;
  max-width: 440px;
  border: 1px solid rgba(27, 61, 108, 0.15);
  box-shadow: 0 10px 30px rgba(27, 61, 108, 0.07);
  text-align: center;
  transition: all 0.35s ease;
}

.luxury-parcel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(27, 61, 108, 0.12);
}

.parcel-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(214, 225, 238, 0.6);
}

.parcel-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(214, 225, 238, 0.5);
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin: 0 auto;
}

.parcel-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bs-primary);
  text-align: center;
}

.parcel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
}

.parcel-card-body {
  text-align: center;
}

.parcel-address-text {
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: center;
}

.parcel-receiver-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(214, 225, 238, 0.4);
  color: var(--bs-primary);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  margin: 0 auto 14px;
}

.btn-copy-parcel {
  width: 100%;
  background: var(--bs-primary);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(27, 61, 108, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-copy-parcel:hover {
  background: #132e54;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 61, 108, 0.35);
}

/* WhatsApp Gift Confirmation */
.btn-wa-gift-confirm {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
  max-width: 440px;
  width: 100%;
}

.btn-wa-gift-confirm:hover {
  background: linear-gradient(135deg, #20ba5a 0%, #0e776a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   TURUT MENGUNDANG (KELUARGA BESAR)
   ============================================================ */
.turut-box-container {
  background: #ffffff;
  border: 1px solid var(--bs-primary-light);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(27, 61, 108, 0.06);
  padding: 30px 20px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.turut-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin-bottom: 4px;
}

.turut-divider {
  width: 60px;
  height: 2px;
  margin: 10px auto 18px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
}

.turut-parents-frame {
  position: relative;
  display: inline-block;
  padding: 5px;
  background: #ffffff;
  border: 2px solid var(--bs-primary-light);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(27, 61, 108, 0.12);
  max-width: 280px;
  width: 100%;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.turut-parents-frame:hover {
  transform: scale(1.02);
}

.turut-parents-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
}

.zoom-hint-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(14, 28, 49, 0.7);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.mengundang-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.keluarga-item {
  padding: 14px 12px;
  background: var(--invitation-bg-soft);
  border: 1px solid var(--bs-primary-light);
  border-radius: 14px;
}

.keluarga-role {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 12px;
  background: rgba(27, 61, 108, 0.08);
  border: 1px solid var(--bs-primary-light);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.keluarga-names-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.keluarga-names-wrap .parent-name {
  font-weight: 600;
  color: var(--text-dark);
}

.keluarga-names-wrap .parent-separator {
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 13px;
}

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

.turut-ringkas-list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ============================================================
   OUR VENDORS / SPECIAL THANKS
   ============================================================ */
.vendor-section {
  padding: 45px 16px 40px;
  background: linear-gradient(180deg, rgba(214, 225, 238, 0.3) 0%, #ffffff 50%, rgba(214, 225, 238, 0.2) 100%);
  border-top: 1px solid rgba(27, 61, 108, 0.08);
  border-bottom: 1px solid rgba(27, 61, 108, 0.08);
  overflow: hidden;
}

.vendors-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 25px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4px;
}

.vendor-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 20px 22px;
  border: 1px solid rgba(27, 61, 108, 0.12);
  box-shadow: 0 8px 25px rgba(27, 61, 108, 0.07);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(27, 61, 108, 0.14);
  border-color: var(--bs-primary-light);
}

.vendor-badge-wrap {
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.vendor-category-badge {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #0d223f 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(27, 61, 108, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.vendor-logo-wrapper {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #f0f5fc;
  box-shadow: 0 6px 18px rgba(27, 61, 108, 0.1);
  overflow: hidden;
  padding: 4px;
  transition: transform 0.3s ease;
}

.vendor-card:hover .vendor-logo-wrapper {
  transform: scale(1.06);
}

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

.vendor-icon-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(27, 61, 108, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--bs-primary);
}

.vendor-icon-fallback {
  font-size: 26px;
  color: var(--bs-primary);
}

.vendor-info {
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
}

.vendor-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 6px;
  line-height: 1.35;
  text-align: center;
}

.vendor-address-pill {
  font-size: 11.5px;
  color: var(--text-dark);
  background: rgba(214, 225, 238, 0.35);
  border-radius: 12px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  line-height: 1.5;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
  text-align: center;
  border: 1px solid rgba(27, 61, 108, 0.08);
}

.vendor-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
  font-style: italic;
}

.vendor-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: auto;
  padding-top: 4px;
}

.btn-vendor-action {
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
  border: none;
}

.btn-vendor-wa {
  background: #25D366;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

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

.btn-vendor-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.25);
}

.btn-vendor-ig:hover {
  filter: brightness(1.1);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(225, 48, 108, 0.4);
  transform: translateY(-2px);
}

.btn-vendor-web {
  background: var(--bs-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(27, 61, 108, 0.25);
}

.btn-vendor-web:hover {
  background: var(--bs-primary-dark);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(27, 61, 108, 0.4);
  transform: translateY(-2px);
}

.btn-vendor-phone {
  background: #1b3d6c;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(27, 61, 108, 0.25);
}

.btn-vendor-phone:hover {
  background: #0d223f;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(27, 61, 108, 0.4);
  transform: translateY(-2px);
}

.vendor-floral-left {
  position: absolute;
  width: 32%;
  top: -15px;
  left: -25px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.vendor-floral-right {
  position: absolute;
  width: 32%;
  top: -15px;
  right: -25px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.vendor-section-title {
  font-size: 34px;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

/* ============================================================
   CLOSING PHOTO FRAME
   ============================================================ */
.closing-photo-frame {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(27, 61, 108, 0.18);
}

.closing-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   STANDAR STUDIO 1 FOOTER
   ============================================================ */
.site-footer {
  background: var(--bs-primary-dark);
  color: #ffffff;
  padding: 40px 20px 90px;
  text-align: center;
}

.footer-social-wrapper {
  margin: 20px 0;
}

.footer-social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social-icons li a:hover {
  transform: translateY(-3px);
  background: #ffffff;
  color: var(--bs-primary) !important;
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
  max-width: 240px;
  opacity: 0.4;
}

.footer-divider span {
  flex: 1;
  height: 1px;
  background: #ffffff;
}

.footer-divider i {
  color: #ff6b81;
  font-size: 14px;
}

.footer-copy .footer-brand {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.footer-copy .footer-service {
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 6px;
}

.footer-copy .footer-copyright {
  font-size: 11px;
  opacity: 0.6;
}

.footer-copy .footer-link {
  color: var(--bs-primary-light);
}

/* ============================================================
   BOOTSTRAP MODAL DIALOGS (AMPLOP & RSVP MODAL)
   ============================================================ */
.modal {
  z-index: 105000 !important;
}

.modal-backdrop {
  z-index: 104000 !important;
  background-color: var(--modal-backdrop) !important;
}

.modal-content,
#modalAmplop .modal-dialog {
  background: var(--invitation-bg, #ffffff) !important;
  border-radius: 20px !important;
  border: none !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--bs-primary-light) !important;
  padding: 16px 20px !important;
}

.modal-header .close {
  padding: 10px !important;
  margin: -10px -10px -10px auto !important;
}

.modal-body {
  padding: 20px !important;
}

.modal-footer {
  border-top: 1px solid var(--bs-primary-light) !important;
  padding: 14px 20px !important;
}

/* ============================================================
   ULTRA-RESPONSIVE MOBILE ENGINE (ALL SMARTPHONE SCREENS)
   ============================================================ */

/* Global Mobile Fixes (<= 576px) */
@media (max-width: 576px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .main-invitation-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  /* Typography Fluid Scaling */
  .font-title {
    font-size: clamp(26px, 7vw, 36px) !important;
  }

  .text-size-title {
    font-size: clamp(26px, 6.5vw, 34px) !important;
  }

  .text-size-caption {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  .section-caption-text,
  p.text-size-caption {
    max-width: 92% !important;
    color: #1e293b !important;
    font-weight: 500 !important;
  }

  /* Cover Overlay Responsiveness */
  .cover-overlay {
    max-width: 100% !important;
    padding: 20px 16px 14px !important;
  }

  .cover-photo-frame {
    height: 46vh !important;
    max-height: 350px !important;
    min-height: 250px !important;
  }

  .cover-couple-names .name-bride,
  .cover-couple-names .name-groom {
    font-size: clamp(38px, 11vw, 48px) !important;
  }

  .cover-couple-names .name-ampersand {
    font-size: clamp(44px, 13vw, 54px) !important;
  }

  /* Hero Banner & Table */
  .hero-arch-container {
    padding: 40px 14px 30px !important;
    margin: 0 10px 20px !important;
  }

  .banner-date-table {
    max-width: 100% !important;
    margin: 10px auto 15px !important;
  }

  .date-block {
    padding: 6px 4px !important;
  }

  .date-block .date-day-num {
    font-size: 28px !important;
  }

  /* Couple Profile Section */
  .couple-arch-container {
    padding: 45px 14px 35px !important;
    border-radius: 300px 300px 0 0 !important;
  }

  .couple-photo-frame {
    width: 150px !important;
    height: 150px !important;
    border-width: 4px !important;
  }

  .couple-name {
    font-size: 22px !important;
  }

  .couple-parents {
    font-size: 12.5px !important;
  }

  .couple-divider-ampersand {
    font-size: 52px !important;
    margin: 20px 0 !important;
  }

  /* Schedule / Events Cards */
  .schedule-arch-bg {
    padding: 40px 12px 25px !important;
    border-radius: 300px 300px 0 0 !important;
  }

  .schedule-card {
    padding: 20px 14px !important;
    margin-bottom: 20px !important;
  }

  .mapGoogle iframe {
    height: 200px !important;
  }

  .btn-schedule-action {
    font-size: 11.5px !important;
    padding: 7px 14px !important;
  }

  /* Story Timeline */
  .timeline {
    padding: 5px 0 !important;
  }

  .timeline-card {
    padding: 16px 14px !important;
  }

  .timeline-photo {
    height: 150px !important;
  }

  /* Gallery Grid */
  .gallery-section {
    padding: 45px 14px 35px !important;
    border-radius: 300px 300px 0 0 !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  /* Gift Section */
  .bank-card-gift {
    padding: 18px 14px !important;
  }

  .bank-account-num {
    font-size: 17px !important;
    word-break: break-all !important;
  }

  /* Wishes Form */
  .wishes-section {
    padding: 45px 14px 35px !important;
    border-radius: 300px 300px 0 0 !important;
  }

  .wishes-form-card {
    padding: 20px 14px !important;
  }

  .rsvp-options {
    gap: 8px !important;
  }

  .rsvp-option {
    padding: 10px 8px !important;
    font-size: 12px !important;
  }

  /* Vendors Grid */
  .vendor-section {
    padding: 40px 14px 35px !important;
  }

  .vendors-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .vendor-card {
    padding: 24px 14px 18px !important;
  }

  .vendor-logo-wrapper {
    width: 58px !important;
    height: 58px !important;
  }

  .vendor-logo-img {
    max-width: 44px !important;
    max-height: 44px !important;
  }

  .vendor-name {
    font-size: 13.5px !important;
  }

  .btn-vendor-action {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
  }

  /* Turut Mengundang */
  .turut-box-container {
    padding: 24px 14px !important;
  }

  /* Bottom Navbar & Floating Action Buttons */
  .bottom-navbar-container {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .bottom-navbar {
    padding: 5px 8px !important;
    gap: 4px !important;
    max-width: 96vw !important;
  }

  .nav-tab-item {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }

  .floating-actions {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    gap: 8px !important;
  }

  .floating-actions .float-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
  }
}

/* Compact Smartphones (<= 420px) e.g. iPhone 13/14/15, Galaxy S21 */
@media (max-width: 420px) {
  .countdown-container {
    gap: 6px !important;
  }

  .countdown-box {
    min-width: 54px !important;
    padding: 7px 4px !important;
  }

  .countdown-number {
    font-size: 18px !important;
  }

  .countdown-label {
    font-size: 9px !important;
  }

  .bottom-navbar {
    padding: 4px 6px !important;
    gap: 2px !important;
  }

  .nav-tab-item {
    width: 35px !important;
    height: 35px !important;
    font-size: 15px !important;
  }

  .cover-corner-illustration {
    width: 170px !important;
    height: 205px !important;
  }

  .corner-blob-blue {
    width: 120px !important;
    height: 120px !important;
  }

  .corner-blob-yellow {
    width: 100px !important;
    height: 100px !important;
  }

  .vendor-actions {
    gap: 4px !important;
  }

  .btn-vendor-action {
    font-size: 10px !important;
    padding: 3px 6px !important;
  }
}

/* Extra Narrow Smartphones (<= 360px) e.g. Galaxy Fold Cover, iPhone SE */
@media (max-width: 360px) {
  .hero-couple-names .name-bride,
  .hero-couple-names .name-groom {
    font-size: 26px !important;
  }

  .countdown-container {
    gap: 4px !important;
  }

  .countdown-box {
    min-width: 48px !important;
    padding: 6px 2px !important;
  }

  .countdown-number {
    font-size: 16px !important;
  }

  .countdown-label {
    font-size: 8px !important;
  }

  .couple-photo-frame {
    width: 130px !important;
    height: 130px !important;
  }

  .bottom-navbar {
    padding: 3px 4px !important;
    gap: 1px !important;
  }

  .nav-tab-item {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .floating-actions .float-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  .vendors-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* Landscape Mobile Mode */
@media (max-height: 520px) and (orientation: landscape) {
  .cover-photo-frame {
    height: 50vh !important;
    max-height: 220px !important;
  }

  .bottom-navbar {
    padding: 2px 6px !important;
  }

  .nav-tab-item {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
  }

  .floating-actions {
    bottom: 50px !important;
  }
}

/* ============================================================
   LIVESTREAM & VIDEO PREWEDDING SECTIONS (STUDIO 1 SYSTEM)
   ============================================================ */
.livestream-section {
  padding: 45px 20px 40px;
  background-color: #ffffff;
  border-top: 1px solid rgba(214, 225, 238, 0.5);
}

.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dc3545;
  box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  animation: livePulseAnim 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
  vertical-align: middle;
}

@keyframes livePulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.video-section {
  padding: 50px 20px 45px;
  background-color: #ffffff;
  border-top: 1px solid rgba(214, 225, 238, 0.5);
}

.video-container-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   TABLET OPTIMIZATION (577px - 991px: iPad, Android Tablets)
   ============================================================ */
@media (min-width: 577px) and (max-width: 991px) {
  .text-size-caption {
    font-size: 15px !important;
    line-height: 1.7 !important;
    letter-spacing: 0.2px !important;
  }

  p.text-size-caption,
  .section-caption-text {
    max-width: 540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #1e293b !important;
    font-weight: 500 !important;
  }

  .closing-section .text-size-caption {
    font-size: 15.5px !important;
    line-height: 1.6 !important;
  }
}

/* ============================================================
   LAPTOP & DESKTOP OPTIMIZATION (>= 992px)
   ============================================================ */
@media (min-width: 992px) {
  .text-size-caption {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    letter-spacing: 0.15px !important;
  }

  p.text-size-caption,
  .section-caption-text {
    max-width: 440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #1e293b !important;
    font-weight: 500 !important;
  }

  .closing-section .text-size-caption {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}


