:root {
  --bg: #0a0c12;
  --panel: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.1);
  --text: #f2f4f8;
  --dim: rgba(255,255,255,0.45);
  --blue: #3d8fff;
  --amber: #ffc71a;
  --green: #4ade80;
  --red: #ff6b82;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
a { color: var(--blue); }

header { text-align: center; padding: 88px 0 56px; }
h1 {
  font-family: var(--mono);
  font-size: clamp(44px, 12vw, 78px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.tagline { font-family: var(--mono); color: var(--dim); font-size: 14px; margin: 0; }

.orb { width: 92px; height: 92px; margin: 0 auto 26px; position: relative; }
.orb::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,143,255,0.55), transparent 68%);
}
.orb::after {
  content: ""; position: absolute; inset: 28px; border-radius: 50%;
  background: linear-gradient(140deg, #8ed0ff, #2a7fe0);
}
.ring {
  position: absolute; inset: 12px; border-radius: 50%;
  border: 2.5px solid rgba(140,200,255,0.9);
  border-right-color: transparent; border-bottom-color: transparent;
  animation: spin 3.4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }

section { padding: 40px 0; border-top: 1px solid var(--border); }
h2 {
  font-family: var(--mono); font-size: 13px; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--dim); margin: 0 0 20px; font-weight: 700;
}
h3 { font-size: 18px; margin: 30px 0 8px; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; }
strong { color: #fff; }

.rules { list-style: none; padding: 0; margin: 0; counter-reset: r; }
.rules li {
  counter-increment: r; position: relative; padding: 14px 0 14px 46px;
  border-bottom: 1px solid var(--border);
}
.rules li:last-child { border-bottom: 0; }
.rules li::before {
  content: counter(r); position: absolute; left: 0; top: 15px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: #000;
  font: 700 12px/26px var(--mono); text-align: center;
}

.decay { width: 100%; border-collapse: collapse; font-size: 14px; }
.decay td { padding: 9px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.decay td:first-child {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px;
  white-space: nowrap; padding-right: 18px; color: var(--amber);
}

#board { font-family: var(--mono); font-size: 14px; }
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 6px; border-radius: 10px;
  background: var(--panel);
}
.rank { width: 26px; text-align: right; color: var(--dim); font-weight: 700; }
.rank.top { color: var(--amber); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.who { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv {
  font-size: 9px; font-weight: 800; color: var(--amber);
  background: rgba(255,199,26,0.15); padding: 2px 5px; border-radius: 99px;
}
.pts { font-weight: 700; }
.muted { color: var(--dim); font-family: var(--mono); font-size: 13px; }

footer {
  padding: 46px 0 64px; text-align: center;
  color: var(--dim); font-family: var(--mono); font-size: 12px;
  border-top: 1px solid var(--border);
}
footer a { color: var(--dim); margin: 0 10px; }
