/* ═══════════════════════════════════════════════════════════════
   UNDANGAN PERNIKAHAN MUSLIM — GLOBAL STYLESHEET
   ═══════════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Great+Vibes&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=Amiri:ital@0;1&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Colors - Royal Burgundy & Gold Theme */
  --color-ivory:      #FAF6F0; /* Soft warm ivory */
  --color-cream:      #F4E3DC; /* Light warm cream */
  --color-beige:      #E6C5BE; /* Soft rose beige */
  --color-champagne:  #D4AF37; /* Royal gold */
  --color-champagne-light: #F3E5AB; /* Light gold */
  --color-champagne-dark:  #AA851C; /* Dark gold */
  --color-blush:      #8B2635; /* Deep burgundy */
  --color-blush-light:#B83E51; /* Lighter burgundy */
  --color-text-dark:  #300C12; /* Deepest burgundy/black */
  --color-text-muted: #5C3D42; /* Muted warm burgundy */
  --color-text-light: #9B7E82; /* Light burgundy grey */
  --color-overlay:    rgba(48, 12, 18, 0.55); /* Deep burgundy overlay */
  --color-cover-bg:   #2C050B; /* Deep wine burgundy */

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-script:  'Great Vibes', cursive;
  --font-body:    'DM Sans', sans-serif;
  --font-arabic:  'Amiri', serif;

  /* Spacing */
  --section-padding:  clamp(60px, 10vw, 120px);
  --container-max:    720px;
  --container-wide:   1000px;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(48, 12, 18, 0.08);
  --shadow-md:  0 8px 30px rgba(48, 12, 18, 0.12);
  --shadow-lg:  0 20px 60px rgba(48, 12, 18, 0.18);
  --shadow-glow: 0 0 30px rgba(212, 175, 87, 0.25);

  /* Transitions */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slide:  cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast:   200ms;
  --duration-normal: 400ms;
  --duration-slow:   800ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-ivory);
  color: var(--color-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── PREFERS-REDUCED-MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .petal { display: none !important; }
}

/* ─── UTILITY CLASSES ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--container-wide);
}

.text-champagne { color: var(--color-champagne); }
.text-muted     { color: var(--color-text-muted); }
.text-center    { text-align: center; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--transition-smooth),
              transform var(--duration-slow) var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ─── SECTION COMMON ─────────────────────────────────────────── */
.section {
  padding: var(--section-padding) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--color-text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* ─── DIVIDER ────────────────────────────────────────────────── */
.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(32px, 5vw, 56px) auto;
  opacity: 0.85;
}

.divider img,
.divider svg {
  max-width: min(600px, 90vw);
  height: auto;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all var(--duration-normal) var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--transition-smooth);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn--primary {
  background: var(--color-champagne);
  color: var(--color-ivory);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
}

.btn--primary:hover {
  background: var(--color-champagne-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
}

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

.btn--outline:hover {
  background: var(--color-champagne);
  color: var(--color-ivory);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(201, 169, 110, 0.1);
  color: var(--color-champagne);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.btn--ghost:hover {
  background: rgba(201, 169, 110, 0.2);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* ─── TOAST NOTIFICATION ─────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-text-dark);
  color: var(--color-ivory);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--transition-smooth),
              transform var(--duration-normal) var(--transition-smooth);
  box-shadow: var(--shadow-lg);
}

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

/* ══════════════════════════════════════════════════════════════
   OPENING / COVER SCREEN
   ══════════════════════════════════════════════════════════════ */
#cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: var(--color-cover-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  overflow: hidden;
}

#cover .cover-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg-main.webp');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

#cover .cover-overlay {
  display: none;
}

#cover .cover-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 100%;
}

/* Corner decorations positioned absolute */
.corner-dec-left,
.corner-dec-right {
  position: absolute;
  top: 0;
  width: clamp(120px, 20vw, 220px);
  height: auto;
  z-index: 5;
  pointer-events: none;
  opacity: 0.85;
}

.corner-dec-left {
  left: 0;
}

.corner-dec-right {
  right: 0;
  transform: scaleX(-1);
}

/* Wax Seal Open Button */
.open-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
  position: relative;
  z-index: 10;
}

.click-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-champagne);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  animation: bounceHint 2s infinite ease-in-out;
}

.click-text {
  font-weight: 500;
  text-transform: uppercase;
}

.click-arrow {
  font-size: 1.3rem;
  margin-top: -2px;
}

.cover-open-wax-seal {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform var(--duration-normal) var(--transition-bounce);
}

.wax-seal-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  animation: pulseGlow 2.5s infinite ease-in-out;
  transition: all var(--duration-normal) var(--transition-smooth);
}

.cover-open-wax-seal:hover .wax-seal-img {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 10px rgba(212, 175, 55, 0.5);
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4), 0 0 5px rgba(212, 175, 55, 0.2);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 15px rgba(212, 175, 55, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4), 0 0 5px rgba(212, 175, 55, 0.2);
  }
}

.cover-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.8);
  margin-bottom: 8px;
}

/* Guest name sticker box */
.cover-guest-label {
  display: inline-block;
  background: rgba(250, 246, 240, 0.92);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-md);
  padding: 10px 28px 12px;
  margin: 14px auto 20px;
  box-shadow:
    0 2px 12px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.5);
  position: relative;
  max-width: 90%;
}

.cover-guest-label::before,
.cover-guest-label::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background: rgba(212, 175, 55, 0.25);
  border-radius: 2px;
}
.cover-guest-label::before { left: 8px; }
.cover-guest-label::after  { right: 8px; }

.cover-to {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-guest-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.5vw, 1.4rem);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 0;
  line-height: 1.3;
}

.cover-bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: rgba(201, 169, 110, 0.75);
  margin-bottom: 24px;
  direction: rtl;
}

.cover-couple {
  margin-bottom: 12px;
}

.cover-bride-name,
.cover-groom-name {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 8vw, 4rem);
  color: var(--color-ivory);
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.cover-ampersand {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--color-champagne);
  display: block;
  margin: 4px 0;
}

.cover-date {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(250, 247, 242, 0.65);
  margin-bottom: 36px;
  text-transform: uppercase;
}

.cover-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: transparent;
  border: 1.5px solid rgba(201, 169, 110, 0.6);
  border-radius: var(--radius-full);
  color: var(--color-champagne-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all var(--duration-slow) var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cover-open-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 169, 110, 0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--transition-smooth);
}

.cover-open-btn:hover {
  border-color: var(--color-champagne);
  color: var(--color-ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.25);
}

.cover-open-btn:hover::before {
  transform: scaleX(1);
}

.cover-open-btn .btn-icon {
  font-size: 1rem;
  animation: envelope-bounce 2s ease-in-out infinite;
}

/* Cover closing animation */
#cover.closing {
  animation: coverSlideUp 1.2s var(--transition-slide) forwards;
}

@keyframes coverSlideUp {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; pointer-events: none; }
}

/* ─── FLOATING PETALS ────────────────────────────────────────── */
.petal {
  position: absolute;
  width: clamp(20px, 4vw, 40px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

.petal-1  { animation: floatPetal1 9s  ease-in-out infinite; left: 8%; top: -10%; }
.petal-2  { animation: floatPetal2 11s ease-in-out 1.5s infinite; left: 20%; top: -5%; }
.petal-3  { animation: floatPetal1 8s  ease-in-out 3s   infinite; left: 35%; top: -15%; }
.petal-4  { animation: floatPetal2 12s ease-in-out 0.7s infinite; left: 55%; top: -8%; }
.petal-5  { animation: floatPetal1 10s ease-in-out 2s   infinite; left: 70%; top: -12%; }
.petal-6  { animation: floatPetal2 7s  ease-in-out 4s   infinite; left: 85%; top: -5%; }
.petal-7  { animation: floatPetal1 13s ease-in-out 1s   infinite; left: 48%; top: -18%; }
.petal-8  { animation: floatPetal2 9s  ease-in-out 2.5s infinite; left: 92%; top: -10%; }

@keyframes floatPetal1 {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(110vh) translateX(40px) rotate(180deg); opacity: 0; }
}

@keyframes floatPetal2 {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { transform: translateY(55vh) translateX(-30px) rotate(90deg); }
  90%  { opacity: 0.4; }
  100% { transform: translateY(110vh) translateX(20px) rotate(220deg); opacity: 0; }
}

@keyframes envelope-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* ══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════════════════════════ */
#main-content {
  display: none;
}

#main-content.visible {
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 1 — HERO
   ══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* Hero florals removed */

.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: rgba(201, 169, 110, 0.8);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  display: block;
}

.hero-couple-names {
  margin-bottom: 28px;
}

.hero-bride-name,
.hero-groom-name {
  font-family: var(--font-script);
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: var(--color-ivory);
  display: block;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-ampersand {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-champagne-light);
  display: block;
  margin: 4px 0;
}

.hero-date {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ivory);
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-champagne), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 2 — QUR'AN VERSE
   ══════════════════════════════════════════════════════════════ */
#quran {
  background: var(--color-cream);
  padding: clamp(56px, 9vw, 100px) 0;
}

.quran-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  color: var(--color-text-dark);
  direction: rtl;
  line-height: 2;
  margin-bottom: 28px;
  text-align: center;
}

.quran-translation {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 16px;
  line-height: 1.9;
}

.quran-source {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-champagne);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 3 — COUPLE
   ══════════════════════════════════════════════════════════════ */
#couple {
  background: var(--color-ivory);
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.couple-card {
  text-align: center;
}

.couple-photo-wrapper {
  position: relative;
  width: clamp(180px, 40vw, 280px);
  height: auto;
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
}

.couple-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(61, 43, 31, 0.15));
}

.couple-name {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--color-text-dark);
  margin-bottom: 4px;
  line-height: 1.2;
}

.couple-fullname {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 400;
  color: var(--color-champagne);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.couple-parents {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.couple-parents .parent-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 4px;
  margin-top: 12px;
}

.couple-parents .parent-label:first-child {
  margin-top: 0;
}

.couple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--color-champagne);
  opacity: 0.6;
  line-height: 1;
  margin: -12px 0;
  order: 2;
}

@media (max-width: 600px) {
  .couple-grid {
    grid-template-columns: 1fr;
  }
  .couple-card:last-child {
    order: 3;
  }
  .couple-divider {
    order: 2;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 4 — LOVE STORY TIMELINE
   ══════════════════════════════════════════════════════════════ */
#love-story {
  background: var(--color-cream);
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--color-champagne) 15%,
    var(--color-champagne) 85%,
    transparent 100%);
  transform: translateX(-50%);
  opacity: 0.4;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
  position: relative;
  align-items: center;
}

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

/* Alternating — odd items: content left, year right */
.timeline-item:nth-child(odd) .timeline-year  { order: 2; text-align: left;  padding-left: 32px; }
.timeline-item:nth-child(odd) .timeline-content { order: 1; text-align: right; padding-right: 32px; }

/* Even items: year left, content right */
.timeline-item:nth-child(even) .timeline-year  { order: 1; text-align: right; padding-right: 32px; }
.timeline-item:nth-child(even) .timeline-content { order: 2; text-align: left;  padding-left: 32px; }

/* Center dot */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-champagne);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--color-cream), 0 0 0 6px rgba(201,169,110,0.3);
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 300;
  color: var(--color-champagne);
  opacity: 0.5;
  line-height: 1;
  align-self: center;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.timeline-description {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

@media (max-width: 600px) {
  .timeline::before {
    left: 16px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 44px;
    gap: 4px;
  }
  .timeline-item::before {
    left: 16px;
    top: 8px;
    transform: translate(-50%, 0);
  }
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    order: 1;
    text-align: left;
    padding: 0;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    opacity: 0.35;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    order: 2;
    text-align: left;
    padding: 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 5 — COUNTDOWN
   ══════════════════════════════════════════════════════════════ */
#countdown {
  background: var(--color-ivory);
  text-align: center;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  flex-wrap: wrap;
  margin-top: 40px;
}

.countdown-unit {
  background: var(--color-cream);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px) clamp(16px, 3vw, 28px);
  min-width: clamp(72px, 18vw, 100px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.countdown-unit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 300;
  color: var(--color-text-dark);
  line-height: 1;
  display: block;
  min-width: 2ch;
  position: relative;
}

.countdown-number.flip-out {
  animation: countFlipOut 0.25s ease-in forwards;
}

.countdown-number.flip-in {
  animation: countFlipIn 0.25s ease-out forwards;
}

@keyframes countFlipOut {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-12px); opacity: 0; }
}
@keyframes countFlipIn {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
  margin-top: 8px;
}

.countdown-done {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 400;
  color: var(--color-champagne);
  font-style: italic;
  margin-top: 40px;
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 6 — EVENTS
   ══════════════════════════════════════════════════════════════ */
#events {
  background: var(--color-cream);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 36px);
}

.events-grid:has(> :only-child) {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
}

.event-card {
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px) clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--transition-smooth),
              box-shadow var(--duration-normal) var(--transition-smooth);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-champagne), var(--color-blush));
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.event-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.event-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.event-detail-icon {
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.6;
}

.event-detail-text {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.event-detail-text strong {
  display: block;
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.event-maps-btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
  font-size: 0.8rem;
  padding: 11px 20px;
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 7 — GALLERY
   ══════════════════════════════════════════════════════════════ */
#gallery {
  background: var(--color-ivory);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 2vw, 16px);
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201, 169, 110, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-normal) var(--transition-smooth);
}

.gallery-item-overlay span {
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--duration-normal) var(--transition-smooth),
              transform var(--duration-normal) var(--transition-smooth);
}

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

.gallery-item:hover .gallery-item-overlay {
  background: rgba(201, 169, 110, 0.25);
}

.gallery-item:hover .gallery-item-overlay span {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── LIGHTBOX ───────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(20, 13, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--transition-smooth);
  backdrop-filter: blur(4px);
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90svh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: opacity var(--duration-fast) var(--transition-smooth);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.1);
  border: 1px solid rgba(250, 247, 242, 0.2);
  color: var(--color-ivory);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--transition-smooth);
  cursor: pointer;
}

.lightbox-btn:hover { background: rgba(250, 247, 242, 0.2); }

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

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.1);
  border: 1px solid rgba(250, 247, 242, 0.2);
  color: var(--color-ivory);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast) var(--transition-smooth);
}

.lightbox-close:hover { background: rgba(250, 247, 242, 0.2); }

/* ══════════════════════════════════════════════════════════════
   SECTION 8 — RSVP
   ══════════════════════════════════════════════════════════════ */
#rsvp {
  background: var(--color-cream);
}

.rsvp-card {
  background: var(--color-ivory);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 56px) clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.rsvp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-champagne), var(--color-blush), var(--color-champagne));
}

.rsvp-guest-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-style: italic;
  color: var(--color-champagne);
  text-align: center;
  margin-bottom: 28px;
  display: block;
}

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

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-cream);
  border: 1.5px solid var(--color-beige);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-dark);
  transition: border-color var(--duration-fast) var(--transition-smooth),
              box-shadow var(--duration-fast) var(--transition-smooth);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-champagne);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

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

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-option {
  flex: 1;
  min-width: 120px;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-cream);
  border: 1.5px solid var(--color-beige);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--transition-smooth);
  text-align: center;
}

.radio-option input[type="radio"]:checked + label {
  background: rgba(201, 169, 110, 0.12);
  border-color: var(--color-champagne);
  color: var(--color-champagne-dark);
  font-weight: 500;
}

.radio-option label:hover {
  border-color: var(--color-champagne);
}

.guests-field {
  display: none;
}

.guests-field.show {
  display: block;
  animation: fadeIn var(--duration-normal) var(--transition-smooth);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  justify-content: center;
  margin-top: 8px;
  gap: 12px;
}

.submit-btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.submit-btn.loading .spinner { display: block; }
.submit-btn.loading .btn-text { opacity: 0.7; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.rsvp-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.rsvp-success.show {
  display: block;
  animation: fadeIn var(--duration-slow) var(--transition-smooth);
}

.rsvp-success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.rsvp-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.rsvp-success-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 9 — WISHES
   ══════════════════════════════════════════════════════════════ */
#wishes {
  background: var(--color-ivory);
}

.wishes-grid {
  display: grid;
  gap: 16px;
}

.wish-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-beige);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--duration-fast) var(--transition-smooth);
  animation: fadeIn var(--duration-normal) var(--transition-smooth);
}

.wish-card:hover {
  box-shadow: var(--shadow-md);
}

.wish-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-champagne), var(--color-blush));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-ivory);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.wish-content {
  flex: 1;
  min-width: 0;
}

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

.wish-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.wish-badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.wish-badge--hadir {
  background: rgba(201, 169, 110, 0.15);
  color: var(--color-champagne-dark);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.wish-badge--tidak {
  background: rgba(212, 165, 160, 0.15);
  color: #8B5E5A;
  border: 1px solid rgba(212, 165, 160, 0.3);
}

.wish-message {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  word-break: break-word;
  margin-bottom: 6px;
}

.wish-time {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

/* Skeleton loader */
.wish-skeleton {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-beige);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.skeleton-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-beige);
  flex-shrink: 0;
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-lines {
  flex: 1;
}

.skeleton-line {
  height: 12px;
  background: var(--color-beige);
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-40 { width: 40%; }

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.9; }
}

.wishes-load-more {
  display: block;
  margin: 28px auto 0;
}

/* Empty state */
.wishes-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--color-beige);
  border-radius: var(--radius-lg);
  background: rgba(250, 247, 242, 0.5);
}

.wishes-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.wishes-empty-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.wishes-empty-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 320px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 10 — GIFTS
   ══════════════════════════════════════════════════════════════ */
#gifts {
  background: var(--color-cream);
}

.gifts-intro {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-style: italic;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.gift-card {
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--transition-smooth);
}

.gift-card:hover {
  transform: translateY(-3px);
}

.gift-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.gift-type-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.gift-bank-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.gift-account-number {
  font-family: 'Courier New', monospace;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
  color: var(--color-champagne-dark);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  word-break: break-all;
}

.gift-account-name {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-champagne-dark);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--duration-fast) var(--transition-smooth);
}

.copy-btn:hover {
  background: rgba(201, 169, 110, 0.2);
  transform: scale(1.02);
}

.copy-btn.copied {
  background: rgba(201, 169, 110, 0.25);
  border-color: var(--color-champagne);
  color: var(--color-champagne-dark);
}

/* ══════════════════════════════════════════════════════════════
   SECTION 11 — CLOSING / FOOTER
   ══════════════════════════════════════════════════════════════ */
#closing {
  background-image: url('assets/bg-main.webp');
  background-size: cover;
  background-position: center;
  padding: clamp(64px, 12vw, 120px) 24px clamp(40px, 8vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

/* Closing floral removed */

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 300;
  color: var(--color-ivory);
  line-height: 1.5;
  margin-bottom: 28px;
}

.closing-intro {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(250, 247, 242, 0.75);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.closing-couple {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--color-champagne-light);
  margin-bottom: 16px;
  display: block;
}

.closing-families {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 2vw, 0.88rem);
  color: rgba(250, 247, 242, 0.65);
  line-height: 2;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.closing-arabesque {
  margin: 28px auto 36px;
  opacity: 0.4;
}

.closing-salam {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(250, 247, 242, 0.5);
  margin-bottom: 48px;
  line-height: 1.8;
}

.closing-footer {
  font-size: 0.72rem;
  color: rgba(250, 247, 242, 0.25);
  letter-spacing: 0.05em;
}

.closing-footer a {
  color: rgba(201, 169, 110, 0.5);
  transition: color var(--duration-fast) var(--transition-smooth);
}
.closing-footer a:hover {
  color: var(--color-champagne);
}

/* ══════════════════════════════════════════════════════════════
   FLOATING AUDIO PLAYER
   ══════════════════════════════════════════════════════════════ */
#audio-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

#audio-player.visible {
  display: flex;
  animation: fadeIn var(--duration-slow) var(--transition-smooth);
}

.audio-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  background: var(--color-ivory);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-beige);
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--duration-normal) var(--transition-smooth);
  pointer-events: none;
  white-space: nowrap;
}

#audio-player:hover .audio-label {
  opacity: 1;
  transform: translateX(0);
}

.audio-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-ivory);
  border: 1.5px solid var(--color-champagne);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-champagne-dark);
  cursor: pointer;
  transition: all var(--duration-normal) var(--transition-bounce);
  position: relative;
}

.audio-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.audio-btn.playing {
  background: var(--color-champagne);
  color: var(--color-ivory);
}

.audio-btn.playing::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.4);
  animation: audioRing 2s ease-in-out infinite;
}

@keyframes audioRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.15); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .audio-btn {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  #audio-player {
    bottom: 20px;
    right: 16px;
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 400px) {
  .countdown-grid {
    gap: 8px;
  }
  .countdown-unit {
    padding: 16px 12px;
    min-width: 64px;
  }
}
