/* =====================================================
   WEDDING INVITATION — PASKAL & NITA
   style.css
   ===================================================== */

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

:root {
  --gold:        #c9a84c;
  --gold-light:  #e8d5a3;
  --gold-dark:   #8b6914;
  --rose:        #b05070;
  --rose-light:  #d4899a;
  --rose-pale:   #f9e8ee;
  --cream:       #fdf6ee;
  --cream-dark:  #f5ead8;
  --brown:       #5c3d2e;
  --text-dark:   #2c1810;
  --text-mid:    #5a3a28;
  --text-light:  #9c7a60;
  --white:       #ffffff;
  --shadow:      0 8px 32px rgba(139,105,20,.18);
  --shadow-lg:   0 20px 60px rgba(139,105,20,.22);
  --radius:      18px;
  --font-serif:  'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans:   'Montserrat', sans-serif;
  --transition:  .4s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.section { padding: 80px 0; position: relative; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   ENVELOPE OVERLAY
══════════════════════════════════════════ */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #2c1810 0%, #5c3d2e 40%, #8b6914 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.envelope-overlay.closing {
  opacity: 0;
  visibility: hidden;
}

.envelope-container {
  text-align: center;
  padding: 48px 40px;
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 24px;
  max-width: 380px;
  width: 90%;
}

.envelope-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.25) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:.6; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity:1; }
}

.env-deco-top {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 12px;
  animation: spin-slow 8s linear infinite;
  display: inline-block;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.env-label {
  font-family: var(--font-sans);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.env-names {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}
.env-names span {
  color: var(--gold);
  font-size: 2rem;
  display: inline-block;
  margin: 0 8px;
}

.env-date {
  font-family: var(--font-serif);
  font-size: .95rem;
  color: var(--gold-light);
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.env-recipient {
  margin-bottom: 32px;
  padding: 16px;
  border: 1px solid rgba(201,168,76,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.env-recipient p {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  letter-spacing: .05em;
}
.env-recipient h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 500;
  line-height: 1.2;
}

.open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
  transition: transform .2s, box-shadow .2s;
}
.open-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201,168,76,.5);
}
.btn-icon { font-size: 1.1rem; }

.env-scroll-hint {
  margin-top: 16px;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
  animation: fade-up 2s ease infinite;
}
@keyframes fade-up {
  0%,100% { opacity:.3; transform: translateY(0); }
  50%      { opacity:.8; transform: translateY(-4px); }
}

/* Floating petals on envelope */
.env-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.env-petals span {
  position: absolute;
  width: 10px; height: 14px;
  border-radius: 50% 0 50% 0;
  background: var(--gold-light);
  opacity: .15;
  animation: float-petal 6s ease-in-out infinite;
}
.env-petals span:nth-child(1) { left:10%; animation-delay:0s; animation-duration:7s; }
.env-petals span:nth-child(2) { left:25%; animation-delay:1s; animation-duration:9s; }
.env-petals span:nth-child(3) { left:40%; animation-delay:2s; animation-duration:6s; }
.env-petals span:nth-child(4) { left:55%; animation-delay:.5s; animation-duration:8s; }
.env-petals span:nth-child(5) { left:70%; animation-delay:3s; animation-duration:7s; }
.env-petals span:nth-child(6) { left:80%; animation-delay:1.5s; animation-duration:10s; }
.env-petals span:nth-child(7) { left:90%; animation-delay:2.5s; animation-duration:6s; }
.env-petals span:nth-child(8) { left:5%;  animation-delay:4s;  animation-duration:9s; }
@keyframes float-petal {
  0%   { transform: translateY(110vh) rotate(0deg); opacity:.15; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity:0; }
}

/* ══════════════════════════════════════════
   MUSIC PLAYER
══════════════════════════════════════════ */
.music-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}
.music-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(201,168,76,.45);
  transition: transform .2s;
}
.music-btn:hover { transform: scale(1.1); }
.music-btn.playing { animation: spin-slow-btn 3s linear infinite; }
@keyframes spin-slow-btn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.music-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  opacity: 0;
  transition: opacity .3s;
}
.music-wave.active { opacity: 1; }
.music-wave span {
  display: block;
  width: 3px;
  background: var(--gold);
  border-radius: 99px;
  animation: wave-bar 1.2s ease-in-out infinite;
}
.music-wave span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.music-wave span:nth-child(2) { height: 18px; animation-delay: .1s; }
.music-wave span:nth-child(3) { height: 24px; animation-delay: .2s; }
.music-wave span:nth-child(4) { height: 16px; animation-delay: .3s; }
.music-wave span:nth-child(5) { height: 10px; animation-delay: .4s; }
@keyframes wave-bar {
  0%,100% { transform: scaleY(.4); }
  50%      { transform: scaleY(1); }
}

/* ══════════════════════════════════════════
   FLOATING PETALS (MAIN)
══════════════════════════════════════════ */
.petals {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -40px;
  width: 12px; height: 16px;
  border-radius: 50% 0 50% 0;
  background: linear-gradient(135deg, #e8d5a3, #c9a84c44);
  opacity: .45;
  animation: petal-fall linear infinite;
}
.petal:nth-child(1)  { left:5%;  animation-duration:8s;  animation-delay:0s;   width:10px; }
.petal:nth-child(2)  { left:12%; animation-duration:12s; animation-delay:2s;   width:14px; }
.petal:nth-child(3)  { left:22%; animation-duration:9s;  animation-delay:.5s;  width:8px; }
.petal:nth-child(4)  { left:33%; animation-duration:11s; animation-delay:4s;   width:12px; }
.petal:nth-child(5)  { left:45%; animation-duration:7s;  animation-delay:1s;   width:9px; }
.petal:nth-child(6)  { left:55%; animation-duration:14s; animation-delay:3s;   width:11px; }
.petal:nth-child(7)  { left:65%; animation-duration:10s; animation-delay:6s;   width:13px; }
.petal:nth-child(8)  { left:72%; animation-duration:8s;  animation-delay:1.5s; width:7px; }
.petal:nth-child(9)  { left:80%; animation-duration:13s; animation-delay:5s;   width:15px; }
.petal:nth-child(10) { left:88%; animation-duration:9s;  animation-delay:2.5s; width:10px; }
.petal:nth-child(11) { left:93%; animation-duration:11s; animation-delay:7s;   width:12px; }
.petal:nth-child(12) { left:3%;  animation-duration:15s; animation-delay:9s;   width:8px; }

@keyframes petal-fall {
  0%   { transform: translateY(-40px) rotate(0deg); opacity:.45; }
  80%  { opacity:.3; }
  100% { transform: translateY(110vh) rotate(400deg); opacity:0; }
}

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 24px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('WhatsApp Image 2026-04-01 at 11.55.31.jpeg') center/cover no-repeat;
  transform: scale(1.05);
  animation: ken-burns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ken-burns {
  from { transform: scale(1.05) translateX(0); }
  to   { transform: scale(1.12) translateX(-2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44,24,16,.65) 0%,
    rgba(92,61,46,.45) 50%,
    rgba(44,24,16,.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-pre {
  font-family: var(--font-sans);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-divider-small {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 24px;
}

.hero-title {
  font-family: var(--font-script);
  color: var(--white);
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.name-groom, .name-bride {
  font-size: clamp(4rem, 12vw, 7rem);
  display: block;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
  animation: name-fade-in .8s ease both;
}
.name-groom { animation-delay: .2s; }
.name-bride { animation-delay: .5s; }
.ampersand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold);
  margin: -10px 0;
  display: block;
  animation: name-fade-in .8s ease .35s both;
}
@keyframes name-fade-in {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}

.hero-divider-ornament {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: .5em;
  margin: 24px 0 16px;
}

.hero-date-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.hero-location-text {
  font-family: var(--font-sans);
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .05em;
  margin-bottom: 40px;
}
.hero-location-text i { color: var(--rose-light); margin-right: 6px; }

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 1.5px solid rgba(201,168,76,.6);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: .85rem;
  letter-spacing: .08em;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,.06);
}
.hero-cta-btn:hover {
  background: rgba(201,168,76,.2);
  border-color: var(--gold);
  color: var(--white);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(201,168,76,.5);
  border-bottom: 2px solid rgba(201,168,76,.5);
  transform: rotate(45deg);
  animation: bounce-arrow 1.5s ease infinite;
}
@keyframes bounce-arrow {
  0%,100% { transform: rotate(45deg) translateY(0); opacity:.5; }
  50%      { transform: rotate(45deg) translateY(6px); opacity:1; }
}

/* ══════════════════════════════════════════
   SECTION COMMON HEADER
══════════════════════════════════════════ */
.section-badge {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-badge.light {
  color: var(--gold-light);
  border-color: rgba(201,168,76,.5);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  font-size: .9rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   QUOTE SECTION
══════════════════════════════════════════ */
.quote-section {
  background: linear-gradient(135deg, var(--brown) 0%, #3a2318 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('ornament.png') center/contain no-repeat;
  opacity: .04;
}
.quote-decor {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 16rem;
  line-height: 1;
  color: rgba(201,168,76,.07);
  top: -2rem;
}
.quote-decor-left  { left: 0; }
.quote-decor-right { right: 0; bottom: -2rem; top: auto; }

.bible-verse {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: rgba(255,255,255,.9);
  max-width: 680px;
  margin: 16px auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.bible-ref {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--gold);
  display: block;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.quote-section .section-badge {
  color: var(--gold-light);
  border-color: rgba(201,168,76,.4);
}

/* ══════════════════════════════════════════
   COUPLE SECTION
══════════════════════════════════════════ */
.couple-section { background: var(--cream); }

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.profile-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,.15);
  transition: transform var(--transition);
}
.profile-card:hover { transform: translateY(-6px); }

.profile-icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
}
.profile-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}
.groom-card .profile-icon {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
}
.bride-card .profile-icon {
  background: linear-gradient(135deg, #f4c2cc, var(--rose));
  color: var(--white);
}
.profile-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-light);
  animation: ring-spin 12s linear infinite;
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.profile-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.profile-name {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 4px;
}
.profile-full-name {
  font-family: var(--font-serif);
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.profile-divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 16px;
}
.profile-parents-label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.profile-parents {
  font-family: var(--font-serif);
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.couple-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.connector-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold-light), transparent);
}
.connector-heart {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--rose-light), var(--rose));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(176,80,112,.3);
  animation: heartbeat 1.8s ease-in-out infinite;
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14%      { transform: scale(1.15); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.1); }
}

/* ══════════════════════════════════════════
   COUNTDOWN SECTION
══════════════════════════════════════════ */
.countdown-section {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 50%, var(--gold) 100%);
  text-align: center;
  padding: 60px 24px;
}
.countdown-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
}
.countdown-section .section-badge.light {
  border-color: rgba(255,255,255,.5);
  color: rgba(255,255,255,.8);
  margin-bottom: 12px;
}
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.countdown-item {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 16px;
  padding: 20px 28px;
  min-width: 90px;
  text-align: center;
}
.countdown-value {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  transition: transform .3s;
}
.countdown-value.tick { transform: scale(1.15); }
.countdown-label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-top: 6px;
}
.countdown-sep {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: rgba(255,255,255,.7);
  animation: blink .8s ease infinite;
}
@keyframes blink {
  0%,100% { opacity:1; }
  50%      { opacity:.3; }
}

/* ══════════════════════════════════════════
   EVENTS SECTION
══════════════════════════════════════════ */
.events-section { background: var(--cream-dark); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.event-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}
.event-icon { font-size: 1.5rem; color: var(--white); }

.event-badge {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 600;
}

.event-details { margin-bottom: 28px; }
.event-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin-bottom: 14px;
  padding: 12px 16px;
  background: var(--rose-pale);
  border-radius: 10px;
  font-size: .9rem;
  color: var(--text-mid);
}
.event-row i {
  color: var(--gold-dark);
  font-size: .9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.event-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-size: .82rem;
  color: var(--gold-dark);
  font-weight: 500;
  transition: var(--transition);
}
.event-map-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* Dress Code */
.dresscode-card {
  background: var(--white);
  border-radius: 14px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(201,168,76,.2);
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 0 auto;
}
.dresscode-icon {
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}
.dresscode-title {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.dresscode-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-mid);
}

/* ══════════════════════════════════════════
   CALENDAR SECTION
══════════════════════════════════════════ */
.calendar-section {
  background: var(--brown);
  text-align: center;
  padding: 60px 24px;
}
.calendar-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--white);
  font-weight: 300;
  margin-bottom: 10px;
}
.calendar-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  max-width: 440px;
  margin: 0 auto 32px;
}
.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
  transition: transform .2s, box-shadow .2s;
}
.cal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201,168,76,.5);
}

/* ══════════════════════════════════════════
   GALLERY SECTION
══════════════════════════════════════════ */
.gallery-section { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  margin-bottom: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--cream-dark);
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item.g-wide { grid-column: span 2; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--cream-dark), #f0ddc8);
  min-height: 160px;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(92,61,46,.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-serif);
  font-size: .9rem;
  color: var(--white);
  font-style: italic;
}

.gallery-note {
  text-align: center;
  font-size: .8rem;
  color: var(--text-light);
  font-style: italic;
}
.gallery-note i { margin-right: 6px; color: var(--gold-light); }

/* ══════════════════════════════════════════
   RSVP SECTION
══════════════════════════════════════════ */
.rsvp-section {
  background: linear-gradient(180deg, var(--cream-dark) 0%, #f9e8ee 100%);
}

.rsvp-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto 48px;
  border: 1px solid rgba(201,168,76,.15);
}

.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-label i { margin-right: 6px; color: var(--gold); }
.form-input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid rgba(201,168,76,.3);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: .92rem;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }

/* Radio */
.radio-group { display: flex; flex-direction: column; gap: 12px; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 16px;
  border: 1.5px solid rgba(201,168,76,.25);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color .2s, background .2s;
}
.radio-label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201,168,76,.08);
}
.radio-label input { display: none; }
.radio-custom {
  width: 18px; height: 18px;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s;
}
.radio-label:has(input:checked) .radio-custom {
  border-color: var(--gold);
}
.radio-label:has(input:checked) .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold);
  border-radius: 50%;
}
.radio-text {
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text-mid);
}
.radio-text i { margin-right: 6px; color: var(--gold); }

.rsvp-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--rose), #8b3050);
  color: var(--white);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .05em;
  box-shadow: 0 8px 24px rgba(176,80,112,.35);
  transition: transform .2s, box-shadow .2s, opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.rsvp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(176,80,112,.45);
}
.rsvp-submit-btn:disabled { opacity: .6; transform: none; }

/* RSVP Success */
.rsvp-success {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,.2);
}
.success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--rose-light), var(--rose));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 20px;
  animation: heartbeat 1.5s ease-in-out 3;
}
.rsvp-success h3 {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--brown);
  margin-bottom: 12px;
}
.rsvp-success p {
  font-size: .95rem;
  color: var(--text-mid);
}

/* ── WISHES WALL — Real-time ── */
.wishes-wall {
  max-width: 640px;
  margin: 0 auto;
}

/* Header row */
.wishes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 12px;
}
.wishes-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.wishes-title i { color: var(--rose); }

/* Count badge */
.wishes-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  background: linear-gradient(135deg, var(--rose-light), var(--rose));
  color: var(--white);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  transition: transform .3s;
}
.wishes-count-badge.bump {
  transform: scale(1.3);
}

/* LIVE indicator */
.wishes-live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(176,80,112,.08);
  border: 1px solid rgba(176,80,112,.2);
  border-radius: 50px;
  padding: 5px 12px;
}
.live-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e04060;
  position: relative;
  flex-shrink: 0;
}
.live-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(224,64,96,.4);
  animation: live-ring 1.5s ease-out infinite;
}
@keyframes live-ring {
  0%   { transform: scale(.6); opacity:.8; }
  100% { transform: scale(1.8); opacity:0; }
}
.live-label {
  font-size: .62rem;
  letter-spacing: .15em;
  font-weight: 700;
  color: #e04060;
}

/* Description */
.wishes-desc {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}

/* Filter Tabs */
.wishes-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(201,168,76,.3);
  background: transparent;
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-btn i { font-size: .7rem; }
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(201,168,76,.3);
}

/* Wishes List */
.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Individual wish card */
.wish-item {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,.1);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  animation: wish-pop .45s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes wish-pop {
  from { opacity:0; transform: translateY(16px) scale(.96); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}
.wish-item:hover {
  border-color: rgba(201,168,76,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  transition: all .25s;
}

/* Avatar circle */
.wish-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
  flex-shrink: 0;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

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

.wish-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.wish-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--brown);
}

.badge-hadir {
  padding: 2px 10px;
  border-radius: 50px;
  font-size: .65rem;
  letter-spacing: .06em;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(201,168,76,.15);
  color: var(--gold-dark);
}
.wish-badge-tidak {
  background: rgba(176,80,112,.1) !important;
  color: var(--rose) !important;
}

.wish-msg {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 8px;
  word-break: break-word;
}

.wish-time {
  font-size: .72rem;
  color: var(--text-light);
  letter-spacing: .04em;
}

/* Empty state */
.wishes-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-light);
}
.wishes-empty i {
  font-size: 2.5rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 12px;
  opacity: .5;
}
.wishes-empty p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
}

/* Skeleton loader */
.wishes-skeleton { display: flex; flex-direction: column; gap: 14px; }
.skeleton-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(201,168,76,.08);
}
.sk-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0e8d8 0%, #e8d8c0 50%, #f0e8d8 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: 10px;
}
.sk-name { width: 40%; height: 16px; }
.sk-msg  { width: 90%; }
.sk-msg.short { width: 65%; margin-bottom: 0; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Firebase notice */
.firebase-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 200, 80, .1);
  border: 1px solid rgba(255,180,50,.3);
  border-radius: 12px;
  font-size: .82rem;
  color: #8b6000;
  margin-bottom: 20px;
}
.firebase-notice i { color: #e0a020; flex-shrink: 0; }
.firebase-notice code {
  background: rgba(0,0,0,.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .78rem;
}

/* ══════════════════════════════════════════
   GIFT SECTION
══════════════════════════════════════════ */
.gift-section { background: var(--cream); }

.gift-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.gift-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,.15);
  transition: transform var(--transition);
}
.gift-card:hover { transform: translateY(-6px); }
.gift-card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(201,168,76,.3);
}
.gift-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--brown);
  margin-bottom: 16px;
}
.gift-bank-info {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(201,168,76,.12);
  font-size: .85rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-lbl { color: var(--text-light); font-size: .78rem; }
.bank-val { color: var(--text-dark); font-weight: 600; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-size: .82rem;
  color: var(--gold-dark);
  font-weight: 500;
  transition: var(--transition);
}
.copy-btn:hover, .copy-btn.copied {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.gift-card-desc {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.gift-address {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-serif);
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.7;
  text-align: left;
}

.gift-note {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto;
}
.gift-note i { color: var(--rose); margin-right: 6px; }

/* ══════════════════════════════════════════
   CLOSING SECTION
══════════════════════════════════════════ */
.closing-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}
.closing-bg {
  position: absolute;
  inset: 0;
  background: url('WhatsAppImage2026-04-01at11.55.30.jpeg') center/cover no-repeat;
  filter: brightness(.35) saturate(.8);
}
.closing-section .container { position: relative; z-index: 1; }

.closing-ornament {
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
  animation: spin-slow 10s linear infinite;
  display: inline-block;
}
.closing-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}
.closing-divider {
  color: var(--gold);
  letter-spacing: .5em;
  font-size: .9rem;
  margin-bottom: 32px;
}
.closing-message {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.9;
}
.closing-signature {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sig-names {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--gold-light);
}
.sig-family {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.closing-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.closing-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .05em;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.closing-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
}
.closing-btn.secondary {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.closing-btn:hover { transform: translateY(-3px); }
.closing-btn.primary:hover { box-shadow: 0 14px 36px rgba(201,168,76,.5); }

.closing-footer-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
}
.closing-footer-text i { margin-right: 6px; color: var(--gold-light); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--text-dark);
  text-align: center;
  padding: 20px 24px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .05em;
}
.footer i { color: var(--rose); margin: 0 4px; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .couple-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
  .couple-connector {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 4px 0;
  }
  .connector-line { width: 60px; height: 1px; }

  .rsvp-form { padding: 28px 20px; }
  .events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.g-wide { grid-column: span 2; }
  .gallery-item.g-tall { grid-row: span 1; }

  .gift-cards-grid { grid-template-columns: 1fr; }
  .closing-cta-group { flex-direction: column; }
  .countdown-item { min-width: 70px; padding: 16px 14px; }
  .countdown-value { font-size: 2.2rem; }
  .dresscode-card { flex-direction: column; text-align: center; gap: 12px; }

  .music-player { bottom: 16px; right: 16px; }
  .env-names { font-size: 2.3rem; }
}

/* ── Scroll-link active highlight ── */
.nav-dot { display: none; }
