*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; line-height: 1.02; margin: 0; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: #031006; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 32px); }
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow { font-family: var(--font-arcade); font-size: 11px; letter-spacing: .14em; color: var(--green); margin-bottom: 16px; }
.section h2 { font-size: clamp(40px, 6.4vw, 76px); margin-bottom: 28px; text-shadow: 0 4px 0 rgba(0,0,0,.4); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-arcade); font-size: 11px; letter-spacing: .06em; text-decoration: none;
  min-height: 44px; padding: 12px 18px; border-radius: 12px; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
}
.btn-xl { font-size: 13px; min-height: 56px; padding: 18px 26px; border-radius: 14px; }
.btn-play {
  color: #031006; background: linear-gradient(180deg, #8dffa8, var(--green) 45%, var(--green-deep));
  box-shadow: 0 5px 0 #0a6e27, 0 0 30px rgba(61,255,110,.35);
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #0a6e27, 0 0 44px rgba(61,255,110,.55); }
.btn-play:active { transform: translateY(3px); box-shadow: 0 2px 0 #0a6e27, 0 0 20px rgba(61,255,110,.4); }
.btn-ghost { color: var(--text); background: rgba(10,12,24,.55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-buy { color: #1a1100; background: linear-gradient(180deg, #ffe08a, var(--gold)); box-shadow: 0 5px 0 #8a6200; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.nav.is-solid { background: rgba(5,6,11,.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--panel-line); }
.nav-inner { width: min(1280px, 100% - 24px); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 22px; letter-spacing: .02em; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(61,255,110,.35)); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 10px; color: var(--muted); }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--panel); border: 1px solid var(--panel-line); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .brand span { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: fixed; inset: 72px 12px auto; flex-direction: column; gap: 2px; margin: 0; padding: 10px;
    background: rgba(8,10,20,.96); border: 1px solid var(--panel-line); border-radius: 18px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .nav-links a { font-size: 18px; padding: 14px 16px; color: var(--text); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 96px 0 150px; }
.hero-bg { position: absolute; inset: -4% -2%; z-index: -3; will-change: transform; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-glow { position: absolute; inset: 0; background:
  radial-gradient(40% 30% at 18% 20%, rgba(162,77,255,.22), transparent 70%),
  radial-gradient(35% 30% at 85% 25%, rgba(46,200,255,.18), transparent 70%);
  mix-blend-mode: screen; animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .45; } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,6,11,.82) 0%, rgba(5,6,11,.45) 42%, rgba(5,6,11,.05) 70%),
  linear-gradient(180deg, rgba(5,6,11,.55) 0%, transparent 22%, transparent 62%, var(--bg) 100%); }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero-inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; }
.hero-logo { margin: 0 0 6px -8px; }
.hero-logo img { width: clamp(200px, min(22vw, 34vh), 330px); height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)) drop-shadow(0 0 30px rgba(61,255,110,.18)); animation: logo-in .9s var(--ease) both; }
@keyframes logo-in { from { opacity: 0; transform: scale(.85) rotate(-4deg); } }
.hero-tag { font-family: var(--font-display); font-size: clamp(34px, min(5.2vw, 8.4vh), 76px); line-height: .95; margin: 0 0 18px; display: flex; flex-direction: column; text-shadow: 0 5px 0 rgba(0,0,0,.45); }
.hero-tag span { white-space: nowrap; }
.hero-tag .hl { color: var(--green); text-shadow: 0 0 28px rgba(61,255,110,.55), 0 5px 0 #0a5e22; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: #d4daf0; max-width: 34ch; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mascot { position: relative; justify-self: center; will-change: transform; }
.hero-mascot img { width: clamp(300px, min(38vw, 74vh), 600px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.65)) drop-shadow(0 0 40px rgba(61,255,110,.22)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* passing traffic */
.hero-road { position: absolute; left: 0; right: 0; bottom: 0; height: 124px; z-index: -1; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(5,6,11,.65) 30%, rgba(5,6,11,.9)); }
.lane { position: absolute; left: 0; right: 0; height: 56px; }
.lane-a { bottom: 58px; } .lane-b { bottom: 4px; }
.lane::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 28px, transparent 28px 54px); }
.car { position: absolute; height: 52px; width: auto; top: 0; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.lane-a .car { animation: drive-l 9s linear infinite; animation-delay: -2s; }
.lane-b .car { height: 56px; animation: drive-r 13s linear infinite; animation-delay: -9s; }
@keyframes drive-l { from { transform: translateX(100vw); } to { transform: translateX(-140px); } }
@keyframes drive-r { from { transform: translateX(-140px); } to { transform: translateX(100vw); } }

@media (max-width: 860px) {
  .hero { padding: 92px 0 140px; align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; order: 2; }
  .hero-logo { margin: -34px 0 2px; position: relative; }
  .hero-logo img { width: min(190px, 48vw, 24svh); }
  .hero-tag { font-size: clamp(30px, 9vw, 46px); margin-bottom: 12px; }
  .hero-sub { font-size: 16px; margin-bottom: 20px; }
  .hero-sub { margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .hero-btns { width: 100%; max-width: 440px; }
  .hero-btns .btn { flex: 1 1 140px; padding-inline: 12px; font-size: 11.5px; }
  .hero-mascot { order: 1; }
  .hero-mascot img { width: auto; height: min(32svh, 340px); max-width: 80vw; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,6,11,.35) 0%, rgba(5,6,11,.55) 45%, rgba(5,6,11,.9) 75%, var(--bg) 100%); }
}

/* ---------- glass panels ---------- */
.glass, .veh, .step, .earn-card, .stop, details {
  background: linear-gradient(180deg, rgba(22,26,48,.72), rgba(12,14,28,.72));
  border: 1px solid var(--panel-line); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ---------- about ---------- */
.about { background: radial-gradient(60% 50% at 80% 10%, rgba(162,77,255,.14), transparent 70%); }
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; margin-bottom: 80px; }
.about-copy p { color: #cfd5ec; max-width: 58ch; }
.about-copy .lead { font-size: 22px; color: var(--text); font-weight: 600; }
.punch { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; color: var(--text) !important; margin-top: 26px; }
.punch span { color: var(--red); text-shadow: 0 0 20px rgba(255,59,59,.4); }
.about-art img { width: min(320px, 70%); margin-inline: auto; filter: drop-shadow(0 20px 40px rgba(61,255,110,.25)); animation: float 4s ease-in-out infinite; }
.traffic-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 26px; }
.traffic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.veh { padding: 22px; position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.veh::before { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, var(--c), transparent 70%); opacity: .16; }
.veh:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.veh img { height: 104px; width: auto; max-width: 100%; margin: 0 auto 14px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.veh h4 { font-size: 30px; color: var(--c); margin-bottom: 6px; }
.veh p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- how ---------- */
.how { background: linear-gradient(180deg, transparent, rgba(46,200,255,.05) 50%, transparent); }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { padding: 22px 18px; position: relative; }
.step .num { position: absolute; top: 14px; right: 16px; font-family: var(--font-arcade); font-size: 10px; color: var(--muted); }
.step img { height: 78px; width: auto; margin-bottom: 14px; object-fit: contain; }
.step h3 { font-size: 30px; color: var(--green); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.pickups { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.pk { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(12,14,28,.7); border: 1px solid var(--panel-line); }
.pk img { width: 40px; height: 40px; object-fit: contain; }
.pk b { font-family: var(--font-arcade); font-size: 10px; font-weight: 400; }
.pk span { color: var(--muted); font-size: 14px; }
.play-band {
  display: flex; align-items: center; gap: 24px; padding: 22px 28px; border-radius: 24px;
  background: linear-gradient(100deg, rgba(61,255,110,.16), rgba(46,200,255,.08) 50%, rgba(162,77,255,.16));
  border: 1px solid rgba(61,255,110,.3);
}
.play-band img { width: 96px; height: auto; flex: none; }
.play-band > div { flex: 1; }
.band-big { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; margin: 0 0 4px; }
.band-sub { color: var(--muted); margin: 0; }

/* ---------- earn ---------- */
.earn { background: radial-gradient(50% 50% at 20% 50%, rgba(255,201,60,.08), transparent 70%); }
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.earn-card { padding: clamp(26px, 4vw, 44px); }
.earn-card h2 { font-size: clamp(36px, 4.6vw, 56px); margin: 18px 0 22px; }
.earn-card p { color: #cfd5ec; }
.earn-card .fine { color: var(--muted); font-size: 14.5px; margin: 18px 0 0; }
.badge { display: inline-block; font-family: var(--font-arcade); font-size: 9.5px; letter-spacing: .08em; padding: 8px 12px; border-radius: 999px; color: var(--green); border: 1px solid rgba(61,255,110,.4); background: rgba(61,255,110,.08); }
.badge-gold { color: var(--gold); border-color: rgba(255,201,60,.4); background: rgba(255,201,60,.08); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); font-weight: 600; font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 10px rgba(255,201,60,.6); transform: rotate(45deg); }
.earn-live { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* ---------- roadmap ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.road::before { content: ''; position: absolute; left: 0; right: 0; top: 38px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255,201,60,.6) 0 22px, transparent 22px 40px); z-index: -1; }
.stop { padding: 24px 22px; position: relative; }
.stop .stage { font-family: var(--font-arcade); font-size: 10px; color: var(--muted); }
.stop h3 { font-size: 40px; margin: 12px 0 10px; }
.stop p { color: var(--muted); margin: 0; font-size: 15.5px; }
.stop.is-now { border-color: rgba(61,255,110,.5); box-shadow: 0 0 40px rgba(61,255,110,.12); }
.stop.is-now h3 { color: var(--green); }
.pill { position: absolute; top: 18px; right: 18px; font-family: var(--font-arcade); font-size: 8px; padding: 6px 8px; border-radius: 999px; background: var(--green); color: #031006; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 12px; }
details { padding: 0; overflow: hidden; }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--font-arcade); font-size: 14px; color: var(--green); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 22px 20px; margin: 0; color: #c7cde4; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--panel-line); padding: 56px 0 28px; background: linear-gradient(180deg, transparent, rgba(61,255,110,.04)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 84px; height: 84px; object-fit: contain; }
.footer-brand p { font-family: var(--font-display); font-size: 22px; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-weight: 600; padding: 6px 0; }
.footer-nav a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--panel-line); color: var(--text); text-decoration: none; font-weight: 800; }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); color: #7c84a3; font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-legal p { margin: 0; max-width: 80ch; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .road { grid-template-columns: repeat(2, 1fr); }
  .road::before { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; margin-bottom: 56px; }
  .about-art { display: none; }
  .traffic { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .veh { padding: 16px; }
  .veh img { height: 74px; }
  .veh h4 { font-size: 24px; }
  .veh p { font-size: 14px; }
  .earn-grid { grid-template-columns: 1fr; }
  .play-band { flex-direction: column; text-align: center; }
  .play-band .btn { width: 100%; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step:last-child { grid-column: 1 / -1; }
  .traffic { grid-template-columns: 1fr 1fr; }
  .road { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .nav-cta .btn-play { padding: 12px 12px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-road { display: none; }
}

/* ---------- districts ---------- */
.districts { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.dist { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(22,26,48,.72), rgba(12,14,28,.72)); border: 1px solid var(--panel-line); border-top: 3px solid var(--c); }
.dist span { font-family: var(--font-arcade); font-size: 9px; color: var(--muted); }
.dist b { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.05; color: var(--c); }
.dist em { font-style: normal; color: var(--muted); font-size: 14.5px; }
@media (max-width: 1080px) { .districts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .districts { grid-template-columns: 1fr 1fr; } }

/* ---------- welcome back ---------- */
.wb {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(300px, calc(100% - 32px));
  display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px;
  background: rgba(8,10,20,.94); border: 1px solid rgba(255,201,60,.45); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 30px rgba(255,201,60,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: wb-in .5s var(--ease) both .6s;
}
@keyframes wb-in { from { opacity: 0; transform: translateY(16px); } }
.wb .wb-k { font-family: var(--font-arcade); font-size: 10px; color: var(--gold); margin-bottom: 4px; }
.wb .wb-l { font-family: var(--font-arcade); font-size: 9px; line-height: 1.6; color: var(--text); }
.wb-play { margin-top: 10px; }
.wb-link { text-align: center; font-family: var(--font-arcade); font-size: 9px; color: var(--muted); padding: 10px; }
.wb-x { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
