@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,700;1,800;1,900&family=Barlow:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --bg: #080f20;
  --bg-2: #0c1629;
  --panel: #101c32;
  --line: #28344b;
  --line-2: #344561;
  --text: #f6f8fc;
  --muted: #a5b2c8;
  --blue: #199bff;
  --blue-deep: #10203a;
  --green: #3ddc84;
  --red: #ff2346;
  --red-hover: #e91436;
  --r: 14px;
  --r-lg: 22px;
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Barlow, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.label { font: 600 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label b { color: var(--blue); font-weight: 600; }

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 15, 32, .9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.wordmark { display: block; flex: none; }
.wordmark img { height: 30px; width: auto; }
footer .wordmark img { height: 26px; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a {
  font: 700 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--blue); }
.top-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  font: 800 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  background: var(--red); color: #fff; border: 1px solid var(--red); cursor: pointer; border-radius: var(--r);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--bg); border-color: #fff; }
.btn.light:hover { background: #dfe8f6; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--blue); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(25, 155, 255, .18), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700' viewBox='0 0 1200 700' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='2'%3E%3Crect x='40' y='40' width='1120' height='620'/%3E%3Cline x1='600' y1='40' x2='600' y2='660'/%3E%3Ccircle cx='600' cy='350' r='92'/%3E%3Crect x='40' y='190' width='170' height='320'/%3E%3Crect x='990' y='190' width='170' height='320'/%3E%3Crect x='40' y='275' width='60' height='150'/%3E%3Crect x='1100' y='275' width='60' height='150'/%3E%3C/svg%3E") center / cover no-repeat;
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px;
  align-items: center; padding: 88px 0 72px;
}
.hero h1 {
  margin: 18px 0 0;
  font: italic 900 clamp(64px, 9vw, 132px)/.86 var(--display);
  letter-spacing: -2px; text-transform: uppercase;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-copy p.lead { max-width: 520px; margin: 26px 0 0; color: #c7d2e5; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cta .btn { min-height: 54px; padding: 0 28px; font-size: 17px; }

.ticker {
  display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-left: 14px;
  border-left: 3px solid var(--red); border-radius: 2px; min-height: 40px;
}
.ticker .tag { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--green); }
.ticker .tag.idle { color: var(--muted); }
.ticker-text { font: 700 17px/1.2 var(--display); letter-spacing: .03em; }
.ticker-text small { display: block; font: 500 12px var(--mono); color: var(--muted); letter-spacing: .04em; }

/* status card */
.status { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.status-head {
  position: relative; padding: 24px 26px 22px; background: #1478d4;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px);
}
.status-head .label { color: rgba(255,255,255,.75); }
.status-state { margin: 10px 0 6px; font: italic 900 42px/.95 var(--display); text-transform: uppercase; }
.status-state span { color: #b9ffd6; }
.status-state.down span { color: #ffb3c0; }
.status-meta { display: flex; align-items: center; gap: 8px; font: 500 12px var(--mono); color: rgba(255,255,255,.8); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,132,.18); flex: none; }
.dot.down { background: var(--red); box-shadow: 0 0 0 4px rgba(255,61,95,.18); }
.status-rows { list-style: none; margin: 0; padding: 0; }
.status-rows li {
  display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 14px;
  padding: 15px 26px; border-top: 1px solid var(--line);
}
.status-rows li:first-child { background: #fff; color: var(--bg); border-top: 0; }
.status-rows li:first-child small { color: #55617a; }
.status-rows li:first-child .chip { border-color: var(--bg); color: var(--bg); }
.status-rows strong { font: italic 900 40px/1 var(--display); }
.status-rows b { display: block; font: 700 16px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.status-rows small { color: var(--muted); font-size: 13px; }
.chip { font: 600 10px var(--mono); letter-spacing: .14em; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.status-foot { display: flex; justify-content: space-between; padding: 13px 26px; border-top: 1px solid var(--line); }
.status-foot a { font: 600 11px var(--mono); letter-spacing: .12em; color: var(--blue); }

/* sections */
section.block { padding: 110px 0; border-bottom: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
h2 { margin: 12px 0 0; font: italic 900 clamp(46px, 6vw, 82px)/.9 var(--display); letter-spacing: -1px; text-transform: uppercase; }
h2 em { color: var(--blue); font-style: italic; }
.head p { max-width: 380px; margin: 0; color: var(--muted); }
.link-arrow { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.link-arrow:hover { color: var(--text); }

/* league table (home preview + /table/) */
.table-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px 22px 4px; }
.league { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.league tbody tr:last-child td { border-bottom: 0; }
.league th {
  font: 600 11px var(--mono); letter-spacing: .14em; color: var(--muted); text-align: center;
  padding: 14px 10px; border-bottom: 1px solid var(--line-2);
}
.league th.pl { text-align: left; }
.league td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 600; }
.league td.pl { text-align: left; }
.league td.pts { font: italic 900 24px/1 var(--display); color: var(--text); }
.league td.rank { width: 52px; font: italic 900 24px/1 var(--display); color: var(--muted); }
.league tr:nth-child(1) td.rank { color: var(--red); }
.league tbody tr:hover td { background: rgba(25, 155, 255, .05); }
.league .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.league .who img, .league .who .ini {
  width: 38px; height: 38px; flex: none; border-radius: 11px; object-fit: cover; background: var(--line);
}
.league .who .ini { display: grid; place-items: center; font: 800 18px var(--display); color: var(--muted); }
.league .who b { display: block; font: 700 18px/1.15 var(--display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.league .who small { display: block; font: 500 12px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.league .gd-pos { color: var(--green); }
.league .gd-neg { color: var(--red); }
.league td.empty-note { padding: 30px 0; color: var(--muted); text-align: left; font-weight: 500; }

/* modes list */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mode-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mode-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
}
.mode-list h3 { margin: 0; font: italic 800 30px/1 var(--display); text-transform: uppercase; }
.mode-list p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.state { font: 600 10px var(--mono); letter-spacing: .14em; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.state.live { color: var(--green); border: 1px solid rgba(61,220,132,.4); }
.state.test { color: #ffc65c; border: 1px solid rgba(255,198,92,.4); }
.state.soon { color: var(--red); border: 1px solid rgba(255,35,70,.45); }
.mark { display: grid; place-items: center; }
.mark img { width: min(100%, 440px); height: auto; filter: drop-shadow(0 30px 60px rgba(25, 155, 255, .18)); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.steps .n { font: italic 900 56px/1 var(--display); color: var(--blue); }
.steps h3 { margin: 16px 0 8px; font: 800 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.steps p { margin: 0; color: var(--muted); }

/* download + support */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.card { border: 1px solid var(--line-2); background: var(--panel); padding: 34px; border-radius: var(--r-lg); }
#download .card:first-child { background: var(--blue-deep); }
.card h3 { margin: 10px 0 10px; font: italic 900 46px/.95 var(--display); text-transform: uppercase; }
.card p { color: var(--muted); }
.card .fine { font: 500 12px var(--mono); color: var(--muted); margin: 18px 0 0; }
.support-links { display: grid; gap: 12px; margin-top: 20px; }
.support-links a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 20px;
  border: 1px solid var(--line-2); border-radius: var(--r); font: 800 22px/1 var(--display); text-transform: uppercase;
}
.support-links a > span:last-child { color: var(--red); }
.support-links a small { display: block; font: 600 10px var(--mono); letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.support-links a:hover { border-color: var(--blue); }

footer { padding: 48px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer p { margin: 0; color: var(--muted); font-size: 14px; }

/* table page */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head h1 { margin: 14px 0 0; font: italic 900 clamp(64px, 9vw, 124px)/.86 var(--display); letter-spacing: -2px; text-transform: uppercase; }
.page-head h1 em { color: var(--blue); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 28px 0; }
.switch { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.switch button {
  min-height: 36px; padding: 0 18px; background: none; border: 0; border-radius: 10px; color: var(--muted); cursor: pointer;
  font: 800 15px var(--display); letter-spacing: .08em; text-transform: uppercase;
}
.switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.search { flex: 1 1 220px; max-width: 320px; min-height: 46px; padding: 0 16px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); }
.toolbar .label { margin-left: auto; }
.notice { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid #ffc65c; border-radius: 10px; background: rgba(255,198,92,.06); color: #e7d3a8; font-size: 14px; }

@media (max-width: 1000px) {
  .hero .wrap, .modes, .split { grid-template-columns: 1fr; }
  .hero .wrap { padding: 60px 0; gap: 44px; }
  .mark { display: none; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px 18px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 20px; margin: 0; padding-bottom: 4px; }
  .top-actions { margin-left: auto; }
  .top-actions .ghost { display: none; }
  section.block { padding: 72px 0; }
  .head { flex-direction: column; align-items: start; }
  .league .hide-sm { display: none; }
  .league { table-layout: fixed; }
  .league th { width: 30px; }
  .league th:first-child { width: 34px; }
  .league th.pl { width: auto; }
  .league th:last-child { width: 42px; }
  .league .who img, .league .who .ini { width: 30px; height: 30px; }
  .league td, .league th { padding-inline: 6px; }
  .status-state { font-size: 34px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .status-rows li { grid-template-columns: 58px 1fr auto; padding: 14px 18px; }
  .status-head, .status-foot { padding-inline: 18px; }
  .card { padding: 24px; }
  .table-panel { padding: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
