/* ═══════════════════════════════════════════════════════
   Undangan Pernikahan — Nuansa Jawa
   Palet: coklat sogan, emas prada, krem lawasan, marun
   ═══════════════════════════════════════════════════════ */

:root {
  --brown-deep: #2b1a12;
  --brown: #3e2723;
  --brown-soft: #5d4037;
  --gold: #d4af37;
  --gold-soft: #c9a227;
  --gold-pale: #e9d8a6;
  --cream: #f5e9d3;
  --cream-soft: #efe2c6;
  --maroon: #6d1a2d;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-jv: "Noto Sans Javanese", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  background: var(--brown-deep);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── Batik kawung: pola empat lingkaran khas Jawa (SVG data-URI) ── */
.pattern-kawung,
.cover-panel,
.footer-batik,
.hero-batik-top {
  background-color: var(--brown);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.5' opacity='0.35'%3E%3Cellipse cx='40' cy='10' rx='14' ry='22' /%3E%3Cellipse cx='40' cy='70' rx='14' ry='22' /%3E%3Cellipse cx='10' cy='40' rx='22' ry='14' /%3E%3Cellipse cx='70' cy='40' rx='22' ry='14' /%3E%3Ccircle cx='40' cy='40' r='4' fill='%23d4af37' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* ── Batik parang: garis diagonal lereng ── */
.pattern-parang {
  background-color: var(--maroon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23e9d8a6' stroke-width='2' opacity='0.4'%3E%3Cpath d='M-10 20 Q 5 5, 20 20 T 50 20 T 80 20'/%3E%3Cpath d='M-10 40 Q 5 25, 20 40 T 50 40 T 80 40'/%3E%3Cpath d='M-10 60 Q 5 45, 20 60 T 50 60 T 80 60'/%3E%3Cpath d='M-10 0 Q 5 -15, 20 0 T 50 0 T 80 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* ── Batik truntum: bintang kecil bertabur ── */
.pattern-truntum {
  background-color: var(--brown-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cg fill='%23e9d8a6' opacity='0.45'%3E%3Cpath d='M25 8 l3 8 8 3 -8 3 -3 8 -3 -8 -8 -3 8 -3 Z'/%3E%3Ccircle cx='6' cy='6' r='2'/%3E%3Ccircle cx='44' cy='44' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 50px 50px;
}

/* ═══════════════ COVER ═══════════════ */

.cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cover-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  transition: transform 1.6s cubic-bezier(0.77, 0, 0.18, 1);
  animation: batik-drift 60s linear infinite;
}
.cover-panel--left  { left: 0;  box-shadow: inset -40px 0 80px rgba(0,0,0,.45); }
.cover-panel--right { right: 0; box-shadow: inset 40px 0 80px rgba(0,0,0,.45); }

.cover.is-open .cover-panel--left  { transform: translateX(-102%); }
.cover.is-open .cover-panel--right { transform: translateX(102%); }
.cover.is-open .cover-content { opacity: 0; transform: scale(1.1); }
.cover.is-hidden { display: none; }

.cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 480px;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.cover-gunungan {
  width: 110px;
  margin: 0 auto 0.75rem;
  color: var(--gold);
  animation: gunungan-rise 1.8s ease-out both, gunungan-sway 6s ease-in-out 1.8s infinite;
  transform-origin: 50% 100%;
}
.gunungan-svg { width: 100%; height: auto; display: block; }

.cover-jv {
  font-family: var(--font-jv);
  font-size: 1.6rem;
  color: var(--gold-pale);
  animation: fade-up 1.2s ease-out 0.3s both;
}

.cover-sub {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold-soft);
  margin-top: 0.25rem;
  animation: fade-up 1.2s ease-out 0.5s both;
}

.cover-names {
  font-size: clamp(2.8rem, 9vw, 4.2rem);
  color: var(--gold);
  margin: 0.75rem 0 0.25rem;
  text-shadow: 0 2px 18px rgba(212, 175, 55, 0.35);
  animation: fade-up 1.2s ease-out 0.7s both;
}

.cover-date {
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--cream);
  animation: fade-up 1.2s ease-out 0.9s both;
}

.cover-guest-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.5rem 0;
  animation: fade-up 1.2s ease-out 1.1s both;
}

.cover-char {
  width: clamp(76px, 22vw, 118px);
  height: auto;
  flex-shrink: 0;
}

.cover-guest {
  font-size: 0.95rem;
  color: var(--cream-soft);
}
.cover-guest-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-pale);
  margin-top: 0.2rem;
}

.btn-open {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.15em;
  padding: 0.8rem 2.2rem;
  color: var(--brown-deep);
  background: linear-gradient(135deg, var(--gold-pale), var(--gold), var(--gold-soft));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(212, 175, 55, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fade-up 1.2s ease-out 1.3s both, glow-pulse 2.6s ease-in-out 2.5s infinite;
}
.btn-open:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55); }
.btn-open-ornament { margin: 0 0.5rem; }

/* ═══════════════ PETALS (melati) ═══════════════ */

.petals {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -4vh;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 30%, #fffdf5, var(--gold-pale) 70%);
  border-radius: 60% 40% 60% 40%;
  opacity: 0.85;
  animation: petal-fall linear infinite;
}

/* ═══════════════ MUSIC TOGGLE ═══════════════ */

.music-toggle {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(43, 26, 18, 0.85);
  color: var(--gold);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.music-toggle:hover { background: var(--brown); }
.music-toggle.is-playing .music-icon { display: inline-block; animation: spin-slow 4s linear infinite; }

/* ═══════════════ LAYOUT ═══════════════ */

.container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; position: relative; }

.section-title {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 600;
  text-align: center;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: 0.8rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-sub {
  text-align: center;
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 2.5rem;
}

/* ── reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ═══════════════ HERO ═══════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(109, 26, 45, 0.5), transparent 60%),
    radial-gradient(ellipse at 50% -20%, rgba(212, 175, 55, 0.16), transparent 55%),
    var(--brown-deep);
}

.hero-batik-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 42px;
  opacity: 0.8;
  border-bottom: 2px solid var(--gold-soft);
  animation: batik-drift 40s linear infinite;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-gunungan {
  width: clamp(70px, 12vw, 130px);
  color: var(--gold-soft);
  opacity: 0.9;
  transform-origin: 50% 100%;
}
.hero-gunungan--left  { animation: gunungan-sway 7s ease-in-out infinite; }
.hero-gunungan--right { animation: gunungan-sway 7s ease-in-out -3.5s infinite; }
.hero-gunungan svg { width: 100%; height: auto; }

.hero-eyebrow { font-family: var(--font-jv); font-size: 1.5rem; color: var(--gold-pale); }
.hero-kicker {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-soft);
  margin-top: 0.3rem;
}

.hero-names {
  font-size: clamp(3.2rem, 11vw, 5.5rem);
  color: var(--gold);
  margin: 0.5rem 0;
}

/* efek prada berkilau */
.shimmer {
  background: linear-gradient(100deg, var(--gold) 20%, #fff3c4 40%, var(--gold) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-slide 4s linear infinite;
}

.hero-date { font-size: 1.15rem; letter-spacing: 0.25em; color: var(--cream); }

.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  color: var(--gold);
}
.ornament-divider span {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament-divider span:last-child { transform: scaleX(-1); }
.ornament-divider em { font-style: normal; animation: spin-slow 10s linear infinite; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  font-size: 2rem;
  color: var(--gold);
  text-decoration: none;
  animation: bob 2s ease-in-out infinite;
}

/* ═══════════════ QUOTE ═══════════════ */

.quote { background: linear-gradient(180deg, var(--brown-deep), #241610); text-align: center; }
.quote-jv {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-pale);
  margin-bottom: 1rem;
}
.quote-id { max-width: 560px; margin: 0 auto; color: var(--cream-soft); font-size: 1.1rem; }

/* ═══════════════ COUPLE ═══════════════ */

.couple { background: #241610; }

.couple-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 5vw, 3rem);
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.couple-card { text-align: center; max-width: 260px; }

.couple-frame {
  position: relative;
  padding: 8px;
  border-radius: 50% 50% 12px 12px;
  background: linear-gradient(160deg, var(--gold), var(--gold-soft) 60%, var(--maroon));
  display: inline-block;
  transition: transform 0.4s ease;
}
.couple-card:hover .couple-frame { transform: translateY(-6px) rotate(-1deg); }

.couple-photo {
  width: 240px;
  height: 310px;
  border-radius: 46% 46% 8px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.couple-photo--groom { background: linear-gradient(160deg, var(--brown-soft), var(--brown-deep)); }
.couple-photo--bride { background: linear-gradient(160deg, var(--maroon), var(--brown-deep)); }

.char-svg {
  width: 88%;
  height: auto;
  display: block;
  margin-bottom: -4px;
}

.char-bubble {
  position: absolute;
  top: -16px;
  left: 50%;
  z-index: 2;
  padding: 0.32rem 0.85rem;
  background: var(--cream);
  color: var(--brown);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateX(-50%);
  animation: bubble-bob 3s ease-in-out infinite;
}
.char-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--cream);
}

/* ── Busana putih untuk penutup (variabel menembus <use>) ── */
.char-theme-white {
  --iam-beskap: #f7f0e2;
  --iam-beskap-line: #d8c79a;
  --iam-collar: #c9a227;
  --ami-kebaya: #f7f0e2;
  --ami-kebaya-line: #d8c79a;
  --ami-lace: #c9a227;
  --ami-hijab: #fdfaf6;
}

/* ═══════════════ KIRAB (walk in + bow together) ═══════════════ */

.procession {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  z-index: 70;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.procession.done { opacity: 0; }

.proc-char {
  position: absolute;
  bottom: 6px;
  width: 132px;
  transform-origin: 50% 100%;
  transition: transform 0.7s ease;
}
.proc-char svg { width: 100%; height: auto; display: block; }

.proc-iam  { left: -170px;  transition: left 2.4s linear, transform 0.7s ease; }
.proc-ami  { right: -170px; transition: right 2.4s linear, transform 0.7s ease; }
.procession.walk .proc-iam { left: calc(50% - 148px); }
.procession.walk .proc-ami { right: calc(50% - 148px); }

/* langkah waddle selama berjalan */
.procession.walk:not(.bow) .proc-char svg { animation: waddle 0.6s ease-in-out infinite; }
.proc-ami svg { animation-delay: 0.3s; }

/* membungkuk bersama, saling berhadapan */
.procession.bow .proc-iam { transform: rotate(13deg); }
.procession.bow .proc-ami { transform: rotate(-13deg); }

.proc-bubble {
  position: absolute;
  bottom: 218px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 0.35rem 0.95rem;
  background: var(--cream);
  color: var(--brown);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.proc-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--cream);
}
.procession.bow .proc-bubble { opacity: 1; transform: translateX(-50%) translateY(0); }

.couple-name { font-size: 2.1rem; color: var(--gold); margin-top: 1.2rem; }
.couple-parents { font-size: 0.95rem; color: var(--cream-soft); margin-top: 0.4rem; }

.couple-amp {
  font-size: 4rem;
  color: var(--gold);
  animation: bob 3s ease-in-out infinite;
}

/* ═══════════════ COUNTDOWN ═══════════════ */

.countdown { background: linear-gradient(180deg, #241610, var(--brown-deep)); text-align: center; }

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 3vw, 1.5rem);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.count-box {
  min-width: 84px;
  padding: 1.1rem 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.06);
  box-shadow: inset 0 0 24px rgba(212, 175, 55, 0.08);
}
.count-num {
  display: block;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.count-num.tick { animation: num-pop 0.5s ease; }
.count-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

/* ═══════════════ EVENTS ═══════════════ */

.events { background: var(--brown-deep); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.event-card {
  text-align: center;
  padding: 2.5rem 1.8rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  background:
    linear-gradient(rgba(36, 22, 16, 0.94), rgba(36, 22, 16, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.5'%3E%3Cellipse cx='40' cy='10' rx='14' ry='22'/%3E%3Cellipse cx='40' cy='70' rx='14' ry='22'/%3E%3Cellipse cx='10' cy='40' rx='22' ry='14'/%3E%3Cellipse cx='70' cy='40' rx='22' ry='14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 80px 80px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--gold);
}

.event-icon { width: 54px; margin: 0 auto 1rem; color: var(--gold); }
.event-icon svg { width: 100%; height: auto; }

.event-card h3 { font-size: 1.7rem; color: var(--gold); margin-bottom: 0.8rem; }
.event-time { color: var(--cream); margin-bottom: 0.8rem; }
.event-place { color: var(--cream-soft); font-style: italic; margin-bottom: 1.4rem; }

.btn-outline {
  display: inline-block;
  padding: 0.55rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-outline:hover { background: var(--gold); color: var(--brown-deep); }

/* ═══════════════ STORY / TIMELINE ═══════════════ */

.story { background: #241610; }

.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), var(--gold), transparent);
}

.timeline-item { position: relative; margin-bottom: 2.2rem; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
  animation: glow-pulse 3s ease-in-out infinite;
}

.timeline-card {
  padding: 1.2rem 1.5rem;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
}
.timeline-card h3 { color: var(--gold); font-size: 1.25rem; margin-bottom: 0.3rem; }
.timeline-card p { color: var(--cream-soft); font-size: 1rem; }

/* ═══════════════ GALLERY ═══════════════ */

.gallery { background: var(--brown-deep); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-pale);
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: batik-drift 50s linear infinite;
}
.gallery-item:hover { transform: scale(1.04) rotate(0.5deg); filter: brightness(1.2); }

.gallery-note {
  text-align: center;
  margin-top: 1.5rem;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(245, 233, 211, 0.55);
}

/* ═══════════════ RSVP ═══════════════ */

.rsvp { background: linear-gradient(180deg, var(--brown-deep), #241610); }

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

.rsvp-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--gold-pale);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.rsvp-form input[type="text"],
.rsvp-form select,
.rsvp-form textarea {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  padding: 0.7rem 1rem;
  color: var(--cream);
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.rsvp-form select option { background: var(--brown-deep); }

.rsvp-attend {
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  display: flex;
  gap: 1.5rem;
}
.rsvp-attend legend { padding: 0 0.5rem; color: var(--gold-pale); font-size: 0.95rem; }
.rsvp-attend .radio { flex-direction: row; align-items: center; gap: 0.45rem; color: var(--cream); }
.rsvp-attend input { accent-color: var(--gold); }

.btn-submit { align-self: center; margin-top: 0.5rem; animation: none; }

.wishes { max-width: 520px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.9rem; }

.wish {
  padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 8px 8px 0;
  animation: fade-up 0.6s ease both;
}
.wish-name { color: var(--gold); font-weight: 600; }
.wish-msg { color: var(--cream-soft); font-size: 0.98rem; }

/* ═══════════════ FOOTER ═══════════════ */

.footer {
  text-align: center;
  padding: 4.5rem 0 3rem;
  background: #1c110b;
  position: relative;
}
.footer-batik {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  opacity: 0.7;
  border-bottom: 2px solid var(--gold-soft);
  animation: batik-drift 40s linear infinite reverse;
}
.footer-jv { font-family: var(--font-jv); font-size: 1.6rem; color: var(--gold-pale); margin-top: 1.5rem; }
.footer-thanks {
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.3rem 0 1rem;
}
.footer-note { max-width: 480px; margin: 0 auto 1.8rem; color: var(--cream-soft); font-size: 0.98rem; }

.footer-pair {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.footer-pair svg {
  width: 108px;
  height: auto;
  transform-origin: 50% 100%;
}
/* sesekali membungkuk bersama */
.footer-pair svg:first-child { animation: bow-together-l 9s ease-in-out infinite; }
.footer-pair svg:last-child  { animation: bow-together-r 9s ease-in-out infinite; }

.footer-names { font-size: 2.6rem; color: var(--gold); }

/* ═══════════════ ANIMATIONS ═══════════════ */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes gunungan-rise {
  from { opacity: 0; transform: translateY(50px) scale(0.85); }
  to   { opacity: 1; transform: none; }
}

@keyframes gunungan-sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50%      { transform: rotate(2.5deg); }
}

@keyframes batik-drift {
  from { background-position: 0 0; }
  to   { background-position: 160px 160px; }
}

@keyframes shimmer-slide {
  to { background-position: -200% center; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.22); }
  50%      { box-shadow: 0 0 18px 6px rgba(212, 175, 55, 0.42); }
}

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

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

@keyframes num-pop {
  30% { transform: scale(1.18); color: var(--gold-pale); }
}

@keyframes bubble-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -7px); }
}

@keyframes waddle {
  0%, 100% { transform: rotate(-3.5deg) translateY(0); }
  50%      { transform: rotate(3.5deg) translateY(-4px); }
}

@keyframes bow-together-l {
  0%, 60%, 90%, 100% { transform: rotate(0deg); }
  70%, 82%           { transform: rotate(10deg); }
}

@keyframes bow-together-r {
  0%, 60%, 90%, 100% { transform: rotate(0deg); }
  70%, 82%           { transform: rotate(-10deg); }
}

@keyframes petal-fall {
  0% {
    transform: translate3d(0, -5vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.85; }
  100% {
    transform: translate3d(var(--drift, 40px), 105vh, 0) rotate(var(--spin, 320deg));
    opacity: 0.3;
  }
}

/* ═══════════════ RESPONSIVE & MOTION ═══════════════ */

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero-inner { flex-direction: column; gap: 0.5rem; }
  .hero-gunungan { display: none; }
  .couple-amp { width: 100%; font-size: 3rem; }
  .timeline { padding-left: 1.6rem; }
  .timeline-dot { left: -1.6rem; }

  .couple-photo { width: 180px; height: 234px; }
  .footer-pair svg { width: 82px; }

  .procession { height: 190px; }
  .proc-char { width: 100px; }
  .proc-iam { left: -130px; }
  .proc-ami { right: -130px; }
  .procession.walk .proc-iam { left: calc(50% - 114px); }
  .procession.walk .proc-ami { right: calc(50% - 114px); }
  .proc-bubble { bottom: 172px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
  }
  .petals { display: none; }
}
