/* ============================================================
   Undangan — gaya "Royal Javanese"
  Cokelat tua #683828 / #583828 / #582818 / #3e1e10, emas #ceb172 / #DBCCA2 / #DFB584,
  krem #FFF0E5 / #FFF9F0, hijau zaitun #585C4C
   Font: Vidaloka (judul/nama), Vesper Libre (kicker),
         Poppins (body), Inter (kecil), Imperial Script (aksen)
   ============================================================ */

:root {
  --ruby: #683828;
  --ruby-deep: #583828;
  --ruby-dark: #582818;
  --ruby-black: #3e1e10;
  --gold: #ceb172;
  --gold-soft: #dbcca2;
  --gold-warm: #dfb584;
  --gold-grad: linear-gradient(180deg, #e1bf7c 0%, #b69f65 100%);
  --cream: #fff0e5;
  --cream-2: #fff9f0;
  --cream-3: #fff1cf;
  --ink: #2c1e11;
  --olive: #585c4c;
  --font-display: "Vidaloka", serif;
  --font-label: "Vesper Libre", serif;
  --font-body: "Poppins", sans-serif;
  --font-small: "Inter", sans-serif;
  --font-script: "Imperial Script", cursive;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-bottom: 84px;
  scroll-padding-top: 12px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.7;
  background-image: radial-gradient(rgba(104, 56, 40, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  padding-bottom: 0;
}
body.invitation-open { padding-bottom: 72px; }

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

/* ---------- tombol ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 2.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold-grad); color: #3a1c0e; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.btn-small { padding: 0.55rem 1.4rem; font-size: 0.8rem; }

/* ---------- cover ---------- */
.cover {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(88, 56, 40, 0.55), rgba(62, 30, 16, 0.72)),
    radial-gradient(ellipse at 50% 20%, rgba(223, 181, 132, 0.18), transparent 55%),
    url("../img/bg-cover.webp") center / cover no-repeat;
  color: var(--gold-soft);
  padding: 1.5rem;
  text-align: center;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.cover.open { opacity: 0; visibility: hidden; pointer-events: none; }
.cover-frame {
  position: relative;
  width: min(92vw, 420px);
  border: 1px solid rgba(219, 204, 162, 0.65);
  outline: 1px solid rgba(219, 204, 162, 0.3);
  outline-offset: 6px;
  padding: 2.5rem 1.5rem 2rem;
  background: rgba(62, 30, 16, 0.35);
}
.cover-sudut {
  position: absolute;
  width: 100px;
  pointer-events: none;
  z-index: 2;
}
.cover-sudut--tr { top: -8px; right: -8px; }
.cover-sudut--tl { top: -8px; left: -8px; transform: scaleX(-1); }
.cover-basmalah {
  font-size: 1.35rem;
  color: var(--gold-warm);
  margin-bottom: 1.25rem;
}
.cover-label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.cover-label--small { font-size: 0.7rem; letter-spacing: 0.16em; line-height: 1.8; }
.cover-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--gold-soft);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.cover-amp {
  display: block;
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--gold-warm);
  line-height: 1;
  margin: 0.15rem 0;
}
.cover-date {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin: 0.9rem 0 1.4rem;
}
.cover-guest-box {
  border-top: 1px solid rgba(219, 204, 162, 0.4);
  border-bottom: 1px solid rgba(219, 204, 162, 0.4);
  padding: 1rem 0.5rem;
  margin-bottom: 1.6rem;
}
.cover-guest-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.5vmin, 1.9rem);
  color: var(--gold-soft);
  margin-top: 0.5rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* ---------- layout ---------- */
main { max-width: 480px; margin: 0 auto; }

/* ---------- access gate ---------- */
@keyframes introCardIn {
  from { opacity: 0; transform: translateY(36px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.access-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    linear-gradient(rgba(88, 56, 40, 0.55), rgba(62, 30, 16, 0.72)),
    radial-gradient(ellipse at 50% 20%, rgba(223, 181, 132, 0.18), transparent 55%),
    url("../img/bg-cover.webp") center / cover no-repeat;
}
.access-gate[hidden] { display: none; }
.access-gate-card {
  width: min(92vw, 400px);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  background: rgba(62, 30, 16, 0.55);
  border: 1px solid rgba(219, 204, 162, 0.65);
  outline: 1px solid rgba(219, 204, 162, 0.3);
  outline-offset: 6px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: introCardIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.access-gate-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.access-gate-kicker {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 0.35rem;
}
.access-gate-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}
.access-gate .divider { color: var(--gold-soft); margin-bottom: 1rem; }
.access-gate-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255, 240, 229, 0.88);
  line-height: 1.7;
  margin-bottom: 0.7rem;
}
.access-gate-sub {
  font-family: var(--font-small);
  font-size: 0.8rem;
  color: rgba(255, 240, 229, 0.6);
  line-height: 1.6;
}

.section { padding: 3.5rem 1.5rem 0; text-align: center; position: relative; scroll-margin-top: 16px; }

.section-kicker {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.section-kicker--light { color: var(--gold-soft); }

.section-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--ruby);
  margin-bottom: 0.4rem;
}
.section-title--light {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.divider {
  display: block;
  width: 140px;
  height: 30px;
  margin: 0.4rem auto 1.6rem;
  color: var(--gold);
}
.divider--light { color: var(--gold-soft); }

.body-text {
  font-size: 0.92rem;
  color: #6d5a4a;
  margin-bottom: 1rem;
}
.body-text--light { color: rgba(255, 240, 229, 0.85); }

/* panel krem berbingkai ruby (mempelai & penutup) */
.panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 240, 229, 0.88);
  border: 3px solid var(--ruby);
  outline: 1px solid var(--gold);
  outline-offset: 5px;
  border-radius: 2.5rem;
  padding: 2.5rem 1.4rem;
}

/* ---------- quote ---------- */
.quote-section {
  isolation: isolate;
  background:
    radial-gradient(at center right, rgba(255, 240, 229, 0.8) 0%, rgba(232, 213, 196, 0.88) 100%),
    url("../img/bg-batik-krem.webp") center / cover;
  border-bottom: 1px solid rgba(104, 56, 40, 0.12);
  padding-top: 4.5rem;
  padding-bottom: 3rem;
  overflow: hidden;
}
.quote-section .section-kicker { color: var(--ruby-dark); }
.quote-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 78%);
  background: url("../img/orn-arch-soft.webp") center / contain no-repeat;
  z-index: -1;
  pointer-events: none;
}
/* gunungan watermark di quote */
.quote-gunungan-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 95%);
  transform: translate(-50%, -50%);
  opacity: 0.1;
  filter: blur(0.5px) saturate(1.2);
  pointer-events: none;
  z-index: -1;
  animation: gununganBreathe 8s ease-in-out infinite;
}
.quote-gunungan {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(240px, 58%);
  transform: translate(-50%, -50%);
  opacity: 0.08;
  filter: drop-shadow(0 0 18px rgba(223, 181, 132, 0.4));
  pointer-events: none;
  z-index: -1;
  animation: gununganFloat 8s ease-in-out infinite, gununganGlow 5s ease-in-out infinite;
}
.quote {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--ruby-dark);
  margin-bottom: 0.6rem;
  line-height: 1.75;
}
.quote-source {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--ruby-dark);
  margin-bottom: 1.8rem;
  padding: 0.3rem 0.9rem;
  display: inline-block;
  border: 1px solid rgba(88, 40, 24, 0.35);
  border-radius: 999px;
  background: rgba(88, 40, 24, 0.08);
}
.bismillah {
  width: min(220px, 62%);
  margin: 0 auto 1.1rem;
}
.quote-greeting {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ruby-dark);
  margin-bottom: 0.8rem;
}
.quote-section .body-text { color: #4a3428; }
/* bunga dekoratif */
.flower {
  position: absolute;
  width: 220px;
  pointer-events: none;
  z-index: 1;
}
.flower-left { left: -95px; top: 10px; }
.flower-right { right: -95px; top: 10px; transform: scaleX(-1); }
.sway {
  transform-origin: 50% 35%;
  animation: sway 5.5s ease-in-out infinite;
}
.sway-alt { animation-delay: -2.75s; }
@keyframes sway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(2.5deg); }
  66% { transform: translateY(-5px) rotate(-2deg); }
}
@keyframes sway-mirrored {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(0); }
  33% { transform: scaleX(-1) translateY(-12px) rotate(-2.5deg); }
  66% { transform: scaleX(-1) translateY(-5px) rotate(2deg); }
}
.flower-right.sway { animation-name: sway-mirrored; }
@media (prefers-reduced-motion: reduce) {
  .sway, .sway-alt { animation: none !important; }
}

/* ---------- mempelai ---------- */
.mempelai-section {
  isolation: isolate;
  padding-top: 3rem;
  background:
    url("../img/orn-arch-dark.webp") left top / 92px auto no-repeat,
    url("../img/orn-arch-dark.webp") right top / 92px auto no-repeat,
    url("../img/gunungan-emas-bg.webp") center 18% / 190px auto no-repeat,
    url("../img/pattern-tile.png") center / 200px 200px repeat,
    radial-gradient(ellipse at 50% 0%, rgba(223, 181, 132, 0.18), transparent 55%),
    linear-gradient(rgba(88, 56, 40, 0.82), rgba(62, 30, 16, 0.88)),
    url("../img/bg-panel-ruby.webp") center / cover no-repeat;
  overflow: hidden;
}
.couple { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.couple-amp {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--ruby);
  line-height: 1;
}
.person-photo-shell { position: relative; width: 150px; margin: 0 auto 0.8rem; }
.person-photo {
  width: 150px;
  height: auto;
  aspect-ratio: 522 / 670;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 999px 999px 10px 10px;
  border: 3px solid var(--gold);
  background: var(--cream-3);
}
.person-flower {
  position: absolute;
  right: -38%;
  bottom: -10%;
  width: 150px;
  pointer-events: none;
  z-index: 2;
}
.person-flower--alt { right: auto; left: -42%; transform: scaleX(-1); }
.person-script {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.person-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ruby);
  overflow-wrap: anywhere;
  margin-bottom: 0.3rem;
}
.person-parents { font-size: 0.85rem; font-weight: 300; color: #6d5a4a; }

/* ---------- countdown ---------- */
.countdown-section {
  isolation: isolate;
  margin-top: 3.5rem;
  padding: 3.5rem 1.5rem;
  background:
    url("../img/orn-arch-dark.webp") left bottom / 86px auto no-repeat,
    url("../img/orn-arch-dark.webp") right bottom / 86px auto no-repeat,
    linear-gradient(rgba(70, 32, 18, 0.82), rgba(48, 22, 12, 0.9)),
    url("../img/bg-golden.webp") center / cover no-repeat;
  overflow: hidden;
}
.countdown-content { position: relative; z-index: 1; }
.gunungan-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(240px, 55%);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.countdown { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; margin: 1.4rem 0 1.6rem; }
.countdown-item {
  background: rgba(30, 14, 8, 0.55);
  border: 1.5px solid rgba(219, 204, 162, 0.7);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  min-width: 70px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 240, 229, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.countdown-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff8ee;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.countdown-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-warm);
}
.countdown-past {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-soft);
}
.btn-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3a1c0e;
  background: var(--gold-grad);
  border: 2px solid #e0c888;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-calendar:hover {
  background: linear-gradient(180deg, #e8d49a 0%, #d4b87a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ---------- acara ---------- */
.acara-section {
  isolation: isolate;
  overflow: hidden;
  padding: 3.8rem 1.5rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(223, 181, 132, 0.22) 0%, transparent 50%),
    linear-gradient(180deg, rgba(88, 40, 24, 0.9) 0%, rgba(62, 30, 16, 0.94) 100%),
    url("../img/bg-panel-ruby.webp") center / cover no-repeat;
}
.acara-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.acara-joglo {
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: min(380px, 88%);
  transform: translateX(-50%);
  opacity: 0.1;
  filter: saturate(1.15) drop-shadow(0 0 20px rgba(223, 181, 132, 0.3));
  pointer-events: none;
}
.acara-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 90%);
  aspect-ratio: 1.3;
  background: radial-gradient(ellipse at center top, rgba(223, 181, 132, 0.25) 0%, transparent 65%);
  animation: haloPulse 6s ease-in-out infinite;
}
.acara-gunungan-bg {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(420px, 90%);
  transform: translateX(-50%);
  opacity: 0.1;
  filter: saturate(1.2);
}
.acara-section .section-kicker { color: var(--gold-warm); }
.acara-section .section-title { color: var(--gold-soft); }
.acara-section .divider { color: var(--gold-soft); }
.acara-section .flower { z-index: 1; opacity: 0.55; width: 170px; }
.acara-intro {
  max-width: 420px;
  margin: 0 auto 0.4rem;
  color: rgba(255, 240, 229, 0.82);
  position: relative;
  z-index: 1;
}

/* timeline acara */
.event-timeline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-top: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.event-rail {
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 2px;
  transform: translateX(-50%);
  z-index: 0;
}
.event-rail-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(206, 177, 114, 0.35) 50%, var(--gold) 100%);
  transform-origin: top;
  animation: railDraw 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.reveal.visible ~ .event-timeline .event-rail-line,
.event-timeline.reveal.visible .event-rail-line { animation-play-state: running; }
@keyframes railDraw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.event-rail-dot {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--ruby-dark);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(223, 181, 132, 0.6);
}
.event-rail-dot--top { top: -4px; }
.event-rail-dot--bottom { bottom: -4px; }

/* kartu acara */
.event-card {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(255, 249, 240, 0.97) 0%, rgba(255, 240, 229, 0.94) 100%);
  border: 2px solid var(--gold);
  outline: 1px solid rgba(206, 177, 114, 0.4);
  outline-offset: 5px;
  border-radius: 1.4rem;
  padding: 2rem 1.3rem 1.8rem;
  text-align: left;
  box-shadow:
    0 4px 0 rgba(206, 177, 114, 0.25),
    0 20px 48px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.4s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 0 rgba(206, 177, 114, 0.35),
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(223, 181, 132, 0.25);
}
.event-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #3a1c0e;
  background: var(--gold-grad);
  border: 2px solid var(--cream-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.event-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 88px;
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(104, 56, 40, 0.1) 0%, rgba(104, 56, 40, 0.04) 100%);
  border: 1px solid rgba(206, 177, 114, 0.45);
}
.date-day, .date-mmyy {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
  color: var(--ruby);
  text-transform: uppercase;
}
.date-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 3rem);
  line-height: 1;
  color: var(--ruby);
  margin: 0.1rem 0;
  text-shadow: 0 2px 8px rgba(206, 177, 114, 0.35);
}
.event-card-title-wrap { flex: 1; min-width: 0; }
.event-card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ruby);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.event-card-time {
  font-family: var(--font-small);
  font-size: 0.88rem;
  color: #5c4636;
  font-weight: 600;
}
.location-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.6rem auto 0.7rem;
  color: var(--gold);
}
.location-rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  min-width: 0.75rem;
  max-width: 90px;
}
.location-rule:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.location-mark { width: 22px; height: 22px; flex-shrink: 0; }
.event-card-venue {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ruby);
  text-align: center;
  margin-bottom: 0.2rem;
}
.event-card-address {
  font-family: var(--font-small);
  font-size: 0.88rem;
  color: #5c4636;
  text-align: center;
  margin-bottom: 1rem;
}
.event-map {
  width: 100%;
  height: 180px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.event-card .btn { display: block; text-align: center; }

/* reveal varian untuk kartu acara */
.event-card.reveal.visible { animation: eventCardPop 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.event-timeline .event-card:nth-child(2).reveal.visible { animation-delay: 0.12s; }
.event-timeline .event-card:nth-child(3).reveal.visible { animation-delay: 0.22s; }
@keyframes eventCardPop {
  0% { opacity: 0; transform: translateY(28px) scale(0.94); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}

/* ---------- galeri ---------- */
.gallery-section {
  isolation: isolate;
  margin-top: 3.5rem;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
  background:
    url("../img/orn-arch-dark.webp") left bottom / 84px auto no-repeat,
    url("../img/orn-arch-dark.webp") right bottom / 84px auto no-repeat,
    url("../img/pattern-tile.png") center / 200px 200px repeat,
    linear-gradient(rgba(48, 22, 12, 0.72), rgba(62, 30, 16, 0.82)),
    url("../img/kartu-hadiah-bg.jpg") center / cover no-repeat;
}
.gallery-section .section-kicker { color: var(--gold-warm); }
.gallery-section .section-title { color: var(--gold-soft); }
.gallery-section .divider { color: var(--gold-soft); }
.gallery-section .gallery-hint { color: var(--gold-warm); opacity: 0.7; }
.gallery-wrap {
  position: relative;
  margin-top: 0.5rem;
}
.gallery {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
  scrollbar-width: none;
  cursor: grab;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:active { cursor: grabbing; }
.gallery-slide {
  flex: 0 0 78%;
  scroll-snap-align: center;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  transform: scale(0.92);
  opacity: 0.55;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s ease,
              box-shadow 0.4s ease;
  user-select: none;
}
.gallery-slide.active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 0 24px rgba(223,181,132,0.3);
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-slide.active img { transform: scale(1); }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(62, 30, 16, 0.75);
  color: var(--gold-soft);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.2s ease, opacity 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.85;
}
.gallery-nav:hover {
  background: rgba(104, 56, 40, 0.9);
  transform: translateY(-50%) scale(1.08);
  opacity: 1;
}
.gallery-nav:active { transform: translateY(-50%) scale(0.95); }
.gallery-nav--prev { left: -4px; }
.gallery-nav--next { right: -4px; }
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.6rem;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}
.gallery-dot.active {
  background: var(--gold);
  transform: scale(1.25);
  width: 22px;
  border-radius: 6px;
}
.gallery-hint {
  text-align: center;
  font-family: var(--font-small);
  font-size: 0.72rem;
  color: var(--ruby-dark);
  opacity: 0.85;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ---------- amplop digital ---------- */
.gift-section {
  isolation: isolate;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
  background:
    url("../img/orn-arch-dark.webp") left bottom / 96px auto no-repeat,
    url("../img/orn-arch-dark.webp") right bottom / 96px auto no-repeat,
    url("../img/pattern-tile.png") center / 200px 200px repeat,
    radial-gradient(ellipse at 50% 100%, rgba(223, 181, 132, 0.18), transparent 55%),
    linear-gradient(rgba(88, 40, 24, 0.82), rgba(62, 30, 16, 0.88)),
    url("../img/kartu-hadiah-bg.jpg") center / cover no-repeat;
}
.gift-flower {
  position: absolute;
  top: 1.2rem;
  right: -30px;
  width: 150px;
  pointer-events: none;
  z-index: 1;
}
.accounts { display: flex; flex-direction: column; gap: 1rem; align-items: center; margin-top: 0.5rem; }
.account {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  text-align: left;
  color: #fff5eb;
  background-color: var(--ruby-dark);
  background-image:
    linear-gradient(155deg, rgba(255, 248, 240, 0.09) 0%, transparent 42%),
    repeating-linear-gradient(-11deg, transparent, transparent 4px, rgba(0, 0, 0, 0.045) 4px, rgba(0, 0, 0, 0.045) 5px),
    linear-gradient(152deg, #582818 0%, #683828 52%, #3e1e10 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 225, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.3);
}
.account::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  background: url("../img/chip-atm.png") center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
}
.account-bank {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 0.25rem;
}
.account-number {
  font-family: var(--font-small);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: #fff5eb;
  word-break: break-word;
}
.account-owner { font-family: var(--font-small); font-size: 0.8rem; opacity: 0.9; margin: 0.35rem 0 0.85rem; }
.account .btn-gold { color: #3d1508; }
.divider-img {
  display: block;
  width: min(230px, 66%);
  margin: 0.5rem auto 1.6rem;
}
.account-logo {
  display: block;
  height: 24px;
  width: auto;
  margin-bottom: 0.5rem;
  background: var(--cream-2);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
}

/* ---------- rsvp ---------- */
.rsvp-section {
  isolation: isolate;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(223, 181, 132, 0.2) 0%, transparent 50%),
    url("../img/orn-arch-dark.webp") left bottom / 84px auto no-repeat,
    url("../img/orn-arch-dark.webp") right bottom / 84px auto no-repeat,
    url("../img/pattern-tile.png") center / 200px 200px repeat,
    linear-gradient(rgba(88, 40, 24, 0.88), rgba(62, 30, 16, 0.94)),
    url("../img/bg-panel-ruby.webp") center / cover no-repeat;
}
.rsvp-section .section-kicker { color: var(--gold-warm); }
.rsvp-section .section-title { color: var(--gold-soft); }
.rsvp-section .divider { color: var(--gold-soft); }
.rsvp-section .body-text { color: rgba(255, 240, 229, 0.82); }

/* ---------- ucapan & doa ---------- */
.wishes-section {
  isolation: isolate;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(223, 181, 132, 0.16), transparent 55%),
    url("../img/pattern-tile.png") center / 200px 200px repeat,
    linear-gradient(180deg, rgba(62, 30, 16, 0.94) 0%, rgba(88, 40, 24, 0.9) 100%),
    url("../img/bg-panel-ruby.webp") center / cover no-repeat;
}
.wishes-section .section-kicker { color: var(--gold-warm); }
.wishes-section .section-title { color: var(--gold-soft); }
.wishes-section .divider { color: var(--gold-soft); }
.wishes-section .body-text { color: rgba(255, 240, 229, 0.82); }

/* ---------- penutup ---------- */
.closing {
  position: relative;
  isolation: isolate;
  padding-top: 1rem;
  padding-bottom: 3.5rem;
  background:
    url("../img/orn-arch-soft.webp") left bottom / 120px auto no-repeat,
    url("../img/orn-arch-soft.webp") right bottom / 120px auto no-repeat,
    radial-gradient(at center, rgba(255, 240, 229, 0.82) 0%, rgba(232, 213, 196, 0.9) 100%),
    url("../img/bg-batik-krem.webp") center / cover,
    url("../img/bg-krem-tekstur.webp") center / cover no-repeat;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 130%);
  aspect-ratio: 1190 / 733;
  background: url("../img/frame-ornamen.webp") center / contain no-repeat;
  opacity: 0.13;
  pointer-events: none;
}
/* wayang hias di penutup */
.closing-wayang {
  position: absolute;
  width: 120px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  animation: wayangSway 7s ease-in-out infinite;
}
.closing-wayang--left { left: -20px; bottom: 18%; }
.closing-wayang--right { right: -20px; bottom: 18%; animation-delay: -3.5s; }
.closing::after {
  content: "";
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 72%);
  background: url("../img/orn-arch-soft.webp") center / contain no-repeat;
  opacity: 0.7;
  pointer-events: none;
}
.closing-script {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0.6rem 0 1rem;
}
.closing-names {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ruby);
  overflow-wrap: anywhere;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  isolation: isolate;
  background:
    url("../img/pattern-tile.png") center / 200px 200px repeat,
    linear-gradient(rgba(62, 30, 16, 0.65), rgba(88, 40, 24, 0.75)),
    url("../img/bg-panel-ruby.webp") center / cover no-repeat;
  color: var(--cream);
  text-align: center;
  padding: 2.2rem 1.5rem 2.6rem;
  border-top: 2px solid var(--gold);
}
.footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--gold-grad);
  z-index: -1;
}
.footer .divider { margin-top: 0; }
.footer-names {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
  overflow-wrap: anywhere;
}
.footer-copy { font-family: var(--font-small); font-size: 0.72rem; opacity: 0.75; }

/* ---------- tombol musik ---------- */
.music-btn {
  position: fixed;
  right: 1rem;
  bottom: 5.4rem;
  z-index: 9;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--ruby);
  color: var(--gold-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.25s ease;
}
.music-btn:hover { transform: scale(1.08); background: var(--ruby-dark); }
.music-btn:active { transform: scale(0.94); }
.music-btn .music-icon { width: 22px; height: 22px; }
.music-btn .music-icon--on { display: none; }
.music-btn.playing .music-icon--off { display: none; }
.music-btn.playing .music-icon--on { display: block; }
.music-btn.playing { animation: spin 4s linear infinite; }
.music-btn.playing:hover,
.music-btn.playing:active { animation-play-state: paused; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- dashboard ---------- */
.dash {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.dash h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ruby);
  margin-bottom: 0.25rem;
}
.dash p.lead { color: #6d5a4a; font-size: 0.95rem; margin-bottom: 1.5rem; }
.dash label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ruby);
  margin-bottom: 0.4rem;
}
.dash textarea,
.dash input[type="text"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.dash textarea { min-height: 180px; resize: vertical; }
.dash-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.dash-base { margin-bottom: 1rem; }
.dash-base input { margin-bottom: 0; }
.dash-base small { display: block; color: #6d5a4a; font-size: 0.8rem; margin-top: 0.3rem; }
.dash-status { color: var(--ruby); font-size: 0.9rem; margin-bottom: 1rem; }

.results { display: flex; flex-direction: column; gap: 0.6rem; }
.result-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream-2);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  flex-wrap: wrap;
}
.result-name { font-weight: 600; color: var(--ruby); min-width: 140px; overflow-wrap: anywhere; }
.result-link {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-small);
  font-size: 0.8rem;
  color: #6d5a4a;
  overflow-wrap: anywhere;
}
.result-row .btn { padding: 0.35rem 0.9rem; font-size: 0.8rem; }

@media (min-width: 600px) {
  .gallery-slide { flex-basis: 42%; }
}

/* ---------- animasi ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes letterIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseZoom { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes petalFall {
  0% { transform: translate3d(0, -12vh, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift, 40px), 112vh, 0) rotate(340deg); }
}

.cover-frame { animation: frameIn 1s ease both; }
.cover-inner > * { animation: fadeUp .9s ease both; }
.cover-inner > *:nth-child(1) { animation-delay: .15s; }
.cover-inner > *:nth-child(2) { animation-delay: .3s; }
.cover-inner > *:nth-child(3) { animation-delay: .45s; }
.cover-inner > *:nth-child(4) { animation-delay: .6s; }
.cover-inner > *:nth-child(5) { animation-delay: .75s; }
.cover-inner > *:nth-child(6) { animation-delay: .9s; }
.cover-inner > *:nth-child(7) { animation-delay: 1.05s; }
.cover-inner > *:nth-child(8) { animation-delay: 1.2s; }
.cover-name .letter { display: inline-block; opacity: 0; animation: letterIn .55s cubic-bezier(.2, .7, .3, 1) forwards; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* varian zoom-in */
.reveal-zoom { opacity: 0; transform: scale(0.92) translateY(16px); transition: opacity .85s ease, transform .85s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal-zoom.visible { opacity: 1; transform: scale(1) translateY(0); }

/* varian slide-up cepat (tombol, nav) */
.reveal-slide { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal-slide.visible { opacity: 1; transform: translateY(0); }
.reveal-slide.gallery-nav { transform: translateY(-50%) translateY(14px); }
.reveal-slide.gallery-nav.visible { transform: translateY(-50%); }

/* cover opening: efek buka amplop — seal pecah, flap terbuka 3D, kartu meluncur keluar */
.cover.opening { pointer-events: none; }

/* amplop: container dengan perspective untuk rotasi 3D flap */
.envelope {
  position: relative;
  width: min(92vw, 420px);
  perspective: 1400px;
  animation: floatY 6s ease-in-out 1.2s infinite;
}

/* panel belakang amplop */
.envelope-back {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 16px;
  background:
    url("../img/pattern-tile.png") center / 140px 140px repeat,
    linear-gradient(180deg, #4e2c1a 0%, #3a1c0e 100%);
  background-blend-mode: soft-light, normal;
  border: 2px solid rgba(206, 177, 114, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* kartu undangan di dalam amplop */
.envelope .cover-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  border-color: rgba(219, 204, 162, 0.7);
  background:
    linear-gradient(165deg, rgba(255, 249, 240, 0.1) 0%, rgba(62, 30, 16, 0.55) 100%);
  padding-top: clamp(130px, 34vw, 175px);
  padding-bottom: 74px;
}

/* kantong depan amplop (hanya dekorasi tepi bawah) */
.envelope-front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  background:
    url("../img/pattern-tile.png") center / 140px 140px repeat,
    linear-gradient(180deg, #6e4229 0%, #4e2c1a 55%, #3a1c0e 100%);
  background-blend-mode: soft-light, normal;
  border: 2px solid rgba(206, 177, 114, 0.5);
  border-top: 2px solid rgba(206, 177, 114, 0.75);
  border-radius: 0 0 14px 14px;
  z-index: 3;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.25);
}

/* flap segitiga amplop */
.envelope-flap {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: clamp(105px, 29vw, 160px);
  z-index: 5;
  transform-origin: 50% 0%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.35, 0, 0.25, 1);
}
.envelope-flap-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.envelope-flap-face svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.envelope-flap-back {
  position: absolute;
  inset: 0;
  background:
    url("../img/pattern-tile.png") center / 140px 140px repeat,
    linear-gradient(180deg, #3a1c0e 0%, #2c150a 100%);
  background-blend-mode: soft-light, normal;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: rotateX(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* seal lilin emas di ujung flap */
.envelope-seal {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 30%, #f0d89a 0%, #ceb172 45%, #a68b50 80%, #8a7340 100%);
  border: 2px solid #e0c888;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.45),
    inset 0 2px 4px rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}
.envelope-seal-ring {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 53, 36, 0.45);
}
.envelope-seal-text {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: #5c3524;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* ===== animasi buka amplop ===== */

/* 1) seal pecah */
@keyframes sealBreak {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(6deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(25deg); }
}
.cover.opening .envelope-seal {
  animation: sealBreak 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 2) flap terbuka ke belakang (rotateX -175deg) */
.cover.opening .envelope-flap {
  transform: rotateX(-175deg);
}

/* 3) kartu meluncur keluar dari amplop */
@keyframes cardPullOut {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.02); }
}
.cover.opening .cover-frame {
  animation: cardPullOut 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s forwards;
}

/* 4) kantong depan meluncur turun + memudar */
@keyframes envelopeFrontOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(28px); }
}
.cover.opening .envelope-front {
  animation: envelopeFrontOut 0.6s ease 0.35s forwards;
}

/* 5) panel belakang amplop memudar */
@keyframes coverFade {
  to { opacity: 0; }
}
.cover.opening .envelope-back {
  animation: coverFade 0.5s ease 0.4s forwards;
}

/* 6) sudut kartu memudar */
@keyframes sudutFade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.cover.opening .cover-sudut {
  animation: sudutFade 0.45s ease 0.3s both;
}

/* final: cover fade-out setelah jeda (diatur JS ~850ms) */
.cover.open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.gallery-slide.reveal { opacity: 0; transform: scale(0.85) translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.gallery-slide.reveal.visible:not(.active) { opacity: 0.55; transform: scale(0.92); transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease, box-shadow 0.4s ease; }
.gallery-slide.reveal.visible.active { opacity: 1; transform: scale(1); transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease, box-shadow 0.4s ease; }

.countdown-num.tick { animation: pulseZoom .55s ease; }
.gunungan-bg { animation: floatY 7s ease-in-out infinite; }

.petal-layer { position: fixed; inset: 0; pointer-events: none; z-index: 11; overflow: hidden; }
.petal {
  position: absolute;
  top: 0;
  border-radius: 60% 40% 55% 45%;
  background: radial-gradient(circle at 30% 30%, var(--cream-3), var(--gold-warm));
  opacity: .5;
  animation: petalFall linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cover-frame, .cover-inner > *, .cover-name .letter, .countdown-num.tick, .gunungan-bg, .envelope { animation: none; }
  .cover-name .letter { opacity: 1; }
  .reveal, .reveal-zoom, .reveal-slide { opacity: 1; transform: none; transition: none; }
  .reveal-slide.gallery-nav { transform: translateY(-50%); }
  .gallery-slide.reveal { opacity: 0.55; transform: scale(0.92); transition: none; }
  .gallery-slide.reveal.visible:not(.active) { opacity: 0.55; transform: scale(0.92); transition: none; }
  .gallery-slide.reveal.visible.active { opacity: 1; transform: scale(1); transition: none; }
  .gallery-slide.active img { transition: none; }
  .petal-layer { display: none; }
  .gallery img:hover { transform: none; }
  .gallery { scroll-behavior: auto; }
  .event-card.reveal.visible { animation: none; }
  .event-rail-line { animation: none; transform: none; }
  .acara-glow, .acara-gunungan-bg { animation: none; }
  .event-card:hover { transform: none; box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35); }
  .cover.opening .cover-frame,
  .cover.opening .envelope-flap,
  .cover.opening .envelope-front,
  .cover.opening .envelope-back,
  .cover.opening .envelope-seal,
  .cover.opening .cover-sudut { animation: none !important; }
  .cover.opening .envelope-flap { transform: rotateX(-175deg); }
  .cover.opening .envelope-seal,
  .cover.opening .envelope-front,
  .cover.opening .envelope-back,
  .cover.opening .cover-sudut { opacity: 0; }
  .cover.opening .cover-frame { transform: translateY(-40px) scale(1.02); }
  .cover.opening { pointer-events: none; }
}

/* ============================================================
   ANIMASI GUNUNGAN — Royal Javanese
   Memakai assets: gunungan.png & gunungan-emas-bg.webp
   ============================================================ */

/* ---------- panggung gunungan (bungkus absolute) ---------- */
.gunungan-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.gunungan-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(340px, 80%);
  transform: translate(-50%, -50%);
  opacity: 0.22;
  filter: blur(0.5px) saturate(1.2);
  animation: gununganBreathe 6s ease-in-out infinite;
}
.gunungan-bg.gunungan-spin {
  width: min(240px, 55%);
  opacity: 0.32;
  filter: drop-shadow(0 0 22px rgba(223, 181, 132, 0.55));
  animation:
    gununganFloat 7s ease-in-out infinite,
    gununganGlow 4.2s ease-in-out infinite,
    gununganSway 9s ease-in-out infinite;
}

/* halo cahaya di belakang gunungan */
.gunungan-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, 75%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(223,181,132,0.38) 0%, rgba(223,181,132,0.12) 45%, transparent 70%);
  filter: blur(2px);
  animation: haloPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- cover: gunungan wayang pembuka ---------- */
.cover-gunungan-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cover-gunungan-halo {
  position: absolute;
  bottom: -12%;
  left: 50%;
  width: min(560px, 130%);
  aspect-ratio: 1.4;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(223,181,132,0.35) 0%, rgba(223,181,132,0.1) 50%, transparent 72%);
  animation: haloPulse 5s ease-in-out infinite;
}
.cover-gunungan {
  position: absolute;
  bottom: -6%;
  left: 50%;
  width: min(460px, 115%);
  max-height: 88%;
  object-fit: contain;
}
.cover-gunungan--back {
  opacity: 0.28;
  filter: blur(1px) saturate(1.3);
  transform: translateX(-50%) scale(1.08);
  animation: gununganBackDrift 11s ease-in-out infinite;
}
.cover-gunungan--front {
  opacity: 0.92;
  filter: drop-shadow(0 -8px 32px rgba(223,181,132,0.45)) drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transform-origin: 50% 100%;
  transform: translateX(-50%);
  animation:
    gununganRiseIn 1.6s cubic-bezier(.2,.8,.25,1) both,
    gununganFloat 7s ease-in-out 1.7s infinite,
    gununganGlow 4.5s ease-in-out 1.7s infinite;
  /* kilau emas berjalan */
  -webkit-mask-image: linear-gradient(105deg, #000 78%, rgba(0,0,0,.55) 88%, #000 96%);
  mask-image: linear-gradient(105deg, #000 78%, rgba(0,0,0,.55) 88%, #000 96%);
  -webkit-mask-size: 280% 100%;
  mask-size: 280% 100%;
}
/* saat cover dibuka: gunungan mengembang seperti tirai wayang */
.cover.open .cover-gunungan--front { animation: gununganOpenCurtain 1s ease-in both; }
.cover.open .cover-gunungan--back { animation: gununganOpenCurtain 1.1s ease-in both; }
.cover-frame, .cover-inner { position: relative; z-index: 1; }

/* partikel cahaya di cover */
.cover-spark {
  position: absolute;
  bottom: -4%;
  left: var(--x, 50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6e3 0%, #dfb584 60%, transparent 75%);
  opacity: 0;
  animation: sparkRise 4.5s linear infinite;
  animation-delay: var(--d, 0s);
}

/* ---------- mempelai: gunungan melayang ---------- */
.mempelai-gunungan {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  width: min(170px, 44%);
  transform: translateX(-50%);
  opacity: 0.95;
  filter: drop-shadow(0 6px 22px rgba(223,181,132,0.4));
  z-index: 0;
  animation:
    gununganDropIn 1.1s cubic-bezier(.2,.8,.25,1) both,
    gununganFloat 6.5s ease-in-out 1.2s infinite,
    gununganGlow 4s ease-in-out 1.2s infinite;
}
.mempelai-halo {
  top: 9rem;
  width: min(280px, 70%);
}
.mempelai-section .panel { margin-top: 6.2rem; }

/* ---------- divider gunungan antar kartu acara ---------- */
.gunungan-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0.4rem auto 1.8rem;
  position: relative;
  z-index: 1;
}
.gunungan-mini {
  width: 74px;
  filter: drop-shadow(0 4px 14px rgba(104,56,40,0.35)) drop-shadow(0 0 10px rgba(223,181,132,0.5));
  animation: gununganMiniSway 5s ease-in-out infinite, gununganGlow 3.8s ease-in-out infinite !important;
  transform-origin: 50% 80%;
}
.gunungan-line {
  height: 1px;
  width: min(90px, 24%);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.gunungan-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- closing: gunungan terbit ---------- */
.closing-gunungan-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 190px;
  margin-bottom: -2.2rem;
  z-index: 0;
  overflow: visible;
}
.closing-gunungan-wrap .gunungan-halo {
  top: auto;
  bottom: -30%;
  width: min(300px, 80%);
}
.closing-gunungan {
  width: min(190px, 50%);
  filter: drop-shadow(0 8px 26px rgba(223,181,132,0.45));
  transform-origin: 50% 100%;
  animation:
    gununganRiseLoop 7s ease-in-out infinite,
    gununganGlow 4s ease-in-out infinite;
}
.reveal.visible .closing-gunungan,
.closing-gunungan-wrap.visible .closing-gunungan { animation-play-state: running; }

/* ---------- bara emas naik dari gunungan countdown ---------- */
.ember-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.ember {
  position: absolute;
  bottom: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3d6 0%, #dfb584 55%, transparent 75%);
  opacity: 0;
  animation: emberRise linear infinite;
}

/* ---------- keyframes gunungan ---------- */
@keyframes gununganFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}
@keyframes gununganSway {
  0%, 100% { rotate: -2.2deg; }
  50% { rotate: 2.2deg; }
}
@keyframes gununganGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(223,181,132,0.25)); }
  50% { filter: drop-shadow(0 0 26px rgba(223,181,132,0.65)); }
}
@keyframes gununganBreathe {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.18; }
  50% { transform: translate(-50%,-50%) scale(1.07); opacity: 0.28; }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
}
.cover-gunungan-halo { --hx: -50%; }
.cover-gunungan-halo, .closing-gunungan-wrap .gunungan-halo {
  animation-name: haloPulseBottom;
}
@keyframes haloPulseBottom {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.07); }
}
@keyframes gununganRiseIn {
  from { opacity: 0; transform: translateX(-50%) translateY(70px) scale(0.92); }
  to { opacity: 0.92; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes gununganBackDrift {
  0%, 100% { transform: translateX(-50%) scale(1.08) rotate(-1.2deg); }
  50% { transform: translateX(-50%) scale(1.14) rotate(1.2deg); }
}
@keyframes gununganOpenCurtain {
  to { opacity: 0; transform: translateX(-50%) translateY(60px) scale(1.35); filter: blur(6px); }
}
@keyframes gununganDropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-34px) scale(0.9); }
  to { opacity: 0.95; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes gununganMiniSway {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-5px); }
}
@keyframes gununganRiseLoop {
  0%, 100% { transform: translateY(10px) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}
@keyframes sparkRise {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-46vh) scale(1.15); }
}
@keyframes emberRise {
  0% { opacity: 0; transform: translateY(0) scale(0.7); }
  18% { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(-220px) translateX(var(--drift, 20px)) scale(1.1); }
}

/* reveal halus untuk gunungan */
.mempelai-gunungan.reveal, .gunungan-divider.reveal, .closing-gunungan-wrap.reveal {
  transition: opacity 0.9s ease, transform 0.9s ease;
}

@media (prefers-reduced-motion: reduce) {
  .gunungan-bg.gunungan-spin, .gunungan-ring, .gunungan-halo,
  .cover-gunungan, .cover-gunungan-halo, .cover-spark,
  .mempelai-gunungan, .gunungan-mini, .closing-gunungan, .ember,
  .quote-gunungan, .quote-gunungan-bg {
    animation: none !important;
  }
  .quote-gunungan-bg { opacity: 0.1; }
  .quote-gunungan { opacity: 0.08; }
  .ember-layer { display: none; }
}

/* ============================================================
   VARIAN GUNUNGAN 2 — terbelah, veil raksasa, kelir flicker
   ============================================================ */

/* ---------- 1) cover terbelah dua (kiri/kanan) ---------- */
.cover-split {
  position: absolute;
  bottom: -6%;
  left: 50%;
  width: min(460px, 115%);
  aspect-ratio: 1 / 1.15;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: gununganRiseIn 1.6s cubic-bezier(.2,.8,.25,1) both;
  filter: drop-shadow(0 -8px 32px rgba(223,181,132,0.45)) drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.split-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  overflow: hidden;
  animation: splitFloat 7s ease-in-out 1.7s infinite;
}
.split-left { left: 0; }
.split-right { right: 0; }
.split-half img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 200%;
  max-width: none;
  object-fit: contain;
  object-position: top center;
  animation: splitGlow 4.5s ease-in-out 1.7s infinite;
}
.split-left img { left: 0; }
.split-right img { right: 0; }
/* garis retakan cahaya di tengah */
.split-crack {
  position: absolute;
  top: 4%;
  bottom: 2%;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(255,243,214,0.9) 30%, rgba(255,243,214,0.9) 70%, transparent);
  filter: blur(0.6px);
  opacity: 0;
  animation: crackBlink 3.2s ease-in-out 2s infinite;
}
/* saat dibuka: dua belahan bergeser keluar + memudar */
.cover.open .cover-split { animation: none; filter: none; }
.cover.open .split-left { animation: splitOpenLeft 0.95s cubic-bezier(.6,0,.8,.4) both; }
.cover.open .split-right { animation: splitOpenRight 0.95s cubic-bezier(.6,0,.8,.4) both; }
.cover.open .split-crack { animation: crackFlash 0.95s ease-out both; }
.cover.open .cover-gunungan--back { animation: gununganOpenCurtain 1s ease-in both; }

/* ---------- 2) veil transisi raksasa antar babak ---------- */
.gunungan-veil {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  margin: -30px 0 -34px;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.gunungan-veil--slim { height: 180px; }
.gunungan-veil .gunungan-halo {
  width: min(300px, 72%);
  animation: haloPulse 4.2s ease-in-out infinite, haloFlicker 3.1s steps(12) infinite;
}
.veil-ring {
  position: absolute;
  width: min(300px, 74%);
  opacity: 0.2;
  filter: blur(0.5px) saturate(1.25);
  animation: gununganBreatheVeil 6s ease-in-out infinite;
}
.veil-gunungan {
  width: min(168px, 42%);
  transform-origin: 50% 90%;
  filter: drop-shadow(0 10px 26px rgba(62,30,16,0.4)) drop-shadow(0 0 18px rgba(223,181,132,0.5));
  animation: veilSway 6s ease-in-out infinite, splitGlow 4s ease-in-out infinite;
  /* zoom mengikuti scroll, diisi dari JS via --zoom */
  scale: var(--zoom, 0.85);
  opacity: calc(0.35 + var(--zoom, 0.85) * 0.55);
  transition: scale 0.15s linear;
}

/* ---------- 3) kelir wayang: cahaya seperti lampu minyak ---------- */
.countdown-section .gunungan-halo {
  animation: haloPulse 4.2s ease-in-out infinite, haloFlicker 2.8s steps(10) infinite;
}
.countdown-section .countdown-content { text-shadow: 0 2px 18px rgba(0,0,0,0.45); }

/* ---------- 4) tilt interaktif (diisi JS via --tilt) ---------- */
.cover-split, .gunungan-bg.gunungan-spin {
  rotate: var(--tilt, 0deg);
}

/* ---------- keyframes varian 2 ---------- */
@keyframes splitFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -11px; }
}
@keyframes splitGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(223,181,132,0.25)); }
  50% { filter: drop-shadow(0 0 24px rgba(223,181,132,0.65)); }
}
@keyframes crackBlink {
  0%, 100% { opacity: 0; }
  45%, 55% { opacity: 0.95; }
}
@keyframes crackFlash {
  0% { opacity: 0.4; transform: translateX(-50%) scaleY(0.6); }
  30% { opacity: 1; transform: translateX(-50%) scaleY(1.15); filter: blur(0); }
  100% { opacity: 0; transform: translateX(-50%) scaleY(1.3); filter: blur(4px); }
}
@keyframes splitOpenLeft {
  0% { transform: translateX(0) rotate(0); opacity: 1; filter: blur(0); }
  100% { transform: translateX(-58%) rotate(-7deg); opacity: 0; filter: blur(5px); }
}
@keyframes splitOpenRight {
  0% { transform: translateX(0) rotate(0); opacity: 1; filter: blur(0); }
  100% { transform: translateX(58%) rotate(7deg); opacity: 0; filter: blur(5px); }
}
@keyframes veilSway {
  0%, 100% { rotate: -2.6deg; margin-top: 0; }
  50% { rotate: 2.6deg; margin-top: -9px; }
}
@keyframes gununganBreatheVeil {
  0%, 100% { transform: scale(1); opacity: 0.16; }
  50% { transform: scale(1.08); opacity: 0.26; }
}
@keyframes haloFlicker {
  0%, 100% { opacity: 0.85; }
  8% { opacity: 0.72; }
  16% { opacity: 0.92; }
  28% { opacity: 0.78; }
  41% { opacity: 0.95; }
  55% { opacity: 0.8; }
  70% { opacity: 0.93; }
  84% { opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-split, .split-half, .split-half img, .split-crack,
  .veil-gunungan, .veil-ring, .gunungan-veil .gunungan-halo {
    animation: none !important;
  }
  .veil-gunungan { scale: 1; opacity: 1; }
}

/* ============================================================
   VARIAN 3 — gunungan + bunga + ornamen
   ============================================================ */

/* ---------- bunga mekar saat reveal ---------- */
.flower, .person-flower, .gift-flower, .bismillah,
.mempelai-flower, .veil-flower, .orbit-flower, .closing-flower {
  transform-box: fill-box;
}
.reveal.flower, .reveal.person-flower, .reveal.gift-flower, .reveal.bismillah,
.reveal.mempelai-flower, .reveal.veil-flower, .reveal.orbit-flower, .reveal.closing-flower {
  transform: scale(0.55) rotate(-10deg);
  opacity: 0;
}
.reveal.visible.flower, .reveal.visible.person-flower, .reveal.visible.gift-flower,
.reveal.visible.bismillah, .reveal.visible.mempelai-flower, .reveal.visible.veil-flower,
.reveal.visible.orbit-flower, .reveal.visible.closing-flower {
  transform: none;
  opacity: 1;
}

/* ---------- bunga pendamping gunungan mempelai ---------- */
.mempelai-flower {
  position: absolute;
  top: 4.2rem;
  width: min(110px, 28%);
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(62,30,16,0.35));
  animation: flowerSway 5.5s ease-in-out infinite, flowerGlow 4s ease-in-out infinite;
}
.mempelai-flower--left { left: calc(50% - 118px); --sw: -4deg; }
.mempelai-flower--right { right: calc(50% - 118px); --sw: 4deg; animation-delay: -2.7s; scale: -1 1; }

/* ---------- bunga orbit di veil + countdown ---------- */
.veil-flower {
  position: absolute;
  width: 56px;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(62,30,16,0.35)) drop-shadow(0 0 10px rgba(223,181,132,0.55));
  animation: orbitA 11s ease-in-out infinite, flowerGlow 4s ease-in-out infinite;
}
.veil-flower--a { --rx: 92px; --ry: 56px; }
.veil-flower--b { --rx: -92px; --ry: -48px; animation-name: orbitB; animation-delay: -5.5s; width: 44px; opacity: 0.9; }

.orbit-flower {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(223,181,132,0.6));
  animation: orbitA 12s linear infinite, flowerGlow 3.6s ease-in-out infinite;
}
.orbit-flower--b { animation: orbitB 14s linear infinite reverse; width: 40px; opacity: 0.85; }

.closing-flower {
  position: absolute;
  bottom: 6px;
  width: 84px;
  z-index: 1;
  animation: flowerSway 5s ease-in-out infinite;
}
.closing-flower--left { left: calc(50% - 110px); }
.closing-flower--right { right: calc(50% - 110px); scale: -1 1; animation-delay: -2.5s; }

/* ---------- ornamen berkilau ---------- */
.cover-sudut {
  animation: sudutShine 4.5s ease-in-out infinite;
}
.cover-sudut--tl { animation-delay: -2.25s; }
.divider-img {
  animation: dividerShimmer 5.5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(100deg, #000 70%, rgba(0,0,0,0.4) 82%, #000 92%);
  mask-image: linear-gradient(100deg, #000 70%, rgba(0,0,0,0.4) 82%, #000 92%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
}
/* kawung divider menggambar saat muncul */
.divider.reveal { transform: scaleX(0.4); opacity: 0; }
.divider.reveal.visible { transform: scaleX(1); opacity: 1; transition: transform 1s cubic-bezier(.2,.8,.25,1), opacity 0.8s ease; }
/* pita ornamen berdenyut halus */
.acara-section::before, .acara-section::after {
  animation: bandBreathe 6s ease-in-out infinite;
}

/* ---------- burst kelopak dari gunungan (dibuat JS) ---------- */
.burst-petal {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 10px;
  height: 10px;
  border-radius: 60% 40% 55% 45%;
  background: radial-gradient(circle at 30% 30%, #fff6e3, #dfb584);
  box-shadow: 0 0 10px rgba(223,181,132,0.7);
  pointer-events: none;
  z-index: 3;
  animation: burstFly 1.6s cubic-bezier(.2,.7,.3,1) forwards;
}

/* ---------- keyframes varian 3 ---------- */
@keyframes flowerSway {
  0%, 100% { rotate: var(--sw, -3deg); margin-top: 0; }
  50% { rotate: calc(var(--sw, -3deg) * -1); margin-top: -8px; }
}
@keyframes flowerGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(223,181,132,0.3)); }
  50% { filter: drop-shadow(0 0 16px rgba(223,181,132,0.65)); }
}
@keyframes orbitA {
  0% { transform: translate(calc(var(--rx, 90px)), 0) rotate(0deg) scale(1); }
  25% { transform: translate(0, var(--ry, 55px)) rotate(90deg) scale(0.85); }
  50% { transform: translate(calc(var(--rx, 90px) * -1), 0) rotate(180deg) scale(1); }
  75% { transform: translate(0, calc(var(--ry, 55px) * -1)) rotate(270deg) scale(1.08); }
  100% { transform: translate(calc(var(--rx, 90px)), 0) rotate(360deg) scale(1); }
}
@keyframes orbitB {
  0% { transform: translate(calc(var(--rx, -90px)), 0) rotate(0deg) scale(0.9); }
  25% { transform: translate(0, calc(var(--ry, -48px) * -1)) rotate(-90deg) scale(1.05); }
  50% { transform: translate(calc(var(--rx, -90px) * -1), 0) rotate(-180deg) scale(0.9); }
  75% { transform: translate(0, var(--ry, -48px)) rotate(-270deg) scale(0.82); }
  100% { transform: translate(calc(var(--rx, -90px)), 0) rotate(-360deg) scale(0.9); }
}
@keyframes sudutShine {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(223,181,132,0)); }
  50% { filter: brightness(1.22) drop-shadow(0 0 12px rgba(223,181,132,0.7)); }
}
@keyframes dividerShimmer {
  0% { -webkit-mask-position: 120% 0; mask-position: 120% 0; }
  55%, 100% { -webkit-mask-position: -40% 0; mask-position: -40% 0; }
}
@keyframes bandBreathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.55; }
}
@keyframes burstFly {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--bx, 40px)), var(--by, -90px)) rotate(var(--br, 160deg)) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .mempelai-flower, .veil-flower, .orbit-flower, .closing-flower,
  .cover-sudut, .divider-img, .burst-petal {
    animation: none !important;
  }
}

/* ============================================================
   SEKSI BARU — Intro, Love Story, Live, RSVP, Wishes, Nav
   ============================================================ */

/* ---------- intro / home ---------- */
.intro-section {
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.2rem 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(223, 181, 132, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 85%, rgba(104, 56, 40, 0.2) 0%, transparent 55%),
    url("../img/bg-batik-krem.webp") center / cover;
}
.intro-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.intro-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 90%);
  aspect-ratio: 1.2;
  background: radial-gradient(ellipse at center, rgba(223, 181, 132, 0.3) 0%, rgba(223, 181, 132, 0.08) 45%, transparent 70%);
  animation: haloPulse 6s ease-in-out infinite;
}
.intro-halo {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, 70%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 240, 229, 0.2) 0%, transparent 65%);
  filter: blur(8px);
  animation: haloPulse 5s ease-in-out infinite reverse;
}
.intro-gunungan-bg {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(480px, 95%);
  transform: translate(-50%, -50%);
  opacity: 0.12;
  filter: saturate(1.3);
}
.intro-gunungan {
  position: absolute;
  top: 44%;
  left: 50%;
  width: min(260px, 55%);
  transform: translate(-50%, -50%);
  opacity: 0.1;
  filter: drop-shadow(0 0 24px rgba(223, 181, 132, 0.45));
  animation: gununganFloat 8s ease-in-out infinite, gununganGlow 5s ease-in-out infinite;
}
.intro-flower {
  position: absolute;
  width: 160px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}
.intro-flower--left { left: -50px; top: 12%; }
.intro-flower--right { right: -50px; top: 12%; transform: scaleX(-1); }

/* wayang hias di intro */
.intro-wayang {
  position: absolute;
  width: 110px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  animation: wayangSway 7s ease-in-out infinite;
}
.intro-wayang--left { left: -24px; bottom: 8%; }
.intro-wayang--right { right: -24px; bottom: 8%; animation-delay: -3.5s; }
@keyframes wayangSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* awan dekoratif bawah section */
.section-awan {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.countdown-section .section-awan { opacity: 0.35; }
.section-awan--closing { opacity: 0.4; }

/* kartu intro */
.intro-card {
  position: relative;
  z-index: 2;
  width: min(92vw, 440px);
  padding: 2.4rem 1.4rem 2rem;
  background:
    linear-gradient(165deg, rgba(255, 249, 240, 0.94) 0%, rgba(255, 240, 229, 0.9) 55%, rgba(255, 232, 210, 0.88) 100%);
  border: 2px solid var(--gold);
  outline: 1px solid rgba(206, 177, 114, 0.45);
  outline-offset: 6px;
  border-radius: 20px;
  box-shadow:
    0 20px 50px rgba(62, 30, 16, 0.28),
    0 0 0 1px rgba(206, 177, 114, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-align: center;
}
.intro-sudut {
  position: absolute;
  width: 72px;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(104, 56, 40, 0.25));
  animation: sudutShine 4.5s ease-in-out infinite;
}
.intro-sudut--tl { top: -10px; left: -10px; }
.intro-sudut--tr { top: -10px; right: -10px; transform: scaleX(-1); animation-delay: -1.1s; }
.intro-sudut--bl { bottom: -10px; left: -10px; transform: scaleY(-1); animation-delay: -2.2s; }
.intro-sudut--br { bottom: -10px; right: -10px; transform: scale(-1); animation-delay: -3.3s; }
.intro-card-inner { position: relative; z-index: 2; }
.intro-basmalah {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ruby);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.intro-ornament {
  width: min(160px, 48%);
  margin: 0 auto 0.7rem;
  opacity: 0.9;
}
.intro-section .section-kicker {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 400;
  color: var(--ruby);
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.intro-subheading {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 8vw, 3rem);
  color: var(--gold);
  line-height: 1.15;
  margin: 0.15rem 0 0.6rem;
  text-shadow: 0 2px 12px rgba(206, 177, 114, 0.35);
}
.intro-names-wrap { position: relative; margin: 0.4rem 0 0.9rem; }
.intro-amp {
  display: block;
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: -0.15rem;
  opacity: 0.85;
}
.intro-names {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 400;
  color: var(--ruby);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.intro-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(206, 177, 114, 0.55);
  background: linear-gradient(135deg, rgba(206, 177, 114, 0.18), rgba(206, 177, 114, 0.06));
  margin-bottom: 0.9rem;
}
.intro-date-orn {
  width: 48px;
  height: 12px;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.85;
}
.intro-date-orn--flip { transform: scaleX(-1); }
.intro-date {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ruby);
  white-space: nowrap;
}
.divider--gold { color: var(--gold); margin-bottom: 0.8rem; }
.intro-body {
  font-size: 0.9rem;
  font-weight: 300;
  color: #6d5a4a;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.75;
}
.intro-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.4rem;
  opacity: 0.55;
}
.intro-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
.intro-scroll-label {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- love story ---------- */
.love-section {
  isolation: isolate;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
  background:
    url("../img/orn-arch-dark.webp") left bottom / 84px auto no-repeat,
    url("../img/orn-arch-dark.webp") right bottom / 84px auto no-repeat,
    url("../img/pattern-tile.png") center / 200px 200px repeat,
    linear-gradient(rgba(88, 40, 24, 0.82), rgba(62, 30, 16, 0.88)),
    url("../img/bg-panel-ruby.webp") center / cover no-repeat;
}
.love-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, 96%);
  transform: translate(-50%, -50%);
  opacity: 0.08;
  filter: saturate(1.1) drop-shadow(0 0 16px rgba(223, 181, 132, 0.25));
  pointer-events: none;
  z-index: 0;
  animation: gununganBreathe 9s ease-in-out infinite;
}
.love-section .section-kicker,
.love-section .section-title,
.love-section .divider,
.love-section .body-text {
  position: relative;
  z-index: 1;
}
.love-section .section-kicker { color: var(--gold-warm); }
.love-section .section-title { color: var(--gold-soft); }
.love-section .divider { color: var(--gold-soft); }
.love-section .body-text { color: rgba(255, 240, 229, 0.82); }

/* timeline love story */
.love-timeline {
  position: relative;
  z-index: 1;
  margin-top: 2.2rem;
  padding: 0.5rem 0 0.5rem;
}
/* garis vertikal emas di tengah — menggambar saat scroll masuk */
.love-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  transform: scaleY(0);
  transform-origin: top;
}
.love-timeline.rail-inview::before {
  animation: railDraw 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.love-item {
  position: relative;
  padding-left: 58px;
  padding-bottom: 2rem;
}
.love-item:last-child { padding-bottom: 0.5rem; }

/* node lingkaran di garis */
.love-node {
  position: absolute;
  left: 22px;
  top: 18px;
  transform: translateX(-50%);
  z-index: 2;
}
.love-node-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #3a1c0e;
  background: var(--gold-grad);
  border: 2.5px solid var(--cream-2);
  box-shadow: 0 0 0 2px var(--gold), 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* kartu love story */
.love-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: linear-gradient(160deg, rgba(255, 249, 240, 0.1) 0%, rgba(255, 240, 229, 0.05) 100%);
  border: 1px solid rgba(219, 204, 162, 0.4);
  border-radius: 18px;
  padding: 1.1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.love-card:hover {
  transform: translateY(-4px);
  border-color: rgba(206, 177, 114, 0.7);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(223, 181, 132, 0.15);
}

/* foto bulat berbingkai emas */
.love-photo {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(206, 177, 114, 0.25), 0 6px 18px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  margin: 0 auto;
}
.love-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.love-card:hover .love-photo img { transform: scale(1.08); }
.love-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(206, 177, 114, 0.45);
  animation: ringSpin 18s linear infinite;
  pointer-events: none;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.love-body { text-align: center; }
.love-date {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 0.3rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(206, 177, 114, 0.45);
  border-radius: 999px;
  background: rgba(206, 177, 114, 0.1);
}
.love-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold-soft);
  margin: 0.4rem 0 0.35rem;
}
.love-text {
  font-size: 0.86rem;
  font-weight: 300;
  color: rgba(255, 240, 229, 0.78);
  line-height: 1.65;
}

/* reveal staggered untuk tiap item */
.love-item.reveal { opacity: 0; transform: translateY(28px); }
.love-item.reveal.visible { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.love-item:nth-child(2).reveal.visible { transition-delay: 0.12s; }
.love-item:nth-child(3).reveal.visible { transition-delay: 0.24s; }
.love-item:nth-child(4).reveal.visible { transition-delay: 0.36s; }

/* ---------- live streaming ---------- */
.live-section {
  isolation: isolate;
  padding: 3.5rem 1.5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(223, 181, 132, 0.16), transparent 55%),
    url("../img/bg-batik-krem.webp") center / cover;
}
.live-platform {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0.8rem 0 1.2rem;
}

/* ---------- gift address ---------- */
.gift-address-box {
  margin: 1.8rem auto 0;
  max-width: 360px;
  padding: 1.2rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(219, 204, 162, 0.45);
  background: rgba(255, 240, 229, 0.08);
  text-align: center;
}
.gift-address-label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 0.5rem;
}
.gift-address-text {
  font-family: var(--font-small);
  font-size: 0.9rem;
  color: rgba(255, 240, 229, 0.88);
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

/* ---------- RSVP & wishes form ---------- */
.rsvp-form,
.wishes-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 1.6rem auto 0;
  text-align: left;
  padding: 1.5rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 240, 229, 0.06);
  border: 1px solid rgba(219, 204, 162, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.rsvp-field { display: flex; flex-direction: column; gap: 0.45rem; }
.rsvp-field > span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-warm);
}
.rsvp-field input[type="text"],
.rsvp-field select,
.rsvp-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream-2);
  border: 2px solid rgba(206, 177, 114, 0.65);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  resize: vertical;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}
.rsvp-field input[type="text"]::placeholder,
.rsvp-field textarea::placeholder {
  color: #9a8574;
}
.rsvp-field input[type="text"]:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(206, 177, 114, 0.35);
}
.rsvp-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rsvp-option {
  flex: 1;
  min-width: 100px;
  cursor: pointer;
}
.rsvp-option input { position: absolute; opacity: 0; pointer-events: none; }
.rsvp-option span {
  display: block;
  text-align: center;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 0.5rem;
  border-radius: 999px;
  border: 2px solid rgba(206, 177, 114, 0.55);
  color: var(--gold-soft);
  background: rgba(62, 30, 16, 0.55);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.rsvp-option span:hover {
  border-color: var(--gold);
  background: rgba(206, 177, 114, 0.15);
}
.rsvp-option input:checked + span {
  background: var(--gold-grad);
  border-color: var(--gold);
  color: #3a1c0e;
  box-shadow: 0 4px 14px rgba(206, 177, 114, 0.4);
}
.rsvp-option input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(206, 177, 114, 0.45);
}
.rsvp-form .btn,
.wishes-form .btn { align-self: center; }

/* ---------- person instagram ---------- */
.person-ig {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(206, 177, 114, 0.5);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.person-ig:hover { color: var(--ruby); border-color: var(--ruby); }

/* ---------- closing thanks ---------- */
.closing-thanks {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

/* ---------- bottom nav ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 20;
  display: flex;
  gap: 0.15rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(62, 30, 16, 0.88);
  border: 1px solid rgba(219, 204, 162, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  max-width: calc(100vw - 1rem);
}
.bottom-nav.visible { transform: translateX(-50%) translateY(0); }
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 240, 229, 0.65);
  font-family: var(--font-small);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-icon { font-size: 1rem; line-height: 1; transition: transform 0.25s ease; }
.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--gold-soft);
  background: rgba(219, 204, 162, 0.14);
}
.bottom-nav-item:active { transform: scale(0.92); }
.bottom-nav-item.active .bottom-nav-icon { transform: translateY(-2px); }
body.invitation-open .bottom-nav { pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .bottom-nav { transition: none; }
  .love-card, .love-item, .love-photo-ring, .rsvp-form, .wishes-form, .gift-address-box,
  .person-ig, .closing-thanks, .intro-flower {
    transition: none;
  }
  .love-item.reveal, .love-item.reveal.visible { opacity: 1; transform: none; transition: none; }
  .love-timeline::before, .love-photo-ring { animation: none; }
  .love-timeline::before { transform: scaleY(1); }
  .love-card:hover { transform: none; }
  .love-card:hover .love-photo img { transform: none; }
  .intro-gunungan, .intro-gunungan-bg, .intro-glow, .intro-halo,
  .intro-sudut, .intro-scroll-line {
    animation: none !important;
  }
  .intro-gunungan, .intro-gunungan-bg { opacity: 0.1; }
  .acara-joglo, .love-frame { animation: none; }
  .intro-wayang, .closing-wayang, .section-awan { animation: none; }
  .intro-wayang, .closing-wayang { opacity: 0.45; }
}