/* src/index.css */ @import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&family=Syne:wght@800&display=swap"); :root { /* Brand colors — match the X profile and header */ --black: #0a0d12; --surface: #0f141b; --surface-2: #161c25; --surface-3: #212833; --border: #2a313c; --border-2: #454e5b; /* Text */ --text-primary: #e8edf5; --text-secondary: #9aa4b2; --text-muted: #5b6472; /* Accent */ --accent: #1f7aff; --accent-glow: rgba(31, 122, 255, 0.15); --accent-2: #00d4ff; /* Status */ --green: #3fb950; --red: #f85149; --yellow: #d29922; /* Grid backdrop */ --grid-line: rgba(255, 255, 255, 0.035); --grid-size: 50px; /* Typography Headlines: Archivo at normal width (the hero title alone is set expanded). Numbers and data: DM Mono. Wordmark only: Syne, matching the X profile and header. */ --font-display: "Archivo", "Arial Black", sans-serif; --font-wordmark: "Syne", "Arial Black", sans-serif; --font-mono: "DM Mono", ui-monospace, monospace; /* Spacing */ --max-width: 1100px; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { background-color: var(--black); /* The same faint grid as the X header */ background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: var(--grid-size) var(--grid-size); background-attachment: fixed; color: var(--text-primary); font-family: var(--font-mono); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; } a { color: inherit; text-decoration: none; } button { cursor: pointer; font-family: var(--font-mono); } input, textarea { font-family: var(--font-mono); } /* Headings use the display face everywhere unless a page overrides it */ h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; overflow-wrap: break-word; } /* Landing hero title: two lines ("The model / doesn't guess."). The doubled selector outranks the older rule in Landing.css. */ .hero .hero-inner { max-width: 920px; } .hero .hero-title { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; padding-bottom: 0.08em; overflow: visible; font-stretch: 125%; } /* Brand mark — the crosshair sits in front of every STATVAR wordmark (.nav-logo on nav bars, .auth-logo on sign-in pages) with no JSX change. */ /* [class] raises specificity so the page stylesheets' own .nav-logo rules (which set the headline font) can't override the wordmark face. */ .nav-logo[class], .auth-logo[class] { font-family: var(--font-wordmark); font-weight: 800; white-space: nowrap; } .nav-logo::before, .auth-logo::before { content: ""; display: inline-block; width: 1.6em; height: 1.6em; margin-right: 0.55em; vertical-align: -0.45em; background: url("/mark.svg") center / contain no-repeat; } /* Stats card numbers: always DM Mono with aligned digits. [class] raises specificity over SportStats.css, which set the headline font on them. */ .sportstats-total[class], .sportstats-total-sub[class], .sportstats-table .num[class] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-stretch: 100%; letter-spacing: 0; } .sportstats-total[class] { font-weight: 500; } /* Section labels in the "// LABEL" style */ .slash-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); } .slash-label::before { content: "// "; } /* Utility classes */ .container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; } .loading { display: flex; align-items: center; justify-content: center; height: 100vh; color: var(--text-muted); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; } .loading::before { content: "// "; color: var(--accent); } /* Buttons */ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 4px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.05em; border: 1px solid transparent; transition: all 0.15s ease; white-space: nowrap; } .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); } .btn-primary:hover { background: #3d8eff; border-color: #3d8eff; box-shadow: 0 0 20px var(--accent-glow); } .btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border); } .btn-outline:hover { border-color: var(--border-2); background: var(--surface-2); } .btn-ghost { background: transparent; color: var(--text-secondary); border-color: transparent; } .btn-ghost:hover { color: var(--text-primary); background: var(--surface-2); } .btn:focus-visible, .input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } /* Form elements */ .input { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 10px 14px; color: var(--text-primary); font-family: var(--font-mono); font-size: 13px; transition: border-color 0.15s ease; outline: none; } .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); } .input::placeholder { color: var(--text-muted); } /* Cards */ .card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 24px; } /* Labels */ .label { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); } /* Badge */ .badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; } .badge-accent { background: var(--accent-glow); color: var(--accent-2); border: 1px solid rgba(31, 122, 255, 0.3); } .badge-green { background: rgba(63, 185, 80, 0.1); color: var(--green); border: 1px solid rgba(63, 185, 80, 0.3); } .badge-red { background: rgba(248, 81, 73, 0.1); color: var(--red); border: 1px solid rgba(248, 81, 73, 0.3); } /* Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: var(--surface); } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--border-2); } /* Animations */ @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } @keyframes scanline { 0% { transform: translateY(-100%); } 100% { transform: translateY(100vh); } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }