/* Purnama - Undangan Aqiqah Digital
   Warna diatur per tema di bawah. Biasanya cukup ganti data-theme di index.html. */

[data-theme="fajar"] {
  --bg: #fbf7ef; --bg-2: #f3ecdf; --card: #fffdf8; --ink: #2e2a25; --muted: #776e62;
  --accent: #a9833d; --accent-2: #e8d4a6; --accent-3: #8ea69c; --line: rgba(169, 131, 61, .26);
  --btn-ink: #fffdf8; --sky-1: #fdf3df; --sky-2: #f1e3cb; --cloud: #ffffff;
  --night: #262238; --night-2: #3b345c;
}
[data-theme="langit"] {
  --bg: #f5f9fd; --bg-2: #e7f0f9; --card: #ffffff; --ink: #1e2f47; --muted: #5d6f88;
  --accent: #4a82c3; --accent-2: #f0cf84; --accent-3: #9cc3e6; --line: rgba(74, 130, 195, .22);
  --btn-ink: #ffffff; --sky-1: #e9f3fc; --sky-2: #d4e6f6; --cloud: #ffffff;
  --night: #1a2846; --night-2: #2b4271;
}
[data-theme="mawar"] {
  --bg: #fdf7f6; --bg-2: #f8eae8; --card: #fffbfa; --ink: #3e2a2d; --muted: #886b6f;
  --accent: #bf7680; --accent-2: #ebcd97; --accent-3: #e8bcc1; --line: rgba(191, 118, 128, .24);
  --btn-ink: #fffbfa; --sky-1: #fcebea; --sky-2: #f4d9d8; --cloud: #ffffff;
  --night: #302036; --night-2: #4b3156;
}
[data-theme="malam"] {
  --bg: #0f1930; --bg-2: #15213c; --card: #1b2948; --ink: #f2ead8; --muted: #b2b8c7;
  --accent: #d8b46a; --accent-2: #f1dba6; --accent-3: #8ea3c8; --line: rgba(216, 180, 106, .28);
  --btn-ink: #17213a; --sky-1: #1a2a4d; --sky-2: #0f1930; --cloud: #24365c;
  --night: #0a1121; --night-2: #1a2848;
}
:root { --display: "Newsreader", Georgia, serif; --body: "Figtree", system-ui, sans-serif; --script: "Alex Brush", "Newsreader", cursive; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.smooth { scroll-behavior: smooth; }
body { background: var(--bg-2); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }

.invitation { max-width: 480px; margin: 0 auto; background: var(--bg); overflow: hidden; box-shadow: 0 0 60px rgba(0, 0, 0, .12); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.2; }
h2 { font-size: 2rem; color: var(--accent); margin-bottom: .7rem; }
[data-theme="malam"] h2 { color: var(--accent-2); }
h3 { font-size: 1.3rem; }
strong { font-weight: 600; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { max-width: 34ch; margin: 0 auto 1.6rem; }
.eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .6rem; }

/* ===== Tombol ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .75rem 1.7rem; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--accent); color: var(--btn-ink); font: 600 .95rem/1 var(--body); letter-spacing: .04em; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -12px var(--accent); transition: transform .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: none; }
[data-theme="malam"] .btn-ghost { color: var(--accent-2); }

/* ===== Sampul ===== */
.cover { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 9.5rem 1.6rem 4rem; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--sky-1), var(--bg) 70%); }
.cover-inner { position: relative; width: 100%; max-width: 360px; z-index: 2; }
.mobile { position: absolute; left: 50%; top: 0; width: 300px; height: 190px; margin-left: -150px; z-index: 1; pointer-events: none; }
.mobile::before { content: ""; position: absolute; left: 16px; right: 16px; top: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); border-top-color: transparent; opacity: .55; }
.hang { position: absolute; top: 20px; width: 2px; height: var(--l); background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); transform-origin: 50% 0; animation: sway 5s ease-in-out infinite; }
.hang svg { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -6px); }
.hang.g1 { left: 28px; } .hang.g2 { left: 86px; animation-delay: -1.4s; } .hang.g3 { left: 148px; animation-delay: -2.6s; }
.hang.g4 { left: 210px; animation-delay: -.7s; } .hang.g5 { left: 266px; animation-delay: -3.3s; }
.hang-moon { width: 44px; height: 44px; color: var(--accent-2); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .12)); }
.hang-star { width: 30px; height: 30px; color: var(--accent-2); }
.hang-star.small { width: 20px; height: 20px; color: var(--accent-3); }
.hang-cloud { width: 66px; height: 31px; color: var(--cloud); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .1)); transform: translate(-50%, -4px) !important; }
@keyframes sway { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
.cover-clouds, .hero2-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud { position: absolute; color: var(--cloud); opacity: .9; animation: drift 22s ease-in-out infinite alternate; }
.cover .cloud.k1 { width: 150px; height: 70px; left: -40px; bottom: 16%; }
.cover .cloud.k2 { width: 120px; height: 56px; right: -30px; bottom: 30%; animation-delay: -8s; }
.cover .cloud.k3 { width: 180px; height: 84px; right: 10%; bottom: -20px; animation-delay: -14s; }
[data-theme="malam"] .cloud { opacity: .55; }
@keyframes drift { from { translate: -14px 0; } to { translate: 14px 0; } }

.name-big { font-family: var(--script); font-weight: 400; font-size: 5rem; line-height: 1.05; color: var(--accent); margin: .2rem 0 .4rem; }
[data-theme="malam"] .name-big { color: var(--accent-2); }
.date { font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: .84rem; color: var(--ink); }
.guest { margin: 1.8rem 0 1.6rem; padding: 1.1rem 1.2rem; background: color-mix(in srgb, var(--card) 85%, transparent); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(4px); }
.guest-label { font-size: .78rem; color: var(--muted); }
.guest-name { font-family: var(--display); font-size: 1.6rem; font-weight: 500; margin: .2rem 0 .3rem; }
.guest-note { font-size: .78rem; color: var(--muted); }

.js .cover-inner > * { opacity: 0; transform: translateY(16px); }
.ready .cover-inner > * { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 120ms + .15s); }
.js .mobile { opacity: 0; transform: translateY(-30px); }
.ready .mobile { opacity: 1; transform: none; transition: opacity .8s ease, transform 1.2s cubic-bezier(.34, 1.4, .64, 1); }
.cover.leaving .cover-inner { opacity: 0; transform: translateY(-24px) scale(.97); transition: opacity .4s ease, transform .4s ease; }

/* ===== Halaman utama ===== */
.hero2 { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3.5rem 1.6rem; overflow: hidden; isolation: isolate; background: radial-gradient(90% 60% at 50% 38%, var(--sky-1), var(--bg) 75%); }
.hero2 .cloud.k1 { width: 160px; height: 75px; left: -50px; top: 18%; }
.hero2 .cloud.k2 { width: 130px; height: 60px; right: -40px; bottom: 14%; animation-delay: -10s; }
.twinkle { position: absolute; width: 16px; height: 16px; color: var(--accent-2); animation: twinkle 3.4s ease-in-out infinite; }
[data-theme="fajar"] .twinkle, [data-theme="mawar"] .twinkle { color: var(--accent); }
.twinkle.s1 { left: 14%; top: 14%; } .twinkle.s2 { right: 16%; top: 20%; width: 11px; height: 11px; animation-delay: -1.2s; }
.twinkle.s3 { left: 20%; bottom: 22%; width: 12px; height: 12px; animation-delay: -2.1s; } .twinkle.s4 { right: 22%; bottom: 30%; animation-delay: -.6s; }
@keyframes twinkle { 0%, 100% { opacity: .2; scale: .7; } 50% { opacity: 1; scale: 1.1; } }
.hero2-photo { position: relative; width: 250px; height: 250px; margin: .6rem 0 1.4rem; }
.hero2-photo::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent-2) 22%, transparent); }
.hero2-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .35); }
.photo-moon { position: absolute; right: -8px; top: -6px; width: 58px; height: 58px; color: var(--accent-2); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .15)); }
.hero2-sub { font-family: var(--display); font-size: 1.25rem; color: var(--muted); margin-bottom: .6rem; }
.js .hero2 .h-anim { opacity: 0; transform: translateY(24px); }
.hero2.hero-in .h-anim { opacity: 1; transform: none; transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 150ms); }
.js .hero2 .hero2-photo.h-anim { transform: scale(.75); filter: brightness(1.6) blur(6px); }
.hero2.hero-in .hero2-photo.h-anim { transform: none; filter: none; transition: opacity .8s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1), filter 1.2s ease; }

/* ===== Bagian umum ===== */
.section { position: relative; padding: 4.2rem 1.6rem; background: var(--bg); }
.section.soft { background: var(--bg-2); }
.divider { display: block; width: 200px; height: 22px; margin: 1.6rem auto; color: var(--accent); }
.salam-moon { display: block; width: 46px; height: 46px; margin: 0 auto 1rem; color: var(--accent); }
.salam { font-family: var(--display); font-size: 1.35rem; color: var(--ink); margin-bottom: 1rem; line-height: 1.35; }
.quote { max-width: 34ch; margin: 0 auto; padding: 1.4rem 1.3rem; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.quote p { font-family: var(--display); font-size: 1.12rem; line-height: 1.5; }
.quote cite { display: block; margin-top: .7rem; font-style: normal; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

.baby-photo { width: 210px; height: 210px; margin: .4rem auto 1.3rem; position: relative; }
.baby-photo::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed var(--accent); opacity: .6; }
.baby-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--card); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .35); }
.person-name { font-size: 1.85rem; color: var(--ink); margin-bottom: .35rem; }
.birth { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.5rem auto 0; max-width: 360px; }
.birth div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .8rem .6rem; }
.birth div:first-child { grid-column: 1 / -1; }
.birth dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.birth dd { font-family: var(--display); font-size: 1.1rem; line-height: 1.35; margin-top: .15rem; }
.birth .hijri { font-family: var(--body); font-size: .82rem; color: var(--muted); }
.meaning-title { color: var(--ink); margin-bottom: .8rem; }
.meaning { list-style: none; display: grid; gap: .5rem; max-width: 320px; margin: 0 auto 1.4rem; }
.meaning li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .65rem 1rem; border-bottom: 1px dashed var(--line); text-align: right; }
.meaning strong { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--accent); text-align: left; }
[data-theme="malam"] .meaning strong { color: var(--accent-2); }
.meaning span { color: var(--muted); font-size: .92rem; }
.wish { max-width: 32ch; margin: 0 auto; font-family: var(--display); font-size: 1.08rem; color: var(--muted); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1.2rem; }
.countdown div { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 50% 50% 16px 16px / 34% 34% 16px 16px; padding: 1rem .2rem .7rem; }
.countdown strong { display: block; font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--accent); }
[data-theme="malam"] .countdown strong { color: var(--accent-2); }
.countdown span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.countdown-done { margin-top: 1rem; color: var(--accent); font-weight: 600; }

.events { display: grid; gap: 1rem; margin-top: 1.6rem; }
.event { position: relative; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 120px 120px 22px 22px; padding: 2.2rem 1.3rem 1.5rem; }
.event-icon { display: block; width: 52px; height: 52px; margin: 0 auto .6rem; color: var(--accent); }
.role { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .35rem; }
.event h3 { color: var(--ink); }
.hijri { color: var(--muted); font-size: .9rem; }
.time { color: var(--ink); margin: .5rem 0 .8rem; font-weight: 500; }
.place { margin-bottom: 1.2rem; color: var(--muted); }
.place strong { color: var(--ink); }
.event-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.6rem; }
.gallery figure { overflow: hidden; border-radius: 18px; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .35); }
.gallery figure:nth-child(1) { border-radius: 120px 120px 18px 18px; }
.gallery figure:nth-child(4) { border-radius: 18px 18px 120px 120px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.rsvp-form { display: grid; gap: .9rem; text-align: left; margin-top: 1.4rem; }
.rsvp-form label { display: grid; gap: .35rem; font-size: .88rem; color: var(--muted); font-weight: 600; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea { width: 100%; padding: .75rem .9rem; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 400 1rem var(--body); }
.rsvp-form textarea { resize: vertical; }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.rsvp-form .btn { justify-self: center; margin-top: .4rem; }
.form-error { color: #c8394f; font-size: .86rem; min-height: 1em; }
[data-theme="malam"] .form-error { color: #ffb3a8; }

.gift-list { display: grid; gap: .9rem; }
.gift { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; }
.bank { color: var(--accent); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.number { font-family: var(--display); font-size: 1.7rem; letter-spacing: .06em; margin: .25rem 0; word-break: break-all; }
.holder { color: var(--muted); font-size: .9rem; margin-bottom: .9rem; }
.copy { min-height: 40px; padding: .5rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); font: 600 .86rem var(--body); cursor: pointer; }
[data-theme="malam"] .copy { color: var(--accent-2); }

.footer { padding: 4rem 1.6rem 7rem; background: linear-gradient(180deg, var(--bg), var(--sky-1)); }
.footer-moon { position: relative; width: 90px; height: 80px; margin: 0 auto 1.2rem; }
.fm-moon { position: absolute; left: 14px; top: 6px; width: 64px; height: 64px; color: var(--accent-2); }
.fm-star { position: absolute; color: var(--accent); animation: twinkle 3s ease-in-out infinite; }
.fm-star.a { right: 0; top: 0; width: 16px; height: 16px; }
.fm-star.b { left: 0; bottom: 4px; width: 11px; height: 11px; animation-delay: -1.4s; }
.footer .salam { margin: 1.2rem 0 .4rem; }
.signoff { margin: 1rem 0 .6rem; }
.tag { margin-top: .4rem; letter-spacing: .06em; font-weight: 600; }

/* ===== Musik, notifikasi, menu ===== */
.music-btn { position: fixed; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--card); color: var(--accent); font-size: 1.2rem; cursor: pointer; z-index: 20; }
.music-btn.playing { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: .65rem 1.1rem; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 30; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.botnav { position: fixed; left: 50%; bottom: 0; z-index: 25; width: 100%; max-width: 480px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: .35rem .35rem calc(.35rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 28px rgba(0, 0, 0, .12); transform: translate(-50%, 110%); transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.botnav.show { transform: translate(-50%, 0); }
.botnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: .4rem 0 .3rem; border-radius: 12px; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 600; transition: color .25s ease, background-color .25s ease; }
.botnav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.botnav a.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.has-nav .music-btn { bottom: 84px; }
.has-nav .toast { bottom: 92px; }

/* ===== Animasi bulan purnama ===== */
@property --shade { syntax: "<length>"; inherits: false; initial-value: 56px; }
.gate { position: fixed; inset: 0; z-index: 60; display: none; overflow: hidden; background: radial-gradient(80% 55% at 50% 44%, var(--night-2), var(--night) 75%); }
.gate.show { display: block; animation: gateIn .4s ease both; }
.gate.done { animation: gateOut .7s ease forwards; }
@keyframes gateIn { from { opacity: 0; } }
@keyframes gateOut { to { opacity: 0; visibility: hidden; } }
.gate-lock { overflow: hidden; }
.gate-sky i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, .7); animation: twinkle 2.8s ease-in-out infinite; }
.gate-sky i:nth-child(3n) { width: 2px; height: 2px; animation-delay: -1s; }
.gate-sky i:nth-child(3n+1) { animation-delay: -1.9s; }
.gate-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.6rem; padding: 2rem; text-align: center; }
.gate-hint { font-family: var(--display); font-size: 1.35rem; color: #f6ecd2; letter-spacing: .02em; animation: nudge 1.8s ease-in-out infinite; transition: opacity .4s ease; }
@keyframes nudge { 50% { opacity: .55; } }
.gate-moon { position: relative; width: 170px; height: 170px; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gate-moon:focus-visible { outline: 2px solid #f6ecd2; outline-offset: 14px; }
.moon { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 38% 34%, #fffdf2, #fbeac0 55%, #f0d38c);
  -webkit-mask-image: radial-gradient(circle at calc(50% + var(--shade)) 46%, transparent 0 80px, #000 81px);
  mask-image: radial-gradient(circle at calc(50% + var(--shade)) 46%, transparent 0 80px, #000 81px);
  transition: --shade 1.3s cubic-bezier(.45, 0, .2, 1); }
.crater { position: absolute; border-radius: 50%; background: rgba(205, 170, 100, .22); }
.crater.c1 { width: 30px; height: 30px; left: 30%; top: 28%; } .crater.c2 { width: 18px; height: 18px; left: 22%; top: 60%; } .crater.c3 { width: 22px; height: 22px; left: 58%; top: 62%; }
.moon-glow { position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 232, 170, .45), rgba(255, 232, 170, 0) 62%); opacity: .5; transition: opacity 1s ease, transform 1.4s ease; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); } }
.gate.full .moon { --shade: 260px; }
.gate.full .moon-glow { opacity: 1; transform: scale(1.35); animation: none; }
.gate.full .gate-hint { opacity: 0; }
.gate-skip { position: absolute; right: 18px; top: 18px; border: 0; background: none; color: rgba(246, 236, 210, .75); font: 600 .9rem var(--body); text-decoration: underline; cursor: pointer; padding: .4rem; }
.gate-burst { position: absolute; inset: 0; pointer-events: none; }
.gate-burst .spark { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; color: #fff3cf; animation: spark 1.6s cubic-bezier(.2, .8, .3, 1) forwards; }
.gate-burst .spark svg { width: 100%; height: 100%; }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); } }
.gate-flash { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; background: radial-gradient(circle, #fffdf3, #fbeac0 70%); opacity: 0; transform: scale(1); pointer-events: none; }
.gate.bloom .gate-flash { opacity: 1; transform: scale(14); transition: transform 1s cubic-bezier(.6, 0, .3, 1), opacity .25s ease; }
.gate.bloom .gate-stage { opacity: 0; transition: opacity .5s ease .35s; }

/* ===== Muncul saat digulir ===== */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.zoom { transform: scale(.86); }
.js .reveal.left { transform: translateX(-36px); }
.js .reveal.right { transform: translateX(36px); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.smooth { scroll-behavior: auto; }
  .hang, .cloud, .twinkle, .fm-star, .gate-hint, .moon-glow, .gate-sky i, .music-btn.playing { animation: none !important; }
  .js .reveal, .js .reveal.zoom, .js .reveal.left, .js .reveal.right { opacity: 1; transform: none; transition: none; }
  .js .cover-inner > *, .js .mobile, .js .hero2 .h-anim, .js .hero2 .hero2-photo.h-anim { opacity: 1; transform: none !important; filter: none !important; transition: none !important; }
  .botnav { transition: none; }
}
