/* ===================================================
   RINGVITATION-INSPIRED WEDDING INVITATION THEME
   Tailored for: Ibam & Kori (vital.biz.id/ibamkori)
   =================================================== */

:root {
  --color-dark: #241116;
  --color-primary: #5a3840;
  --color-primary-light: #7b4f59;
  --color-gold: #c29d66;
  --color-gold-dark: #987542;
  --color-gold-light: #e5cd9e;
  --color-sage: #5a6652;
  --color-cream: #faf7f2;
  --color-card-bg: #ffffff;
  --color-card-border: #e6ded3;
  --text-main: #2d2627;
  --text-muted: #706768;
  --text-light: #fbf9f6;
  --shadow-soft: 0 10px 30px rgba(42, 22, 28, 0.08);
  --shadow-strong: 0 15px 45px rgba(36, 17, 22, 0.22);
  --radius-lg: 24px;
  --radius-pill: 50px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Alex Brush', cursive;
  --font-arabic: 'Amiri', serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #241116;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: #1f0e13;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

/* ===================================================
   TYPOGRAPHY
   =================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
}

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

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

/* ===================================================
   BOTANICAL ORNAMENTS & ANIMATIONS
   =================================================== */
.ornament {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  user-select: none;
}

.goyang img, .goyang {
  animation: goyank 3.2s ease-in-out infinite alternate;
  transform-origin: bottom center;
}

.goyang2 img, .goyang2 {
  animation: goyank2 2.7s ease-in-out infinite alternate;
  transform-origin: bottom center;
}

@keyframes goyank {
  0% { transform: rotate(2deg) scale(1); }
  50% { transform: rotate(-1.5deg) scale(1.02); }
  100% { transform: rotate(-3deg) scale(1); }
}

@keyframes goyank2 {
  0% { transform: rotate(-2.5deg) scale(1); }
  50% { transform: rotate(1deg) scale(1.02); }
  100% { transform: rotate(2.5deg) scale(1); }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(194, 157, 102, 0.4);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 8px 28px rgba(194, 157, 102, 0.7);
  }
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes waveBar {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===================================================
   OPENING COVER / POPUP SCREEN
   =================================================== */
#cover-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: linear-gradient(180deg, #5b3e45 0%, #200f13 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#cover-popup.hide-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-card-wrapper {
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  background: #ded9d1;
  border: 4px double #8d8780;
  border-radius: 260px 260px 24px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 8px 8px 30px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow-y: auto;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s ease;
}

.cover-card-wrapper.naek {
  transform: translateY(-50px) scale(0.92);
  opacity: 0;
}

.cover-photo-frame {
  width: 100%;
  height: 38vh;
  min-height: 220px;
  max-height: 300px;
  border-radius: 250px 250px 0 0;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid #8d8780;
}

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

.cover-content {
  padding: 20px 16px 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6b6360;
  margin-bottom: 6px;
  font-weight: 500;
}

.cover-title {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 4px;
  font-weight: 700;
}

.cover-date-pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  border: 1px solid rgba(141, 135, 128, 0.4);
}

.cover-guest-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #d5cec5;
  border-radius: 16px;
  padding: 12px 20px;
  width: 100%;
  max-width: 320px;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cover-guest-to {
  font-size: 0.78rem;
  color: #7d7570;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cover-guest-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.02em;
  word-break: break-word;
}

.btn-open-invitation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #5b3e45 0%, #2f171d 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-gold);
  cursor: pointer;
  text-decoration: none;
  animation: pulseGlow 2.5s infinite;
  transition: all 0.3s ease;
}

.btn-open-invitation:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(194, 157, 102, 0.6);
}

.btn-open-invitation svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===================================================
   MAIN SPLIT LAYOUT (DESKTOP & MOBILE)
   =================================================== */
.app-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background-color: #1f0e13;
}

/* Desktop Sticky Left Column */
.desktop-hero-column {
  display: none;
}

@media (min-width: 993px) {
  .desktop-hero-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 60px;
    background: url('assets/images/BEN_5662-768x1151.jpeg') center center / cover no-repeat;
    overflow: hidden;
  }

  .desktop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36, 17, 22, 0.3) 0%, rgba(36, 17, 22, 0.85) 100%);
  }

  .desktop-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 500px;
  }

  .desktop-hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 10px;
  }

  .desktop-hero-title {
    font-size: 3.8rem;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 12px;
    font-family: var(--font-serif);
  }

  .desktop-hero-date {
    font-size: 1.25rem;
    color: #e4ddd5;
    margin-bottom: 24px;
    font-weight: 500;
  }

  .desktop-guest-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 16px 24px;
    border-radius: 16px;
    display: inline-block;
  }

  .desktop-guest-label {
    font-size: 0.85rem;
    color: var(--color-gold-light);
    margin-bottom: 4px;
  }

  .desktop-guest-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
  }

  .main-scroll-column {
    width: 50%;
    background-color: #241116;
    display: flex;
    justify-content: center;
    position: relative;
  }
}

@media (max-width: 992px) {
  .main-scroll-column {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Mobile Simulation Container */
.mobile-view-container {
  width: 100%;
  max-width: 480px;
  background-color: var(--color-cream);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  overflow-x: hidden;
  padding-bottom: 80px; /* Space for bottom dock */
}

/* ===================================================
   INNER SECTIONS STYLING
   =================================================== */
section {
  position: relative;
  padding: 55px 22px;
}

.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px auto 25px;
}

.section-divider img {
  max-width: 180px;
  opacity: 0.85;
}

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

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

.section-title {
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* Section 1: Hero Banner */
.hero-section {
  padding: 30px 18px 45px;
  text-align: center;
  background: linear-gradient(180deg, #eae5dc 0%, #faf7f2 100%);
  position: relative;
  overflow: hidden;
}

.hero-arch-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 24px;
}

.hero-arch-card {
  border: 4px double #8d8780;
  border-radius: 250px 250px 20px 20px;
  padding: 6px;
  background: #d8d4cd;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

.hero-photo-wrapper {
  width: 100%;
  height: 380px;
  border-radius: 240px 240px 14px 14px;
  overflow: hidden;
  position: relative;
}

.hero-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero-names {
  font-size: 2.6rem;
  color: var(--color-primary);
  margin: 10px 0 4px;
}

.hero-date-badge {
  display: inline-block;
  background: #ffffff;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-card-border);
}

/* Section 2: Countdown */
.countdown-section {
  text-align: center;
  background: linear-gradient(180deg, #44262d 0%, #2b1318 100%);
  color: #ffffff;
  padding: 45px 20px;
  position: relative;
}

.countdown-title {
  color: var(--color-gold-light);
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  margin-bottom: 22px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  width: 72px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.countdown-number {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  font-family: var(--font-serif);
}

.countdown-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  margin-top: 3px;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--color-gold);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-calendar:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}

/* Section 3: Holy Quran Quote */
.quote-section {
  text-align: center;
  background: var(--color-cream);
  padding: 50px 22px;
  position: relative;
}

.quote-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

.quote-card .arabic-text {
  color: var(--color-primary);
  margin-bottom: 18px;
}

.quote-card .translation-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 14px;
}

.quote-card .surah-reference {
  font-weight: 700;
  color: var(--color-gold-dark);
  font-size: 0.9rem;
}

/* Section 4: Couple Profile */
.couple-section {
  text-align: center;
  background: #f4efe8;
  position: relative;
}

.couple-greeting {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

.profile-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 200px 200px 20px 20px;
  padding: 10px 15px 30px;
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  margin: 0 auto 25px;
  position: relative;
  z-index: 2;
}

.profile-img-arch {
  width: 100%;
  height: 320px;
  border-radius: 190px 190px 14px 14px;
  overflow: hidden;
  margin-bottom: 18px;
}

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

.profile-nickname {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.profile-fullname {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.profile-parents {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.45;
  padding: 0 10px;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #faf5f0;
  color: var(--color-primary);
  border: 1px solid #d9cdbd;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-instagram:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.couple-divider {
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.couple-divider span {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-gold);
  font-weight: 700;
}

/* Section 5: Events (Akad & Resepsi) */
.events-section {
  background: var(--color-cream);
  position: relative;
}

.event-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  z-index: 2;
}

.event-icon {
  width: 54px;
  height: 54px;
  background: #f8f3ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--color-gold-dark);
}

.event-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.event-name {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.event-date {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.event-time {
  display: inline-block;
  background: #f3efe9;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
}

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

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

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 240px;
  margin: 0 auto;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-map:hover {
  background: var(--color-dark);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-gold);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #ffffff;
}

/* Streaming Card */
.streaming-card {
  background: linear-gradient(135deg, #4b2b33 0%, #241116 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-strong);
  position: relative;
  z-index: 2;
}

.streaming-title {
  color: var(--color-gold-light);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.streaming-desc {
  font-size: 0.88rem;
  color: #e2dbd4;
  margin-bottom: 18px;
  line-height: 1.5;
}

.streaming-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-stream {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-stream:hover {
  background: #ffffff;
  color: var(--color-dark);
}

/* Section 6: Love Story */
.story-section {
  background: #f5f0e8;
  position: relative;
}

.timeline {
  position: relative;
  padding: 10px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: #d8cebf;
}

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

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid #f5f0e8;
  box-shadow: 0 0 0 2px var(--color-gold);
}

.timeline-content {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.timeline-year {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

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

.timeline-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Section 7: Gallery */
.gallery-section {
  background: var(--color-cream);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  position: relative;
  z-index: 2;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 190px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  background: #eae5dc;
}

.gallery-item.tall {
  grid-row: span 2;
  height: 392px;
}

.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(36, 17, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* Section 8: RSVP */
.rsvp-section {
  background: #f4efe7;
  position: relative;
}

.rsvp-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d8cfc3;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #fbf9f6;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(194, 157, 102, 0.2);
  background: #ffffff;
}

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

.btn-submit-rsvp {
  width: 100%;
  padding: 13px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 10px;
}

.btn-submit-rsvp:hover {
  background: var(--color-dark);
}

.btn-whatsapp-rsvp {
  width: 100%;
  padding: 12px;
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp-rsvp:hover {
  background: #1eb856;
}

/* Section 9: Wedding Gift (Amplop Digital) */
.gift-section {
  background: var(--color-cream);
  position: relative;
}

.bank-card {
  background: linear-gradient(135deg, #ffffff 0%, #f7f2ea 100%);
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  text-align: left;
  z-index: 2;
}

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

.bank-name-badge {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.chip-icon {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, #d4af37 0%, #aa8214 100%);
  border-radius: 6px;
}

.account-number {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  margin-bottom: 4px;
  font-family: monospace;
}

.account-name {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid #d4c8b8;
  color: var(--color-primary);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.physical-gift-card {
  background: #ffffff;
  border: 1px dashed var(--color-gold);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.gift-icon-box {
  width: 50px;
  height: 50px;
  background: #fbf5ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--color-gold-dark);
}

.gift-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.gift-address-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Section 10: Wishes / Guestbook */
.wishes-section {
  background: #f6f1ea;
  position: relative;
}

.wishes-list {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom Scrollbar for wishes */
.wishes-list::-webkit-scrollbar {
  width: 5px;
}
.wishes-list::-webkit-scrollbar-track {
  background: #eadecd;
  border-radius: 10px;
}
.wishes-list::-webkit-scrollbar-thumb {
  background: #baa792;
  border-radius: 10px;
}

.wish-item {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
}

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

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

.wish-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b4f59 0%, #44262d 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.wish-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-dark);
}

.wish-time {
  font-size: 0.72rem;
  color: #9a928f;
}

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

.badge-hadir {
  background: #e3f7eb;
  color: #1a8247;
}

.badge-tidak {
  background: #fde8e8;
  color: #c81e1e;
}

.badge-ragu {
  background: #fef5e7;
  color: #b45309;
}

.wish-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: break-word;
}

/* Section 11: Closing */
.closing-section {
  text-align: center;
  background: linear-gradient(180deg, #faf7f2 0%, #ded7cc 100%);
  padding: 60px 20px 40px;
  position: relative;
}

.closing-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.closing-sign {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.closing-copyright {
  font-size: 0.78rem;
  color: #8c827d;
  border-top: 1px solid #d5cec5;
  padding-top: 20px;
  margin-top: 30px;
}

/* ===================================================
   FLOATING UI: MUSIC PLAYER BUTTON
   =================================================== */
.floating-music-btn {
  position: fixed;
  bottom: 85px;
  left: 20px;
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #241116;
  border: 2px solid var(--color-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.floating-music-btn.playing .music-icon-disc {
  animation: spinVinyl 3.5s linear infinite;
}

.music-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  position: absolute;
}

.music-waves span {
  width: 3px;
  background-color: var(--color-gold);
  border-radius: 2px;
  height: 4px;
}

.floating-music-btn.playing .music-waves span:nth-child(1) { animation: waveBar 0.9s ease-in-out infinite 0.1s; }
.floating-music-btn.playing .music-waves span:nth-child(2) { animation: waveBar 0.8s ease-in-out infinite 0.3s; }
.floating-music-btn.playing .music-waves span:nth-child(3) { animation: waveBar 1.1s ease-in-out infinite 0.2s; }
.floating-music-btn.playing .music-waves span:nth-child(4) { animation: waveBar 0.7s ease-in-out infinite 0.4s; }

/* ===================================================
   FLOATING UI: BOTTOM DOCK NAVIGATION
   =================================================== */
.bottom-nav-dock {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 997;
  background: rgba(36, 17, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(194, 157, 102, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 90vw;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d1c8c0;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  transition: color 0.25s, transform 0.25s;
  padding: 4px 6px;
  border-radius: 12px;
}

.nav-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-bottom: 2px;
}

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

.nav-link.active svg {
  fill: var(--color-gold-light);
}

/* ===================================================
   LIGHTBOX MODAL FOR GALLERY
   =================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
  max-width: 92vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===================================================
   TOAST NOTIFICATION
   =================================================== */
.toast-alert {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: #241116;
  border: 1px solid var(--color-gold);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

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

/* Hidden elements helper */
.hidden-audio-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0.01;
  pointer-events: none;
  left: -9999px;
  bottom: -9999px;
}

/* ===================================================
   CANVA EMBED CONTAINER
   =================================================== */
.canva-frame-container {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  position: relative;
  background: #be306b;
  overflow: hidden;
}

.canva-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

