/* AllGame Club — dark arcade theme. Copyright (c) AllGame Club. */
:root {
  --bg: #0A0E1A;
  --bg-2: #0F1526;
  --bg-3: #161D33;
  --bg-4: #1E2742;
  --line: #27314F;
  --line-soft: rgba(255,255,255,.08);
  --text: #F3F5FA;
  --text-soft: #B7BFD6;
  --muted: #7F89A6;
  --cobalt: #2F4BE6;
  --cobalt-deep: #2238B8;
  --cobalt-glow: rgba(47,75,230,.45);
  --sun: #FFC53D;
  --sun-deep: #E6A800;
  --mint: #2ED3A3;
  --signal: #FF5A5F;
  --ink: #14213D;
  --r-card: 14px;
  --r-btn: 10px;
  --font: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.35);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); font-variation-settings: "opsz" 16; }
img, svg { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
p a, .prose a, .legal a, .muted a, .small a, li a { color: #8FA3FF; }
p a:hover, .prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; color: #fff; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .92em; }
code { background: var(--bg-4); padding: .1em .4em; border-radius: 6px; color: #DDE3FF; }
pre.code { background: #060912; color: #E9ECF5; padding: 1.1rem 1.25rem; border-radius: 12px; overflow: auto; line-height: 1.5; position: relative; border: 1px solid var(--line); }
pre.code code { background: none; padding: 0; color: inherit; }
pre.code[data-lang]::before { content: attr(data-lang); position: absolute; top: .4rem; right: .75rem; font-size: .7rem; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.display { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; font-stretch: 85%; font-variation-settings: "opsz" 96, "wdth" 85; line-height: 1.0; letter-spacing: -.02em; color: #fff; }
.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 44rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.narrow { max-width: 760px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.hidden-form { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font: inherit; font-weight: 700; padding: .7rem 1.25rem; border-radius: var(--r-btn); border: 1px solid transparent; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; text-decoration: none; line-height: 1.2; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cobalt); box-shadow: 0 6px 20px var(--cobalt-glow); }
.btn-primary:hover { background: #3D5CFF; box-shadow: 0 8px 26px var(--cobalt-glow); }
.btn-secondary { background: var(--sun); color: var(--ink); }
.btn-secondary:hover { background: #FFD266; color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.btn-danger { background: var(--signal); }
.btn-large { padding: .95rem 1.7rem; font-size: 1.08rem; border-radius: 12px; }
.btn-small { padding: .42rem .85rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-play::before { content: "▶"; font-size: .8em; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #8FA3FF; cursor: pointer; }
.linklike:hover { text-decoration: underline; }
.linklike.danger { color: var(--signal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(rgba(10,14,26,.96), rgba(10,14,26,.86)); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav-row { display: flex; align-items: center; gap: 1.25rem; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.logo-club { color: var(--sun); }
.brand-light { color: #fff; }
.main-nav { display: flex; gap: .15rem; margin-left: .25rem; }
.main-nav a { color: var(--text-soft); font-weight: 600; padding: .5rem .85rem; border-radius: 999px; font-size: .96rem; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.nav-community { color: var(--ink) !important; background: var(--sun) !important; position: relative; }
.nav-community:hover { background: #FFD266 !important; }
.nav-community[aria-current="page"] { box-shadow: 0 0 0 2px #fff inset; }
.nav-badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--signal); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.nav-badge.is-hidden { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav-search { display: flex; align-items: center; }
.nav-search input { width: 190px; margin: 0; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid transparent; color: #fff; font-size: .92rem; }
.nav-search input:focus { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); outline: none; width: 240px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; width: 42px; height: 38px; padding: 6px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg-2); padding: .5rem 1rem 1rem; }
.mobile-nav a { display: block; padding: .65rem .5rem; color: #fff; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.mobile-nav:not([hidden]) { display: block; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: .5rem; cursor: pointer; padding: .25rem .6rem .25rem .25rem; border-radius: 999px; border: 1px solid transparent; font-weight: 600; color: #fff; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu[open] summary, .user-menu summary:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.user-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 220px; padding: .4rem; display: grid; }
.user-menu-panel a, .user-menu-panel button { display: block; width: 100%; text-align: left; padding: .55rem .75rem; color: var(--text); border-radius: 8px; }
.user-menu-panel a:hover, .user-menu-panel button:hover { background: rgba(255,255,255,.08); }
.avatar { border-radius: 10px; object-fit: cover; background: var(--bg-4); }
.avatar-sm { width: 32px; height: 32px; border-radius: 8px; }
.avatar-xl { width: 128px; height: 128px; border-radius: 24px; border: 2px solid var(--line); }

/* Flash & notices */
.flash-stack { margin-top: 1rem; display: grid; gap: .5rem; }
.flash { padding: .75rem 2.5rem .75rem 1rem; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); position: relative; color: var(--text); }
.flash-success { border-color: rgba(46,211,163,.5); } .flash-error { border-color: rgba(255,90,95,.6); } .flash-warning { border-color: rgba(255,197,61,.6); } .flash-info { border-color: rgba(61,92,255,.6); }
.flash-close { position: absolute; right: .5rem; top: .35rem; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--text-soft); }
.notice { padding: .9rem 1.1rem; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); margin-bottom: 1rem; }
.notice-success { border-color: rgba(46,211,163,.5); } .notice-warn { border-color: rgba(255,197,61,.6); } .notice-error { border-color: rgba(255,90,95,.6); } .notice-info { border-color: rgba(61,92,255,.6); }
.notice form.inline-form { display: inline; }

/* ---------- Billboard hero (home) */
.billboard { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-2); }
.billboard-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.billboard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,26,.95) 0%, rgba(10,14,26,.75) 35%, rgba(10,14,26,.15) 70%, rgba(10,14,26,0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10,14,26,.35) 35%, rgba(10,14,26,0) 70%); }
.billboard-content { position: relative; z-index: 1; padding: 6rem 0 4rem; max-width: 640px; }
.billboard-kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--sun); font-size: .92rem; margin-bottom: 1rem; }
.billboard-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,197,61,.25); }
.billboard h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .5rem; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.billboard .lead { color: #E3E7F3; font-size: 1.18rem; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.billboard-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin: .3rem 0 1.4rem; }
.billboard-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.billboard-actions .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 8px 30px rgba(255,255,255,.15); }
.billboard-actions .btn-primary:hover { background: #E9ECF5; }
.billboard-actions .btn-ghost { background: rgba(255,255,255,.16); border-color: transparent; backdrop-filter: blur(6px); }
.billboard-pass { position: absolute; right: var(--gutter); bottom: 4rem; z-index: 1; display: none; }
@media (min-width: 1100px) { .billboard-pass { display: block; } }

/* ---------- Game rows (Netflix-style) */
.rows { padding: 1.5rem 0 2rem; display: grid; gap: 2.2rem; }
.row-block { position: relative; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 .8rem; }
.row-head h2 { margin: 0; font-size: 1.35rem; }
.row-head .more { color: var(--text-soft); font-weight: 600; font-size: .92rem; }
.row-head .more:hover { color: #fff; }
.row-scroller { position: relative; }
.row-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 2px 18px; scrollbar-width: none; -ms-overflow-style: none; }
.row-track::-webkit-scrollbar { display: none; }
.row-track > * { flex: 0 0 auto; scroll-snap-align: start; }
.row-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10,14,26,.85); color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 2; display: none; place-items: center; backdrop-filter: blur(6px); }
.row-arrow:hover { background: rgba(255,255,255,.15); }
.row-arrow-prev { left: -22px; } .row-arrow-next { right: -22px; }
@media (hover: hover) { .row-scroller:hover .row-arrow { display: grid; } }

/* ---------- Game tiles */
.tile { position: relative; width: clamp(220px, 23vw, 320px); aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--bg-3); color: #fff; display: block; transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-sm); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,8,16,.92) 0%, rgba(5,8,16,.35) 45%, rgba(5,8,16,0) 70%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem .9rem; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; }
.tile-title { font-weight: 800; font-size: 1.05rem; line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.tile-sub { display: block; color: var(--text-soft); font-size: .8rem; font-weight: 500; margin-top: .15rem; }
.tile-play { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: .85rem; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.tile-play::before { content: "▶"; margin-left: 2px; }
.tile:hover, .tile:focus-visible { transform: scale(1.045); box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.35); z-index: 3; }
.tile:hover img { transform: scale(1.06); }
.tile:hover .tile-play, .tile:focus-visible .tile-play { opacity: 1; transform: translateY(0); }
.tile .tag { position: absolute; top: .6rem; left: .6rem; z-index: 1; font-size: .72rem; font-weight: 800; padding: .2rem .55rem; border-radius: 999px; background: var(--sun); color: var(--ink); }
.tile .tag-premium { left: auto; right: .6rem; background: var(--ink); color: var(--sun); border: 1px solid rgba(255,255,255,.25); }
.tile .tag-mp { left: auto; right: .6rem; background: rgba(46,211,163,.95); color: #052A1F; }
.tile-large { width: clamp(300px, 34vw, 480px); }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tile-grid .tile { width: auto; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.game-grid-4 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.game-grid-2 { grid-template-columns: repeat(2, 1fr); }
.game-grid .tile { width: auto; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--bg-2); border: 1px dashed var(--line); border-radius: var(--r-card); }
.empty h3 { margin-bottom: .3rem; }

/* Highlights: three big tiles per row */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 10px 2px 14px; }
.feature-grid .tile { width: auto; }
.feature-grid .tile .tile-title { font-size: 1.3rem; }
.filter-check { margin: 0; white-space: nowrap; color: var(--text-soft); }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Sections */
.section { padding: 3rem 0; }
.section-tint { background: var(--bg-2); }
.section-dark { background: #060912; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.section-head h2 { margin: 0; }
.more { font-weight: 700; color: #8FA3FF; }
.page-head { padding: 2.5rem 0 1.2rem; }
.page-head-center { text-align: center; }
.page-head-center .lead { margin-inline: auto; }
.page-head-dev { background: radial-gradient(ellipse at top left, #1A2550, var(--bg) 60%); padding: 4rem 0 3rem; }
.page-head-dev code { background: rgba(255,255,255,.1); color: var(--sun); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .5rem; }
.crumbs a { color: var(--muted); }

/* Hero (legacy pages: multiplayer etc.) */
.hero, .mp-hero { padding: 4rem 0 3rem; background: radial-gradient(ellipse at 20% 0%, #1A2550, var(--bg) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.hero-fineprint { color: var(--muted); font-size: .95rem; }
.hero-pass { display: flex; justify-content: center; }

/* Play pass ticket */
.play-pass { --pass-bg: var(--sun); position: relative; width: min(100%, 340px); background: var(--pass-bg); border-radius: 18px; padding: 1.1rem 1.3rem 1rem; box-shadow: 0 16px 40px rgba(0,0,0,.5); color: var(--ink); transform: rotate(-1.5deg); }
.play-pass::before, .play-pass::after { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); top: 58%; }
.play-pass::before { left: -13px; } .play-pass::after { right: -13px; }
.play-pass-top { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; }
.play-pass-time { padding: .6rem 0 .4rem; display: flex; align-items: baseline; gap: .7rem; border-bottom: 2px dashed rgba(20,33,61,.6); }
.play-pass-big { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.play-pass-sub { font-weight: 600; }
.play-pass-bar { height: 10px; background: rgba(20,33,61,.18); border-radius: 999px; margin: .8rem 0 .5rem; overflow: hidden; }
.play-pass-bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width .4s ease; }
.play-pass-foot { font-size: .9rem; font-weight: 500; }
.play-pass-foot a { color: var(--ink); text-decoration: underline; }
.play-pass-unlimited { --pass-bg: var(--mint); }
.play-pass-empty { --pass-bg: #D7DBE8; }

/* Steps / values / timeline */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps li { counter-increment: step; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.4rem 1.4rem 1.2rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; top: -16px; left: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin-top: .4rem; }
.steps p { margin: 0; color: var(--text-soft); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.value { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.3rem; }
.value p { margin: 0; color: var(--text-soft); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; }
.timeline-year { font-weight: 800; font-size: 1.4rem; color: var(--sun); }
.timeline h3 { margin-bottom: .2rem; }
.timeline p { margin: 0; color: var(--text-soft); }

/* Pricing */
.pricing-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.plan-cards { display: grid; gap: 1rem; }
.plan-card { display: grid; gap: .15rem; position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem 1.3rem; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.plan-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.35); color: var(--text); }
.plan-card-highlight { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.plan-card-highlight .plan-price small, .plan-card-highlight .plan-note { color: rgba(20,33,61,.75); }
.plan-badge { position: absolute; top: -12px; right: 14px; background: var(--ink); color: var(--sun); font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); }
.plan-name { font-weight: 700; }
.plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price small { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.plan-note { color: var(--text-soft); font-size: .95rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1rem; align-items: stretch; }
.plan { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.plan-highlight { background: var(--sun); color: var(--ink); border-color: var(--sun); transform: translateY(-8px); box-shadow: 0 20px 50px rgba(255,197,61,.2); }
.plan-highlight h2, .plan-highlight .plan-amount small, .plan-highlight .plan-permonth, .plan-highlight .checks li::before { color: var(--ink); }
.plan-free { background: var(--bg-2); }
.plan h2 { font-size: 1.3rem; margin: 0; }
.plan-amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1; }
.plan-amount small { display: block; font-size: .95rem; font-weight: 600; color: var(--text-soft); letter-spacing: 0; margin-top: .3rem; }
.plan-permonth { color: var(--text-soft); margin: 0; }
.checks { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; gap: .45rem; flex: 1; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--mint); }
.checks-plain li::before { content: none; }
.checks-plain li { padding-left: 0; }
.checks-plain .fail { color: var(--signal); }
.confetti { font-size: 2rem; color: var(--sun); letter-spacing: .5rem; }

/* Upcoming / team / stats */
.upcoming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.upcoming-card { background: var(--bg-3); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--r-card); padding: 1.3rem; }
.upcoming-genre { color: var(--accent); font-weight: 700; font-size: .9rem; }
.upcoming-card h3 { margin: .3rem 0 .3rem; font-size: 1.3rem; }
.upcoming-card p { color: var(--text-soft); }
.upcoming-eta { font-size: .9rem; color: var(--muted); }
.team-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; }
.team-mini { display: grid; justify-items: center; text-align: center; gap: .2rem; }
.team-mini span:last-child { color: var(--muted); font-size: .9rem; }
.team-avatar { width: 72px; height: 72px; border-radius: 22px; background: var(--c, var(--cobalt)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; }
.team-avatar-lg { width: 96px; height: 96px; font-size: 1.9rem; border-radius: 28px; }
.team-photo { object-fit: cover; object-position: top; overflow: hidden; }
.team-avatar-xl { width: 140px; height: 140px; border-radius: 36px; }
.team-card .team-avatar { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.team-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem; }
.team-card h2 { font-size: 1.3rem; margin: .8rem 0 .1rem; }
.team-role { color: var(--sun); font-weight: 600; margin-bottom: .6rem; }
.team-fact { margin: 0; font-size: .92rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .6rem; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; text-align: center; }
.stats-row strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--sun); }
.stats-row span { color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Cards & forms */
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.4rem; }
.card-tint { background: linear-gradient(135deg, #1B2550, #121A33); }
.card-danger { border-color: rgba(255,90,95,.5); }
.card-wide { grid-column: 1 / -1; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; }
.card h2 { font-size: 1.2rem; }
.account-grid, .dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; align-items: start; }
.dash-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.dash-side { display: grid; gap: 1.25rem; }
.dash-side .play-pass { transform: none; width: 100%; }
label { display: block; font-weight: 600; margin-bottom: .9rem; color: var(--text); }
label small { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], select, textarea { display: block; width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--text); margin-top: .3rem; }
select option { background: var(--bg-3); color: var(--text); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 0; border-color: var(--cobalt); }
::placeholder { color: var(--muted); }
label.check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; }
label.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--cobalt); }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; margin: 0 0 1rem; }
legend { font-weight: 700; padding: 0 .4rem; }
.field-error { color: var(--signal); font-size: .9rem; margin: .3rem 0 0; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.row-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .75rem; }
.row-form input, .row-form select { margin: 0; width: auto; }
.inline-form { display: inline; }
.file-label { display: inline-block; }
/* Catalogue filter: search field, comic-style multiplayer toggle, button */
.filter-bar { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; margin: 1.2rem 0 .4rem; max-width: 760px; padding: .6rem; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.filter-bar .search-wrap { position: relative; flex: 1 1 240px; display: flex; }
.filter-bar .search-wrap svg { position: absolute; left: .9rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filter-bar input[type=search] { margin: 0; width: 100%; padding-left: 2.7rem; border-radius: 14px; background: var(--bg-2); border-color: transparent; }
.filter-bar input[type=search]:focus { border-color: var(--cobalt); }
.filter-bar .btn { border-radius: 14px; }
.toggle-comic { position: relative; display: inline-flex; align-items: center; gap: .7rem; margin: 0; padding: .35rem .9rem .35rem .45rem; border-radius: 14px; background: var(--sun); color: var(--ink); font-weight: 800; cursor: pointer; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); user-select: none; transition: transform .08s, box-shadow .08s, background .15s; white-space: nowrap; }
.toggle-comic:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.toggle-comic:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.toggle-comic input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.toggle-comic .box { position: relative; width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 3px solid var(--ink); box-shadow: inset 2px 2px 0 rgba(20,33,61,.15); display: grid; place-items: center; flex: none; }
.toggle-comic .box svg { width: 30px; height: 30px; overflow: visible; transform: scale(0) rotate(-20deg); transform-origin: 50% 60%; transition: transform .22s cubic-bezier(.3,1.6,.5,1); }
.toggle-comic .box svg path { fill: none; stroke: var(--signal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.toggle-comic input:checked ~ .box { background: #FFF3C2; }
.toggle-comic input:checked ~ .box svg { transform: scale(1.15) rotate(0deg); }
.toggle-comic input:focus-visible ~ .box { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.toggle-comic .lbl { display: grid; line-height: 1.05; }
.toggle-comic .lbl small { font-weight: 600; font-size: .72rem; color: rgba(20,33,61,.7); }
.toggle-comic .pow { position: absolute; top: -12px; right: -14px; font-size: .62rem; font-weight: 900; padding: .15rem .4rem; border-radius: 999px; background: var(--signal); color: #fff; border: 2px solid var(--ink); transform: rotate(8deg) scale(0); transition: transform .25s cubic-bezier(.3,1.8,.5,1); }
.toggle-comic input:checked ~ .pow { transform: rotate(8deg) scale(1); }
@media (max-width: 640px) { .filter-bar .btn { flex: 1; } .toggle-comic { white-space: normal; } }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; gap: .3rem; align-items: center; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); font-weight: 600; font-size: .92rem; }
.chip small { color: var(--muted); }
.chip:hover { background: var(--bg-4); color: #fff; }
.chip-active { background: #fff; color: var(--ink); border-color: #fff; }
.chip-active small { color: rgba(20,33,61,.7); }
.subnav { display: flex; gap: .25rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-top: 1rem; }
.subnav a { padding: .55rem .9rem; color: var(--text-soft); font-weight: 600; border-radius: 10px 10px 0 0; }
.subnav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.subnav a[aria-current="page"] { background: #fff; color: var(--ink); }
.table { width: 100%; border-collapse: collapse; background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: .5rem 0 1.25rem; }
.table th, .table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table th { background: var(--bg-4); font-size: .85rem; color: var(--text-soft); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.is-me td { background: rgba(255,197,61,.12); }
.is-muted { opacity: .55; }
.table-wrap { overflow-x: auto; }
.token { display: inline-block; margin-top: .4rem; padding: .5rem .7rem; background: #060912; color: var(--sun); border-radius: 8px; word-break: break-all; user-select: all; border: 1px solid var(--line); }
.facts { display: grid; gap: .5rem; margin: 1rem 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: .5rem; }
.facts-wide div { grid-template-columns: 180px 1fr; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.bars li { display: grid; grid-template-columns: 56px 1fr 90px; gap: .6rem; align-items: center; font-size: .9rem; }
.bar { height: 14px; background: var(--bg-4); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--cobalt); border-radius: 999px; }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.pagination { display: flex; gap: .4rem; flex-wrap: wrap; }
.avatar-edit { display: flex; gap: 1.2rem; align-items: flex-start; }
.profile-head { display: flex; gap: 1.5rem; align-items: center; }
.profile-head h1 { margin-bottom: .2rem; }
.eyebrow-warn { display: inline-block; background: var(--sun); color: var(--ink); padding: .3rem .7rem; border-radius: 8px; font-weight: 700; font-size: .9rem; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: var(--bg-4); color: var(--text-soft); }
.pill-cat { background: rgba(47,75,230,.25); color: #B9C6FF; }
.pill-beta { background: var(--sun); color: var(--ink); }
.pill-premium { background: var(--ink); color: var(--sun); border: 1px solid rgba(255,255,255,.2); }
.pill-ok { background: rgba(46,211,163,.2); color: var(--mint); }
.pill-warn { background: rgba(255,197,61,.2); color: var(--sun); }
.pill-danger { background: rgba(255,90,95,.2); color: var(--signal); }

/* ---------- Game detail */
.game-detail { padding-top: 0; }
.game-detail-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.game-detail-hero .billboard-bg { filter: saturate(1.1); }
.game-detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(10,14,26,.6) 40%, rgba(10,14,26,.2) 100%), linear-gradient(90deg, rgba(10,14,26,.9) 0%, rgba(10,14,26,.3) 60%, rgba(10,14,26,0) 100%); }
.game-detail-hero .container { position: relative; z-index: 1; padding: 5rem 0 2rem; }
.game-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.game-meta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.game-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.game-detail-side { display: grid; gap: 1.25rem; }
.board { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .4rem; }
.board li { display: grid; grid-template-columns: 28px 28px 1fr auto; align-items: center; gap: .6rem; }
.board-rank { font-weight: 800; color: var(--muted); }
.board-me { background: rgba(255,197,61,.15); border: 1px solid rgba(255,197,61,.5); border-radius: 10px; padding: .5rem .8rem; font-weight: 600; }
.board-table td:first-child { font-weight: 800; color: var(--muted); }
.prose { max-width: 70ch; color: var(--text-soft); }
.prose h2, .prose h3 { color: #fff; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .3rem; }
.prose blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--sun); background: var(--bg-3); border-radius: 0 10px 10px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose th { background: var(--bg-4); color: var(--text); }
.legal h2 { font-size: 1.2rem; margin-top: 1.8rem; }
.faq { display: grid; gap: .6rem; }
.faq-item { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: .8rem 0; list-style: none; position: relative; padding-right: 2rem; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: .6rem; font-size: 1.4rem; font-weight: 800; color: var(--sun); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-soft); margin: 0 0 1rem; }
.jobs { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.job { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.3rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.job h3 { margin-bottom: .3rem; }
.job p { margin: 0; color: var(--text-soft); }
.job-meta { display: grid; gap: .3rem; justify-items: end; font-size: .9rem; color: var(--muted); }
.press-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 2rem; }
.press-logo { background: #fff; border-radius: 12px; padding: 1.5rem; display: grid; gap: 1rem; justify-items: center; }
.press-logo .brand { color: var(--ink); } .press-logo .logo-club { color: var(--cobalt); }
.press-logo-dark { background: var(--ink); }
.press-logo-dark .brand { color: #fff; } .press-logo-dark .logo-club { color: var(--sun); }
.press-logo a { color: #8FA3FF; }
.error-page { padding: 5rem 0; text-align: center; }
.error-code { font-size: 6rem; font-weight: 800; color: var(--sun); margin: 0; line-height: 1; letter-spacing: -.04em; }

/* Docs */
.docs-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 200px; gap: 2.5rem; align-items: start; }
.docs-nav, .docs-toc { position: sticky; top: 90px; font-size: .95rem; display: grid; gap: .15rem; }
.docs-nav h3, .docs-toc h3 { font-size: .78rem; color: var(--muted); margin: 1rem 0 .3rem; font-weight: 700; }
.docs-nav a, .docs-toc a { color: var(--text-soft); padding: .3rem .6rem; border-radius: 8px; }
.docs-nav a:hover, .docs-toc a:hover { background: var(--bg-3); color: #fff; }
.docs-nav a[aria-current="page"] { background: #fff; color: var(--ink); }
.docs-home { font-weight: 800; font-size: 1.05rem; color: #fff !important; }
.toc-l3 { padding-left: 1.3rem !important; color: var(--muted) !important; }
.docs-body { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 2rem 2.5rem; max-width: none; }
.docs-body h1 { font-size: 2.2rem; }
.docs-updated { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }

/* Auth layout */
.auth-body { background: var(--bg) radial-gradient(ellipse at 50% 0%, #1A2550, var(--bg) 60%); min-height: 100vh; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 3rem 1rem; }
.auth-brand { justify-content: center; margin-bottom: 1.5rem; display: flex; }
.auth-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.auth-card-wide { max-width: 100%; }
.auth-wrap:has(.auth-card-wide) { max-width: 680px; }
.auth-card h1 { font-size: 1.8rem; }
.auth-switch { text-align: center; margin: 1.2rem 0 0; color: var(--text-soft); }
.auth-foot { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.5rem; }
.auth-foot a { color: var(--muted); }
.social-login { display: grid; gap: .6rem; margin: .2rem 0 1rem; }
.btn-social { background: #fff; color: #1F1F1F; border: 1px solid #fff; font-weight: 700; justify-content: center; gap: .7rem; padding: .75rem 1rem; }
.btn-social:hover { background: #F1F3F8; color: #1F1F1F; }
.btn-social svg { width: 20px; height: 20px; }
.btn-facebook { background: #1877F2; border-color: #1877F2; color: #fff; }
.btn-facebook:hover { background: #166FE5; color: #fff; }
.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: .4rem 0 1rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Play shell */
.play-body { background: #000; color: #fff; height: 100dvh; overflow: hidden; }
.play-shell { display: flex; flex-direction: column; height: 100dvh; }
.play-bar { display: flex; align-items: center; gap: 1rem; padding: .5rem 1rem; background: var(--bg); border-bottom: 1px solid var(--line-soft); min-height: 54px; }
.play-exit { color: #fff; font-weight: 700; }
.play-title { display: flex; flex-direction: column; line-height: 1.15; }
.play-status { font-size: .8rem; color: var(--muted); }
.play-timer { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--sun); color: var(--ink); padding: .35rem .8rem; border-radius: 999px; font-size: .95rem; }
.play-timer-low { background: var(--signal); color: #fff; animation: pulse 1s infinite alternate; }
.play-timer-unlimited { background: var(--mint); color: #052A1F; }
@keyframes pulse { from { opacity: 1; } to { opacity: .6; } }
.play-actions { display: flex; align-items: center; gap: .6rem; }
.play-stage { position: relative; flex: 1; background: #000; }
.play-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.play-overlay { position: absolute; inset: 0; background: rgba(5,8,16,.9); display: grid; place-items: center; padding: 1rem; z-index: 5; overflow: auto; }
.play-overlay.is-hidden { display: none; }
.play-overlay-card { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; max-width: 520px; width: 100%; text-align: center; display: grid; gap: .7rem; box-shadow: var(--shadow); }
.play-overlay-card h2 { font-size: 1.7rem; margin: 0; }
.play-overlay-card p { margin: 0; color: var(--text-soft); }
.overlay-eyebrow { font-weight: 800; color: var(--sun); }
.overlay-pass { display: grid; justify-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: .6rem; font-weight: 700; }
.overlay-pass-big { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--signal); }
.overlay-link { color: var(--muted); font-size: .95rem; }

/* Community */
.online-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); margin-right: .4rem; vertical-align: middle; box-shadow: 0 0 0 3px rgba(46,211,163,.25); }
.online-dot-play { background: var(--cobalt); box-shadow: 0 0 0 3px rgba(47,75,230,.25); }
.community-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.community-side { display: grid; gap: 1.25rem; position: sticky; top: 90px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.member-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1rem 1.1rem; display: grid; gap: .7rem; }
.member-card.is-me { border-color: rgba(255,197,61,.5); }
.member-head { display: flex; gap: .8rem; align-items: center; }
.member-head .avatar { width: 56px; height: 56px; border-radius: 14px; }
.member-name { font-weight: 800; color: #fff; font-size: 1.05rem; }
.member-sub { font-size: .9rem; color: var(--muted); }
.member-scores { list-style: none; margin: 0; padding: .5rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .25rem; font-size: .9rem; }
.member-scores li { display: flex; justify-content: space-between; gap: .5rem; }
.invite-form { display: flex; gap: .4rem; align-items: center; }
.invite-form select { margin: 0; flex: 1; padding: .45rem .6rem; font-size: .92rem; }
.card-invite { border-color: rgba(255,197,61,.5); background: linear-gradient(135deg, #2A2410, var(--bg-3)); margin-bottom: 1.5rem; }
.invite-row { display: grid; grid-template-columns: 32px 1fr auto; gap: .7rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--line-soft); }
.invite-row:first-of-type { border-top: 0; }
.invite-text { font-size: .95rem; line-height: 1.35; }
.invite-text .invite-msg { display: block; color: var(--text-soft); font-style: italic; }
.invite-text .small { display: block; }
.invite-actions { display: grid; gap: .25rem; justify-items: end; }
.recent-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.recent-member { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-3); color: var(--text); font-size: .9rem; }

/* Multiplayer page */
.mp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.mp-hero-figure { margin: 0; }
.mp-hero-figure img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 16 / 10; }
.mp-hero-figure figcaption { margin-top: 1.2rem; font-size: .9rem; color: var(--muted); text-align: right; }
.mp-scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.mp-scenario-flip .mp-scenario-figure { order: 2; }
.mp-scenario-figure { margin: 0; }
.mp-scenario-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.mp-scenario-copy .checks { margin-top: 1rem; }
.mp-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.mp-mode { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.3rem; }
.mp-mode-icon { font-size: 1.8rem; display: block; margin-bottom: .4rem; }
.mp-mode p { color: var(--text-soft); margin: 0; }
.mp-faq-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.5rem; align-items: start; }
.mp-cta .btn { margin: .4rem 0 .8rem; }

/* Footer */
.site-footer { background: #060912; color: var(--text-soft); padding: 3rem 0 1.5rem; margin-top: 2rem; border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.footer-grid a { display: block; color: var(--text-soft); padding: .2rem 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 34ch; }
.footer-social a { display: inline-block; margin-right: 1rem; color: var(--sun); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line-soft); margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; }
.footer-legal a { color: var(--text-soft); margin-left: 1rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .pricing-teaser, .game-detail-grid, .dash-grid, .mp-hero-grid, .mp-scenario-grid, .mp-faq-grid, .community-grid { grid-template-columns: 1fr; }
  .community-side { position: static; }
  .mp-scenario-flip .mp-scenario-figure { order: 0; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-nav, .docs-toc { position: static; }
  .docs-toc { display: none; }
  .steps, .upcoming-grid, .plans { grid-template-columns: 1fr; }
  .mp-modes { grid-template-columns: 1fr 1fr; }
  .plan-highlight { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-pass { justify-content: flex-start; }
  .billboard { min-height: 60vh; }
}
@media (max-width: 760px) {
  .main-nav, .nav-search { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .user-menu-name { display: none; }
  .form-row, .press-logos, .game-grid-2, .mp-modes { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .job-meta { justify-items: start; }
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .docs-body { padding: 1.3rem; }
  .timeline li { grid-template-columns: 64px 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .play-title strong { font-size: .95rem; }
  .play-actions #btn-fullscreen { display: none; }
  .profile-head { flex-direction: column; align-items: flex-start; }
  .tile { width: 72vw; }
  .billboard-content { padding: 4rem 0 2.5rem; }
  .row-arrow { display: none !important; }
}
