/* Aim2Game theme: change the brand colours here. */
:root {
  --bg: #0a0d14; --surface: #121823; --surface-2: #0e131c; --text: #e9edf4; --muted: #9aa4b5; --border: #242c3b;
  --accent: #3ee07b; --accent-text: #04140a;
  --ok: #4ade80; --ok-soft: rgba(74, 222, 128, .12); --warn: #fbbf24; --warn-soft: rgba(251, 191, 36, .12);
  --bad: #f87171; --bad-soft: rgba(248, 113, 113, .12); --discord: #5865f2; --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font);
  /* Defined here (not :root) so a page that sets its own --accent gets matching tints. */
  --accent-soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 38%, transparent); }
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-text); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Top bar */
.topbar { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar-social, .topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Main nav */
header.site { background: rgba(10, 13, 20, .92); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5;
  backdrop-filter: blur(8px); }
header.site .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; max-height: 42px; max-width: 200px; }
.wordmark { font-weight: 900; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
nav.site { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-right: auto; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; letter-spacing: .02em; padding: 4px 0;
  border-bottom: 2px solid transparent; }
nav.site a:hover { color: var(--text); }
nav.site a.active { color: var(--text); border-bottom-color: var(--accent); }
.nav-right form { margin: 0; }
.nav-login { display: inline-block; padding: 8px 18px; border-radius: 8px; border: 1px solid var(--accent); background: transparent;
  color: var(--accent); font: 700 .88rem var(--font); letter-spacing: .03em; text-decoration: none; cursor: pointer; }
.nav-login:hover { background: var(--accent); color: var(--accent-text); }
.nav-login:focus-visible, nav.site a:focus-visible, .topbar a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main { padding: 36px 0 60px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 6px; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 0 0 14px; }
.lede { color: var(--muted); margin: 0 0 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.narrow { max-width: 420px; margin: 0 auto; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 1.9rem; font-weight: 700; margin: 6px 0 2px; }
.plan .per { color: var(--muted); font-size: .95rem; }
.plan .desc { color: var(--muted); flex: 1; margin: 12px 0 18px; white-space: pre-line; }
.plan .actions { display: grid; gap: 10px; }
.plan .actions .badge { justify-self: start; }
.plan.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%;
  padding: 11px 16px; border-radius: 8px; border: 1px solid transparent; font: 600 .95rem var(--font);
  cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-text); }
.btn:hover { filter: brightness(1.07); }
.btn:focus-visible, input:focus-visible, nav.site a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn.paypal { background: #ffc439; color: #111; }
.btn.danger { background: var(--surface); color: var(--bad); border-color: var(--bad); }
.btn.inline { width: auto; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.linkbtn:hover { color: var(--text); }
form p { margin: 0 0 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input[type=email], input[type=password], input[type=text], textarea { width: 100%; padding: 10px 12px; font: inherit;
  color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.helptext, .hint { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--bad); font-size: .9rem; }
.errorlist.form-errors { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: var(--bad-soft); }
.form-foot { margin-top: 18px; color: var(--muted); font-size: .95rem; text-align: center; }
.messages { list-style: none; padding: 0; margin: 0 0 24px; }
.messages li { padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; background: var(--accent-soft); }
.messages .success { background: var(--ok-soft); color: var(--ok); }
.messages .error { background: var(--bad-soft); color: var(--bad); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.summary { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 18px 0 22px; }
.summary dt { color: var(--muted); font-size: .88rem; }
.summary dd { margin: 2px 0 0; font-weight: 600; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.notice { padding: 12px 16px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); margin: 0 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.empty { color: var(--muted); }
/* Footer */
footer.site { background: var(--surface-2); border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; padding: 48px 0 28px; }
.footer-inner { display: grid; gap: 32px; grid-template-columns: 2fr repeat(3, 1fr); }
.footer-brand p { margin: 10px 0 16px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .82rem; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin: 4px 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border);
  margin-top: 36px; padding-top: 20px; font-size: .8rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
ul.plain { padding-left: 1.1em; margin: 0 0 20px; }
ul.plain li { margin-bottom: 6px; }
textarea { resize: vertical; }
.narrow > h1 + .card { margin-top: 18px; }

/* Support */
.thread { display: grid; gap: 14px; margin: 0 0 20px; }
.msg { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.msg.staff { border-left: 4px solid var(--accent); }
.msg.note { background: var(--warn-soft); border-color: var(--warn); border-left-width: 4px; }
.msg header { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.msg .body { overflow-wrap: anywhere; }
ul.files { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .92rem; }
select { padding: 9px 10px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; width: 100%; }
input[type=file] { font: inherit; color: var(--muted); }
.desk { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.desk aside .card { padding: 18px; }
@media (max-width: 860px) { .desk { grid-template-columns: 1fr; } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 14px; }
.tabs a { padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); border: 1px solid var(--border); background: var(--surface); font-size: .92rem; }
.tabs a.active { color: var(--accent-text); background: var(--accent); border-color: var(--accent); }
.tabs .count { font-weight: 700; margin-left: 2px; }
body:has(.desk) .wrap { max-width: 1180px; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
label.check input { width: 18px; height: 18px; margin: 0; }

/* Plans grouped by game */
.plan-group { margin-bottom: 34px; scroll-margin-top: 16px; }
.group-title { font-size: 1.35rem; margin: 0 0 4px; }
.group-tagline { color: var(--muted); margin: 0 0 14px; }
.plan-name { font-size: 1.1rem; margin: 0; }
ul.features { list-style: none; padding: 0; margin: 4px 0 18px; flex: 1; font-size: .93rem; }
ul.features li { padding: 4px 0 4px 22px; position: relative; }
ul.features li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan .desc + ul.features { margin-top: -8px; }
.plan:has(ul.features) .desc { flex: 0; }

/* Account: several subscriptions */
.sub-item + .sub-item { border-top: 1px solid var(--border); margin-top: 22px; padding-top: 22px; }
.sub-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.server-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; padding: 12px 14px;
  border-radius: 8px; background: var(--bg); border: 1px solid var(--border); }
.server-line .btn { margin-left: auto; }
code, .addr { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.addr { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; }

/* Server pages */
.crumbs { margin: 0 0 10px; font-size: .92rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.server-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.server-head .lede { margin-bottom: 20px; }
.address-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; }
.addr.big { font-size: 1.05rem; padding: 6px 12px; }
.btn.small { padding: 6px 12px; font-size: .88rem; }
.btn.ok { background: var(--ok); color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.power-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.power-buttons form { margin: 0; }
.state-badge { font-size: .9rem; padding: 4px 12px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 14px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 2px; }
.stat span { color: var(--muted); font-size: .82rem; }
.stat strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.stat small { color: var(--muted); font-size: .8rem; min-height: 1.1em; }
.console-card { border-radius: var(--radius); overflow: hidden; border: 1px solid #252b36; margin-bottom: 20px; background: #0e1116; }
.console-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: #161b23; color: #c9d1d9; font-size: .9rem; }
.console-output { height: 440px; overflow-y: auto; padding: 12px 14px; color: #d0d7de; background: #0e1116;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.console-output:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.console-output .line { min-height: 1.5em; }
.console-output .portal { color: #7c9cff; }
.console-output .echo { color: #8b949e; }
.console-output .install { color: #a5d6ff; }
.console-output .daemon { color: #e3b341; }
.console-output .error { color: #ff7b72; }
.console-output .b { font-weight: 700; }
.c-black { color: #6e7681; } .c-red { color: #ff7b72; } .c-green { color: #3fb950; } .c-yellow { color: #d29922; }
.c-blue { color: #58a6ff; } .c-magenta { color: #bc8cff; } .c-cyan { color: #39c5cf; } .c-white { color: #d0d7de; }
.c-gray { color: #8b949e; } .c-bright.c-red { color: #ffa198; } .c-bright.c-green { color: #56d364; }
.c-bright.c-yellow { color: #e3b341; } .c-bright.c-blue { color: #79c0ff; } .c-bright.c-magenta { color: #d2a8ff; }
.c-bright.c-cyan { color: #56d4dd; } .c-bright.c-white { color: #f0f6fc; }
.console-input { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; background: #161b23; border-top: 1px solid #252b36; }
.console-input .prompt { color: #3fb950; font: 600 14px ui-monospace, Menlo, Consolas, monospace; }
.console-input input[type=text] { flex: 1; background: transparent; border: 0; color: #f0f6fc; padding: 6px 0;
  font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.console-input input[type=text]:focus-visible { outline: none; }
.console-card:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.two .card { margin-bottom: 0; }
.grid.two + .card { margin-top: 20px; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
dl.kv dt { color: var(--muted); font-size: .9rem; }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }
details summary { cursor: pointer; color: var(--accent); font-weight: 600; margin: 4px 0 12px; }
.inline-form { max-width: 420px; }
.server-card h2 { font-size: 1.1rem; }
details.reveal summary { font-weight: 500; margin: 0; font-size: .9rem; }
details.reveal[open] summary { display: none; }

/* Slider products */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); margin-bottom: 20px; }
.product-card { display: flex; flex-direction: column; gap: 14px; margin-bottom: 0; }
.product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.product-price { text-align: right; }
.product-price { flex: none; }
.product-price .price { font-size: 1.9rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-price .per { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.product-price .per span { display: block; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .85rem var(--font); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.slider-row { display: grid; gap: 6px; }
.slider-label { font-weight: 500; margin: 0; }
.slider-label strong { font-size: 1.15rem; margin-left: 4px; }
.range { width: 100%; height: 28px; accent-color: var(--accent); cursor: pointer; margin: 0; }
.range:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; }
ul.features.specs { margin: 0; flex: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
ul.features.muted { margin: 0; color: var(--muted); }
.product-card .actions { display: grid; gap: 10px; margin-top: auto; }
.product-card .actions p { margin: 0; }
.variant-pick select { margin-top: 2px; }
.order-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.order-option { display: grid; gap: 2px; align-content: start; }
.order-option label { font-size: .88rem; font-weight: 600; }
.order-option select, .order-option input { width: 100%; margin: 0; }
.order-option .hint { font-size: .78rem; }
.order-option:has(input[type=text]) { grid-column: 1 / -1; }
@media (max-width: 520px) { .order-options { grid-template-columns: 1fr; } }
.fixed-title { font-size: 1rem; color: var(--muted); margin: 6px 0 12px; }
.btn.disabled { opacity: .45; cursor: not-allowed; filter: none; }
.type-form { margin: 18px 0 8px; padding-top: 16px; border-top: 1px solid var(--border); }
@media (max-width: 520px) { ul.features.specs { grid-template-columns: 1fr; } .product-grid { grid-template-columns: 1fr; } }
.product-card .actions .badge { justify-self: start; }

/* Hero and game grid (as on aim2game.com) */
.hero { text-align: center; padding: 40px 20px 56px; margin: -36px -20px 24px;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-soft), transparent 65%); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700;
  color: var(--accent); border: 1px solid var(--accent-glow); border-radius: 999px; padding: 6px 14px; margin: 0 0 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 28px var(--accent-glow); }
.hero-lede { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn.big { padding: 14px 26px; font-size: 1rem; }
.btn.discord { background: var(--discord); color: #fff; }
.section-title { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--muted); margin: 0 0 14px; }
.games { margin-bottom: 40px; scroll-margin-top: 90px; }
.games-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 44%), 1fr)); }
.game-card { position: relative; display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.game-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.game-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.game-icon { font-size: 1.7rem; line-height: 1; margin-bottom: 6px; }
.game-name { font-weight: 800; }
.game-genre { color: var(--muted); font-size: .85rem; }
.game-arrow { position: absolute; right: 16px; bottom: 14px; color: var(--accent); font-weight: 700; }
.plan-group { scroll-margin-top: 90px; }
.group-title { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.card { box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset; }
.product-card { border-top: 3px solid var(--accent); }
.btn { font-weight: 700; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .game-card { transition: none; } .game-card:hover { transform: none; } }
@media (max-width: 640px) {
  header.site .wrap { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  nav.site { order: 3; width: 100%; gap: 16px; overflow-x: auto; flex-wrap: nowrap; }
  .hero { padding-top: 28px; }
  .game-card { padding: 14px; }
  .game-arrow { display: none; }
}

/* Game tiles with art */
.game-card { overflow: hidden; isolation: isolate; }
.game-card:hover { border-color: var(--tile-accent, var(--accent)); }
.game-card .game-arrow, .game-from { color: var(--tile-accent, var(--accent)); }
.game-from { font-size: .82rem; font-weight: 700; margin-top: 4px; }
.game-card { align-content: start; }
.game-card.has-art { min-height: 190px; align-content: end; border-color: transparent; }
.game-card.has-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--tile-art) center / cover;
  transition: transform .4s; }
.game-card.has-art::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(6, 9, 14, .95) 15%, rgba(6, 9, 14, .55) 55%, rgba(6, 9, 14, .15)); }
.game-card.has-art:hover::before { transform: scale(1.06); }
.game-card.has-art .game-genre { color: #c9d1dc; }

/* Game page hero */
.game-hero { position: relative; isolation: isolate; overflow: hidden; margin: -36px 0 36px; min-height: 540px;
  display: flex; align-items: flex-end; border-bottom: 1px solid var(--border); }
.game-hero-bg { position: absolute; inset: 0; z-index: -1; background: #070a10; }
.game-hero-bg > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.game-hero-art { object-fit: cover; animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.game-hero-shade { background: linear-gradient(to top, var(--bg) 0%, rgba(10, 13, 20, .7) 35%, rgba(10, 13, 20, .15) 70%),
  linear-gradient(to right, rgba(10, 13, 20, .85) 0%, rgba(10, 13, 20, .2) 60%, transparent); }
.game-hero-content { position: relative; padding-top: 90px; padding-bottom: 56px; width: 100%; }
.game-hero-content > * { max-width: 680px; }
.game-hero .crumbs a { color: #c9d1dc; }
.game-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 900; text-transform: uppercase; line-height: 1.02; margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.game-hero h1 em { display: block; font-style: normal; color: var(--accent); font-size: .55em; letter-spacing: .06em; text-shadow: 0 0 28px var(--accent-glow); }
.game-hero .hero-lede { margin: 0 0 14px; color: #d3d9e3; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
.game-hero .hero-actions { justify-content: flex-start; margin-top: 22px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 0; color: #c9d1dc; font-size: .9rem; }
.hero-facts li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.art-credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: .72rem; color: rgba(233, 237, 244, .6); }

/* Illustrated scenes (shown when there's no art, and behind art while it loads) */
.scene .sc-sky { fill: #070a10; }
.scene .sc-glow-a { stop-color: var(--accent); stop-opacity: .38; }
.scene .sc-glow-b { stop-color: var(--accent); stop-opacity: 0; }
.scene .sc-sun { fill: color-mix(in srgb, var(--accent) 45%, #ffffff); opacity: .28; }
.scene .sc-stars { fill: #ffffff; opacity: .55; }
.scene .sc-planet { fill: color-mix(in srgb, var(--accent) 35%, #141a26); }
.scene .sc-ring { fill: none; stroke: var(--accent); stroke-width: 6; opacity: .45; }
.scene .sc-l1 { fill: color-mix(in srgb, var(--accent) 26%, #0d121b); }
.scene .sc-l2 { fill: color-mix(in srgb, var(--accent) 13%, #090d14); }
.scene .sc-l3 { fill: #05070c; }
.scene .sc-cloud { fill: #ffffff; opacity: .07; }
.game-hero.has-art .scene { opacity: .6; }

/* Server types, features, gallery */
.type-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.type-card { display: grid; gap: 2px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); }
.type-card span { color: var(--muted); font-size: .88rem; }
.why-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.why-card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.why-card h3 { margin: 0 0 6px; font-size: 1rem; color: var(--accent); }
.why-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.gallery figcaption { color: var(--muted); font-size: .82rem; margin-top: 6px; }
.gallery .credit { opacity: .8; }
@media (prefers-reduced-motion: reduce) {
  .game-hero-art { animation: none; }
  .game-card.has-art::before { transition: none; }
  .game-card.has-art:hover::before { transform: none; }
}
@media (max-width: 640px) {
  .game-hero { min-height: 480px; }
  .game-hero-content { padding-top: 60px; padding-bottom: 36px; }
  .game-hero .hero-actions .btn { width: 100%; }
}

/* --- Invoices & payments --- */
.due-card { border-color: var(--warn); }
.due-list, .method-list { list-style: none; margin: 0; padding: 0; }
.due-list li, .method-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 0;
  border-top: 1px solid var(--line, rgba(255,255,255,.08)); }
.due-list li:first-child, .method-list li:first-child { border-top: 0; }
.due-list li > span:first-child, .method-list li > span:first-child { flex: 1 1 260px; display: grid; gap: 2px; }
.method-list li > span:first-child { display: block; }
.due-amount { font-weight: 700; font-size: 1.1rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; text-decoration: underline; }
.renew-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.renew-form label { color: var(--muted); font-size: .9rem; }
.renew-form select { width: auto; flex: 0 1 360px; }
.invoice-page { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.invoice-head h1 { margin: 0 0 4px; font-size: 1.6rem; }
.invoice-doc tfoot th { border-top: 2px solid currentColor; padding-top: 10px; font-size: 1.05rem; }
.pay-card h3 { font-size: .95rem; color: var(--muted); margin: 18px 0 10px; text-transform: none; letter-spacing: 0; }
.pay-option + .pay-option { border-top: 1px solid var(--line, rgba(255,255,255,.08)); margin-top: 18px; }
.payment-element { margin: 0 0 14px; min-height: 120px; }
.pay-hint { margin: 4px 0 0; }
@media print {
  .no-print, .topbar, .site-footer, nav, footer { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .invoice-doc { border: 0 !important; box-shadow: none !important; background: #fff !important; color: #000 !important; }
  .invoice-doc .hint, .invoice-doc dt { color: #444 !important; }
}

/* --- Coupons --- */
.coupon-box { margin: 4px 0 14px; padding: 12px 14px; border: 1px dashed var(--line, rgba(255,255,255,.2)); border-radius: 10px; }
.coupon-box form { gap: 10px; align-items: center; }
.coupon-hint { margin: 8px 0 0; font-size: .9rem; color: var(--accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Payment methods */
.pm-list li > span:first-child { display: grid; gap: 3px; }
.pm-list .badge { justify-self: start; }
.pm-actions { display: flex; gap: 16px; align-items: center; }
.pm-actions form { margin: 0; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-weight: 400; }
.checkbox-row input { width: auto; margin: 0; }
.saved-pay { display: grid; gap: 10px; }
.saved-pay .checkbox-row { margin: 0; padding: 10px 12px; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 8px; }
.saved-pay .checkbox-row:has(input:checked) { border-color: var(--accent); }
.saved-pay .btn { margin-top: 4px; }
details.new-card > summary { cursor: pointer; color: var(--accent); margin: 4px 0 10px; }
