:root {
  --bg: #0a0e14;
  --bg-2: #121823;
  --glass: rgba(18, 24, 34, .74);
  --glass-hi: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e8ebf1;
  --text-2: #b4bccb;
  --muted: #7e889b;
  --accent: #de9b35;
  --accent-2: #f2b552;
  --go: #4f9d2d;
  --go-2: #6cc23f;
  --ct: #5d79ae;
  --t: #c9a85c;
  --live: #e5484d;
  --on: #4fd36b;
  --off: #e5484d;
  --radius: 4px;
  --font-head: "Rajdhani", "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: 16px; color: var(--text); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
code, kbd {
  font-family: var(--font-mono); font-size: .86em; color: var(--accent-2);
  background: rgba(222, 155, 53, .1); border: 1px solid rgba(222, 155, 53, .22); padding: .1em .4em; border-radius: 3px;
}
kbd { color: var(--text); background: rgba(255, 255, 255, .06); border-color: var(--line-2); }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- background: live map, blurred like the CS2 main menu ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(1200px 600px at 75% -10%, rgba(222, 155, 53, .10), transparent 60%),
  radial-gradient(900px 500px at 0% 30%, rgba(93, 121, 174, .12), transparent 60%), var(--bg); }
.bg-img {
  position: absolute; inset: -40px; background-size: cover; background-position: center;
  filter: blur(14px) saturate(1.1); opacity: 0; transition: opacity 1.2s ease; transform: scale(1.05);
}
.bg-img.on { opacity: .22; }
.bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, .35) 0%, rgba(10, 14, 20, .75) 45%, var(--bg) 100%);
}

/* ---------- glass panel ---------- */
.glass {
  position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 10px 30px rgba(0, 0, 0, .25);
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 28px;
  background: rgba(10, 14, 20, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand .ico { width: 26px; height: 26px; color: var(--accent); }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .08em; color: var(--text); }
.brand-text b { color: var(--accent); font-weight: 700; }
.nav { display: flex; align-self: stretch; gap: 2px; }
.nav a {
  position: relative; display: flex; align-items: center; padding: 0 14px; color: var(--text-2);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .1em;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.nav a.active { color: var(--text); }
.nav a.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.server-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, .03); white-space: nowrap;
}
.server-pill b { color: var(--text); font-weight: 600; }
.burger { display: none; width: 40px; height: 36px; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 9px 9px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--text); margin: 3px 0; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #5b6474; display: inline-block; flex: none; }
.dot.on { background: var(--on); box-shadow: 0 0 0 0 rgba(79, 211, 107, .5); animation: ping 1.8s infinite; }
.dot.off { background: var(--off); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(79, 211, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 211, 107, 0); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 3px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); cursor: pointer;
  transition: transform .12s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.btn:active { transform: translateY(1px); }
.btn.go {
  color: #fff; border: 1px solid rgba(160, 255, 120, .35);
  background: linear-gradient(180deg, var(--go-2), var(--go)); text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 22px rgba(79, 157, 45, .35);
}
.btn.go:hover { background: linear-gradient(180deg, #7ad04a, #58ab33); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 30px rgba(108, 194, 63, .5); }
.btn.go .ico { width: 14px; height: 14px; }
.btn.ghost { background: transparent; }
.btn.lg { height: 52px; padding: 0 30px; font-size: 18px; }
.btn.small { height: 34px; padding: 0 14px; font-size: 14px; }
.btn.wide { width: 100%; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- layout ---------- */
main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 48px 28px 100px; outline: none; }
main.enter > * { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
main.enter > *:nth-child(2) { animation-delay: .05s; }
main.enter > *:nth-child(3) { animation-delay: .1s; }
main.enter > *:nth-child(4) { animation-delay: .15s; }
main.enter > *:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.kicker em { color: var(--live); font-style: normal; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.section { margin-top: 72px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 6px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.loading, .empty { padding: 36px; text-align: center; color: var(--muted); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; min-height: min(68vh, 640px); }
.hero > * { min-width: 0; }
.title {
  font-size: clamp(64px, 9.5vw, 132px); line-height: .9; letter-spacing: .02em; margin: 16px 0 18px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .5);
}
.title b { color: var(--accent); font-weight: 700; background: linear-gradient(180deg, var(--accent-2), var(--accent) 60%, #b97a20); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 560px; margin: 0 0 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.connect-field {
  display: flex; align-items: center; max-width: 480px; height: 52px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: rgba(0, 0, 0, .35); overflow: hidden;
}
.cf-icon { display: grid; place-items: center; width: 50px; height: 100%; color: var(--accent); border-right: 1px solid var(--line); }
.connect-field code { flex: 1; min-width: 0; background: none; border: 0; padding: 0 16px; font-size: 15px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-copy {
  display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 18px; border: 0; border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); color: var(--text-2); font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: 14px; cursor: pointer;
}
.cf-copy:hover { color: #fff; background: rgba(222, 155, 53, .18); }

/* ---------- live panel ---------- */
.live { overflow: hidden; }
.live-media { position: relative; aspect-ratio: 16 / 8; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.live-media .map-pic { width: 100%; height: 100%; aspect-ratio: auto; }
.live-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(18, 24, 34, .9)); }
.live-body { position: relative; padding: 0 22px 22px; margin-top: -54px; z-index: 1; }
.live-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.live-top .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 3px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.live-badge { background: #3a4252; color: #fff; }
.live-badge .dot { background: #fff; width: 6px; height: 6px; }
.live-badge.is-on { background: #2f9e44; box-shadow: 0 0 18px rgba(79, 211, 107, .45); }
.live-badge.is-on .dot { animation: blink 1.4s ease-in-out infinite; }
.live-badge.is-off { background: var(--live); box-shadow: 0 0 18px rgba(229, 72, 77, .45); }
@keyframes blink { 50% { opacity: .35; } }
.live-map { font-size: clamp(30px, 3.4vw, 42px); line-height: 1; margin: 12px 0 6px; overflow-wrap: anywhere; }
.live-mode {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px;
  border: 1px solid rgba(201, 168, 92, .35); border-radius: var(--radius); background: rgba(201, 168, 92, .08);
}
.lm-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.live-mode b { font-family: var(--font-head); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: var(--t); text-align: right; }
.cap { margin: 18px 0 14px; }
.cap-row { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); font-size: 14px; margin-bottom: 8px; }
.cap-row span { display: inline-flex; gap: 8px; align-items: center; }
.cap-row b { font-family: var(--font-head); font-size: 20px; color: var(--text); letter-spacing: .04em; }
.cap-bar { height: 6px; background: rgba(255, 255, 255, .08); border-radius: 3px; overflow: hidden; }
.cap-bar div { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); transition: width .6s ease; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kv > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.kv .ico { grid-row: span 2; align-self: center; color: var(--muted); }
.kv span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.kv b { font-family: var(--font-head); font-size: 18px; letter-spacing: .04em; }
.live-actions { margin-top: 16px; }

/* ---------- strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip > div { padding: 22px 8px; text-align: center; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip b { display: block; font-family: var(--font-head); font-size: 40px; line-height: 1; color: var(--text); }
.strip span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }

/* ---------- map pictures ---------- */
.map-pic { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-2); }
.map-pic.placeholder {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--a), var(--b)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 10px);
  background-blend-mode: overlay;
}
.map-pic.placeholder span { font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 2.2vw, 26px); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .88); text-align: center; padding: 0 10px; }
.map-pic.thumb { width: 120px; flex: none; border-radius: 3px; }
.map-pic.thumb.placeholder span { font-size: 11px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; transition: border-color .2s; }
.feature:hover { border-color: var(--line-2); }
.f-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--accent); background: rgba(222, 155, 53, .1); border: 1px solid rgba(222, 155, 53, .25); }
.f-ico .ico { width: 22px; height: 22px; }
.feature h3 { font-size: 21px; margin: 18px 0 8px; }
.feature p { margin: 0; color: var(--text-2); line-height: 1.6; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-radius: var(--radius); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 6px)); } }
.map-card { position: relative; margin: 0; width: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-family: var(--font-head); font-weight: 700;
  font-size: 17px; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

/* ---------- page heads ---------- */
.page-head { padding: 24px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head h1 { font-size: clamp(44px, 6vw, 76px); line-height: .95; margin: 12px 0 12px; }
.page-head p { font-size: 18px; color: var(--text-2); margin: 0; max-width: 640px; line-height: 1.6; }
.join-cta { margin-top: 24px; }
.lost .btn { margin-top: 24px; }

/* ---------- stats ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 20px; }
.t-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); color: var(--accent); background: rgba(222, 155, 53, .1); border: 1px solid rgba(222, 155, 53, .25); }
.t-ico .ico { width: 22px; height: 22px; }
.tile b { display: block; font-family: var(--font-head); font-size: 36px; line-height: 1; }
.tile span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.board { overflow: hidden; }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(93, 121, 174, .28), rgba(93, 121, 174, .06)); font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.board-head span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sb { width: 100%; border-collapse: collapse; font-size: 15px; }
.sb th { text-align: left; padding: 10px 18px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.sb td { padding: 11px 18px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sb tr:nth-child(odd) td { background: rgba(255, 255, 255, .02); }
.sb td:first-child { color: var(--muted); width: 40px; }
.sb tr:first-child td:nth-child(2) { color: var(--t); font-weight: 700; }
.empty-board { display: grid; justify-items: center; gap: 12px; padding: 48px 20px; color: var(--muted); text-align: center; }
.empty-board .ico { width: 34px; height: 34px; }
.empty-board p { margin: 0; }
.chart-panel { padding: 20px; }
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-wrap .grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.chart-wrap .baseline { stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.chart-wrap .axis { fill: var(--muted); font: 500 11px var(--font-body); }
.chart-wrap .bar { fill: var(--accent); transition: fill .15s; }
.chart-wrap .hit.on .bar { fill: var(--accent-2); }
.chart-wrap .hit.on rect { fill: rgba(255, 255, 255, .04); }
.tip { position: absolute; pointer-events: none; white-space: nowrap; background: #05080c; color: var(--text); font-size: 13px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 3px; }
.table-view { margin-top: 12px; font-size: 14px; }
.table-view summary { color: var(--accent); cursor: pointer; }
.table-view table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.table-view th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
.table-view td { padding: 6px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.top-maps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.top-maps .empty { grid-column: 1 / -1; }
.top-map { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; }
.rank { font-family: var(--font-head); font-weight: 700; font-size: 24px; width: 26px; text-align: center; color: var(--muted); }
.top-map:first-child .rank { color: var(--t); }
.top-info { min-width: 0; flex: 1; display: grid; gap: 4px; }
.top-info b { font-family: var(--font-head); font-size: 19px; text-transform: uppercase; letter-spacing: .06em; }
.top-info span { color: var(--muted); font-size: 13px; }
.meter { height: 4px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.meter div { height: 100%; background: var(--accent); }

/* ---------- join ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px; }
.step-n { position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-weight: 700; font-size: 34px; color: rgba(255, 255, 255, .08); }
.step-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--accent); background: rgba(222, 155, 53, .1); border: 1px solid rgba(222, 155, 53, .25); }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--text-2); line-height: 1.6; }
.join-field { margin-top: 24px; }
.join-field .connect-field { max-width: 560px; }
.cmds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cmd { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.cmd code { align-self: flex-start; font-size: 15px; }
.cmd span { color: var(--text-2); font-size: 15px; }

/* ---------- rules ---------- */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rule { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; }
.rule-n { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--muted); padding-top: 12px; width: 22px; }
.rule-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--radius); color: var(--accent); background: rgba(222, 155, 53, .1); border: 1px solid rgba(222, 155, 53, .25); }
.rule h3 { font-size: 20px; margin: 2px 0 6px; }
.rule p { margin: 0; color: var(--text-2); line-height: 1.6; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { color: var(--accent); transition: transform .2s; display: grid; }
.faq-item[open] .chev { transform: rotate(90deg); }
.faq-item[open] { border-color: var(--line-2); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--text-2); line-height: 1.65; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: rgba(6, 9, 13, .85); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 36px 28px; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; }
.footer-brand p { margin: 6px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.tiny { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 150%); display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px); padding: 12px 18px; background: rgba(14, 19, 27, .96); border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transition: transform .3s ease;
}
.toast.show { transform: translate(-50%, 0); }
.toast .ico { color: var(--accent); }
.toast b { color: var(--accent-2); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .server-pill { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero, .two { grid-template-columns: 1fr; }
  .features, .cmds { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .top-maps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; height: auto; min-height: 60px; padding: 10px 16px; gap: 12px; }
  .burger { display: block; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-self: auto; padding-bottom: 8px; }
  .nav a { padding: 12px 6px; }
  .nav a.active::after { left: 0; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .menu-open .nav { display: flex; }
}
@media (max-width: 640px) {
  main { padding: 28px 16px 72px; }
  .features, .cmds, .rules, .steps, .tiles { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cf-copy span { display: none; }
  .footer-inner { grid-template-columns: 1fr; padding: 28px 16px; }
  .map-card { width: 220px; }
  .kv > div { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
