:root { color-scheme: dark; --bg: #08111f; --panel: #0f1727; --line: #23364c; --text: #f6f8fb; --muted: #89a1bb; --accent: #31d4a2; --accent-2: #ffcb3d; --danger: #ff5e66; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: radial-gradient(circle at top, #13314b 0, #08111f 40%); color: var(--text); min-height: 100vh; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: rgba(7, 13, 24, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; background: linear-gradient(135deg, var(--accent), #0b7d57); }
.brand strong { display: block; }
.brand small { color: var(--muted); letter-spacing: 1.5px; }
.topbar-actions { display: flex; gap: 10px; }
.btn { border: 0; border-radius: 10px; padding: 10px 14px; background: var(--accent); color: #03130d; font-weight: 800; }
.btn.secondary { background: #1b2c43; color: var(--text); }
.sidebar { padding: 24px 16px; background: rgba(5, 10, 19, 0.96); border-right: 1px solid var(--line); }
nav { display: grid; gap: 6px; }
nav a { padding: 10px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 700; }
nav a.active, nav a:hover { background: #12253a; color: var(--text); }
.sidebar-card { margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.eyebrow { margin: 0 0 6px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 900; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; background: #103423; color: var(--accent); font-weight: 800; }
.status-pill.offline { background: #352316; color: var(--danger); }
.note { color: var(--muted); font-size: 12px; line-height: 1.5; }
main { padding: 24px; }
.page { display: none; }
.page.active { display: block; }
.hero { display: flex; justify-content: space-between; gap: 20px; padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(20, 51, 82, 0.95), rgba(8, 17, 31, 0.95)); box-shadow: inset 0 1px rgba(255,255,255,0.08); }
.hero h1 { font-size: 2.2rem; margin: 6px 0 12px; }
.hero p { color: var(--muted); max-width: 640px; }
.hero-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; min-width: 220px; }
.metric { padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.metric small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.metric strong { font-size: 1.4rem; }
.panel { margin-top: 18px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(11, 20, 34, 0.95); }
.page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.page-head h2 { margin: 0; font-size: 1.4rem; }
.card-list { display: grid; gap: 10px; }
.card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); }
.card .team { display: flex; align-items: center; gap: 10px; }
.flag { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 900; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.06); }
.team-badge { display: inline-flex; align-items: center; justify-content: center; }
.team-logo { border-radius: 10px; object-fit: contain; background: rgba(255,255,255,0.08); padding: 2px; }
.badge { padding: 6px 8px; border-radius: 999px; font-size: 11px; background: rgba(49,212,162,0.14); color: var(--accent); font-weight: 800; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.team-card { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.conference-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.conference-filter-btn { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: rgba(255,255,255,0.04); color: var(--text); }
.conference-filter-btn.active { background: var(--accent); color: #03130d; border-color: var(--accent); }
.matchup-card { display: grid; grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr); align-items: center; gap: 10px; }
.matchup-side { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid transparent; }
.matchup-vs { font-weight: 800; color: var(--muted); }
.matchup-summary { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.ticker-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: linear-gradient(90deg, #07111d, #102338); border-top: 1px solid var(--line); overflow: hidden; }
.ticker { display: flex; gap: 24px; width: max-content; padding: 12px 18px; white-space: nowrap; animation: marquee 22s linear infinite; color: #d9e6f4; font-size: 13px; font-weight: 700; }
.ticker .piece { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.ticker-teams { display: inline-flex; gap: 4px; align-items: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 920px) { .app-shell { grid-template-columns: 1fr; } .sidebar { border-right: 0; border-bottom: 1px solid var(--line); } main { padding: 16px; } .hero { flex-direction: column; } .matchup-card { grid-template-columns: 1fr; } .matchup-vs { display: none; } }
