:root {
  color-scheme: dark;
  --bg: #0a0a0b; --raise: #131315; --line: #232327; --ink: #f4f4f5; --muted: #a1a1aa; --faint: #71717a;
  --fire: #f59e0b; --fire-deep: #ea580c; --live: #39e75f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
.preview { background: var(--fire); color: #111; text-align: center; padding: 8px 16px; font-size: .85rem; }
.preview a { font-weight: 600; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  height: 62px; padding: 0 max(16px, calc((100vw - 1120px) / 2 + 16px));
  background: rgba(10, 10, 11, .6); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.links { display: flex; align-items: center; gap: 22px; font-size: .92rem; }
.links a { text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--ink); }
.links .pill-button { color: #111; background: var(--ink); padding: 7px 14px; border-radius: 99px; font-weight: 600; }

.hero { position: relative; display: flex; align-items: center; min-height: min(78vh, 640px); margin-top: -62px;
  padding: 120px max(16px, calc((100vw - 1120px) / 2 + 16px)) 72px;
  background: linear-gradient(90deg, rgba(10, 10, 11, .94) 0%, rgba(10, 10, 11, .7) 38%, rgba(10, 10, 11, .1) 75%),
              url(/static/site/banner.jpg) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.intro { position: relative; z-index: 1; max-width: 600px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 12px; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(10, 10, 11, .55); backdrop-filter: blur(6px);
  color: #d4d4d8; font-size: .85rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--live); box-shadow: 0 0 0 4px rgba(57, 231, 95, .15); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; margin: 0; font-weight: 800;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.lead { font-size: 1.15rem; color: #d4d4d8; max-width: 520px; margin: 20px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; gap: 8px; align-items: center; padding: 13px 22px; border-radius: 10px; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(255, 255, 255, .18); color: var(--ink); background: rgba(10, 10, 11, .35);
  transition: border-color .15s, transform .15s; }
.button:hover { border-color: rgba(255, 255, 255, .4); transform: translateY(-1px); }
.button.primary { border: 0; color: #160b00; background: linear-gradient(135deg, var(--fire), var(--fire-deep));
  box-shadow: 0 10px 30px -10px rgba(234, 88, 12, .6); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0 0; }
section + section { border-top: 1px solid var(--line); margin-top: 64px; }
.heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.heading h2, .cta h2 { font-size: 1.9rem; letter-spacing: -.02em; margin: 0; }
.heading p { margin: 0; color: var(--faint); font-size: .9rem; }
.game h3 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--fire); }
.game + .game { margin-top: 28px; }
.servers { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.servers li { display: grid; grid-template-columns: minmax(0, 1.2fr) 110px minmax(0, 1.4fr); gap: 20px; align-items: center;
  padding: 18px 20px; background: var(--raise); }
.servers li + li { border-top: 1px solid var(--line); }
.name { display: flex; gap: 12px; align-items: center; min-width: 0; }
.name b { display: block; font-size: 1.02rem; }
.name small, .count small { color: var(--faint); font-size: .82rem; }
.count b { font-size: 1.5rem; font-variant-numeric: tabular-nums; margin-right: 6px; }
.join { margin: 0; color: var(--muted); font-size: .9rem; }
.about .text { max-width: 680px; }
.about p { color: #d4d4d8; font-size: 1.05rem; margin: 0 0 14px; }
.cta { text-align: center; margin-top: 72px; padding: 56px 16px; border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(ellipse at top, rgba(245, 158, 11, .14), transparent 70%), var(--raise); }
.cta p { color: var(--muted); margin: 10px 0 26px; }
footer { max-width: 1120px; margin: 72px auto 0; padding: 24px 16px 40px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: .8rem; }

@media (max-width: 820px) {
  .hero { min-height: 680px; padding-top: 260px; align-items: flex-end; background-position: 64% 35%;
    background-image: linear-gradient(180deg, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, .35) 35%, rgba(10, 10, 11, .96) 75%),
                      url(/static/site/banner.jpg); }
  .links a:not(.pill-button) { display: none; }
  .servers li { grid-template-columns: minmax(0, 1fr) auto; }
  .join { grid-column: 1 / -1; }
}
