/* JUMPO website. Self-contained: no third-party requests. Built by
   E:\SixtyFourLabs_tools\build_jumpo_site.py (pages) + this file + app.js. */

@font-face { font-family: "Roboto"; src: url("/fonts/roboto-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/fonts/roboto-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/fonts/roboto-black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --ink: #1b1f3b;
  --bg: #12152b;
  --bg-2: #1b1f3b;
  --panel: rgba(40, 46, 92, .55);
  --line: rgba(160, 175, 255, .16);
  --line-strong: rgba(160, 175, 255, .32);
  --text: #f1f3ff;
  --muted: #aab1d9;
  --dim: #7b83b3;
  --yellow: #ffc928;
  --orange: #ff7a1a;
  --cyan: #36e2ff;
  --green: #5fd16a;
  --accent: #ffc928;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 900; letter-spacing: -.01em; line-height: 1.12; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); }

/* ---------------------------------------------------------------- header */

.top { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.top.scrolled { background: rgba(18, 21, 43, .82); backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 19px; letter-spacing: .08em; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 15px; }
.nav .links { display: contents; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .lang { border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 13px; color: var(--text); font-size: 13px; }
.nav .get { color: #2a1a00; background: linear-gradient(180deg, #ffe066, #ffb800); padding: 9px 18px; border-radius: 12px; font-weight: 900; box-shadow: 0 4px 0 #c98a00; }
.nav .get:hover { color: #2a1a00; filter: brightness(1.05); }
@media (max-width: 860px) { .nav .links { display: none; } }

/* ----------------------------------------------------------------- hero */

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 140px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(700px 500px at 75% 35%, rgba(255, 201, 40, .16), transparent 65%),
    radial-gradient(900px 600px at 10% 10%, rgba(54, 226, 255, .1), transparent 60%),
    linear-gradient(180deg, #0d1026 0%, #1b1f3b 70%, #232850 100%);
}
#city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; z-index: -2; pointer-events: none; }
#sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero-logo { width: min(460px, 100%); margin-bottom: 4px; filter: drop-shadow(0 10px 30px rgba(255, 180, 0, .35)); }
.tagline { margin: 10px 0 0; color: var(--cyan); font-weight: 900; letter-spacing: .3em; font-size: 15px; }
.hero h1 { margin: 26px 0 14px; font-size: clamp(32px, 4.6vw, 54px); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffe066, #ff9a2e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 30px; max-width: 33em; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 16px;
  color: #fff; background: #000;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease), border-color .2s;
}
.store-btn:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(255, 255, 255, .55); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.store-btn strong { font-size: 20px; font-weight: 700; }
.store-btn.soon { cursor: default; opacity: .6; box-shadow: none; }
.store-btn.soon:hover { transform: none; border-color: rgba(255, 255, 255, .28); }

.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 700; }
.badges span { display: inline-flex; align-items: center; gap: 7px; }
.badges svg { width: 17px; height: 17px; color: var(--yellow); }

.hero-art { position: relative; width: min(420px, 80vw); margin-inline: auto; }
.hero-art img { border-radius: 30%; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); animation: bob 5s ease-in-out infinite; }
.hero-art::before { content: ""; position: absolute; inset: -12%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 201, 40, .45), transparent); filter: blur(20px); animation: pulse 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes pulse { 50% { opacity: .55; transform: scale(.94); } }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-hint:hover { text-decoration: none; color: var(--text); }
.scroll-hint i { width: 2px; height: 34px; background: linear-gradient(var(--yellow), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .hero { padding-top: 100px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo, .lead { margin-inline: auto; }
  .cta, .badges { justify-content: center; }
  .scroll-hint { display: none; }
}

/* ----------------------------------------------------------------- stats */

.stats { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 201, 40, .06), rgba(54, 226, 255, .06)); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--yellow); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; font-size: 14px; }
@media (max-width: 640px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* -------------------------------------------------------------- sections */

section.block { padding: 110px 0; position: relative; }
section.alt { background: linear-gradient(180deg, transparent, rgba(27, 31, 59, .7) 15%, rgba(27, 31, 59, .7) 85%, transparent); }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head h2 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 14px; }
.head p { color: var(--muted); margin: 0; font-size: 18px; }

/* How to play: control keys */
.controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.control { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.key {
  flex: none;
  min-width: 58px; height: 58px; padding: 0 10px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 900; color: #2a1a00;
  background: linear-gradient(180deg, #ffe066, #ffb800);
  box-shadow: 0 5px 0 #c98a00, 0 10px 20px rgba(0, 0, 0, .3);
}
.control h3 { margin: 4px 0 6px; font-size: 19px; }
.control p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .controls { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .controls { grid-template-columns: 1fr; } }

/* Worlds */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.world { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transition: transform .35s var(--ease); }
.world:hover { transform: translateY(-6px); }
.world .scene { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.world .scene svg { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; }
.world .scene .sun { position: absolute; border-radius: 50%; }
.world .num { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 900; background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.world .body { padding: 22px 24px 26px; }
.world h3 { margin: 0 0 8px; font-size: 26px; }
.world p { margin: 0 0 14px; color: var(--muted); font-size: 15.5px; }
.world .goal { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--text); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.world.day .scene { background: linear-gradient(180deg, #5ec8ff, #bfe9ff); }
.world.day .sun { width: 70px; height: 70px; right: 14%; top: 14%; background: #ffe066; box-shadow: 0 0 40px #ffd23f; }
.world.dusk .scene { background: linear-gradient(180deg, #4b3a8c, #ff8c4a 75%, #ffc46b); }
.world.dusk .sun { width: 90px; height: 90px; left: 50%; bottom: 18%; transform: translateX(-50%); background: #ffb347; box-shadow: 0 0 60px #ff8a3d; }
.world.night .scene { background: linear-gradient(180deg, #070a1f, #1b1f3b); }
.world.night .sun { width: 46px; height: 46px; right: 16%; top: 14%; background: #f5f1d6; box-shadow: 0 0 30px rgba(245, 241, 214, .6); }
@media (max-width: 900px) { .worlds { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Gallery carousel (landscape store images) */
.carousel { position: relative; }
.track {
  display: flex; gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px calc(50% - min(330px, 42vw)) 40px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.track::-webkit-scrollbar { display: none; }
.slide { flex: none; width: min(660px, 84vw); scroll-snap-align: center; transition: transform .45s var(--ease), opacity .45s; opacity: .45; transform: scale(.9); cursor: pointer; margin: 0; }
.slide.on { opacity: 1; transform: scale(1); }
.slide img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.arrows { display: flex; justify-content: center; align-items: center; gap: 18px; }
.arrow { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; transition: background .2s, transform .2s; }
.arrow:hover { background: rgba(255, 201, 40, .2); transform: scale(1.06); }
.arrow svg { width: 22px; height: 22px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--line-strong); cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 26px; background: var(--yellow); }

/* Enemies */
.enemies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.enemy { padding: 26px 22px; border-radius: var(--radius); text-align: center; background: var(--panel); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.enemy:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.enemy .em { font-size: 46px; line-height: 1; margin-bottom: 14px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
.enemy h3 { margin: 0 0 6px; font-size: 18px; }
.enemy p { margin: 0; color: var(--muted); font-size: 14.5px; }
.enemy .how { display: inline-block; margin-top: 12px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--yellow); background: rgba(255, 201, 40, .1); }
@media (max-width: 900px) { .enemies { grid-template-columns: repeat(2, 1fr); } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.feature .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--yellow); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Final call to action */
.final { position: relative; padding: 80px 40px; border-radius: 34px; overflow: hidden; text-align: center; border: 1px solid var(--line-strong); isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(600px 300px at 50% 0%, rgba(255, 201, 40, .35), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(54, 226, 255, .22), transparent 70%), linear-gradient(160deg, #2a2f63, #171a36); }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px); }
.final img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.final h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 0 0 12px; }
.final p { color: #d6dbf5; margin: 0 auto 30px; max-width: 32em; font-size: 18px; }
.final .cta { justify-content: center; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img, .hero-art::before, .scroll-hint i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------- documents */

.doc { padding: 130px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc .back { display: inline-block; margin-bottom: 18px; color: var(--muted); font-weight: 700; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { margin: 40px 0 10px; font-size: 23px; }
.doc p, .doc li { color: #d3d8f3; }
.doc ul { padding-left: 22px; }

/* ---------------------------------------------------------------- footer */

footer { border-top: 1px solid var(--line); padding: 46px 0 50px; color: var(--muted); font-size: 15px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .brand { font-size: 15px; }
footer .brand img { width: 30px; height: 30px; border-radius: 9px; }
