/* =====================================================
   UNDANGAN NIKAH DIGITAL – Dewi Ratna & Azuar
   style.css
   ===================================================== */

/* ── Custom Properties ─────────────────────────────── */
:root {
  --gold: #c29a4b;
  --gold-dark: #82551a;
  --gold-light: #e8cd98;
  --gold-pale: #f9efd9;
  --cream: #fdf8ef;
  --dark: #18110a;
  --dark-2: #352312;
  --text: #3a2818;
  --text-muted: #74614a;
  --white: #ffffff;
  --cover-bg: #120f0d;
  --rsvp-bg: #22170f;
  --countdown-bg: #17100a;
  --radius: 12px;
  --shadow: 0 6px 32px rgba(0, 0, 0, 0.12);
  --transition: 0.35s ease;

  --ff-script: "Great Vibes", cursive;
  --ff-serif: "Playfair Display", serif;
  --ff-sans: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
}

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ── Utility ───────────────────────────────────────── */
.hidden {
  display: none !important;
}

/* =====================================================
   MUSIC TOGGLE
   ===================================================== */
.music-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(13, 17, 23, 0.85);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.music-toggle:hover {
  background: var(--gold);
  color: var(--dark);
}
.music-toggle.playing {
  animation: spin 3s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =====================================================
   COVER PAGE
   ===================================================== */
.cover {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(201, 168, 76, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08),
      transparent 25%
    ),
    linear-gradient(140deg, #0d1117 0%, #1a0d00 45%, #0d1117 100%);
  transition:
    transform 0.9s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.7s ease;
}

.cover::before,
.cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.2);
  filter: blur(0.5px);
  animation: float 10s ease-in-out infinite;
}

.cover::before {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -100px;
}

.cover::after {
  width: 280px;
  height: 280px;
  bottom: -120px;
  right: -90px;
  animation-delay: -3s;
}

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

/* subtle radial glow */
.cover-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 76, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Corner ornaments */
.corner {
  position: absolute;
  width: 80px;
  height: 80px;
  border-color: rgba(201, 168, 76, 0.5);
  border-style: solid;
  pointer-events: none;
}
.corner-tl {
  top: 20px;
  left: 20px;
  border-width: 2px 0 0 2px;
}
.corner-tr {
  top: 20px;
  right: 20px;
  border-width: 2px 2px 0 0;
}
.corner-bl {
  bottom: 20px;
  left: 20px;
  border-width: 0 0 2px 2px;
}
.corner-br {
  bottom: 20px;
  right: 20px;
  border-width: 0 2px 2px 0;
}

.cover-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  max-width: 460px;
  width: min(92vw, 460px);
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(0, 0, 0, 0.18) 100%
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
  animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cover-bismillah {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  direction: rtl;
}

.cover-sub {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.cover-names-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  margin: 0.75rem 0;
}

.cover-bride,
.cover-groom {
  font-family: var(--ff-script);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.1;
}

.cover-and {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--gold);
  margin: 0.1rem 0;
}

.cover-date-text {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
}

.cover-divider-line {
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0.5rem 0;
}

.cover-to-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cover-guest-name {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: var(--gold-light);
  font-style: italic;
  min-height: 2rem;
}

.btn-open {
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
.btn-open:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn,
.btn-open {
  transform: translateY(0);
}

.btn:hover,
.btn-open:hover {
  box-shadow: 0 12px 24px rgba(58, 40, 24, 0.16);
}

/* =====================================================
   MAIN INVITATION
   ===================================================== */
.invitation {
  background: var(--cream);
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
  pointer-events: none;
}
.invitation.visible {
  opacity: 1;
  pointer-events: auto;
}

.invitation.visible .quick-nav-mobile {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Reveal animation on scroll ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal {
  will-change: transform, opacity;
}

/* ── Section Header ─────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--dark-2);
  white-space: nowrap;
}
.section-header.dark h2 {
  color: var(--gold-light);
}

.ornament-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.ornament-line:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}
.ornament-line.dark {
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.5));
}
.ornament-line.dark:last-child {
  background: linear-gradient(to left, transparent, rgba(201, 168, 76, 0.5));
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.05em;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
}

.btn-light-outline {
  background: transparent;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-light);
}
.btn-light-outline:hover {
  background: rgba(201, 168, 76, 0.15);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.section-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(201, 168, 76, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08),
      transparent 24%
    ),
    linear-gradient(145deg, #0d1117 0%, #1a0d00 48%, #0d1117 100%);
}

.section-hero::before,
.section-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.section-hero::before {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -80px;
}

.section-hero::after {
  width: 260px;
  height: 260px;
  bottom: -100px;
  right: -70px;
  animation-delay: -5s;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(201, 168, 76, 0.1) 0%,
    transparent 80%
  );
  pointer-events: none;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 700px);
  padding: 1rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.2rem 1.6rem;
  max-width: 100%;
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(0, 0, 0, 0.16) 100%
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  animation: fadeInUp 1.2s ease both;
}

.hero-ornament {
  position: absolute;
  z-index: 0;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ornament-1 {
  top: 12%;
  left: 8%;
  animation: float 8s ease-in-out infinite;
}

.hero-ornament-2 {
  bottom: 14%;
  right: 8%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-bismillah {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 3.5vw, 1.3rem);
  color: var(--gold);
  direction: rtl;
  margin-bottom: 1.5rem;
}

.hero-intro {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-couple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.hero-bride,
.hero-groom {
  font-family: var(--ff-script);
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
}
.hero-and {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--gold);
}

.hero-date-badge {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.4rem 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 40px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(201, 168, 76, 0.6);
  font-size: 1.1rem;
  animation: bounce 1.6s ease infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.03);
  }
}

/* =====================================================
   STORY SECTION
   ===================================================== */
.section-story {
  padding: 0 1.5rem 2rem;
  background: var(--cream);
}

.story-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #fffdfa 0%, #fff2db 100%);
  border: 1px solid rgba(194, 154, 75, 0.3);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(58, 40, 24, 0.09);
  text-align: center;
}

.story-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.55rem;
}

.story-card h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--dark-2);
  margin-bottom: 0.8rem;
}

.story-card p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 0.92rem;
}

.story-highlights {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.story-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(194, 154, 75, 0.25);
  color: var(--gold-dark);
  font-size: 0.8rem;
}

.story-item i {
  color: var(--gold);
}

/* =====================================================
   COUPLE SECTION
   ===================================================== */
.section-couple {
  background: var(--cream);
  padding: 4rem 1.5rem 5rem;
}

.couple-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 280px));
  justify-content: center;
  gap: 3.2rem;
  max-width: 740px;
  margin: 0 auto;
}

.couple-card {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, #fffdf8 0%, #fdf5e8 100%);
  border: 1px solid rgba(194, 154, 75, 0.34);
  border-radius: 22px;
  padding: 1.2rem 1rem 1.3rem;
  box-shadow: 0 14px 30px rgba(58, 40, 24, 0.1);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

.couple-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), transparent 70%);
  pointer-events: none;
}

.couple-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 42px rgba(58, 40, 24, 0.16);
}

.photo-frame {
  width: 175px;
  height: 175px;
  margin: 0 auto 0.95rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow:
    0 0 0 6px var(--gold-pale),
    0 12px 24px rgba(58, 40, 24, 0.14);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame.no-photo::after {
  content: "Foto Belum Ditambahkan";
  font-family: var(--ff-sans);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  max-width: 95px;
  line-height: 1.4;
}

.mempelai-name {
  font-family: var(--ff-script);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--dark-2);
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.mempelai-role {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  margin-bottom: 0.55rem;
}

.mempelai-parents {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.love-icon {
  position: absolute;
  top: 128px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-dark);
  background: #fff4dd;
  border: 1px solid rgba(194, 154, 75, 0.45);
  box-shadow: 0 10px 18px rgba(58, 40, 24, 0.15);
  z-index: 2;
}

/* =====================================================
   QURAN SECTION
   ===================================================== */
.section-quran {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #0d1117 0%, #1a0d00 100%);
  text-align: center;
}

.quran-wrap {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.quran-arabic {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  color: var(--gold);
  direction: rtl;
  line-height: 2;
  margin-bottom: 1.2rem;
}

.quran-latin {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 0.8rem;
}

.quran-source {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* =====================================================
   EVENTS SECTION
   ===================================================== */
.section-events {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #fffefb 0%, #fdf7ec 100%);
}

.events-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto;
}

.event-card {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 340px;
  background: linear-gradient(135deg, #fffefb 0%, #fff4dc 100%);
  border: 1px solid rgba(194, 154, 75, 0.4);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(201, 168, 76, 0.16),
    transparent 35%
  );
  pointer-events: none;
}

.event-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(58, 40, 24, 0.16);
}

.event-type {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(194, 154, 75, 0.45);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.75);
}

.event-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-dark);
}

.event-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--dark-2);
}

.event-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.event-details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  justify-content: center;
}
.event-details li i {
  color: var(--gold);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.event-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.4rem;
}

.event-actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.76rem;
}

/* =====================================================
   COUNTDOWN SECTION
   ===================================================== */
.section-countdown {
  padding: 5rem 1.5rem;
  background: var(--countdown-bg);
  text-align: center;
}

.countdown-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.count-num {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.count-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.count-sep {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--gold);
  font-weight: 600;
  margin-top: -8px;
}

.countdown-done {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.add-cal-wrap {
  margin-top: 1.5rem;
}

/* =====================================================
   LIVE STREAM SECTION
   ===================================================== */
.section-stream {
  padding: 5rem 1.5rem;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(194, 154, 75, 0.15),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 85%,
      rgba(194, 154, 75, 0.1),
      transparent 50%
    ),
    linear-gradient(150deg, #fff8ea 0%, #fff2d8 100%);
}

.stream-wrap {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid rgba(194, 154, 75, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(61, 34, 0, 0.12);
  padding: 2.2rem 1.6rem;
  text-align: center;
}

.stream-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.stream-wrap h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--dark-2);
  margin-bottom: 0.8rem;
}

.stream-wrap p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.88rem;
}

.stream-actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.section-gallery {
  padding: 5rem 1.5rem;
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gold-pale);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-placeholder {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  max-width: 480px;
  margin: 0 auto;
}
.gallery-placeholder code {
  background: var(--gold-pale);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ── Lightbox ────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
}
.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--dark);
}

/* =====================================================
   MAPS SECTION
   ===================================================== */
.section-maps {
  padding: 5rem 1.5rem;
  background: var(--white);
  text-align: center;
}

.maps-address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.maps-address strong {
  color: var(--dark-2);
  font-size: 1rem;
}
.maps-address i {
  color: var(--gold);
  margin-right: 0.3rem;
}

.maps-frame {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--gold-light);
}

/* =====================================================
   RSVP SECTION
   ===================================================== */
.section-rsvp {
  padding: 5rem 1.5rem;
  background: var(--rsvp-bg);
}

.rsvp-deadline {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.rsvp-deadline strong {
  color: var(--gold);
}

.rsvp-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-group label i {
  color: var(--gold);
  width: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  color: var(--white);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* =====================================================
   GIFT SECTION
   ===================================================== */
.section-gift {
  padding: 5rem 1.5rem;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(201, 168, 76, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(201, 168, 76, 0.1),
      transparent 45%
    ),
    linear-gradient(160deg, #fffaf2 0%, #fff4de 100%);
  text-align: center;
}

.gift-intro {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.gift-grid {
  max-width: 920px;
  margin: 0 auto 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gift-card {
  border-radius: var(--radius);
  border: 1px solid rgba(139, 94, 23, 0.18);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(3px);
  padding: 1.4rem 1.2rem;
  box-shadow: 0 14px 26px rgba(61, 34, 0, 0.08);
  text-align: left;
}

.gift-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.gift-card h3 {
  font-family: var(--ff-serif);
  color: var(--dark-2);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.gift-name {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.gift-number {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  word-break: break-word;
}

.gift-card-address p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.gift-card-address span {
  color: var(--gold-dark);
}

/* =====================================================
   WISHES SECTION
   ===================================================== */
.section-wishes {
  padding: 5rem 1.5rem;
  background: var(--cream);
}

.wishes-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wish-card {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.wish-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.wish-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  flex-shrink: 0;
}

.wish-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark-2);
}

.wish-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-weight: 500;
}
.wish-badge.hadir {
  background: #d4edda;
  color: #155724;
}
.wish-badge.tidak {
  background: #f8d7da;
  color: #721c24;
}
.wish-badge.mungkin {
  background: #fff3cd;
  color: #856404;
}

.wish-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
}

.wish-date {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.35);
  margin-top: 0.4rem;
}

.wishes-empty {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 2rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.section-footer {
  padding: 4rem 1.5rem;
  background: linear-gradient(160deg, #0d1117 0%, #1a0d00 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-ornament {
  letter-spacing: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-couple {
  font-family: var(--ff-script);
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: var(--white);
}

.footer-date {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-message {
  max-width: 480px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
}

.footer-closing {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.footer-made {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1rem;
}

/* =====================================================
   QUICK NAV MOBILE
   ===================================================== */
.quick-nav-mobile {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(16px);
  z-index: 9998;
  width: min(520px, calc(100% - 20px));
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 0.42rem;
  border-radius: 14px;
  background: rgba(24, 17, 10, 0.88);
  border: 1px solid rgba(232, 205, 152, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.quick-nav-item {
  border-radius: 10px;
  padding: 0.46rem 0.25rem 0.36rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: var(--transition);
}

.quick-nav-item i {
  font-size: 0.82rem;
}

.quick-nav-item span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.quick-nav-item.active {
  background: rgba(194, 154, 75, 0.22);
  color: var(--gold-light);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 600px) {
  .section-couple {
    padding: 4.2rem 1rem;
  }
  .couple-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 330px;
    gap: 1rem;
  }
  .couple-card {
    padding: 1rem 0.8rem 1.1rem;
  }
  .photo-frame {
    width: 150px;
    height: 150px;
  }
  .love-icon {
    position: static;
    transform: none;
    margin: 0.05rem auto;
  }
  .events-grid {
    flex-direction: column;
    align-items: center;
  }
  .event-card {
    max-width: 100%;
    width: 100%;
  }
  .event-actions {
    flex-direction: column;
    width: 100%;
  }
  .event-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .countdown-wrap {
    gap: 0.3rem;
  }
  .countdown-box {
    padding: 0.75rem 0.8rem;
    min-width: 62px;
  }
  .corner {
    width: 50px;
    height: 50px;
  }
  .gift-grid {
    grid-template-columns: 1fr;
  }
  .stream-wrap {
    padding: 1.8rem 1.1rem;
  }
  .quick-nav-mobile {
    display: grid;
  }
  .section-footer {
    padding-bottom: 6.6rem;
  }
}

@media (max-width: 380px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .count-sep {
    display: none;
  }
  .quick-nav-item span {
    font-size: 0.58rem;
  }
}
