@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  --bg: #070c1c;
  --bg-2: #0b1328;
  --surface: #0f1a34;
  --surface-2: #152243;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f1f4ff;
  --body: #bac4de;
  --muted: #8592b3;
  --blue: #3b6cff;
  --blue-2: #6b8fff;
  --lime: #c6f432;
  --lime-2: #dbff6b;
  --roblox: #ff6b3d;
  --web: #3b6cff;
  --mobile: #a970ff;
  --live: #22c55e;
  --dev: #f5b62b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px rgba(0, 0, 0, 0.35);
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.55rem, 1.3rem + 1.1vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 4.1rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 var(--step-0)/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--text); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3, .h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
strong { color: var(--text); }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--body); max-width: 62ch; }
.kicker { display: inline-block; color: var(--lime); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--bg); padding: 0.6rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: 1rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(7, 12, 28, 0.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-grid; place-items: center; background: var(--blue); color: #fff; border-radius: 9px; height: 34px; padding: 0 0.5rem; font-size: 0.9rem; font-weight: 800; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 6px 18px rgba(59, 108, 255, 0.45); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; }
.site-nav a { display: block; color: var(--body); font-weight: 600; font-size: 0.93rem; padding: 0.5rem 0.8rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.site-nav a.nav-parent { color: var(--muted); }
.site-nav a.nav-parent::after { content: " ↗"; font-size: 0.8em; }
.site-nav .lang { border: 1px solid var(--line-2); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { content: ""; left: 0; top: -6px; }
.nav-toggle-bar::after { content: ""; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 68px 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1.25rem; }
  .site-nav a { padding: 0.85rem 1rem; font-size: 1rem; border-radius: 12px; }
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; font: 700 0.98rem/1 var(--sans); border: 1px solid transparent; cursor: pointer; transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s, color 0.2s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-play { background: var(--lime); color: #0b1500; box-shadow: 0 8px 28px rgba(198, 244, 50, 0.28); }
.btn-play:hover { background: var(--lime-2); color: #0b1500; box-shadow: 0 10px 34px rgba(198, 244, 50, 0.4); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-small { min-height: 40px; padding: 0 1rem; font-size: 0.88rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); background:
  radial-gradient(60% 70% at 85% 30%, rgba(59, 108, 255, 0.28), transparent 70%),
  radial-gradient(40% 50% at 10% 90%, rgba(198, 244, 50, 0.08), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 60% at 60% 40%, #000, transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero-feature { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform 0.5s var(--ease); }
.hero-feature:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-4px); }
.hero-feature img { width: 100%; aspect-ratio: 800 / 420; object-fit: cover; }
.hero-feature-body { position: absolute; inset: auto 0 0 0; display: grid; gap: 0.25rem; padding: 2.5rem 6.5rem 1.4rem 1.4rem; background: linear-gradient(transparent, rgba(5, 9, 22, 0.94) 45%); }
.hero-feature-title { color: var(--text); font-weight: 800; font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.1; }
.hero-feature-text { color: var(--body); font-size: 0.95rem; }
.hero-feature .badge { position: static; justify-self: start; }
.hero-feature .play-dot { position: absolute; right: 1.4rem; bottom: 1.4rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature { transform: none; }
}

.play-dot { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 8px rgba(198, 244, 50, 0.18); flex: none; }
.play-dot::after { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #0b1500; }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 52ch; }
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem); background: radial-gradient(50% 80% at 90% 0%, rgba(59, 108, 255, 0.18), transparent 70%); }
.page-head-roblox { background: radial-gradient(50% 80% at 90% 0%, rgba(255, 107, 61, 0.18), transparent 70%); }
.page-head-mobile { background: radial-gradient(50% 80% at 90% 0%, rgba(169, 112, 255, 0.2), transparent 70%); }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.25rem; padding: 0; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.card:focus-within { border-color: var(--lime); }
.card-media { position: relative; aspect-ratio: 800 / 420; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1rem 1.15rem 1.25rem; }
.card-title { font-size: 1.15rem; margin: 0.25rem 0 0.35rem; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--text); }
.stretched::after { content: ""; position: absolute; inset: 0; }
.card-text { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
.card-meta { margin: 0; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.card-soon { opacity: 0.72; }
.card-soon:hover { transform: none; }
.card[hidden] { display: none; }

.pf { font-weight: 800; letter-spacing: 0.02em; }
.pf-roblox { color: var(--roblox); }
.pf-web { color: var(--blue-2); }
.pf-mobile { color: var(--mobile); }

.badge { position: absolute; top: 0.75rem; left: 0.75rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.65rem; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.02em; background: rgba(5, 9, 22, 0.78); color: var(--text); backdrop-filter: blur(6px); border: 1px solid var(--line-2); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.badge-live::before { background: var(--live); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
.badge-development::before { background: var(--dev); }
.badge-inline { position: static; vertical-align: middle; }

.pf-card { position: relative; display: grid; gap: 0.5rem; align-content: start; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); transition: transform 0.25s var(--ease), border-color 0.25s; overflow: hidden; }
a.pf-card:hover { transform: translateY(-3px); color: var(--body); border-color: var(--line-2); }
.pf-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--blue); opacity: 0.12; filter: blur(30px); }
.pf-card-roblox::after { background: var(--roblox); }
.pf-card-mobile::after { background: var(--mobile); }
.pf-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--blue-2); font-size: 1.1rem; }
.pf-card-roblox .pf-icon { color: var(--roblox); }
.pf-card-mobile .pf-icon { color: var(--mobile); }
.pf-card-title { color: var(--text); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.015em; }
.pf-card-text { font-size: 0.95rem; line-height: 1.55; }
.pf-count { margin-top: 0.5rem; color: var(--lime); font-weight: 700; font-size: 0.9rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--body); font: 600 0.92rem/1 var(--sans); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip span { color: var(--muted); font-weight: 700; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #0b1500; }
.chip[aria-pressed="true"] span { color: #2c3d00; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step h3 { margin: 0.9rem 0 0.4rem; }
.step p { margin: 0; font-size: 0.95rem; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 0.75rem; transition: border-color 0.2s; }
.faq[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 700; color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--lime); transition: transform 0.2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 1.25rem 1.2rem; }

/* ---------- prose ---------- */
.prose-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.why li { padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.why h2 { margin: 0 0 0.35rem; }
.why p { margin: 0; font-size: 0.95rem; }
.howto { counter-reset: h; list-style: none; padding: 0 !important; }
.howto li { counter-increment: h; position: relative; padding: 0.15rem 0 0.9rem 2.6rem; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--lime); font-weight: 800; font-size: 0.9rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230b1500' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }

/* ---------- game page ---------- */
.game-head { padding-bottom: 0.5rem; }
.game-head h1 { margin: 0.35rem 0 0.25rem; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .game-layout { grid-template-columns: 1fr; } }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); }
.player-portrait { aspect-ratio: auto; height: min(78vh, 760px); max-width: 100%; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(1.1); }
.player-start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; background: transparent; border: 0; color: var(--text); font: 800 var(--step-1)/1.2 var(--sans); cursor: pointer; }
.player-start .play-dot { width: 84px; height: 84px; transition: transform 0.2s var(--ease); }
.player-start:hover .play-dot { transform: scale(1.08); }
.player-loading { position: absolute; inset: auto 0 1rem 0; text-align: center; color: var(--muted); margin: 0; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player:fullscreen { border-radius: 0; border: 0; height: 100%; }
.player-static .player-note { position: absolute; inset: auto 0 0 0; padding: 1.5rem; background: linear-gradient(transparent, rgba(5, 9, 22, 0.95) 40%); color: var(--text); font-weight: 600; }
.player-static .player-note p { margin: 0; max-width: 52ch; }
.player-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 1.25rem; }
.facts dl { margin: 0; }
.facts dl > div { display: grid; gap: 0.15rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--text); font-weight: 600; font-size: 0.95rem; }

/* ---------- cta ---------- */
.cta-band { background: linear-gradient(120deg, rgba(59, 108, 255, 0.22), rgba(198, 244, 50, 0.08)); border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-inner h2 { margin-bottom: 0.3em; }
.cta-inner p { margin: 0; max-width: 60ch; }
.cta-inner .actions { margin: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-h { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-links a { color: var(--body); font-size: 0.93rem; }
.footer-links a:hover { color: var(--lime); }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

.nf { min-height: 50vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-feature { transform: none; }
}
