:root {
  color-scheme: dark;
  --bg: #080b12;
  --surface: #10151f;
  --surface-2: #151c28;
  --line: rgba(255, 255, 255, 0.11);
  --muted: #8e99aa;
  --text: #f4f7fb;
  --cyan: #4de5da;
  --cyan-soft: rgba(77, 229, 218, 0.14);
  --purple: #a68cff;
  --pink: #f091d3;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; width: 480px; height: 480px; filter: blur(130px); opacity: .13; border-radius: 50%; pointer-events: none; }
.ambient-one { top: -180px; right: -120px; background: var(--purple); }
.ambient-two { top: 540px; left: -260px; background: var(--cyan); }

.site-header {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 48px), var(--max));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.brand b { color: var(--cyan); font-weight: 800; }
.brand-mark { position: relative; display: inline-flex; align-items: end; gap: 2px; width: 25px; height: 25px; padding: 5px; transform: skew(-9deg); background: var(--cyan); }
.brand-mark i { display: block; width: 3px; background: var(--bg); }
.brand-mark i:nth-child(1) { height: 7px; }.brand-mark i:nth-child(2) { height: 13px; }.brand-mark i:nth-child(3) { height: 10px; }
nav { display: flex; gap: 34px; color: #bac2cf; font-size: 13px; font-weight: 650; }
nav a { transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--cyan); }
.server-state { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
.state-dot, .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f1bb63; box-shadow: 0 0 0 5px rgba(241,187,99,.09); }
.server-state.online .state-dot, .live-dot { background: var(--cyan); box-shadow: 0 0 0 5px rgba(77,229,218,.09), 0 0 15px rgba(77,229,218,.6); }
.server-state.online { color: #c6fff9; }
.server-state.offline .state-dot { background: #ff6f7d; box-shadow: 0 0 0 5px rgba(255,111,125,.09); }

.hero { min-height: 650px; padding: 82px 0 94px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 20px; color: #717d8f; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow span { color: var(--cyan); }
.hero h1, .section-heading h2, .why-card h2 { margin: 0; letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 700px; font-size: clamp(56px, 6.5vw, 90px); font-weight: 820; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px var(--cyan); text-shadow: 0 0 28px rgba(77,229,218,.14); }
.hero-text { max-width: 600px; margin: 30px 0 0; color: #aab4c4; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; min-height: 50px; padding: 0 22px; align-items: center; justify-content: center; gap: 28px; border: 1px solid var(--line); font-size: 13px; font-weight: 750; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #061311; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 10px 35px rgba(77,229,218,.16); }
.button-primary:hover { background: #74f4eb; }
.button-ghost:hover { border-color: rgba(77,229,218,.5); background: var(--cyan-soft); }
.compatibility { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: #7d899b; font-size: 12px; }
.compatibility span { color: var(--cyan); }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 10% 8%; background: radial-gradient(circle, rgba(77,229,218,.14), transparent 64%); filter: blur(10px); }
.score-orbit { position: absolute; border: 1px solid rgba(77,229,218,.16); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; animation: spin 28s linear infinite; }
.orbit-one::after, .orbit-two::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.orbit-one::after { top: 39px; right: 65px; }
.orbit-two { width: 300px; height: 300px; border-style: dashed; border-color: rgba(166,140,255,.2); animation: spin 20s linear reverse infinite; }
.orbit-two::after { bottom: 18px; left: 84px; background: var(--purple); box-shadow: 0 0 18px var(--purple); }
@keyframes spin { to { transform: rotate(360deg); } }
.rank-card { position: relative; z-index: 2; border: 1px solid rgba(255,255,255,.13); background: linear-gradient(145deg, rgba(21,29,42,.96), rgba(10,14,23,.9)); box-shadow: 0 30px 80px rgba(0,0,0,.35); backdrop-filter: blur(16px); }
.rank-card-main { width: 290px; min-height: 310px; padding: 24px; transform: rotate(-3deg); }
.rank-card-main::after { content: ""; position: absolute; inset: 6px; pointer-events: none; border: 1px solid rgba(255,255,255,.035); }
.rank-card-top { display: flex; justify-content: space-between; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.signal-bars { display: flex; align-items: end; gap: 2px; height: 12px; }
.signal-bars i { width: 2px; background: var(--cyan); }.signal-bars i:nth-child(1){height:3px}.signal-bars i:nth-child(2){height:6px}.signal-bars i:nth-child(3){height:9px}.signal-bars i:nth-child(4){height:12px}
.big-rank { margin-top: 38px; font-size: 68px; line-height: 1; font-weight: 850; letter-spacing: -.08em; }
.big-rank span { color: var(--cyan); }
.rank-card-main > p { margin: 7px 0 34px; color: var(--muted); font-size: 12px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 18px; }
.mini-stats div { display: grid; gap: 3px; }.mini-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.mini-stats strong { font-size: 20px; }.mini-stats span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.floating-tag { position: absolute; z-index: 3; border: 1px solid var(--line); background: rgba(10,14,22,.92); backdrop-filter: blur(12px); box-shadow: 0 16px 35px rgba(0,0,0,.32); }
.tag-score { top: 20px; right: -4px; min-width: 150px; padding: 15px 18px; transform: rotate(4deg); }
.tag-score span { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .14em; }.tag-score strong { display: block; margin-top: 4px; color: var(--pink); font-size: 21px; }
.tag-secure { bottom: 46px; left: 4px; padding: 12px 16px; color: #aab4c4; font-size: 10px; font-weight: 800; letter-spacing: .09em; transform: rotate(2deg); }
.lock-dot { margin-right: 6px; color: var(--purple); }

.ticker { overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(77,229,218,.2); color: #9aa6b8; background: rgba(77,229,218,.035); transform: rotate(-1deg) scale(1.01); }
.ticker div { width: max-content; display: flex; gap: 28px; align-items: center; animation: marquee 28s linear infinite; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.ticker i { color: var(--cyan); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.leaderboard-section, .about-section { padding-top: 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(48px, 6vw, 72px); }
.section-heading > div > p:last-child { margin: 16px 0 0; color: var(--muted); }
.board-controls { display: grid; grid-template-columns: 1fr auto; gap: 8px; width: min(100%, 320px); }
.board-controls label { grid-column: 1/-1; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.select-wrap { position: relative; }
.select-wrap::after { content: "⌄"; position: absolute; top: 50%; right: 15px; pointer-events: none; color: var(--cyan); transform: translateY(-55%); }
select { width: 100%; height: 44px; padding: 0 42px 0 14px; color: var(--text); border: 1px solid var(--line); border-radius: 0; outline: none; appearance: none; background: var(--surface); }
select:focus { border-color: var(--cyan); } select:disabled { color: var(--muted); }
.refresh-button { width: 44px; height: 44px; color: var(--cyan); border: 1px solid var(--line); cursor: pointer; background: var(--surface); font-size: 19px; transition: background .2s, transform .2s; }
.refresh-button:hover { background: var(--cyan-soft); transform: rotate(20deg); }
.refresh-button.loading { animation: spin .8s linear infinite; }
.board-card { overflow: hidden; border: 1px solid var(--line); background: rgba(13,18,28,.86); box-shadow: 0 35px 100px rgba(0,0,0,.24); }
.board-meta { min-height: 55px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.board-meta > span:last-child { display: inline-flex; gap: 10px; align-items: center; }
.table-wrap { position: relative; min-height: 310px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { height: 48px; padding: 0 24px; color: #657084; background: rgba(255,255,255,.015); text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
td { height: 70px; padding: 0 24px; border-top: 1px solid rgba(255,255,255,.065); color: #bac4d2; font-size: 13px; }
td:first-child { width: 100px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 800; }
tr:nth-child(1) td:first-child { color: var(--cyan); font-size: 20px; }
.player-cell { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 720; }
.player-avatar { width: 33px; height: 33px; display: grid; place-items: center; color: #071311; background: var(--cyan); font-size: 12px; font-weight: 850; transform: skew(-6deg); }
.score-cell { color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 16px; font-weight: 800; }
.empty-state, .loading-state { position: absolute; inset: 48px 0 0; display: grid; place-content: center; justify-items: center; padding: 45px 24px; text-align: center; }
.empty-state[hidden], .loading-state[hidden] { display: none; }
.empty-icon { width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid rgba(77,229,218,.22); border-radius: 50%; background: var(--cyan-soft); box-shadow: inset 0 0 28px rgba(77,229,218,.08); }
.empty-icon span { color: var(--cyan); font-family: ui-monospace, monospace; font-weight: 850; }
.empty-state h3 { margin: 18px 0 8px; font-size: 18px; }.empty-state p { max-width: 440px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.loading-state { gap: 7px; grid-template-columns: repeat(3, 8px); }.loading-state span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 1s ease-in-out infinite; }.loading-state span:nth-child(2){animation-delay:.15s}.loading-state span:nth-child(3){animation-delay:.3s}.loading-state p { grid-column: 1/-1; color: var(--muted); font-size: 12px; }
@keyframes pulse { 50% { opacity: .2; transform: translateY(-5px); } }
.board-note { padding: 16px 20px; display: flex; gap: 14px; border-top: 1px solid var(--line); color: #738095; background: rgba(255,255,255,.015); font-size: 11px; line-height: 1.55; }
.board-note > span { flex: none; color: var(--purple); font-size: 9px; font-weight: 850; letter-spacing: .11em; }

.section-heading.compact { align-items: start; }.section-heading.compact h2 { font-size: clamp(42px, 5vw, 64px); }
.section-intro { max-width: 430px; color: var(--muted); line-height: 1.7; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.step-card { position: relative; min-height: 300px; padding: 32px; background: rgba(13,18,28,.7); }
.step-card + .step-card { border-left: 1px solid var(--line); }
.step-card.featured { background: linear-gradient(155deg, rgba(77,229,218,.12), rgba(13,18,28,.75) 58%); }
.step-number { position: absolute; top: 26px; right: 28px; color: #535f72; font-family: ui-monospace, monospace; font-size: 11px; }
.step-symbol { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cyan); border: 1px solid rgba(77,229,218,.26); background: var(--cyan-soft); font-size: 24px; }
.step-card h3 { margin: 56px 0 14px; font-size: 20px; }.step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }.step-card code { color: #c2b3ff; font-size: 11px; }

.why-section { padding-top: 130px; }
.why-card { position: relative; min-height: 420px; padding: 75px 90px 70px 31%; overflow: hidden; display: grid; align-items: center; border: 1px solid rgba(166,140,255,.22); background: linear-gradient(115deg, rgba(166,140,255,.16), rgba(13,18,28,.92) 47%, rgba(77,229,218,.06)); }
.why-card::before { content: ""; position: absolute; inset: 0; opacity: .3; background: repeating-linear-gradient(105deg, transparent 0 44px, rgba(255,255,255,.025) 45px 46px); }
.why-index { position: absolute; left: 7%; top: 50%; color: transparent; font-size: 300px; font-weight: 900; line-height: .8; transform: translateY(-50%); -webkit-text-stroke: 1px rgba(166,140,255,.45); }
.why-card > div:nth-child(2) { position: relative; z-index: 1; }
.why-card h2 { font-size: clamp(52px, 6vw, 74px); }
.why-quote { max-width: 720px; margin: 27px 0 17px; color: #e9e8f3; font-size: clamp(20px, 2.4vw, 30px); font-weight: 650; line-height: 1.45; letter-spacing: -.025em; }
.why-details { max-width: 700px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.why-stamp { position: absolute; right: 24px; bottom: 24px; width: 74px; height: 74px; display: grid; place-items: center; color: rgba(77,229,218,.65); border: 1px solid rgba(77,229,218,.25); border-radius: 50%; text-align: center; font-size: 8px; font-weight: 800; line-height: 1.45; letter-spacing: .12em; transform: rotate(9deg); }

.status-strip { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.status-strip > div { min-height: 88px; padding: 20px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: center; background: rgba(13,18,28,.65); }
.status-strip > div + div { border-left: 1px solid var(--line); }.status-strip .live-dot { grid-row: 1/3; align-self: center; }.status-strip strong { font-size: 12px; }.status-strip small { grid-column: 2; margin-top: 4px; color: var(--muted); font-size: 10px; }
footer { width: min(calc(100% - 48px), var(--max)); min-height: 150px; margin: 60px auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
footer > p { text-align: center; } footer > a:last-child { justify-self: end; color: #bcc5d2; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; } nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; gap: 25px; }
  .hero-copy { position: relative; z-index: 3; }.hero-visual { min-height: 400px; }
  .section-heading { align-items: start; flex-direction: column; }.board-controls { width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }.step-card { min-height: 250px; }.step-card + .step-card { border-left: 0; border-top: 1px solid var(--line); }
  .why-card { padding: 65px 50px 70px 32%; }.why-index { left: 2%; font-size: 260px; }
}

@media (max-width: 620px) {
  .section-shell, .site-header, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 70px; }.server-state span:last-child { display: none; }
  .hero { min-height: auto; padding: 60px 0 70px; }.hero h1 { font-size: clamp(44px, 14vw, 64px); }.hero-text { font-size: 15px; }.hero-actions { align-items: stretch; flex-direction: column; }.button { width: 100%; }
  .hero-visual { min-height: 350px; transform: scale(.88); margin-inline: -25px; }.rank-card-main { width: 270px; }.orbit-one { width: 340px; height: 340px; }.orbit-two { width: 270px; height: 270px; }.tag-score { right: 0; }.tag-secure { left: 0; bottom: 22px; }
  .leaderboard-section, .about-section, .why-section { padding-top: 90px; }.section-heading h2 { font-size: 48px; }
  .board-meta { align-items: start; flex-direction: column; justify-content: center; gap: 7px; }.board-note { flex-direction: column; }
  th, td { padding-inline: 16px; white-space: nowrap; } th:nth-child(4), td:nth-child(4) { display: none; }
  .why-card { min-height: 500px; padding: 60px 26px 55px; align-items: end; }.why-index { top: 20px; left: auto; right: 20px; font-size: 180px; transform: none; opacity: .45; }.why-quote { font-size: 22px; }.why-details { font-size: 12px; }.why-stamp { display: none; }
  .status-strip { grid-template-columns: 1fr; }.status-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  footer { min-height: 220px; padding: 45px 0; grid-template-columns: 1fr; gap: 25px; justify-items: start; }footer > p { text-align: left; }footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
