@font-face {
    font-family: "Crash A Like";
    src: url("fonts/crash-a-like.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    color-scheme: dark;
    --ink: #fff7df; --muted: #b7bec7; --panel: rgba(13, 18, 28, .95);
    --orange: #ff8a12; --orange-hot: #ff4a19; --yellow: #ffe044;
    --green: #6dea32; --cyan: #72e8dc; --blue: #2487ff; --purple: #a94eff;
    --red: #f13b2b; --line: rgba(114, 232, 220, .56);
    --font-ui: "Trebuchet MS", Arial, sans-serif;
    --font-display: "Crash A Like", "Trebuchet MS", sans-serif;
    --font-label: "Trebuchet MS", Arial, sans-serif;
    font-family: var(--font-ui); background: #080a10; color: var(--ink);
}
* { box-sizing: border-box; }
html { min-width: 300px; }
body {
    margin: 0; min-height: 100vh; position: relative;
    background:
        radial-gradient(circle at 12% 12%, rgba(36, 135, 255, .18), transparent 31%),
        radial-gradient(circle at 88% 22%, rgba(169, 78, 255, .14), transparent 30%),
        linear-gradient(rgba(5, 8, 14, .70), rgba(5, 8, 14, .94)),
        conic-gradient(from 90deg at 1px 1px, #293038 25%, #111720 0 50%, #293038 0 75%, #111720 0) 0 0 / 92px 92px;
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .1; background: repeating-linear-gradient(0deg, transparent 0 3px, #000 4px); }
a { color: var(--cyan); }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
header { border-bottom: 3px solid var(--orange); background: linear-gradient(90deg, rgba(7, 14, 27, .97), rgba(15, 9, 25, .97)); box-shadow: 0 6px 0 rgba(0, 0, 0, .52), 0 8px 0 rgba(255, 74, 25, .2); position: relative; z-index: 20; }
header::after { content: ""; position: absolute; inset: auto 0 -3px; height: 3px; background: linear-gradient(90deg, var(--orange), var(--yellow) 27%, var(--green) 51%, var(--blue) 76%, var(--purple)); }
nav { min-height: 72px; display: flex; align-items: center; gap: 20px; }
nav .brand { margin-right: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--orange); text-decoration: none; }
nav .brand .brand-ctr { padding: 4px 7px 3px; color: #151009; font: 900 .65rem/1 var(--font-label); letter-spacing: .08em; background: linear-gradient(135deg, #fff074, var(--orange)); box-shadow: 2px 2px 0 #5a1908; -webkit-text-fill-color: currentColor; }
nav .brand .brand-name { color: #ffb62d; font: 400 1.35rem/.8 var(--font-display); letter-spacing: .025em; text-shadow: 2px 2px 0 #5d1b08, 3px 3px 0 #050708; }
nav a { text-decoration: none; font: 900 .84rem/1 var(--font-label); letter-spacing: .045em; text-transform: uppercase; }
nav > a:not(.brand):hover { color: white; }
main { padding-block: 46px 82px; min-height: calc(100vh - 150px); }
.hero { max-width: 820px; padding: clamp(62px, 8vw, 92px) 0 clamp(70px, 9vw, 105px); position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; left: -12%; top: 12%; width: 72%; height: 72%; border-radius: 50%; background: radial-gradient(circle, rgba(36, 135, 255, .13), transparent 68%); filter: blur(12px); }
.hero::after { content: none; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0 0 20px; width: fit-content; color: #ffb62d; font: 400 clamp(3.25rem, 8vw, 6.15rem)/.82 var(--font-display); letter-spacing: .018em; text-transform: uppercase; text-shadow: 2px 3px 0 #7a2808, 4px 5px 0 #050708; }
h2, h3 { font-family: var(--font-label); }
h2 { margin: 0 0 10px; color: var(--yellow); font-weight: 900; text-transform: uppercase; letter-spacing: .055em; text-shadow: 1px 2px 0 #56200b; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 15px; color: var(--cyan); font: 900 .74rem/1.3 var(--font-label); letter-spacing: .13em; }
.hero-summary { max-width: 690px; margin: 0 0 6px; color: #d5dce5; font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.65; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card { padding: 23px; border: 2px solid var(--line); border-radius: 3px; background: linear-gradient(145deg, rgba(38, 48, 61, .95), var(--panel) 64%); box-shadow: 8px 8px 0 rgba(0, 0, 0, .52), inset 0 0 0 1px rgba(255, 255, 255, .05), inset 4px 0 0 rgba(36, 135, 255, .12); clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px)); }
.grid .card:nth-child(3n + 1) { border-top-color: var(--orange); }
.grid .card:nth-child(3n + 2) { border-top-color: var(--green); }
.grid .card:nth-child(3n + 3) { border-top-color: var(--purple); }
.stat { color: var(--green); font: 900 2.5rem/1 "Courier New", monospace; text-shadow: 2px 2px #143d14; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.callout h2, .callout p { margin-bottom: 0; }
.form { max-width: 560px; }
label { display: block; margin: 16px 0 7px; font-weight: 900; color: #dde5e7; }
input, select { width: 100%; min-height: 44px; padding: 10px 13px; border: 2px solid #52636a; border-radius: 2px; background: #080d10; color: white; font: 800 1rem var(--font-ui); outline: none; }
input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(114, 232, 220, .13); }
input[type=checkbox] { width: auto; min-height: auto; }
button, .button { display: inline-block; margin-top: 18px; padding: 11px 18px; border: 2px solid #ffcf3e; border-radius: 2px; background: linear-gradient(180deg, #ffd844 0 10%, #ff9c1b 46%, #ed4917 100%); color: #160b05; font: 900 .84rem/1.15 var(--font-label); letter-spacing: .045em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 #541708; text-shadow: 0 1px rgba(255, 255, 255, .28); }
button:hover, .button:hover { filter: brightness(1.12); transform: translate(-1px, -1px); }
.button.secondary, button.secondary { border-color: #697b8d; background: linear-gradient(#34465a, #1b2735); color: var(--ink); box-shadow: 4px 4px #080b0d; text-shadow: 2px 2px #080b0d; }
.hero .button + .button { margin-left: 10px; }
.inline { display: inline; }
.inline button { margin: 0; padding: 7px 11px; box-shadow: 2px 2px #080b0d; }
.errors, .status { padding: 13px 16px; margin-bottom: 22px; border: 2px solid; border-radius: 2px; font-weight: 800; }
.errors { border-color: #ff6767; background: #401b22; }
.status { border-color: var(--green); background: #16351e; }
.row { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #45545a; }
.row:last-child { border: 0; }
.row .muted { display: block; margin-top: 4px; }
.code { font: 900 2rem "Courier New", monospace; letter-spacing: .12em; color: var(--green); }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.page-heading h1 { margin-bottom: 8px; }
.page-heading p:last-child { margin-bottom: 0; }
.scope-tabs { display: flex; flex: 0 0 auto; gap: 7px; padding: 5px; border: 2px solid #45555b; background: #0a1013; }
.scope-tabs a { padding: 10px 18px; color: var(--muted); font: 900 .78rem/1 var(--font-label); letter-spacing: .045em; text-decoration: none; text-transform: uppercase; }
.scope-tabs a.active { color: #101508; background: linear-gradient(#8af34d, #47c62d); box-shadow: 3px 3px 0 #1b551a; }
.leaderboard-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 14px; align-items: end; margin-bottom: 24px; }
.leaderboard-filters label { margin: 0; }
.leaderboard-filters label span { display: block; margin-bottom: 7px; color: var(--muted); font: 900 .72rem "Courier New", monospace; letter-spacing: .1em; text-transform: uppercase; }
.leaderboard-filters button { margin: 0 0 4px; white-space: nowrap; }
.leaderboard-shell { padding: 0; overflow: hidden; clip-path: none; }
.board-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 23px; border-bottom: 2px solid var(--orange); background: linear-gradient(90deg, rgba(255, 74, 25, .12), rgba(36, 135, 255, .08), rgba(169, 78, 255, .10)); }
.board-title h2, .board-title p { margin-bottom: 0; }
.board-metric { padding: 7px 10px; background: linear-gradient(90deg, var(--yellow), var(--orange)); color: #160c04; font: 900 .7rem var(--font-label); letter-spacing: .04em; box-shadow: 3px 3px 0 #4f1909; }
.leaderboard-table-wrap { width: 100%; overflow-x: auto; }
.leaderboard-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.leaderboard-table th { padding: 12px 15px; color: var(--muted); background: rgba(0, 0, 0, .34); text-align: left; font: 900 .72rem "Courier New", monospace; letter-spacing: .09em; text-transform: uppercase; }
.leaderboard-table td { padding: 14px 15px; border-top: 1px solid #344249; font-weight: 800; }
.leaderboard-table tbody tr:hover { background: linear-gradient(90deg, rgba(255, 138, 18, .10), rgba(36, 135, 255, .07)); }
.leaderboard-table small { display: block; margin-top: 3px; color: var(--muted); font-weight: 600; }
.rank-badge { display: inline-grid; place-items: center; width: 34px; height: 30px; border: 2px solid #5a686e; background: #0b1114; font: 900 1rem "Courier New", monospace; transform: skew(-6deg); }
.rank-1 .rank-badge { border-color: #ffe058; color: #ffe058; }
.rank-2 .rank-badge { border-color: #d9e0e5; color: #d9e0e5; }
.rank-3 .rank-badge { border-color: #d78038; color: #e58c42; }
.time-cell { color: var(--yellow); font: 900 1.1rem "Courier New", monospace; white-space: nowrap; }
.run-date { display: block; margin-top: 4px; color: var(--muted); font: 800 .68rem var(--font-label); letter-spacing: .035em; text-transform: uppercase; }
.ghost-link { padding: 6px 9px; border: 1px solid var(--cyan); color: var(--cyan); text-decoration: none; text-transform: uppercase; font-size: .75rem; }
.ghost-link:hover { color: #08100f; background: var(--cyan); }
.empty-state { padding: 55px 24px; text-align: center; }
.empty-state strong { color: var(--yellow); font-size: 1.25rem; text-transform: uppercase; }
footer { padding: 28px 0; border-top: 2px solid #354248; color: #849399; background: rgba(4, 7, 9, .9); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; }
footer strong { color: var(--orange); font-family: "Courier New", monospace; }
@media (max-width: 1050px) { nav { gap: 14px; } nav .brand { gap: 7px; } nav .brand .brand-name { font-size: 1.12rem; } nav a { font-size: .75rem; } nav .inline button { padding-inline: 10px; } }
@media (max-width: 800px) { .leaderboard-filters { grid-template-columns: 1fr 1fr; } .leaderboard-filters label:first-child { grid-column: 1 / -1; } .page-heading { align-items: flex-start; flex-direction: column; } .callout { align-items: flex-start; flex-direction: column; } }
@media (max-width: 650px) { .wrap { width: min(100% - 22px, 1120px); } nav { flex-wrap: wrap; padding-block: 14px; gap: 12px 16px; } nav .brand { width: 100%; } nav form { margin-left: auto; } main { padding-top: 30px; } .hero { padding-block: 48px 62px; } .hero .button { display: block; width: fit-content; } .hero .button + .button { margin-left: 0; margin-top: 12px; } .card { padding: 18px; } .row { align-items: flex-start; flex-direction: column; } .leaderboard-filters { display: block; } .leaderboard-filters label { margin-bottom: 14px; } .leaderboard-filters button { width: 100%; } .scope-tabs { width: 100%; } .scope-tabs a { flex: 1; text-align: center; } .board-title { align-items: flex-start; } footer .wrap { flex-direction: column; } }
