/* =========================================================
   Sunday Active Festival 2026 — Registration
   Palet diambil dari proposal: royal blue + lime
   ========================================================= */
:root {
  --blue: #1640d6;
  --blue-2: #2a5cff;
  --blue-deep: #0a1f73;
  --navy: #050f3d;
  --lime: #c6f432;
  --lime-2: #dcff5c;
  --white: #ffffff;
  --ink: #0b1433;
  --muted: #5b6690;
  --line: #e3e8f7;
  --bg-soft: #f3f6ff;
  --danger: #ff4d6d;
  --radius: 20px;
  --font-display: 'Poppins', 'Arial Black', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; font-style: italic; text-transform: uppercase; }
h2 em { font-style: italic; color: var(--blue); }
code { font-family: ui-monospace, 'SF Mono', Consolas, monospace; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.section__head p { color: var(--muted); font-size: 1.1rem; margin: 20px 0 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  color: var(--blue); margin-bottom: 18px;
}
.kicker::before { content: '»»'; letter-spacing: -2px; color: var(--lime); -webkit-text-stroke: 1px var(--blue); font-size: 1.2em; }
.kicker--lime { color: var(--lime); }
.kicker--lime::before { -webkit-text-stroke: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 26px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lime { --bg: var(--lime); --fg: var(--navy); box-shadow: 0 10px 30px -10px rgba(198, 244, 50, .7); }
.btn--lime:hover { --bg: var(--lime-2); box-shadow: 0 16px 40px -10px rgba(198, 244, 50, .85); }
.btn--blue { --bg: var(--blue); --fg: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }
.btn--xl { padding: 20px 34px; font-size: clamp(1rem, 2.4vw, 1.2rem); }
.btn--block { width: 100%; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid var(--navy); border-right-color: transparent; animation: spin .7s linear infinite;
}
.price-chip {
  background: var(--navy); color: var(--lime); border-radius: 999px; padding: 6px 14px;
  font-size: .85em; font-style: normal; letter-spacing: 0;
}

/* ---------- Opening 3D ---------- */
.intro, .intro-lime { display: none; }
html.intro-on body { overflow: hidden; }
html.intro-on .intro, html.intro-on .intro-lime { display: block; }
html.intro-playing .hero__title .line > span,
html.intro-playing .hero__bg img { animation-play-state: paused; }
.intro { position: fixed; inset: 0; z-index: 1000; background: var(--navy); cursor: pointer; overflow: hidden; }
.intro-lime { position: fixed; inset: 0; z-index: 999; background: var(--lime); }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s; }
.intro.is-ready canvas { opacity: 1; }
.intro__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(5, 15, 61, .85)); }
/* Garis start berdenyut selama Three.js dimuat, supaya layar tidak kosong */
.intro__pre {
  position: absolute; left: 50%; top: 62%; width: min(70vw, 520px); height: 3px; margin-left: min(-35vw, -260px);
  background: var(--lime); box-shadow: 0 0 24px rgba(198, 244, 50, .8); border-radius: 2px;
  transform: scaleX(.05); animation: prePulse 1.1s cubic-bezier(.65, 0, .35, 1) infinite alternate; transition: opacity .3s;
}
.intro.is-ready .intro__pre { opacity: 0; }
@keyframes prePulse { to { transform: scaleX(1); opacity: .35; } }
.intro__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.intro__tag {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 16px 16vh; text-align: center; color: #fff; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 15, 61, .75) 55%); text-shadow: 0 2px 12px rgba(5, 15, 61, .8);
  opacity: 0; transform: translateY(16px); transition: opacity .8s .25s var(--ease), transform .8s .25s var(--ease);
}
.intro__tag.is-visible { opacity: 1; transform: none; }
.intro__tag span { display: block; font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .42em; font-size: clamp(.8rem, 2.2vw, 1.05rem); margin-right: -.42em; }
.intro__tag small { display: block; margin-top: 8px; color: var(--lime); font-weight: 700; letter-spacing: .3em; font-size: .75rem; }
.intro__skip { position: absolute; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); color: rgba(255, 255, 255, .45); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
/* Layar terbelah diagonal; lapisan lime tertinggal sedikit sehingga muncul garis lime di tepinya */
.intro.is-leaving { animation: introSlice .85s cubic-bezier(.75, 0, .25, 1) forwards; }
.intro-lime.is-leaving { animation: introSlice .85s cubic-bezier(.75, 0, .25, 1) .06s forwards; }
@keyframes introSlice {
  from { clip-path: polygon(-10% 0, 130% 0, 130% 100%, -40% 100%); }
  to { clip-path: polygon(160% 0, 130% 0, 130% 100%, 130% 100%); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px max(16px, calc((100% - 1180px) / 2));
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(5, 15, 61, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 10px; box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.nav__logo svg { width: 132px; height: 34px; display: block; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 700; font-size: .92rem;
  position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__ticket {
  border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(5, 15, 61, .35); color: #fff; border-radius: 999px;
  padding: 8px 16px; font: 700 .85rem var(--font-body); white-space: nowrap; transition: border-color .2s, background .2s;
}
.nav__ticket:hover { border-color: var(--lime); background: rgba(198, 244, 50, .12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--white); overflow: hidden;
  display: flex; align-items: center; isolation: isolate;
  background: var(--blue-deep);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  mix-blend-mode: luminosity; opacity: .55; transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(42, 92, 255, .25), transparent 60%),
    linear-gradient(180deg, rgba(10, 31, 115, .35) 0%, rgba(22, 64, 214, .82) 55%, var(--blue) 100%);
}
.hero__dots {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1.2px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(60% 50% at 0% 100%, #000, transparent 70%);
  mask-image: radial-gradient(60% 50% at 0% 100%, #000, transparent 70%);
}
.hero__streaks { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__streaks i {
  position: absolute; height: 2px; width: 40vw; left: -40vw;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  transform: rotate(-18deg); opacity: .0; animation: streak 3.2s linear infinite;
}
.hero__streaks i:nth-child(1) { top: 18%; animation-delay: 0s; }
.hero__streaks i:nth-child(2) { top: 32%; animation-delay: 1.1s; width: 25vw; }
.hero__streaks i:nth-child(3) { top: 48%; animation-delay: .5s; background: linear-gradient(90deg, transparent, #fff, transparent); }
.hero__streaks i:nth-child(4) { top: 64%; animation-delay: 2s; width: 30vw; }
.hero__streaks i:nth-child(5) { top: 78%; animation-delay: 1.6s; background: linear-gradient(90deg, transparent, #fff, transparent); }
.hero__streaks i:nth-child(6) { top: 88%; animation-delay: .2s; width: 20vw; }
.hero__streaks i:nth-child(7) { top: 8%; animation-delay: 2.5s; width: 18vw; }
.hero__streaks i:nth-child(8) { top: 56%; animation-delay: 2.9s; width: 50vw; }

.hero__inner {
  width: min(1180px, 100% - 32px); margin-inline: auto;
  padding: 120px 0 90px; position: relative; z-index: 2;
}
.hero__tag {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px;
  border: 1.5px solid var(--lime); border-radius: 999px; padding: 8px 18px;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(.72rem, 2vw, .9rem);
  background: rgba(5, 15, 61, .35); backdrop-filter: blur(6px);
}
.hero__tag b { color: var(--lime); font-size: 1.2em; }
.hero__title {
  font-size: clamp(3.4rem, min(13vw, 15vh), 9rem); font-weight: 900; font-style: italic;
  line-height: .86; margin: 24px 0 22px; letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .04em 0; }
.hero__title .line > span {
  display: inline-block; transform: translateY(105%) skewY(6deg);
  animation: rise 1s var(--ease) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .line--outline > span { color: transparent; -webkit-text-stroke: 2px var(--lime); }
.hero__sub { max-width: 560px; font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255, 255, 255, .88); margin: 0 0 30px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-bottom: 34px; }
.hero__meta div { border-left: 3px solid var(--lime); padding-left: 14px; }
.hero__meta small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.hero__meta strong { font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.slots { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.slots__bar { width: 120px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.slots__bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 99px; transition: width 1.4s var(--ease); }
.slots b { color: var(--lime); }

.countdown { display: flex; gap: 10px; margin-top: 44px; }
.countdown div {
  min-width: 78px; padding: 12px 10px 10px; text-align: center; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}
.countdown b { display: block; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }

.hero__year {
  position: absolute; right: max(16px, calc((100% - 1180px) / 2)); bottom: 110px; z-index: 2;
  display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--lime); animation: scrollDot 1.6s infinite; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--lime); color: var(--navy); overflow: hidden; padding: 18px 0;
  transform: rotate(-2deg); margin: -26px -20px 0; position: relative; z-index: 3;
  box-shadow: 0 20px 40px -20px rgba(5, 15, 61, .5);
}
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(1.3rem, 3vw, 2rem); white-space: nowrap; }
.marquee em { font-style: normal; font-size: 1.4rem; align-self: center; color: var(--blue); }

/* ---------- Snapshot ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  position: relative; padding: 30px 26px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft), #fff); border: 1.5px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.stat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(var(--blue), var(--lime));
}
.stat:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--blue); box-shadow: 0 30px 50px -30px rgba(22, 64, 214, .45); }
.stat b { display: block; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--blue); line-height: 1; }
.stat small { display: block; margin-top: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }

/* ---------- Flow ---------- */
.flow { padding-top: 0; }
.flow__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flow__card {
  position: relative; padding: 36px 30px 34px; border-radius: var(--radius); min-height: 300px;
  background: var(--blue); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
  transition: transform .5s var(--ease);
}
.flow__card:hover { transform: translateY(-8px); }
.flow__card::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.2px); background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%);
}
.flow__card--lime { background: var(--lime); color: var(--navy); }
.flow__card--lime .flow__num { -webkit-text-stroke-color: var(--navy); }
.flow__num { position: absolute; top: 16px; right: 22px; font-family: var(--font-display); font-weight: 900; font-size: 5.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); }
.flow__card h3 { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; font-style: italic; margin-bottom: 12px; position: relative; z-index: 1; }
.flow__card p { margin: 0; position: relative; z-index: 1; opacity: .92; }

/* ---------- Route ---------- */
.route { background: var(--navy); color: #fff; overflow: hidden; }
.route::before {
  content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 92, 255, .45), transparent 65%);
}
.route h2 em { color: var(--lime); }
.route .container { position: relative; }
.route__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.route__stats { flex: none; display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; overflow: hidden; }
.route__stats div { padding: 14px 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.route__stats div:first-child { border-left: 0; }
.route__stats dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.route__stats dd { margin: 2px 0 0; font: 900 italic 1.7rem / 1.1 var(--font-display); color: #fff; white-space: nowrap; }
.route__stats dd small { font-size: .55em; font-weight: 700; margin-left: 3px; color: var(--lime); }

.route__card {
  border-radius: 28px; overflow: hidden; background: #071447;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.route__stage { position: relative; }
.route__map { height: clamp(380px, 52vw, 560px); background: #0a1a52; z-index: 0; }
.route__loading { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-weight: 600; text-align: center; padding: 20px; }
/* Peta OSM yang terang dibalik jadi gelap lalu diberi rona navy supaya senada dengan tema */
.route__map .leaflet-tile-pane { filter: invert(1) grayscale(1) sepia(.55) hue-rotate(185deg) saturate(2.4) brightness(.62) contrast(1.15); }
/* Tutup celah 1px antar potongan peta yang muncul saat zoom pecahan */
.route__map .leaflet-tile-container img { width: 256.6px !important; height: 256.6px !important; }
.route__map .leaflet-control-attribution { background: rgba(5, 15, 61, .75); color: rgba(255, 255, 255, .5); font-size: 10px; }
.route__map .leaflet-control-attribution a { color: rgba(255, 255, 255, .75); }
.route__map .leaflet-bar { border: 0; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
.route__map .leaflet-bar a { background: rgba(5, 15, 61, .85); color: #fff; border-color: rgba(255, 255, 255, .12); width: 36px; height: 36px; line-height: 36px; }
.route__map .leaflet-bar a:hover { background: var(--blue); color: #fff; }

.route-ants { animation: ants 1.2s linear infinite; }
.route-sprint { filter: drop-shadow(0 0 8px rgba(198, 244, 50, .8)); transition: opacity .6s; }
.km-pin span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); border: 2.5px solid #fff; color: #fff; font: 900 italic 11px var(--font-display);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .6); animation: pop .45s var(--ease) both;
}
.sprint-pin span {
  position: absolute; left: 14px; top: -13px; white-space: nowrap; padding: 4px 10px; border-radius: 999px;
  background: var(--navy); border: 1.5px solid var(--lime); color: var(--lime);
  font: 800 italic 11px var(--font-display); text-transform: uppercase; animation: pop .45s var(--ease) both;
}
.start-pin i {
  position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 6px solid var(--blue); box-shadow: 0 0 0 0 rgba(198, 244, 50, .6); animation: ring 2s infinite;
}
.start-pin span {
  position: absolute; left: 0; bottom: 20px; white-space: nowrap; padding: 6px 14px; border-radius: 999px;
  background: var(--lime); color: var(--navy); font: 900 italic 12px var(--font-display); text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); opacity: 0; transform: translate(-50%, 8px); transition: opacity .5s, transform .5s var(--ease);
}
.start-pin.is-on span { opacity: 1; transform: translate(-50%, 0); }
.runner-pin i {
  display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 4px solid var(--navy);
  box-shadow: 0 0 0 6px rgba(198, 244, 50, .3), 0 6px 16px rgba(0, 0, 0, .5);
  transform: scale(0); transition: transform .3s var(--ease);
}
.runner-pin.is-on i { transform: scale(1); }

.route__hud {
  position: absolute; z-index: 500; top: 14px; left: 14px; display: flex; gap: 6px; pointer-events: none;
}
.route__hud span {
  padding: 8px 14px; border-radius: 12px; background: rgba(5, 15, 61, .85); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; color: rgba(255, 255, 255, .7);
}
.route__hud b { font: 900 italic 1.05rem var(--font-display); color: #fff; }
.route__hud-km b { color: var(--lime); }
.route__controls { position: absolute; z-index: 500; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.route__btn {
  border: 0; border-radius: 999px; padding: 11px 18px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5, 15, 61, .85); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14);
  font: 800 italic .85rem var(--font-display); text-transform: uppercase; transition: background .2s, transform .2s var(--ease);
}
.route__btn:hover { transform: translateY(-2px); background: var(--blue); }
.route__btn--play { background: var(--lime); color: var(--navy); border-color: transparent; box-shadow: 0 10px 24px -10px rgba(198, 244, 50, .8); }
.route__btn--play:hover { background: var(--lime-2); }
.route__btn--play.is-playing .route__btn-icon { font-size: 0; }
.route__btn--play.is-playing .route__btn-icon::before { content: '❚❚'; font-size: .7rem; letter-spacing: -1px; }
.route__btn--icon { width: 42px; height: 42px; padding: 0; justify-content: center; font-size: 1.1rem; font-style: normal; }
.route__touch {
  position: absolute; z-index: 500; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 16px;
  background: rgba(5, 15, 61, .75); color: rgba(255, 255, 255, .85); font: 600 .8rem var(--font-body); backdrop-filter: blur(6px);
  transition: opacity .6s;
}
.route__touch.is-faded { opacity: 0; pointer-events: none; }

.route__profile { padding: 18px clamp(16px, 3vw, 28px) 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.route__profile-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.route__profile-head b { font: 800 italic .95rem var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.route__profile-head span { font-size: .78rem; color: rgba(255, 255, 255, .5); transition: opacity .3s; }
.route__profile.is-active .route__profile-head span { opacity: 0; }
.route__chart { position: relative; height: 120px; cursor: crosshair; touch-action: pan-y; user-select: none; }
.route__chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.route__chart-line { fill: none; stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.route__chart-sprint { fill: rgba(198, 244, 50, .14); }
.route__chart-ticks span {
  position: absolute; bottom: -22px; transform: translateX(-50%); font-size: .68rem; font-weight: 700; color: rgba(255, 255, 255, .45);
}
.route__chart-ticks span:first-child { transform: none; }
.route__chart-ticks span.is-end { transform: translateX(-100%); color: var(--lime); }
.route__chart-ticks span::before { content: ''; position: absolute; left: 50%; bottom: 20px; width: 1px; height: 120px; background: rgba(255, 255, 255, .07); }
.route__chart-ticks span:first-child::before { left: 0; }
.route__chart-ticks span.is-end::before { left: 100%; }
.route__chart-cursor { position: absolute; top: -6px; bottom: 0; width: 2px; margin-left: -1px; background: var(--lime); pointer-events: none; }
.route__chart-cursor::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--lime);
}
.route__chart-cursor span {
  position: absolute; bottom: 100%; left: 0; transform: translate(-50%, -6px); white-space: nowrap;
  padding: 5px 10px; border-radius: 8px; background: var(--lime); color: var(--navy); font-size: .74rem; font-weight: 600;
}
.route__chart-cursor span em { font-style: italic; font-weight: 800; }
.route__chart-cursor:not(.is-right) span { transform: translate(-12px, -6px); }
.route__chart-cursor.is-right span { transform: translate(calc(-100% + 12px), -6px); }

.route__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.route__legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.route__legend li { display: flex; gap: 12px; align-items: center; }
.route__legend b { display: block; font-size: .95rem; }
.route__legend small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; }
.legend { flex: none; width: 30px; height: 30px; display: grid; place-items: center; }
.legend--start::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); box-sizing: border-box; }
.legend--sprint::before { content: ''; width: 30px; height: 7px; border-radius: 99px; background: var(--lime); box-shadow: 0 0 10px rgba(198, 244, 50, .7); }
.legend--km { border-radius: 50%; background: var(--blue); border: 2px solid #fff; font: 900 italic 10px var(--font-display); }
.route__download {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 13px 22px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid var(--lime); color: var(--lime); font: 800 italic .9rem var(--font-display); text-transform: uppercase;
  transition: background .2s, color .2s;
}
.route__download small { font: 600 .72rem var(--font-body); text-transform: none; opacity: .8; }
.route__download:hover { background: var(--lime); color: var(--navy); }
.route__note { font-size: .82rem; color: rgba(255, 255, 255, .5); margin: 18px 0 0; }

/* ---------- Winners ---------- */
.prize {
  position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4.5vw, 56px); border-radius: 28px; overflow: hidden; isolation: isolate;
}
.prize + .prize { margin-top: 18px; }
.prize__tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  font: 800 italic .78rem var(--font-display); text-transform: uppercase; letter-spacing: .08em;
  background: var(--lime); color: var(--navy);
}
.prize h3 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 900; font-style: italic; text-transform: uppercase; margin-bottom: 14px; }
.prize__info p { margin: 0; max-width: 420px; }

/* Best Sprinter: panel gelap dengan podium */
.prize--sprint { background: var(--navy); color: #fff; }
.prize--sprint::before {
  content: ''; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 92, 255, .55), transparent 65%);
}
.prize--sprint::after {
  content: ''; position: absolute; z-index: -1; inset: 0; opacity: .5;
  background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255, 255, 255, .035) 46px 48px);
}
.prize--sprint p { color: rgba(255, 255, 255, .72); }
.prize__total { margin-top: 30px; padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, .2); }
.prize__total small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }
.prize__total b { font: 900 italic clamp(2.4rem, 5vw, 3.6rem) / 1 var(--font-display); color: var(--lime); letter-spacing: -.03em; }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; height: 290px; }
.podium__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.podium__amount {
  font: 900 italic 1.25rem var(--font-display); margin-bottom: 10px; white-space: nowrap;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease);
}
.podium__crown { font-size: 1.8rem; line-height: 1; margin-bottom: 4px; opacity: 0; transition: opacity .5s; }
.podium__bar {
  width: 100%; height: var(--h); border-radius: 18px 18px 6px 6px; position: relative; overflow: hidden;
  display: flex; justify-content: center; padding-top: 12px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease);
}
.podium__bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%);
  transform: translateX(-120%);
}
.podium__bar span { font: 900 italic clamp(3rem, 6vw, 4.6rem) / 1 var(--font-display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .7); }
.podium__col--1 { --h: 190px; }
.podium__col--2 { --h: 130px; }
.podium__col--3 { --h: 95px; }
.podium__col--1 .podium__bar { background: linear-gradient(180deg, var(--lime-2), var(--lime)); box-shadow: 0 0 60px -10px rgba(198, 244, 50, .6); }
.podium__col--1 .podium__bar span { -webkit-text-stroke-color: var(--navy); }
.podium__col--1 .podium__amount { font-size: 1.7rem; color: var(--lime); }
/* Urutan muncul: juara 3, 2, lalu 1 */
.prize.is-visible .podium__bar { transform: none; }
.prize.is-visible .podium__col--3 .podium__bar { transition-delay: .3s; }
.prize.is-visible .podium__col--2 .podium__bar { transition-delay: .55s; }
.prize.is-visible .podium__col--1 .podium__bar { transition-delay: .8s; }
.prize.is-visible .podium__amount { opacity: 1; transform: none; }
.prize.is-visible .podium__col--3 .podium__amount { transition-delay: 1s; }
.prize.is-visible .podium__col--2 .podium__amount { transition-delay: 1.2s; }
.prize.is-visible .podium__col--1 .podium__amount { transition-delay: 1.45s; }
.prize.is-visible .podium__crown { opacity: 1; transition-delay: 1.6s; animation: bob 2.4s ease-in-out 2s infinite; }
.prize.is-visible .podium__col--1 .podium__bar::after { animation: shine 3.2s ease-in-out 2s infinite; }

.podium__rest {
  margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.podium__rest-label { font: 800 italic .85rem var(--font-display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.podium__chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.podium__chips li {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font: 900 italic .9rem var(--font-display); border: 2px solid rgba(255, 255, 255, .35);
}
.podium__rest b { margin-left: auto; font: 900 italic 1.25rem var(--font-display); color: var(--lime); white-space: nowrap; }
.podium__rest b small { font-size: .7rem; font-style: normal; font-weight: 600; color: rgba(255, 255, 255, .6); }

/* Lucky Draw: panel lime dengan etalase hadiah */
.prize--draw { grid-template-columns: 1fr; background: var(--lime); color: var(--navy); }
.prize--draw::after {
  content: ''; position: absolute; z-index: -1; inset: 0; opacity: .6;
  background-image: radial-gradient(rgba(5, 15, 61, .14) 1px, transparent 1.3px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 55%); mask-image: linear-gradient(160deg, #000, transparent 55%);
}
.prize--draw .prize__info { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(24px, 5vw, 64px); align-items: end; }
.prize--draw .prize__tag { grid-column: 1 / -1; justify-self: start; background: var(--navy); color: var(--lime); }
.prize--draw h3 { margin-bottom: 0; }
.prize--draw .prize__info p { color: rgba(5, 15, 61, .75); font-weight: 600; }
.draw__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 14px; }
.draw__item {
  position: relative; margin: 0; background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 18px 40px -24px rgba(5, 15, 61, .45); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.draw__item:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 30px 50px -26px rgba(5, 15, 61, .55); }
.draw__img { flex: 1; aspect-ratio: 1; background: #f3f3f3; overflow: hidden; }
.draw__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transition: transform .6s var(--ease); }
.draw__item:hover .draw__img img { transform: scale(1.06); }
.draw__item figcaption { padding: 14px 16px 16px; }
.draw__item figcaption small { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.draw__item figcaption b { font: 900 italic 1.05rem / 1.15 var(--font-display); text-transform: uppercase; }
.draw__item--main figcaption b { font-size: 1.5rem; }
.draw__badge {
  position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  font: 800 italic .72rem var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  background: var(--navy); color: var(--lime);
}

/* ---------- Rundown ---------- */
.rundown { background: var(--bg-soft); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 3px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; padding-top: 74px; }
.timeline li::before { content: ''; position: absolute; top: 24px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline li.is-key::before { background: var(--lime); box-shadow: 0 0 0 8px rgba(198, 244, 50, .35); }
.timeline time { display: block; font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 2rem; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.timeline b { display: block; font-weight: 800; font-size: 1.05rem; }
.timeline small { color: var(--muted); }

/* ---------- Stay ---------- */
.stay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.stay__photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.stay__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stay__photo:hover img { transform: scale(1.05); }
.stay__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(22, 64, 214, .7)); }
.stay__badge { position: absolute; left: 20px; bottom: 20px; z-index: 1; background: var(--lime); color: var(--navy); padding: 10px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 900; font-style: italic; }
.stay__item { padding: 22px 0; border-bottom: 1.5px solid var(--line); }
.stay__item:first-of-type { margin-top: 28px; border-top: 1.5px solid var(--line); }
.stay__item b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }
.stay__item p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Ticket ---------- */
.ticket-sec { padding-top: 0; }
.ticket-card {
  display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 32px; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: 0 50px 100px -40px rgba(22, 64, 214, .6); position: relative;
}
.ticket-card::before {
  content: 'SAF'; position: absolute; right: -20px; bottom: -60px; font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: 16rem; line-height: 1; color: rgba(255, 255, 255, .04); pointer-events: none;
}
.ticket-card__left { padding: clamp(32px, 5vw, 56px); border-right: 2px dashed rgba(255, 255, 255, .25); position: relative; }
.ticket-card__left::before, .ticket-card__left::after {
  content: ''; position: absolute; right: -18px; width: 36px; height: 36px; border-radius: 50%; background: #fff;
}
.ticket-card__left::before { top: -18px; }
.ticket-card__left::after { bottom: -18px; }
.ticket-card__price { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--lime); margin-bottom: 24px; }
.ticket-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticket-card li { padding-left: 32px; position: relative; }
.ticket-card li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--navy); font-weight: 900; font-size: .75rem; display: grid; place-items: center; }
.ticket-card__right { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; }
.ticket-card__right p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.ticket-card .muted { color: rgba(255, 255, 255, .65); text-align: center; }
.bank-badge { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.3rem; text-transform: uppercase; }
.bank-badge b { background: #fff; color: var(--blue); padding: 2px 12px; border-radius: 8px; font-style: normal; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq details { border: 1.5px solid var(--line); border-radius: 18px; padding: 0 24px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--blue); box-shadow: 0 20px 40px -30px rgba(22, 64, 214, .5); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 800; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* ---------- Final ---------- */
.final { position: relative; padding: clamp(90px, 14vw, 170px) 0; color: #fff; text-align: center; overflow: hidden; background: var(--blue); }
.final__bg { position: absolute; inset: 0; background: repeating-linear-gradient(-18deg, transparent 0 60px, rgba(255, 255, 255, .04) 60px 120px); }
.final__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(198, 244, 50, .18), transparent 70%); }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(3rem, 11vw, 8rem); line-height: .9; margin-bottom: 40px; }
.final h2 em { color: var(--lime); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 60px 0 100px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 30px; }
.footer__logo { width: 150px; height: 38px; margin-bottom: 14px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-family: var(--font-display); font-style: italic; text-transform: uppercase; }
.footer a { display: block; text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--lime); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px; border-radius: 999px; color: #fff;
  background: rgba(5, 15, 61, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -10px rgba(5, 15, 61, .6);
  transform: translateY(150%); transition: transform .4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta small { display: block; font-size: .7rem; opacity: .7; line-height: 1.1; }
.sticky-cta b { font-family: var(--font-display); font-style: italic; color: var(--lime); }

.resume {
  position: fixed; right: 16px; bottom: 90px; z-index: 45; border: 0; border-radius: 999px;
  padding: 12px 20px; background: #fff; color: var(--ink); font-weight: 800; font-size: .88rem;
  box-shadow: 0 16px 40px -10px rgba(5, 15, 61, .45), inset 0 0 0 2px var(--lime);
  animation: bob 2.4s ease-in-out infinite;
}

/* =========================================================
   Registration panel
   ========================================================= */
.reg { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.reg.is-open { visibility: visible; }
.reg__backdrop { position: absolute; inset: 0; background: rgba(5, 15, 61, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.reg.is-open .reg__backdrop { opacity: 1; }
.reg__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
  box-shadow: -30px 0 80px -20px rgba(5, 15, 61, .5);
}
.reg.is-open .reg__panel { transform: none; }
.reg__top {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--blue-deep));
  padding-top: max(18px, env(safe-area-inset-top));
}
.reg__title { flex: 1; }
.reg__title small { font-size: .72rem; opacity: .75; text-transform: uppercase; letter-spacing: .12em; }
.reg__title h2 { font-size: 1.6rem; color: #fff; }
.reg__back, .reg__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.1rem; flex: none; }
.reg__back:hover, .reg__close:hover { background: rgba(255, 255, 255, .25); }

.steps { list-style: none; margin: 0; padding: 14px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-bottom: 1px solid var(--line); position: relative; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--muted); text-align: center; position: relative; }
.steps li::after { content: ''; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); font-family: var(--font-display); font-weight: 800; transition: all .3s; position: relative; z-index: 1; }
.steps li.is-active { color: var(--blue); }
.steps li.is-active span { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(22, 64, 214, .15); }
.steps li.is-done span { background: var(--lime); color: var(--navy); }
.steps li.is-done::after { background: var(--lime); }
.steps li.is-done span::before { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; background: inherit; border-radius: 50%; }

.reg__body { flex: 1; overflow-y: auto; padding: 24px 20px 30px; overscroll-behavior: contain; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .45s var(--ease); }
.step.is-back { animation-name: stepInBack; }
.step__intro { margin: 0 0 20px; padding: 14px 16px; background: var(--bg-soft); border-radius: 14px; font-size: .9rem; color: var(--muted); }
.reg__foot { padding: 14px 20px; padding-bottom: max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }

.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.field i { font-style: normal; font-weight: 500; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
input[type="date"] { min-height: 52px; }
textarea { resize: vertical; min-height: 70px; }
input:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 64, 214, .12); }
input::placeholder, textarea::placeholder { color: #a5aecb; }
.input-prefix { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.input-prefix:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 64, 214, .12); }
.input-prefix span { display: grid; place-items: center; padding: 0 14px; background: var(--bg-soft); font-weight: 700; color: var(--muted); }
.input-prefix input { border: 0; border-radius: 0; box-shadow: none !important; }
.field.has-error input, .field.has-error .input-prefix, .field.has-error textarea { border-color: var(--danger); }
.field__err { display: block; color: var(--danger); font-size: .8rem; font-weight: 600; min-height: 0; }
.field.has-error .field__err { margin-top: 6px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .chips label { margin: 0; font-weight: 600; position: relative; }
.seg input, .chips input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg span, .chips span { display: block; text-align: center; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s; user-select: none; }
.chips span { padding: 9px 16px; border-radius: 999px; font-size: .9rem; }
.seg input:checked + span, .chips input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(22, 64, 214, .8); }
.seg input:focus-visible + span, .chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(22, 64, 214, .2); }
.field.has-error .seg span { border-color: var(--danger); }

.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: .9rem !important; cursor: pointer; position: relative; }
.check::before { content: ''; flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line); margin-top: 1px; transition: all .2s; }
.check:has(input:checked)::before { background: var(--blue); border-color: var(--blue); }
.check:has(input:checked)::after { content: '✓'; position: absolute; left: 6px; top: 1px; color: #fff; font-weight: 900; font-size: .9rem; }
.check:has(input:focus-visible)::before { box-shadow: 0 0 0 4px rgba(22, 64, 214, .2); }
.field.has-error .check::before { border-color: var(--danger); }
.link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; text-decoration: underline; }
.tnc { margin-top: 10px; padding: 12px 16px; background: var(--bg-soft); border-radius: 12px; font-size: .82rem; color: var(--muted); }
.tnc ul { margin: 0; padding-left: 18px; }

.summary { border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.summary__group { padding: 16px 18px; border-bottom: 1.5px solid var(--line); position: relative; }
.summary__group:last-child { border-bottom: 0; }
.summary__group h4 { margin: 0 0 10px; font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: .85rem; color: var(--blue); }
.summary__edit { position: absolute; right: 14px; top: 12px; background: var(--bg-soft); border: 0; border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; color: var(--blue); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .9rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.total { margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--bg-soft); }
.total > div { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.total__sum { margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed #c9d2ee; font-weight: 800; }
.total__sum b { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--blue); }
.form-error { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #fff0f3; color: #c11f43; font-weight: 600; font-size: .9rem; }

/* Payment */
.pay { text-align: center; }
.pay__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.bank-logo { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 1.5rem; letter-spacing: .02em; color: #fff; background: var(--blue); border-radius: 10px; padding: 2px 14px; }
.pay__timer { text-align: right; }
.pay__timer small { display: block; font-size: .72rem; color: var(--muted); }
.pay__timer b { font-family: var(--font-display); font-size: 1rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.transfer { text-align: left; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; }
.transfer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.transfer__row + .transfer__row { border-top: 2px solid var(--line); }
.transfer__row > div { min-width: 0; }
.transfer__row small { display: block; font-size: .76rem; color: var(--muted); }
.transfer__row b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); line-height: 1.25; font-variant-numeric: tabular-nums; }
.transfer__row b.transfer__holder { font-family: var(--font-body); font-size: 1rem; }
.transfer__row--amount { background: var(--bg-soft); }
.transfer__row--amount b { font-style: italic; font-weight: 900; font-size: 1.9rem; color: var(--blue); }
.transfer__copy { flex: none; border: 2px solid var(--blue); background: #fff; color: var(--blue); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .8rem; cursor: pointer; }
.transfer__note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.pay__title { font-size: 1.5rem; font-weight: 900; font-style: italic; text-transform: uppercase; margin: 0 0 8px; }
.pay__clock { background: var(--bg-soft); box-shadow: none; }
.pay__help { margin-top: 10px; }
.pay__order { font-size: .8rem; color: var(--muted); margin: 8px 0 16px; }
.pay__order code, .success__order code { background: var(--bg-soft); padding: 2px 8px; border-radius: 6px; color: var(--ink); }
.pay__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 14px; }
.pay__actions .btn { padding: 13px 14px; font-size: .88rem; }
.success .pay__actions, .pay__actions--one { grid-template-columns: 1fr; }
.pay__status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--bg-soft); font-weight: 700; font-size: .88rem; color: var(--blue); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.pay__how { text-align: left; margin: 22px 0 0; padding: 18px 18px 18px 40px; background: var(--bg-soft); border-radius: 16px; font-size: .88rem; color: var(--muted); display: grid; gap: 6px; }
.pay__how b { color: var(--ink); }

/* Success */
.success__head { text-align: center; margin-bottom: 22px; }
.success__check { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--lime); color: var(--navy); font-size: 2.2rem; font-weight: 900; display: grid; place-items: center; animation: pop .6s var(--ease); box-shadow: 0 0 0 10px rgba(198, 244, 50, .25); }
.success h3 { font-size: 1.8rem; font-weight: 900; font-style: italic; text-transform: uppercase; }
.success__head p { margin: 6px 0 0; color: var(--muted); }
.bib { position: relative; border-radius: 22px; padding: 24px 24px 22px; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); box-shadow: 0 30px 60px -25px rgba(22, 64, 214, .7); animation: bibIn .8s var(--ease); }
.bib::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-18deg, transparent 0 40px, rgba(255, 255, 255, .04) 40px 80px); }
.bib::after { content: ''; position: absolute; left: 0; right: 0; bottom: 64px; height: 6px; background: var(--lime); transform: skewY(-2deg); }
.bib > * { position: relative; }
.bib__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: .8rem; }
.bib__logo { width: 100px; height: 26px; }
.bib__num { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(4.5rem, 22vw, 7rem); line-height: 1; text-align: center; margin: 14px 0 4px; letter-spacing: -.02em; text-shadow: 4px 4px 0 rgba(5, 15, 61, .35); }
.bib__name { text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; margin-bottom: 30px; }
.bib__bottom { display: flex; justify-content: space-between; gap: 10px; font-size: .74rem; font-weight: 700; opacity: .9; }
.bib__holes { position: absolute !important; inset: 10px 10px auto 10px; display: flex; justify-content: space-between; pointer-events: none; }
.bib__holes i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.bib__holes i:nth-child(2), .bib__holes i:nth-child(3) { visibility: hidden; }
.checkin-qr {
  display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 14px; border-radius: 18px;
  background: var(--bg-soft); border: 2px dashed var(--line);
}
.checkin-qr canvas { flex: none; width: 120px; height: 120px; border-radius: 10px; background: #fff; }
.checkin-qr b { display: block; font: 900 italic 1.1rem var(--font-display); text-transform: uppercase; color: var(--blue); }
.checkin-qr small { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.lookup-list { margin-top: 22px; display: grid; gap: 10px; }
.lookup-list p { margin: 0; }
.lookup-item {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border-radius: 14px; text-align: left;
  border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, transform .2s var(--ease);
}
.lookup-item:hover { border-color: var(--blue); transform: translateY(-2px); }
.lookup-item b { font: 900 italic 1.1rem var(--font-display); color: var(--blue); white-space: nowrap; }
.lookup-item span { flex: 1; font-weight: 700; }
.lookup-item i { font-style: normal; color: var(--blue); font-weight: 800; }
.success__order { text-align: center; font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 150; width: 100%; height: 100%; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.stats .reveal:nth-child(2), .flow__grid .reveal:nth-child(2), .timeline .reveal:nth-child(2) { transition-delay: .08s; }
.stats .reveal:nth-child(3), .flow__grid .reveal:nth-child(3), .timeline .reveal:nth-child(3) { transition-delay: .16s; }
.stats .reveal:nth-child(4), .timeline .reveal:nth-child(4) { transition-delay: .24s; }
.timeline .reveal:nth-child(5) { transition-delay: .32s; }
.timeline .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- Keyframes ---------- */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateBorder { to { --a: 360deg; } }
@keyframes rise { to { transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes streak { 0% { left: -40vw; opacity: 0; } 10% { opacity: .9; } 70% { opacity: .6; } 100% { left: 110vw; opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes bibIn { from { opacity: 0; transform: translateY(30px) rotate(-4deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes ants { to { stroke-dashoffset: -18; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, .6); } 100% { box-shadow: 0 0 0 16px rgba(198, 244, 50, 0); } }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow__grid { grid-template-columns: 1fr; }
  .prize { grid-template-columns: 1fr; }
  .prize--draw .prize__info { grid-template-columns: 1fr; row-gap: 12px; }
  .draw__grid { grid-template-columns: repeat(3, 1fr); }
  .draw__item--main { grid-column: 1 / -1; }
  .draw__item--main .draw__img { aspect-ratio: 16 / 10; }
  .flow__card { min-height: 220px; }
  .stay__grid { grid-template-columns: 1fr; }
  .route__head { flex-direction: column; align-items: flex-start; }
  .route__stats { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .timeline::before { left: 19px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--blue) 0 10px, transparent 10px 18px); }
  .timeline li { padding: 0 0 30px 56px; }
  .timeline li::before { top: 4px; left: 0; }
  .ticket-card { grid-template-columns: 1fr; }
  .ticket-card__left { border-right: 0; border-bottom: 2px dashed rgba(255, 255, 255, .25); }
  .ticket-card__left::before, .ticket-card__left::after { top: auto; bottom: -18px; right: auto; }
  .ticket-card__left::before { left: -18px; }
  .ticket-card__left::after { right: -18px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav .btn { display: none; }
  .nav__logo svg { width: 112px; height: 29px; }
  .hero__inner { padding: 100px 0 80px; }
  .hero__title .line--outline > span { -webkit-text-stroke-width: 1.5px; }
  .hero__year { display: none; }
  .hero__meta { gap: 14px 22px; }
  .hero__cta .btn { width: 100%; }
  .countdown { margin-top: 32px; }
  .countdown div { flex: 1; min-width: 0; }
  .countdown b { font-size: 1.6rem; }
  .sticky-cta { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .steps li { font-size: .66rem; }
  .bib__bottom { flex-direction: column; gap: 2px; }
  .route__stats { grid-template-columns: 1fr 1fr; }
  .route__stats div { padding: 12px 16px; }
  .route__stats div:nth-child(3) { border-left: 0; }
  .route__stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .route__stats dd { font-size: 1.4rem; }
  .route__map { height: 500px; }
  .route__hud { top: 10px; left: 10px; }
  .route__hud span { padding: 6px 10px; }
  .route__controls { left: 10px; bottom: 10px; }
  .route__profile-head span { display: none; }
  .route__foot { flex-direction: column; align-items: stretch; }
  .route__legend { flex-direction: column; }
  .route__download { justify-content: center; }
  .podium { height: 250px; gap: 8px; }
  .podium__col--1 { --h: 160px; }
  .podium__col--2 { --h: 112px; }
  .podium__col--3 { --h: 82px; }
  .podium__amount { font-size: 1rem; }
  .podium__col--1 .podium__amount { font-size: 1.3rem; }
  .podium__rest { flex-wrap: wrap; gap: 10px 12px; }
  /* Hadiah kecil jadi daftar: foto di kiri, nama di kanan */
  .draw__grid { grid-template-columns: 1fr; gap: 10px; }
  .draw__item:not(.draw__item--main) { flex-direction: row; align-items: center; border-radius: 16px; }
  .draw__item:not(.draw__item--main) .draw__img { flex: none; width: 92px; }
  .draw__item:not(.draw__item--main) figcaption { padding: 12px 16px; }
  .draw__item figcaption b { font-size: 1rem; }
  .draw__item--main figcaption b { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__streaks { display: none; }
  .reveal { opacity: 1; transform: none; }
  .podium__bar { transform: none; }
  .podium__amount, .podium__crown { opacity: 1; transform: none; }
}
