/* ========================================================
   PLATINUM EDITION (Rp 5.000.000) — Kirana & Arka
   10x Premium Features & Visual Design System:
   - Royal Monogram & VIP Gatepass Ticket Modal
   - Equalizer Audio Waveform Visualizer
   - Dress Code Palette & Guest Guidelines Card
   - Calendar Integration & Map Action Buttons
   - Gallery Category Filter Tabs
   - Confirmed Guest Counter Badge
   - Ultra Smooth 60fps Micro-Animations
   ======================================================== */

/* ── Color Palette ── */
:root {
  --bg-cream: #FAF6F0;       /* Ivory Cream background */
  --bg-white: #FFFFFF;       /* Crisp White card background */
  --bg-card-alt: #F4ECE1;    /* Subtle warm cream accent */
  --gold: #C9A84C;           /* Champagne Gold */
  --gold-deep: #9A7B1C;      /* Deep Gold for readable text */
  --gold-light: #E8D5A3;     /* Light Gold highlight */
  --gold-dim: rgba(201, 168, 76, 0.25);
  --gold-glow: rgba(201, 168, 76, 0.45);
  
  --ink-dark: #2C2416;       /* Espresso Dark text for contrast */
  --ink-muted: #6E6352;      /* Muted brown body text */

  --shadow-soft: 0 8px 30px rgba(44, 36, 22, 0.06);
  --shadow-medium: 0 16px 45px rgba(44, 36, 22, 0.12);
  --shadow-gold: 0 10px 30px rgba(201, 168, 76, 0.35);

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', 'Dancing Script', cursive;
  --font-body: 'Jost', 'Source Sans 3', sans-serif;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-cinematic: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-dark);
  background-color: var(--bg-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; height: 100dvh; }

img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; position: relative; overflow: hidden; }
a { color: var(--gold-deep); text-decoration: none; }

/* ── Typography ── */
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 400;
  color: var(--gold-deep);
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.gold-text {
  color: var(--gold-deep);
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.9),
    0 0 25px rgba(201, 168, 76, 0.25);
}

.section-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 3rem;
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }

/* ── Layout ── */
.section {
  position: relative;
  padding: 5.5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ── SVG Botanical Corners ── */
.ornament {
  position: absolute;
  width: 110px;
  height: 110px;
  color: var(--gold);
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}
.ornament--tl { top: 15px; left: 15px; }
.ornament--tr { top: 15px; right: 15px; transform: scaleX(-1); }
.ornament--bl { bottom: 15px; left: 15px; transform: scaleY(-1); }
.ornament--br { bottom: 15px; right: 15px; transform: scale(-1); }

/* ── Botanical Divider ── */
.botanical-divider {
  display: block;
  width: 200px;
  max-width: 80%;
  height: 30px;
  margin: 1.5rem auto;
  color: var(--gold);
}


/* ================================================
   1. AMBIENT GOLD SPARKLES PARTICLES
   ================================================ */
.sparkles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE49E 0%, #C9A84C 70%, transparent 100%);
  box-shadow: 0 0 8px var(--gold-glow);
  opacity: 0;
  animation: floatSparkle linear infinite;
}

@keyframes floatSparkle {
  0% {
    transform: translateY(105vh) scale(0.3) rotate(0deg);
    opacity: 0;
  }
  20% { opacity: var(--s-opacity, 0.7); }
  80% { opacity: calc(var(--s-opacity, 0.7) * 0.5); }
  100% {
    transform: translateY(-5vh) scale(1.2) rotate(360deg);
    opacity: 0;
  }
}


/* ================================================
   2. SHIMMER CARD & RIPPLE BUTTON EFFECTS
   ================================================ */
.shimmer-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease-smooth);
}

.shimmer-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(201, 168, 76, 0.18) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: rotate(25deg);
  transition: left 0.8s ease-in-out;
  pointer-events: none;
}

.shimmer-card:hover::after { left: 150%; }
.shimmer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 36, 22, 0.12), 0 0 25px rgba(201, 168, 76, 0.2);
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
  pointer-events: none;
}
button:active .btn-ripple {
  width: 250px;
  height: 250px;
  opacity: 0;
}


/* ================================================
   3. COVER (SAMPUL PEMBUKA ROYAL)
   ================================================ */
.cover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 120px rgba(201, 168, 76, 0.15);
}

.cover__inner {
  position: relative;
  z-index: 5;
  padding: 3.25rem 2.25rem;
  max-width: 440px;
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  box-shadow: var(--shadow-medium);
}
.cover__inner::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}

.vip-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  background-color: var(--bg-card-alt);
  padding: 0.25rem 0.85rem;
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.cover__label {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.cover__names {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 4.8rem);
  font-weight: 300;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.cover__date {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.cover__to {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.7;
  margin-bottom: 0.2rem;
}

.cover__guest {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-deep);
  margin-bottom: 2.25rem;
  font-weight: 500;
}

/* Gold Wax Seal Button */
.cover__btn {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37 0%, #C9A84C 50%, #B8860B 100%);
  color: var(--bg-white);
  border: 3px solid var(--bg-white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
  position: relative;
  box-shadow:
    0 0 0 2px var(--gold),
    var(--shadow-gold);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease-smooth);
}
.cover__btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 0 3px var(--gold),
    0 14px 40px rgba(201, 168, 76, 0.5);
}
.cover__btn:active { transform: scale(0.95); }

/* Cover Exit Animation — Royal Curtain Up & Fade */
.cover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 120px rgba(201, 168, 76, 0.15);
  transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 1.2s var(--ease-smooth), visibility 1.4s;
  will-change: transform, opacity;
}

.cover.opened {
  transform: translateY(-100%) scale(1.02);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Main Content Smooth Scale & Fade-In Transition */
.main-content {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.main-content.opened {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ================================================
   4. HERO (ROYAL CREST & KEN-BURNS)
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -60px;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ken-burns {
  animation: kenBurns 22s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250, 246, 240, 0.68) 0%, rgba(250, 246, 240, 0.88) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 3.5rem 2rem;
  max-width: 640px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-dim);
  box-shadow: var(--shadow-medium);
}
.hero__content::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}

.royal-monogram {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero__label {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.hero__names {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero__date {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.hero__verse {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-dark);
  opacity: 0.85;
  max-width: 400px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
}


/* ================================================
   5. COUNTDOWN
   ================================================ */
.countdown { text-align: center; }

.countdown__grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.countdown__item {
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  border-top: 3px solid var(--gold);
  width: 82px;
  padding: 1.25rem 0.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.countdown__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
  display: block;
}
.countdown__number.flip {
  animation: flipNum 0.4s var(--ease-bounce);
}
@keyframes flipNum {
  0%   { transform: translateY(-8px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

.countdown__label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.5rem;
  opacity: 0.8;
}

.timezone-badge {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.7;
}


/* ================================================
   6. CERITA KAMI — Timeline
   ================================================ */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline__vine {
  position: absolute;
  left: 12px;
  top: 0;
  width: 2px;
  height: 100%;
}
.timeline__vine line {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 3s var(--ease-out);
}
.timeline__vine.visible line {
  stroke-dashoffset: 0;
}

.timeline__item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.timeline__item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50% 0 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(201, 168, 76, 0.4);
}

.timeline__date {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--gold-deep);
}
.timeline__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-dark);
  margin-bottom: 0.3rem;
}
.timeline__text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}


/* ================================================
   7. COUPLE PROFILE — Oval Frames
   ================================================ */
.couple__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.couple__card {
  text-align: center;
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.couple__card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}

.couple__photo-wrapper {
  position: relative;
  width: 180px;
  height: 220px;
  margin: 0 auto 1.5rem;
}

.couple__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
}

.couple__frame-svg {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  color: var(--gold);
  pointer-events: none;
}

.couple__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--gold-deep);
  margin-bottom: 0.1rem;
}
.couple__fullname {
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.couple__parents {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.couple__ampersand {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.5;
  text-align: center;
  line-height: 1;
  margin: -1rem 0;
}


/* ================================================
   8. EVENT DETAILS & CALENDAR ACTION BUTTONS
   ================================================ */
.events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.event__card {
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.event__card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}

.event__icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.event__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.event__datetime {
  font-size: 0.95rem;
  color: var(--ink-dark);
  margin-bottom: 0.25rem;
}
.event__location {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.event__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-maps {
  background-color: var(--gold);
  color: var(--bg-white);
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s var(--ease-bounce);
}
.btn-maps:hover {
  background-color: var(--gold-deep);
  transform: translateY(-2px);
}

.btn-cal {
  background-color: var(--bg-card-alt);
  color: var(--gold-deep);
  border: 1px solid var(--gold-dim);
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-bounce);
}
.btn-cal:hover {
  background-color: var(--gold-deep);
  color: var(--bg-white);
  transform: translateY(-2px);
}


/* ================================================
   9. DRESS CODE & GUIDELINES CARD
   ================================================ */
.guidelines__card {
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.guidelines__card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}

.guideline__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.guideline__desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.color-palette {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  box-shadow: 0 4px 12px rgba(44, 36, 22, 0.15), 0 0 0 1px var(--gold-dim);
  transition: transform 0.3s var(--ease-bounce);
}
.swatch:hover { transform: scale(1.15); }

.guidelines__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--gold-dim);
  padding-top: 2rem;
}

.guideline__item {
  text-align: center;
}
.guideline__icon { font-size: 1.6rem; display: block; margin-bottom: 0.4rem; }
.guideline__item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-deep);
  margin-bottom: 0.2rem;
}
.guideline__item p {
  font-size: 0.85rem;
  color: var(--ink-muted);
}


/* ================================================
   10. GALLERY CATEGORY TABS
   ================================================ */
.gallery { overflow: hidden; }

.gallery__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery__tab {
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  color: var(--ink-muted);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  transition: all 0.3s var(--ease-smooth);
}
.gallery__tab.active,
.gallery__tab:hover {
  background-color: var(--gold-deep);
  color: var(--bg-white);
  border-color: var(--gold-deep);
  box-shadow: var(--shadow-gold);
}

.clothesline {
  position: relative;
  padding-top: 40px;
  padding-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}

.clothesline::before {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 2px;
  background-color: var(--gold);
  opacity: 0.4;
}

.clothesline__item {
  display: inline-block;
  vertical-align: top;
  margin: 0 0.75rem;
  position: relative;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.4s var(--ease-bounce), opacity 0.4s, filter 0.4s;
}
.clothesline__item:hover {
  transform: rotate(0deg) scale(1.05) !important;
  z-index: 2;
}
.clothesline__item.hide {
  opacity: 0.2;
  filter: grayscale(80%);
  pointer-events: none;
}

.clothesline__pin {
  width: 8px;
  height: 24px;
  background-color: var(--gold-deep);
  margin: 0 auto -3px;
  border-radius: 2px 2px 0 0;
  position: relative;
  z-index: 1;
}

.clothesline__img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  border: 6px solid var(--bg-white);
  box-shadow: var(--shadow-medium);
  display: block;
}


/* ================================================
   11. RSVP FORM & CONFIRMED GUEST BADGE
   ================================================ */
.rsvp { text-align: center; }

.guest-count-badge {
  display: inline-block;
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.count-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-right: 0.2rem;
}

.rsvp__form {
  background-color: var(--bg-white);
  border: 1px solid var(--gold-dim);
  padding: 2.5rem 2rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.rsvp__form::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}

.form-group { margin-bottom: 1.5rem; position: relative; z-index: 1; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-dark);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gold-dim);
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--gold-deep);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.5;
}
.form-group textarea {
  resize: vertical;
  min-height: 75px;
  border: 1px solid var(--gold-dim);
  padding: 0.6rem;
  margin-top: 0.2rem;
}

.radio-group { display: flex; gap: 1.5rem; margin-top: 0.2rem; }
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  cursor: pointer;
  color: var(--ink-dark);
}
.radio-group input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--gold-deep);
}

.btn-submit {
  display: block;
  width: 100%;
  background-color: var(--gold);
  color: var(--bg-white);
  border: none;
  padding: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s var(--ease-bounce);
  position: relative;
  z-index: 1;
}
.btn-submit:hover {
  background-color: var(--gold-deep);
  transform: translateY(-2px);
}


/* ================================================
   12. UCAPAN & DOA
   ================================================ */
.wishes__board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.wish-note {
  background-color: var(--bg-white);
  border-top: 3px solid var(--gold);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-smooth);
}
.wish-note:hover { transform: rotate(0deg) !important; }

.wish-note__author {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}
.wish-note__text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.wish-note__time {
  font-size: 0.7rem;
  color: var(--ink-muted);
  opacity: 0.5;
  margin-top: 0.6rem;
}
.wishes__empty {
  text-align: center;
  color: var(--ink-muted);
  font-style: italic;
  grid-column: 1 / -1;
  padding: 2rem;
}


/* ================================================
   13. PENUTUP / FOOTER
   ================================================ */
.closing {
  text-align: center;
  padding-bottom: 7rem;
}

.closing__thanks {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}
.closing__message {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--gold);
  max-width: 380px;
  margin: 0 auto 1.5rem;
}
.closing__couple {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold-deep);
}


/* ================================================
   14. EQUALIZER AUDIO VISUALIZER & MUSIC TOGGLE
   ================================================ */
.music-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s var(--ease-bounce);
  opacity: 0;
  pointer-events: none;
}
.music-toggle.visible { opacity: 1; pointer-events: auto; }
.music-toggle:hover { transform: scale(1.1); }

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.equalizer .bar {
  width: 3px;
  height: 4px;
  background-color: var(--gold-deep);
  border-radius: 2px;
  transition: height 0.2s ease;
}
.music-toggle.playing .equalizer .bar:nth-child(1) { animation: eqBar 0.8s ease-in-out infinite alternate; }
.music-toggle.playing .equalizer .bar:nth-child(2) { animation: eqBar 1.1s ease-in-out infinite alternate 0.2s; }
.music-toggle.playing .equalizer .bar:nth-child(3) { animation: eqBar 0.9s ease-in-out infinite alternate 0.4s; }
.music-toggle.playing .equalizer .bar:nth-child(4) { animation: eqBar 1.2s ease-in-out infinite alternate 0.1s; }

@keyframes eqBar {
  0%   { height: 4px; }
  100% { height: 18px; }
}

.toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--gold-deep);
  color: var(--bg-white);
  padding: 0.75rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
  white-space: nowrap;
  box-shadow: var(--shadow-medium);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(44, 36, 22, 0.88);
  backdrop-filter: blur(5px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox__img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  border: 6px solid var(--bg-white);
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  background-color: var(--bg-white);
  color: var(--ink-dark);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-bounce);
}
.lightbox__close:hover { transform: scale(1.1); }


/* ================================================
   STAGGERED MOTION
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.reveal.visible .reveal-stagger > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal.visible .reveal-stagger > *:nth-child(2) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal.visible .reveal-stagger > *:nth-child(3) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal.visible .reveal-stagger > *:nth-child(4) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

.section-sep {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 1px;
  background-color: var(--gold-dim);
}


/* ================================================
   RESPONSIVE — 768px & 1024px
   ================================================ */
@media (min-width: 768px) {
  .couple__grid { grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
  .couple__ampersand { margin: 0; }
  .events__grid { grid-template-columns: 1fr 1fr; }
  .guidelines__grid { grid-template-columns: 1fr 1fr; }

  .timeline { padding-left: 0; max-width: 600px; margin: 0 auto; }
  .timeline__vine { left: 50%; transform: translateX(-50%); }
  .timeline__item { width: 46%; padding-left: 0; }
  .timeline__item:nth-child(odd) { text-align: right; padding-right: 2rem; transform: translateX(-20px); }
  .timeline__item:nth-child(odd).visible { transform: translateX(0); }
  .timeline__item:nth-child(even) { margin-left: auto; padding-left: 2rem; transform: translateX(20px); }
  .timeline__item:nth-child(even).visible { transform: translateX(0); }
  .timeline__item:nth-child(odd)::before { left: auto; right: -33px; transform: rotate(135deg); }
  .timeline__item:nth-child(even)::before { left: -33px; }

  .countdown__item { width: 100px; }
  .countdown__number { font-size: 3rem; }
  .clothesline__img { width: 220px; height: 280px; }
}

@media (min-width: 1024px) {
  .section { padding: 6.5rem 2rem; }
  .countdown__item { width: 120px; padding: 1.5rem 0.5rem 1.25rem; }
  .countdown__number { font-size: 3.5rem; }
  .clothesline__img { width: 240px; height: 320px; }
  .couple__photo-wrapper { width: 200px; height: 250px; }
}
