:root{
  --bg:#000000;
  --panel:#0b0b0b;
  --panel2:#101010;
  --border:#1f1f1f;
  --text:#eaeaea;
  --muted:#a8a8a8;
  --accent:#00c2ff;
  --accent2:#00ff7f;
  --shadow: 0 18px 55px rgba(0,0,0,.65);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.35;
}
a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:18px 18px 70px}
.header{
  position:sticky; top:0; z-index:50;
  background:linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.65));
  backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  max-width:1100px; margin:0 auto;
  padding:14px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.banner{
  height:62px;
  width:auto;
  display:block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.8));
}
.nav{display:flex; gap:10px; align-items:center; flex-wrap:wrap;}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  box-shadow:0 8px 30px rgba(0,0,0,.35);
  font-size:13px;
  color:var(--muted);
}
.pill strong{color:var(--text); font-weight:700}
.pill .dot{
  width:8px; height:8px; border-radius:99px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 0 16px rgba(0,255,127,.25);
}
.hero{
  padding:20px 0 10px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px;
  flex-wrap:wrap;
}
h1{margin:0; font-size:28px; letter-spacing:.3px}
.sub{margin:6px 0 0; color:var(--muted); font-size:14px}
.searchbar{
  display:flex; gap:10px; align-items:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:10px 12px;
  min-width:280px;
}
.searchbar input{
  background:transparent; border:0; outline:none;
  color:var(--text); width:100%;
  font-size:14px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top:14px;
}
.card{
  grid-column: span 12;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .top{
  padding:14px 14px 10px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.card .title{font-weight:800; letter-spacing:.4px;}
.card .meta{margin-top:6px; color:var(--muted); font-size:13px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-weight:700;
  font-size:13px;
}
.btn:hover{border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.05)}
.kpis{padding:12px 14px 14px; display:flex; flex-wrap:wrap; gap:10px;}
.kpi{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.35);
  padding:10px 12px;
  border-radius:14px;
  min-width:160px;
}
.kpi .label{color:var(--muted); font-size:12px}
.kpi .value{font-weight:900; font-size:16px; margin-top:4px}
.kpi .value span{color:var(--accent2)}
.race-wrap{margin-top:14px}
.race{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.02);
  overflow:hidden;
  margin:14px 0;
  box-shadow:0 18px 55px rgba(0,0,0,.5);
}
.race-h{
  padding:12px 14px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.race-h .left{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  font-size:12px;
  color:var(--muted);
}
.badge strong{color:var(--text)}
.badge .spark{
  width:10px; height:10px; border-radius:99px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
}
.picks{padding:12px 14px; display:flex; flex-wrap:wrap; gap:10px;}
.pick{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.35);
  min-width:210px;
}
.pick .label{color:var(--muted); font-size:12px}
.pick .line{font-weight:900; font-size:15px; margin-top:4px}
.table-wrap{overflow:auto; border-top:1px solid rgba(255,255,255,.06)}
table{width:100%; border-collapse:collapse; min-width:820px}
th,td{padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.06); text-align:left; font-size:13px}
th{position:sticky; top:0; background:rgba(0,0,0,.85); color:var(--muted); font-weight:800}
td.muted{color:var(--muted)}
td.rank{font-weight:900; color:var(--accent2)}
td.odds{font-weight:800; color:var(--accent)}
.footer{
  position:fixed; left:0; right:0; bottom:0;
  background:linear-gradient(to top, rgba(0,0,0,.95), rgba(0,0,0,.75));
  border-top:1px solid rgba(255,255,255,.06);
}
.footer-inner{
  max-width:1100px; margin:0 auto;
  padding:10px 18px;
  display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap;
  color:var(--muted); font-size:12px;
}
@media (min-width: 860px){
  .card{grid-column: span 6;}
}