/* ============================================================
   iGains — public site. Same design language as the console's
   dark theme: ink #101828 family, brand #465FFF, gold #F79009.
   ============================================================ */
:root {
  --bg: #0b101b; --panel: #101828; --panel-2: #151f30; --edge: #1d2939;
  --ink: #f2f4f7; --mut: #98a2b3; --dim: #667085;
  --brand: #465fff; --brand-2: #7592ff; --gold: #f79009; --pos: #12b76a;
  --radius: 16px; --maxw: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(900px 420px at 70% -10%, rgba(70, 95, 255, 0.13), transparent 60%),
    radial-gradient(700px 380px at 10% 10%, rgba(247, 144, 9, 0.05), transparent 55%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: #9db1ff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
  background: rgba(11, 16, 27, 0.82); border-bottom: 1px solid var(--edge); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 96px; }
.nav-logo { justify-self: start; }
.nav-logo img { height: 38px; width: auto; }
.nav-menu { display: contents; }
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; justify-self: center; }
.nav-links a { color: var(--mut); font-size: 16.5px; font-weight: 500;
  transition: color 0.15s ease, text-shadow 0.15s ease; }
.nav-links a:hover, .nav-links a.on { color: var(--brand-2, #7c8cff);
  text-shadow: 0 0 14px rgba(70, 95, 255, 0.55); }
.nav-actions { display: flex; gap: 12px; align-items: center; justify-self: end; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 12px; border: 0; cursor: pointer;
  transition: background 0.15s, transform 0.15s; }
/* the two-button system, used sitewide:
   filled  = primary action; hover lightens + glows, never moves
   ghost   = thick brand border always; the glow lights up on hover */
.btn { transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.btn:hover { background: #5a71ff; color: #fff; transform: none;
  box-shadow: 0 0 0 1px rgba(70, 95, 255, 0.55), 0 0 24px rgba(70, 95, 255, 0.38); }
.btn.ghost { background: transparent; border: 2px solid rgba(70, 95, 255, 0.65);
  color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); background: rgba(70, 95, 255, 0.10); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(70, 95, 255, 0.35), 0 0 22px rgba(70, 95, 255, 0.32); }
.btn.sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.nav-burger { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; }
@media (max-width: 880px) {
  .nav-menu { display: none; position: absolute; top: 66px; right: 14px; left: auto;
    width: 188px; background: var(--panel); border: 1px solid var(--edge);
    border-radius: 14px; padding: 6px; flex-direction: column;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5); }
  .nav-menu.open { display: flex; }
  .nav-links { display: flex; flex-direction: column; gap: 0; }
  .nav-links li { border: 0; }
  .nav-links a { display: block; padding: 11px 14px; font-size: 15px; border-radius: 9px; }
  .nav-links a:hover, .nav-links a.on { background: rgba(70, 95, 255, 0.10);
    color: var(--brand-2, #7c8cff); text-shadow: none; }
  .nav-actions { display: flex; flex-direction: column; gap: 0; }
  .nav-actions .btn:last-child { border-top: 1px solid var(--edge); margin-top: 6px;
    padding-top: 13px; border-radius: 0 0 9px 9px; }
  .nav-actions .btn, .nav-actions .btn.ghost { display: block; width: auto; background: none;
    border: 0; box-shadow: none; padding: 11px 14px; font-size: 15px; font-weight: 500;
    text-align: left; border-radius: 9px; color: var(--mut); }
  .nav-actions .btn:hover, .nav-actions .btn.ghost:hover { background: rgba(70, 95, 255, 0.10);
    color: var(--brand-2, #7c8cff); box-shadow: none; }
  .nav-actions .btn:last-child { color: var(--brand-2, #7c8cff); font-weight: 600; }
  .nav-burger { display: block; }
}

/* ---------- hero ---------- */
.hero { padding: 92px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; font-weight: 800; letter-spacing: -0.5px; }
h1 .accent { color: var(--brand-2); }
.hero p.lead { color: var(--mut); font-size: 18px; margin: 22px 0 32px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-frame { position: relative; background: var(--panel); border: 1px solid var(--edge);
  border-radius: 20px; padding: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  width: fit-content; margin-left: auto; }
.hero-frame iframe { display: block; width: 372px; aspect-ratio: 393 / 852;
  border: 0; border-radius: 14px; background: #05080d; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; } }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.sec-head { max-width: 620px; margin-bottom: 44px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.3px; }
.sec-head p { color: var(--mut); margin-top: 12px; font-size: 16.5px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: #2b3a55; transform: translateY(-2px); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(70, 95, 255, 0.12); color: var(--brand-2); font-size: 20px; margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--mut); font-size: 15px; }

/* ---------- game cards ---------- */
.game-card { background: var(--panel); border: 1px solid var(--edge); border-radius: 18px;
  overflow: hidden; transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.game-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.game-art { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, #0e1b2e, #101828 55%, #1a1030); }
.game-art .art-mark { font-family: ui-monospace, Consolas, monospace; font-weight: 800;
  letter-spacing: 6px; font-size: 26px; color: var(--ink); opacity: 0.9; }
.game-art .art-note { position: absolute; bottom: 10px; right: 12px; font-size: 10.5px;
  color: var(--dim); letter-spacing: 1px; text-transform: uppercase; }
.game-art.stampede { background: linear-gradient(135deg, #241505, #101828 60%, #0e1b2e); }
.game-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.game-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase;
  color: var(--mut); border: 1px solid var(--edge); padding: 5px 11px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)); }
.tag.live, .tag.soon { padding-left: 9px; }
.tag.live::before, .tag.soon::before { content: ""; width: 6px; height: 6px;
  border-radius: 50%; flex: none; }
.tag.live { color: var(--pos); border-color: rgba(18, 183, 106, 0.45);
  background: linear-gradient(180deg, rgba(18, 183, 106, 0.10), rgba(18, 183, 106, 0.02)); }
.tag.live::before { background: var(--pos);
  box-shadow: 0 0 7px rgba(18, 183, 106, 0.9); animation: tag-pulse 2.2s ease infinite; }
.tag.soon { color: var(--gold); border-color: rgba(247, 144, 9, 0.45);
  background: linear-gradient(180deg, rgba(247, 144, 9, 0.10), rgba(247, 144, 9, 0.02)); }
.tag.soon::before { background: var(--gold); box-shadow: 0 0 7px rgba(247, 144, 9, 0.8); }
@keyframes tag-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.game-body p { color: var(--mut); font-size: 15px; flex: 1; }
.game-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spec { background: var(--panel-2); border-radius: 10px; padding: 10px 12px; }
.spec b { display: block; font-size: 14px; }
.spec span { font-size: 11px; color: var(--dim); letter-spacing: 0.8px; text-transform: uppercase; }
.game-cta { display: flex; gap: 10px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 26px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step);
  font-family: ui-monospace, Consolas, monospace; font-weight: 800; font-size: 13px;
  color: var(--gold); letter-spacing: 2px; display: block; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--mut); font-size: 14.5px; }

/* ---------- trust / footer ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--edge);
  background: var(--panel); color: var(--mut); font-size: 13px; font-weight: 600;
  padding: 10px 16px; border-radius: 12px; }
.badge-18 { display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; border: 2px solid #e11d48; color: #fda4af; font-size: 10px; font-weight: 800; }
footer { border-top: 1px solid var(--edge); padding: 52px 0 30px; margin-top: 30px;
  background: rgba(16, 24, 40, 0.5); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 38px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim);
  margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer li a { color: var(--mut); font-size: 14.5px; }
footer li a:hover { color: var(--ink); }
.foot-brand img { height: 24px; margin-bottom: 14px; margin-left: -4px; }
.foot-brand p { color: var(--dim); font-size: 13.5px; max-width: 26em; }
.foot-legal { border-top: 1px solid var(--edge); padding-top: 22px; display: flex;
  justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-legal p { color: var(--dim); font-size: 12.5px; }
.foot-trust { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.foot-trust span { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 30px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.page-hero p { color: var(--mut); font-size: 17px; margin-top: 14px; max-width: 38em; }

/* ---------- prose (about / news / legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { color: var(--mut); margin-bottom: 16px; }
.prose ul { color: var(--mut); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.news-card { display: block; background: var(--panel); border: 1px solid var(--edge);
  border-radius: var(--radius); padding: 26px; margin-bottom: 18px; color: inherit; }
.news-card:hover { border-color: #2b3a55; color: inherit; }
.news-card time { color: var(--gold); font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; }
.news-card h3 { margin: 10px 0 8px; font-size: 19px; }
.news-card p { color: var(--mut); font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--mut); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--panel-2); border: 1px solid var(--edge); border-radius: 10px;
  color: var(--ink); padding: 13px 14px; font-size: 15px; outline: none; font-family: inherit; }
.field input:focus, .field textarea:focus { border-color: var(--brand); }
.field { margin-bottom: 16px; }

/* ---------- cookie notice ---------- */
.cookie { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 90;
  max-width: 560px; margin: 0 auto; background: var(--panel); border: 1px solid var(--edge);
  border-radius: 16px; padding: 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  display: none; }
.cookie.show { display: block; }
.cookie h4 { font-size: 15px; margin-bottom: 8px; }
.cookie p { color: var(--mut); font-size: 13.5px; margin-bottom: 16px; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie a { font-size: 13px; }


/* ---------- ticker-flavoured fading grid background ---------- */
.bg-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 120% 62% at 50% 0%, #000 34%, transparent 78%);
  mask-image: radial-gradient(ellipse 120% 62% at 50% 0%, #000 34%, transparent 78%);
}
.bg-grid::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(340px 200px at 18% 12%, rgba(18, 183, 106, 0.055), transparent 70%),
    radial-gradient(340px 200px at 82% 20%, rgba(240, 68, 56, 0.045), transparent 70%),
    radial-gradient(480px 260px at 55% 6%, rgba(70, 95, 255, 0.06), transparent 72%);
}

/* ---------- footer trust badges ---------- */
.foot-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tbadge { height: 30px; width: auto; display: block; opacity: 0.75;
  transition: opacity 0.15s ease; }
.tbadge.wide { height: 26px; }
.foot-trust a:hover .tbadge, .tbadge:hover { opacity: 1; }

/* ---------- about rows with line art ---------- */
.about-row { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: stretch;
  margin-bottom: 60px; }
.about-row.flip { grid-template-columns: 1fr 320px; }
.about-row.flip .about-art { order: 2; }
.about-art { position: relative;
  background: var(--card, rgba(255,255,255,0.02));
  border: 1px solid var(--edge); border-radius: 16px; }
.about-art svg { position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: calc(100% - 48px);
  max-height: calc(100% - 20px); }
@media (max-width: 880px) {
  .about-row, .about-row.flip { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .about-row.flip .about-art { order: 0; }
  .about-art { max-width: 320px; }
}

/* ---------- contact form states ---------- */
.field-err { color: #fda29b; font-size: 13px; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 14.5px; }
.form-note.ok { color: #75e0a7; }
.form-note.err { color: #fda29b; }
input[aria-invalid="true"], .field input.bad { border-color: #f04438 !important; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- responsive polish ---------- */
@media (max-width: 1100px) and (min-width: 881px) {
  .hero-grid { gap: 36px; }
  .nav-links { gap: 22px; }
}
@media (max-width: 880px) {
  .nav-inner { display: flex; justify-content: space-between; height: 74px; }
  .nav-logo img { height: 30px; }
  .hero-frame { margin: 0 auto; }
  .hero-frame iframe { width: min(94vw, 372px); }
  .foot-legal { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-trust { gap: 16px; }
  .tbadge { height: 26px; } .tbadge.wide { height: 22px; }
}
@media (max-width: 480px) {
  h1 { font-size: 30px; }
  .wrap { padding: 0 18px; }
}


/* ---------- stats, ticker-styled ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { position: relative; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--edge);
  border-radius: 16px; padding: 26px 22px 22px; overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.stat.up::before { background: linear-gradient(90deg, transparent, #12b76a, transparent); }
.stat.brand::before { background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.stat:hover { border-color: rgba(70, 95, 255, 0.4);
  box-shadow: 0 0 26px rgba(70, 95, 255, 0.14); }
.stat-spark { position: absolute; top: 18px; right: 18px; font-size: 12px; opacity: 0.55; }
.stat.up .stat-spark { color: #12b76a; }
.stat.brand .stat-spark { color: var(--brand); }
.stat b { display: block; font-size: 42px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, #98a2b3); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.stat.up b { background: linear-gradient(135deg, #fff 25%, #75e0a7);
  -webkit-background-clip: text; background-clip: text; }
.stat.brand b { background: linear-gradient(135deg, #fff 25%, #7c8cff);
  -webkit-background-clip: text; background-clip: text; }
.stat-l { display: block; margin-top: 6px; font-weight: 600; color: var(--ink); font-size: 15px; }
.stat-s { display: block; margin-top: 7px; color: var(--mut); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }


/* ---------- typography: no orphaned words on headings ---------- */
h1, h2, h3 { text-wrap: balance; }
.page-hero p, .hero p.lead, .sec-head p { text-wrap: pretty; }

/* ---------- mobile refinements ---------- */
@media (max-width: 880px) {
  .page-hero h1 { font-size: 32px; }
  section { padding: 44px 0; }

  .game-card { display: flex; flex-direction: column; }
  .game-art { aspect-ratio: 16 / 8; }
  .game-art .art-mark { font-size: 26px; }
  .game-specs { gap: 8px; }
  .game-cta { flex-direction: column; }
  .game-cta .btn { width: 100%; justify-content: center; }

  .about-row { gap: 18px; }
  .about-art { padding: 18px; max-width: none; }
  .about-art svg { max-width: 340px; }
}

/* desktop/mobile label swap for the nav actions */
.lbl-m { display: none; }
@media (max-width: 880px) { .lbl-d { display: none; } .lbl-m { display: inline; } }


/* ---------- news: milestone timeline (larger screens only) ---------- */
@media (min-width: 881px) {
  .news-flow { position: relative; padding-left: 122px; }
  .news-flow::before { content: ""; position: absolute; left: 59px; top: 40px; bottom: 54px;
    width: 3px; border-radius: 3px; pointer-events: none;
    background: linear-gradient(180deg, #E8A33D 0%, #465fff 42%, #12b76a 100%); opacity: 0.8; }
  .news-flow .news-card { position: relative; }
  .news-flow .news-card::before { content: ""; position: absolute; left: -87px;
    top: calc(50% - 26px);
    width: 52px; height: 52px; border-radius: 50%; background-color: #0c1218;
    background-repeat: no-repeat; background-position: center; background-size: 26px 26px;
    border: 2.5px solid #12b76a; pointer-events: none; }
  /* newest → oldest: launch, floor network, in-development gear, founding flag */
  .news-flow .news-card:nth-child(1)::before { border-color: #E8A33D;
    box-shadow: 0 0 0 5px rgba(232, 163, 61, 0.14), 0 0 20px rgba(232, 163, 61, 0.3);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E8A33D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"/><path d="m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"/><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"/><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"/></svg>'); }
  .news-flow .news-card:nth-child(2)::before { border-color: #465fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%237c8cff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 16 7.5 9.5l3.5 5L15.5 6l3 5.5 3-4"/></svg>'); }
  .news-flow .news-card:nth-child(3)::before { border-color: #12b76a;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2338E08D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg>'); }
  .news-flow .news-card:nth-child(4)::before { border-color: #12b76a;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2338E08D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 22V4"/><path d="M4 4c3-2 6.5-2 9 0s5.5 2 8 0v10c-2.5 2-5.5 2-8 0s-6-2-9 0"/></svg>'); }
}

/* ---------- about on mobile: prose becomes cards, art steps aside ---------- */
@media (max-width: 880px) {
  .about-art { display: none; }
  .about-row .prose { position: relative; overflow: hidden;
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--edge);
    border-radius: 16px; padding: 24px 20px 22px; }
  .about-row .prose::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent); }
  .about-row:nth-of-type(2) .prose::before {
    background: linear-gradient(90deg, transparent, #E8A33D, transparent); }
  .about-row:nth-of-type(3) .prose::before {
    background: linear-gradient(90deg, transparent, #12b76a, transparent); }
}

/* ---------- game tags: tidy at every width ---------- */
@media (max-width: 880px) {
  .game-tags { gap: 6px; }
  .game-tags .tag { font-size: 10.5px; padding: 3px 9px; letter-spacing: 0.3px; }
}

/* ---------- game specs: the mini-dashboard, gold-trimmed ---------- */
.game-specs .spec { position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  border: 1px solid var(--edge); border-radius: 12px; padding: 13px 8px 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; }
@property --ring-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.game-specs .spec { --ring-a: 0deg; }
.game-specs .spec::before { content: ""; position: absolute; inset: 0; border-radius: 12px;
  padding: 1.5px; opacity: 0.55; pointer-events: none;
  background: conic-gradient(from var(--ring-a),
    transparent 0turn 0.62turn, rgba(232, 163, 61, 0.25) 0.72turn,
    #E8A33D 0.84turn, rgba(232, 163, 61, 0.25) 0.94turn, transparent 1turn);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.game-specs .spec b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff 30%, #fdb022); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.game-specs .spec span { display: block; margin-top: 3px; color: var(--mut); font-size: 11.5px; }
.game-card:hover .spec { border-color: rgba(232, 163, 61, 0.35); }
.game-card:hover .spec::before { opacity: 1;
  animation: ring-orbit 2.6s linear infinite; }
@keyframes ring-orbit { to { --ring-a: 360deg; } }
@media (max-width: 880px) {
  .game-specs { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .game-specs .spec { padding: 10px 6px 9px; }
  .game-specs .spec b { font-size: 18px; }
  .game-specs .spec span { font-size: 10.5px; }
}

/* ---------- "every game ships with" trio ---------- */
.ships .card { position: relative; }
.ships .card::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.ships .card:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, #12b76a, transparent); }
.ships .card:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, #E8A33D, transparent); }
.ships .card h3 { display: flex; align-items: center; gap: 9px; }
.ships .card h3::before { content: "✓"; font-size: 13px; font-weight: 800; color: #12b76a;
  border: 1.5px solid rgba(18, 183, 106, 0.5); border-radius: 50%;
  width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center;
  flex: none; }

/* ---------- mobile demo box: room for the Auto button ---------- */


/* ---------- per-game label rows above stat grids ---------- */
.stats-row-label { display: flex; align-items: center; gap: 16px; margin: 4px 0 16px; }
.stats-row-label::before, .stats-row-label::after { content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 163, 61, 0.4)); }
.stats-row-label::after {
  background: linear-gradient(90deg, rgba(232, 163, 61, 0.4), transparent); }
.stats-row-label span { font-size: 12px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--gold); white-space: nowrap; }


/* ---------- prose micro-labels ---------- */
.prose-label { margin: 20px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--gold); }
h2 + .prose-label { margin-top: 14px; }
@media (max-width: 880px) {
  .about-row .prose p { font-size: 14.5px; line-height: 1.65; }
}
