/* UAJY Menfess — manga dramatis × fiesta Latin */
@font-face { font-family: 'Anton'; src: url('/fonts/anton.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-600.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-700.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-800.woff') format('woff'); font-weight: 800; font-display: swap; }
:root {
  --ink: #16121F; --cream: #F6E9D2; --paper: #FFF6E6; --orange: #F2672E; --mag: #D6246E;
  --teal: #14A3A0; --gold: #F2B632; --purple: #4B2E83; --muted: #4A4256; --danger: #B3123F;
  --shadow: 6px 6px 0 var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font: 16px/1.6 'Inter', system-ui, sans-serif;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(22, 18, 31, .07) 1.2px, transparent 1.4px);
  background-size: 14px 14px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mag); }
h1, h2, h3, .disp { font-family: 'Anton', Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- top ---------- */
.papel { display: flex; gap: 6px; justify-content: center; overflow: hidden; height: 44px; border-top: 4px solid var(--ink); }
.papel span { flex: 0 0 46px; height: 40px; border: 2px solid var(--ink); border-top: 0; clip-path: polygon(0 0, 100% 0, 100% 78%, 83% 100%, 67% 78%, 50% 100%, 33% 78%, 17% 100%, 0 78%); }
.papel span:nth-child(5n+1) { background: var(--mag); } .papel span:nth-child(5n+2) { background: var(--orange); }
.papel span:nth-child(5n+3) { background: var(--teal); } .papel span:nth-child(5n+4) { background: var(--gold); }
.papel span:nth-child(5n) { background: var(--purple); }
.papel.papel-svg { display: block; height: auto; border-top: 0; overflow: hidden; line-height: 0; }
.papel.papel-svg svg { display: block; }
.topbar { position: relative; z-index: 20; max-width: 1120px; margin: 0 auto; padding: 10px 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: 'Anton', sans-serif; font-size: 22px; text-transform: uppercase; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); }
.topnav { display: flex; gap: 10px; flex-wrap: wrap; padding: 4px 6px 6px 0; }
.topnav a { color: var(--ink); text-decoration: none; font-family: 'Anton', sans-serif; font-size: 17px; text-transform: uppercase; letter-spacing: .03em;
  min-height: 44px; display: inline-flex; align-items: center; padding: 6px 14px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: skewX(-6deg); transition: transform .08s, box-shadow .08s, background .08s; }
.topnav a:nth-child(1):hover { background: var(--teal); }
.topnav a:nth-child(2):hover { background: var(--gold); }
.topnav a:nth-child(3):hover { background: var(--orange); }
.topnav a:active { transform: skewX(-6deg) translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.topnav a.cta { background: var(--mag); color: #fff; }
.topnav a.cta:hover { background: #E23A80; }
@media (max-width: 520px) { .topnav { width: 100%; gap: 8px; } .topnav a { flex: 1 1 0; justify-content: center; font-size: 16px; padding: 6px 8px; } }

/* ---------- layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
main.narrow { max-width: 680px; margin: 0 auto; padding: 8px 18px 40px; }
.section { padding: 44px 0 8px; }
.sec-title { display: inline-block; font-size: clamp(30px, 6vw, 46px); background: var(--ink); color: var(--cream); padding: 6px 16px 4px; transform: skewX(-8deg); box-shadow: 6px 6px 0 var(--mag); margin: 0 0 24px; }
.sec-title > span { display: inline-block; transform: skewX(8deg); }
.sec-sub { margin: -8px 0 22px; color: var(--muted); max-width: 640px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; gap: 34px; align-items: center; padding: 22px 0 16px; }
html, body { overflow-x: clip; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr .95fr; padding-top: 36px; } }
.kicker { display: inline-block; margin: 0 0 14px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; background: var(--paper); border: 2px solid var(--ink); padding: 4px 10px; }
.hero h1 { display: flex; flex-direction: column; }
.h-small { align-self: flex-start; font-size: clamp(26px, 5vw, 40px); background: var(--mag); color: #fff; padding: 2px 14px; transform: skewX(-10deg) rotate(-2deg); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); margin-bottom: 10px; }
.h-big { font-size: clamp(64px, 16vw, 136px); color: var(--gold); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); line-height: .95; }
.hero-lead { font-size: 18px; max-width: 520px; margin: 18px 0 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-cta .btn { width: auto; margin: 0; flex: 1 1 200px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.hero-points li { font-weight: 700; font-size: 14px; background: var(--paper); border: 2px solid var(--ink); padding: 4px 10px; }
.hero-points li::before { content: '✦ '; color: var(--mag); }
.hero-points li a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mag); text-underline-offset: 3px; }
.why-pay { margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; }
.why-pay a { color: var(--ink); text-decoration-color: var(--mag); text-underline-offset: 3px; }
.faq details:target { box-shadow: 4px 4px 0 var(--mag); }
.hero-art { position: relative; margin: 0 auto; max-width: 430px; width: calc(100% - 24px); }
.hero-art::before { content: ''; position: absolute; left: 50%; top: 46%; width: calc(100% + 250px); aspect-ratio: 1; translate: -50% -50%; z-index: -1; background: url(/assets/rays.svg) center / contain no-repeat; pointer-events: none; }
@media (max-width: 520px) { .hero-art::before { width: calc(100% + 130px); } }
.hero-art .frame { border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg); background: var(--orange); overflow: hidden; }
.hero-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; }
.hero-art figcaption { position: absolute; left: -12px; bottom: 22px; background: var(--ink); color: var(--gold); font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: .06em; padding: 6px 12px; transform: rotate(-3deg); }
.burst { position: absolute; right: -16px; top: -20px; width: 126px; height: 126px; display: grid; place-items: center; z-index: 2; transform: rotate(10deg); background: var(--ink); clip-path: polygon(50% 0, 59% 14%, 75% 5%, 77% 22%, 95% 21%, 88% 37%, 100% 50%, 88% 63%, 95% 79%, 77% 78%, 75% 95%, 59% 86%, 50% 100%, 41% 86%, 25% 95%, 23% 78%, 5% 79%, 12% 63%, 0 50%, 12% 37%, 5% 21%, 23% 22%, 25% 5%, 41% 14%); }
.burst::before { content: ''; position: absolute; inset: 5px; background: var(--gold); clip-path: inherit; }
.burst span { position: relative; font-family: 'Anton', sans-serif; font-size: 26px; line-height: 1; text-align: center; }
.burst small { display: block; font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 800; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.step { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.step:nth-child(odd) { rotate: -1deg; } .step:nth-child(even) { rotate: 1deg; }
.step figure { margin: 0; border-bottom: 3px solid var(--ink); overflow: hidden; aspect-ratio: 1 / 1; }
.step img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.step-body { padding: 14px 14px 16px; position: relative; }
.step-num { position: absolute; top: -24px; left: 10px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--mag); color: #fff; border: 3px solid var(--ink); font-family: 'Anton', sans-serif; font-size: 22px; border-radius: 50%; }
.step h3 { font-size: 24px; margin-top: 10px; }
.step p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- panels, forms, buttons ---------- */
.card, .panel { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); padding: 20px; margin: 0 0 26px; }
.card h2 { font-size: 24px; margin: 0 0 12px; }
.compose { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .compose { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .compose-preview { position: sticky; top: 16px; } }
.compose .panel { margin: 0; }
.preview-label { margin: 0 0 10px; font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.preview-label small { font-family: 'Inter', sans-serif; text-transform: none; font-size: 13px; color: var(--muted); }
label.block, .label { display: block; font-weight: 700; margin: 0 0 8px; }
textarea { width: 100%; min-height: 190px; resize: vertical; padding: 14px; font: inherit; font-size: 17px; border: 3px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; }
textarea:focus, input:focus, select:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--mag); outline-offset: 2px; }
.counter { text-align: right; font-size: 14px; color: var(--muted); margin-top: 6px; }
.counter.over { color: var(--danger); font-weight: 700; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: inline-block; padding: 10px 16px; border: 3px solid var(--ink); background: #fff; font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 18px; cursor: pointer; min-height: 46px; transform: skewX(-6deg); }
.pill input:checked + span { background: var(--teal); box-shadow: 4px 4px 0 var(--ink); }
.pill input[value="luar"]:checked + span { background: var(--orange); }
.pill input:focus-visible + span { outline: 3px solid var(--mag); outline-offset: 2px; }
.note { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
details { margin: 16px 0 0; border-top: 2px dashed var(--ink); padding-top: 12px; }
summary { cursor: pointer; font-weight: 700; min-height: 28px; }
details ul { padding-left: 20px; margin: 10px 0 0; font-size: 15px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--mag); }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 18px; padding: 14px 18px; min-height: 54px; font-family: 'Anton', Impact, sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); background: var(--gold); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); cursor: pointer; text-align: center; text-decoration: none; transition: transform .08s, box-shadow .08s; }
.btn:hover { background: #F7C552; }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn.secondary { background: #fff; font-size: 18px; min-height: 48px; padding: 10px 16px; }
.btn.secondary:hover { background: var(--cream); }
.btn.mag { background: var(--mag); color: #fff; }
.btn.mag:hover { background: #E23A80; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row .btn { flex: 1 1 180px; }
.alert { border: 3px solid var(--ink); padding: 14px 16px; margin: 0 0 16px; background: #fff; }
.alert.bad { background: #FBE3EC; border-color: var(--danger); }
.alert.good { background: #DDF3EF; }
.error { color: var(--danger); font-weight: 600; margin: 12px 0 0; min-height: 1em; }
canvas.preview { width: 100%; height: auto; display: block; border: 3px solid var(--ink); background: #fff; }
input[type="text"], input[type="password"], select { width: 100%; padding: 12px; font: inherit; border: 3px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; min-height: 48px; }
.code { font-family: ui-monospace, monospace; font-size: 20px; font-weight: 700; letter-spacing: .08em; background: #fff; border: 2px dashed var(--ink); padding: 4px 10px; white-space: nowrap; }
.center { text-align: center; }
.big { font-family: 'Anton', sans-serif; font-size: 44px; text-align: center; margin: 6px 0; }
.spin { display: inline-block; width: 14px; height: 14px; border: 3px solid var(--ink); border-top-color: transparent; border-radius: 50%; animation: s 1s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes s { to { transform: rotate(360deg); } }

/* ---------- maskot bereaksi ---------- */
.reaction { display: grid; gap: 22px; align-items: start; }
@media (min-width: 720px) { .reaction { grid-template-columns: 210px minmax(0, 1fr); } }
.reaction-art { margin: 0 auto; border: 3px solid var(--ink); box-shadow: var(--shadow); overflow: hidden; width: 180px; rotate: -2deg; background: var(--ink); }
@media (min-width: 720px) { .reaction-art { width: 100%; } }
.reaction-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 14%; }
.bubble { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 24px; padding: 16px 18px; font-size: 17px; box-shadow: 4px 4px 0 var(--ink); }
.bubble strong { display: block; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1.1; margin-bottom: 4px; }
.bubble p { margin: 6px 0 0; }
@media (min-width: 720px) {
  /* ekor balon: kotak diputar 45°, sisi dalamnya putih menutup garis tepi balon supaya sambungannya mulus */
  .reaction .bubble::before { content: ''; position: absolute; left: -15px; top: 26px; width: 26px; height: 26px; background: #fff; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); rotate: 45deg; }
}
.result-preview { margin-top: 16px; border: 3px solid var(--ink); width: 100%; max-width: 360px; }
.qr { display: block; width: 100%; max-width: 300px; margin: 12px auto 4px; image-rendering: pixelated; border: 3px solid var(--ink); background: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
@media (min-width: 860px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.faq details { margin: 0; border: 3px solid var(--ink); background: var(--paper); padding: 14px 16px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { font-size: 17px; }
.faq p { margin: 8px 0 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { margin-top: 64px; background: var(--ink); color: var(--cream); border-top: 6px solid var(--mag); }
.site-footer .wrap { padding: 32px 18px 40px; display: grid; gap: 22px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand { color: var(--cream); }
.site-footer .brand img { border-color: var(--cream); }
.site-footer h3 { font-size: 18px; color: var(--gold); margin-bottom: 6px; }
.site-footer p, .site-footer li { font-size: 14px; color: #DCD3E2; margin: 6px 0 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--cream); }
footer.simple { text-align: center; font-size: 13px; color: var(--muted); padding: 0 18px 40px; }

/* ---------- page header (status/syarat) ---------- */
.page-head { display: flex; gap: 18px; align-items: center; margin: 18px 0 24px; }
.page-head img { width: 92px; flex: none; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); rotate: -3deg; }
.page-head h1 { font-size: clamp(34px, 8vw, 52px); }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 18px; transition: opacity .5s ease, translate .5s ease; }
  .js .reveal.in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } .btn, .topnav a { transition: none; } }

/* =====================================================================
   ANIMASI — semua gerakan hanya aktif kalau pengguna tidak meminta
   "kurangi gerakan". Hanya animasi transform/opacity supaya ringan di HP.
   ===================================================================== */
.h-big .l { display: inline-block; }
.floaties { position: absolute; inset: -28px; pointer-events: none; z-index: 3; }
.fl { position: absolute; display: block; filter: drop-shadow(2px 2px 0 var(--ink)); }
.fl1 { width: 34px; height: 31px; left: -4%; top: 16%; }
.fl2 { width: 46px; height: 31px; right: -6%; top: 40%; }
.fl3 { width: 24px; height: 24px; left: 2%; top: 60%; }
.fl4 { width: 22px; height: 20px; right: 4%; top: 72%; }
.fl5 { width: 30px; height: 30px; right: 22%; top: 3%; }
.fl6 { width: 38px; height: 26px; left: -2%; bottom: 6%; }
.fl7 { width: 26px; height: 24px; right: 30%; bottom: -1%; }
@media (max-width: 520px) { .fl6, .fl7 { display: none; } }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); translate: -130% 0; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.cf { position: absolute; top: -40px; display: block; }

@media (prefers-reduced-motion: no-preference) {
  /* papel picado berkibar: tepi atas tetap menempel di tali, hanya bagian bawah yang terkibas */
  .papel .pf { transform-box: fill-box; transform-origin: 50% 0; animation: flutter-svg 2.8s ease-in-out infinite; }

  /* menu jatuh dari atas */
  .js .topnav a { animation: drop-nav .5s both cubic-bezier(.2, 1.6, .4, 1); }
  .js .topnav a:nth-child(2) { animation-delay: .08s; }
  .js .topnav a:nth-child(3) { animation-delay: .16s; }

  /* hero: masuk panggung */
  .js .kicker { animation: rise .6s .05s both cubic-bezier(.2, .8, .2, 1); }
  .js .h-small { animation: slam .55s .2s both cubic-bezier(.2, 1.5, .4, 1); }
  .js .h-big .l { animation: drop .6s both cubic-bezier(.2, 1.6, .4, 1); animation-delay: calc(.35s + var(--i) * .065s); }
  .js .hero-lead { animation: rise .6s .85s both cubic-bezier(.2, .8, .2, 1); }
  .js .hero-cta { animation: rise .6s 1s both cubic-bezier(.2, .8, .2, 1); }
  .js .hero-points li { animation: pop .45s both cubic-bezier(.2, 1.6, .4, 1); }
  .js .hero-points li:nth-child(1) { animation-delay: 1.15s; }
  .js .hero-points li:nth-child(2) { animation-delay: 1.25s; }
  .js .hero-points li:nth-child(3) { animation-delay: 1.35s; }
  .js .hero-points li:nth-child(4) { animation-delay: 1.45s; }
  .js .hero-art .frame { animation: stage-in .9s .25s both cubic-bezier(.2, 1.2, .3, 1), floaty 5s 1.4s ease-in-out infinite; }
  .js .hero-art figcaption { animation: slide-l .6s 1s both cubic-bezier(.2, 1.4, .4, 1); }
  .js .burst { animation: burst-in .6s 1.1s both cubic-bezier(.2, 1.8, .4, 1), wobble 3.4s 2.2s ease-in-out infinite; }
  .hero-art::before { will-change: transform; animation: spin 60s linear infinite; }
  .js .fl { animation: fl-in .5s both cubic-bezier(.2, 1.6, .4, 1), bob 4s ease-in-out infinite; }
  .js .fl1 { animation-delay: 1.3s, 1.8s; }
  .js .fl2 { animation-delay: 1.4s, 1.9s; animation-duration: .5s, 4.6s; }
  .js .fl3 { animation-delay: 1.5s, 2s; animation-duration: .5s, 3.6s; }
  .js .fl4 { animation-delay: 1.6s, 2.1s; animation-duration: .5s, 4.2s; }
  .js .fl5 { animation-delay: 1.7s, 2.2s; animation-duration: .5s, 3.8s; }
  .js .fl6 { animation-delay: 1.8s, 2.3s; animation-duration: .5s, 5s; }
  .js .fl7 { animation-delay: 1.9s, 2.4s; animation-duration: .5s, 4.4s; }
  .hero-cta .btn:first-child { animation: nudge 6s 3.5s ease-in-out infinite; }

  /* judul section "dihantam" waktu muncul */
  .js .sec-title.reveal { opacity: 0; scale: 1.5; translate: 0 0; transition: opacity .3s ease, scale .55s cubic-bezier(.2, 1.6, .4, 1); }
  .js .sec-title.reveal.in { opacity: 1; scale: 1; }

  /* kartu babak */
  .js .step.reveal { opacity: 0; translate: 0 40px; scale: .9; transition: opacity .5s ease, translate .6s cubic-bezier(.2, 1.4, .4, 1), scale .6s cubic-bezier(.2, 1.4, .4, 1), rotate .25s ease, box-shadow .25s ease; }
  .js .step.reveal.in { opacity: 1; translate: 0 0; scale: 1; }
  .js .step.reveal.in .step-num { animation: pop .5s .3s both cubic-bezier(.2, 1.8, .4, 1); }
  .step img { transition: scale .5s ease; }

  /* reaksi maskot */
  .reaction-art { animation: pop-art .55s both cubic-bezier(.2, 1.6, .4, 1); }
  .bubble { transform-origin: 0 50%; animation: bubble-in .45s .2s both cubic-bezier(.2, 1.6, .4, 1); }
  .reaction-art.shake img { animation: shake .5s .5s both; }
  .result-preview { animation: rise .5s .35s both cubic-bezier(.2, .8, .2, 1); }
  .page-head img { animation: pop-art .6s both cubic-bezier(.2, 1.6, .4, 1), floaty 5s 1s ease-in-out infinite; }

  /* FAQ terbuka */
  details[open] > :not(summary) { animation: rise .35s both cubic-bezier(.2, .8, .2, 1); }

  /* confetti */
  .cf { animation: fall var(--d) var(--dl) cubic-bezier(.3, .6, .5, 1) forwards; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .btn:hover::after { translate: 130% 0; transition: translate .7s ease; }
  .btn:hover { translate: 0 -2px; box-shadow: 7px 7px 0 var(--ink); }
  .js .step.reveal.in:hover { rotate: 0deg; translate: 0 -8px; box-shadow: 10px 10px 0 var(--ink); }
  .step:hover img { scale: 1.07; }
  .hero-art:hover .frame { animation-play-state: paused; }
}

@keyframes flutter-svg { 0%, 100% { transform: skewX(0deg) scaleY(1); } 25% { transform: skewX(-7deg) scaleY(.9); } 55% { transform: skewX(5deg) scaleY(.96); } 80% { transform: skewX(-2deg) scaleY(.98); } }
@keyframes drop-nav { from { opacity: 0; translate: 0 -26px; } }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes slam { from { opacity: 0; scale: 2.4; } 60% { opacity: 1; } }
@keyframes drop { from { opacity: 0; translate: 0 -90px; rotate: -14deg; } 70% { opacity: 1; } }
@keyframes pop { from { opacity: 0; scale: .3; } }
@keyframes stage-in { from { opacity: 0; translate: 140px 40px; rotate: 16deg; } }
@keyframes floaty { 50% { translate: 0 -10px; } }
@keyframes slide-l { from { opacity: 0; translate: -70px 0; } }
@keyframes burst-in { from { opacity: 0; scale: 0; rotate: -120deg; } }
@keyframes wobble { 0%, 30%, 100% { rotate: 0deg; scale: 1; } 8% { rotate: -12deg; scale: 1.1; } 16% { rotate: 9deg; scale: 1.05; } 24% { rotate: -4deg; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes fl-in { from { opacity: 0; scale: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -7deg; } 50% { translate: 0 -14px; rotate: 7deg; } }
@keyframes nudge { 0%, 84%, 100% { rotate: 0deg; } 87% { rotate: -2.5deg; } 90% { rotate: 2.5deg; } 93% { rotate: -1.5deg; } 96% { rotate: 1deg; } }
@keyframes pop-art { from { opacity: 0; scale: .3; rotate: -18deg; } }
@keyframes bubble-in { from { opacity: 0; scale: .5; } }
@keyframes shake { 0%, 100% { translate: 0 0; } 20% { translate: -9px 0; } 40% { translate: 9px 0; } 60% { translate: -6px 0; } 80% { translate: 4px 0; } }
@keyframes fall { to { translate: var(--x) 115vh; rotate: var(--r); } }

/* ---------- promo gratis ---------- */
.promo-ribbon { position: relative; z-index: 15; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; max-width: 1120px; margin: 12px auto 0; padding: 9px 16px; width: calc(100% - 36px); background: var(--mag); color: #fff; text-decoration: none; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-.6deg); font-weight: 700; text-align: center; }
.promo-ribbon .pr-tag { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: 19px; background: var(--gold); color: var(--ink); padding: 1px 10px; border: 2px solid var(--ink); transform: skewX(-8deg); }
.promo-ribbon b { color: var(--gold); }
.promo-note { margin: 14px 0 0; padding: 8px 12px; background: var(--gold); border: 2px solid var(--ink); font-weight: 700; }
.burst span.is-free { font-size: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .js .promo-ribbon:not([hidden]) { animation: drop-nav .6s .2s both cubic-bezier(.2, 1.6, .4, 1); }
  .promo-ribbon .pr-tag { animation: nudge 4s 2s ease-in-out infinite; }
}

/* ---------- rem posting ---------- */
.pause-note { margin: 14px 0 0; padding: 10px 12px; background: #FFF4D6; border: 2px solid var(--ink); border-left: 8px solid var(--orange); line-height: 1.5; }
