:root {
  --bg: #0d1230; --bg2: #151c45; --panel: #1c2558; --ink: #0b0d1c; --text: #f4f6ff; --muted: #aeb6e0;
  --yellow: #ffd60a; --orange: #ff7a1a; --green: #34c759; --pink: #ff4d8d; --cyan: #3ef0ff;
  --r: 18px; --edge: 4px solid var(--ink); --drop: 0 6px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 600 17px/1.6 "Nunito", system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--yellow); }
h1, h2, h3, .display { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; letter-spacing: .5px; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(30px, 5vw, 46px); }
h3 { font-size: 24px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.kicker { display: inline-block; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--yellow); margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 19px; max-width: 720px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 10px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(13, 18, 48, .92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: "Lilita One", sans-serif; font-size: 24px; white-space: nowrap; }
.logo img { width: 38px; height: 38px; border-radius: 10px; border: 3px solid var(--ink); }
.logo em { color: var(--yellow); font-style: normal; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 900; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current] { background: var(--panel); color: var(--yellow); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: "Lilita One", sans-serif; font-size: 20px; text-decoration: none; color: #fff;
  background: var(--green); border: var(--edge); border-radius: 14px; padding: 8px 20px; box-shadow: var(--drop); text-shadow: 0 2px 0 var(--ink); transition: transform .1s; }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn.yellow { background: var(--yellow); color: var(--ink); text-shadow: none; }
.btn.ghost { background: var(--panel); }
.btn.big { font-size: 26px; padding: 12px 28px; }
.top .btn { font-size: 17px; padding: 5px 14px; }
@media (max-width: 760px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(circle at 80% 10%, rgba(62,240,255,.18), transparent 40%), radial-gradient(circle at 10% 90%, rgba(255,122,26,.18), transparent 45%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(52px, 9vw, 104px); color: var(--yellow); text-shadow: 0 5px 0 var(--orange), 0 10px 0 var(--ink); transform: rotate(-2deg); transform-origin: left; }
.hero h1 span { display: block; color: #fff; }
.hero .role { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; margin: 26px 0 10px; }
.hero .role b { color: var(--cyan); }
.hero p { color: var(--muted); max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.stack { position: relative; aspect-ratio: 1 / .82; }
.stack figure { position: absolute; margin: 0; border: var(--edge); border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 0 var(--ink); background: var(--panel); }
.stack figure img { width: 100%; height: 100%; object-fit: cover; }
.stack .s1 { width: 78%; aspect-ratio: 16/10; left: 0; top: 0; transform: rotate(-4deg); z-index: 2; }
.stack .s2 { width: 62%; aspect-ratio: 16/10; right: 0; top: 30%; transform: rotate(5deg); z-index: 3; }
.stack .s3 { width: 56%; aspect-ratio: 16/10; left: 8%; bottom: 0; transform: rotate(-1deg); z-index: 1; }
.stack figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--ink); color: #fff; font-weight: 900; font-size: 13px; padding: 2px 10px; border-radius: 8px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .stack { max-width: 560px; width: 100%; margin: 10px auto 0; } }

/* rules strip */
.rules { background: var(--yellow); color: var(--ink); border-block: var(--edge); }
.rules ul { list-style: none; margin: 0; padding: 14px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; font-weight: 900; }

/* game cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 30px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: var(--edge); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--drop); text-decoration: none; color: var(--text); transition: transform .12s; }
.card:hover { transform: translateY(-5px) rotate(-.5deg); }
.card:focus-visible, .btn:focus-visible { outline: 4px solid var(--cyan); outline-offset: 4px; }
.card img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-bottom: var(--edge); }
.card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 28px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card .go { font-family: "Lilita One", sans-serif; color: var(--yellow); font-size: 19px; margin-top: 6px; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--pink); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: 1px;
  border: 3px solid var(--ink); border-radius: 10px; padding: 2px 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 900; padding: 2px 9px; border-radius: 99px; background: var(--bg); color: var(--muted); border: 2px solid #2d3876; }

/* featured banner */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.feature { aspect-ratio: 16/9; position: relative; border: var(--edge); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 0 var(--ink); min-height: 420px; display: flex; align-items: flex-end; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 700px) { .feature { aspect-ratio: auto; flex-direction: column; } .feature > img { position: static; aspect-ratio: 16/9; } .feature .over { background: var(--bg2); padding: 20px; } }
.feature .over { position: relative; width: 100%; padding: 90px 30px 26px; background: linear-gradient(transparent, rgba(8, 10, 30, .95) 55%); }
.feature h2 { font-size: clamp(40px, 7vw, 72px); color: var(--cyan); text-shadow: 0 4px 0 var(--ink); }
.feature p { max-width: 620px; color: #dfe4ff; }

/* steps + stats */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; counter-reset: s; }
.step { background: var(--bg2); border: 3px solid #2d3876; border-radius: var(--r); padding: 18px; }
.step .ico { font-size: 34px; }
.step h3 { margin: 6px 0; font-size: 22px; color: var(--yellow); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.stat { text-align: center; background: var(--panel); border: var(--edge); border-radius: var(--r); padding: 18px 10px; box-shadow: var(--drop); }
.stat b { display: block; font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 46px; color: var(--yellow); line-height: 1; }
.stat span { color: var(--muted); font-weight: 900; font-size: 14px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* coming soon */
.soon { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--bg2); border: var(--edge); border-radius: 24px; padding: 28px; }
.soon img { border: var(--edge); border-radius: var(--r); filter: saturate(1.1); }
.soon .tag { display: inline-block; background: var(--orange); color: var(--ink); font-weight: 900; border: 3px solid var(--ink); border-radius: 10px; padding: 2px 10px; font-size: 13px; }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } }

/* game page */
.ghero { position: relative; min-height: 520px; display: flex; align-items: flex-end; border-bottom: var(--edge); overflow: hidden; }
.ghero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ghero .over { position: relative; width: 100%; padding: 120px 0 40px; background: linear-gradient(transparent, rgba(8, 10, 30, .95) 60%); }
.ghero h1 { font-size: clamp(54px, 10vw, 110px); text-shadow: 0 5px 0 var(--ink); }
.ghero .tagline { font-size: clamp(19px, 2.5vw, 24px); font-weight: 900; max-width: 760px; margin: 12px 0 18px; }
.crumbs { font-size: 14px; font-weight: 800; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.facts { background: var(--panel); border: var(--edge); border-radius: var(--r); padding: 20px; box-shadow: var(--drop); }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.facts dt { color: var(--muted); font-weight: 900; } .facts dd { margin: 0; }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.feat { background: var(--bg2); border: 3px solid #2d3876; border-radius: var(--r); padding: 18px; }
.feat .ico { font-size: 30px; } .feat h3 { font-size: 22px; margin: 4px 0; } .feat p { margin: 0; color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.gallery figure { margin: 0; } .gallery img { border: var(--edge); border-radius: var(--r); }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 24px; }
.tracks figure { margin: 0; position: relative; } .tracks img { border: 3px solid var(--ink); border-radius: 12px; aspect-ratio: 36/22; object-fit: cover; }
.tracks figcaption { position: absolute; left: 6px; bottom: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 900; padding: 1px 8px; border-radius: 7px; }
table.keys { width: 100%; border-collapse: collapse; margin-top: 18px; }
.keys th, .keys td { text-align: left; padding: 10px 12px; border-bottom: 2px solid #2d3876; vertical-align: top; }
.keys th { white-space: nowrap; } .keys kbd { font: 900 14px "Nunito", sans-serif; background: var(--yellow); color: var(--ink); border-radius: 6px; padding: 1px 8px; border-bottom: 3px solid #b08f00; }
ol.tips { list-style: none; counter-reset: t; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
ol.tips li { counter-increment: t; position: relative; background: var(--bg2); border: 3px solid #2d3876; border-radius: 14px; padding: 14px 16px 14px 62px; }
ol.tips li::before { content: counter(t); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center;
  font-family: "Lilita One", sans-serif; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 10px; }
.quote { background: var(--yellow); color: var(--ink); border: var(--edge); border-radius: 24px; padding: 28px 30px; box-shadow: 0 8px 0 var(--ink); font-size: 19px; font-weight: 800; }
.quote .display { font-size: 28px; display: block; margin-bottom: 8px; }
details.faq { background: var(--bg2); border: 3px solid #2d3876; border-radius: 14px; padding: 14px 18px; margin-top: 12px; }
details.faq summary { cursor: pointer; font-weight: 900; font-size: 18px; }
details.faq p { margin: 10px 0 0; color: var(--muted); }
.levels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.levels span { background: var(--panel); border: 3px solid var(--ink); border-radius: 10px; padding: 4px 12px; font-weight: 900; font-size: 14px; }

/* about */
.timeline { list-style: none; padding: 0; margin: 30px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 4px; background: #2d3876; border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 26px 52px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); border: var(--edge); }
.timeline .when { color: var(--cyan); font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.timeline h3 { font-size: 26px; margin: 2px 0; }
.timeline p { margin: 0; color: var(--muted); }
.prose p { max-width: 720px; }

footer { margin-top: 40px; background: var(--ink); padding: 40px 0 50px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer a { color: var(--text); text-decoration: none; font-weight: 900; margin-right: 16px; }
footer a:hover { color: var(--yellow); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

img[width][height] { height: auto; }
.gallery img, .tracks img, .soon img, .card img { width: 100%; }
@media (max-width: 700px) { .feature .over { padding: 20px; } }

/* what's new ticker */
.ticker { display: flex; align-items: stretch; background: var(--bg2); border-bottom: 3px solid var(--ink); font-size: 15px; overflow: hidden; }
.tk-label { flex: none; display: grid; place-items: center; padding: 0 14px; background: var(--pink); color: #fff; font-family: "Lilita One", sans-serif;
  letter-spacing: 1px; text-decoration: none; border-right: 3px solid var(--ink); }
.tk-view { flex: 1; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-track { flex: none; display: flex; gap: 40px; margin: 0; padding: 8px 20px; list-style: none; white-space: nowrap; animation: tk 60s linear infinite; }
.tk-track a { color: var(--text); text-decoration: none; }
.tk-track a:hover { text-decoration: underline; }
.tk-track b { color: var(--yellow); margin-right: 6px; }
.tk-track li::before { content: "★"; color: var(--cyan); margin-right: 10px; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
@keyframes tk { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-view { overflow-x: auto; } .tk-track[aria-hidden] { display: none; } }
.top .nav a { padding: 8px 10px; }
@media (max-width: 1000px) { .nav { display: none; } .top .btn { margin-left: auto; } }
.mnav { display: none; position: relative; order: 3; }
.mnav summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; font-size: 22px; border-radius: 12px;
  background: var(--panel); border: 3px solid var(--ink); color: var(--text); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: 52px; display: flex; flex-direction: column; min-width: 200px; padding: 8px; background: var(--panel);
  border: var(--edge); border-radius: 14px; box-shadow: var(--drop); }
.mnav nav a { color: var(--text); text-decoration: none; font-weight: 900; padding: 10px 12px; border-radius: 10px; }
.mnav nav a[aria-current] { color: var(--yellow); background: var(--bg2); }
@media (max-width: 1000px) { .mnav { display: block; } .top .btn { margin-left: auto; } }
@media (max-width: 520px) { .logo { font-size: 18px; gap: 8px; } .logo img { width: 32px; height: 32px; } .top .wrap { gap: 10px; } }
