:root{
  --bg:#0b0b0b;
  --bg2:#050505;
  --text:#ffffff;
  --muted: rgba(255,255,255,.72);
  --red:#e10600;
  --redGlow: rgba(225,6,0,.26);
  --line: rgba(255,255,255,.10);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family:"Rajdhani", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(225,6,0,.13), transparent 60%),
    radial-gradient(700px 450px at 80% 15%, rgba(225,6,0,.10), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.topbar__line{
  height:3px;
  width:100%;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity:0;
  transform: translateY(-2px);
  transition: .25s ease;
}
.topbar__line.is-on{ opacity:1; transform: translateY(0); }

/* Brand */
.brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.brand__mark{
  width:38px; height:38px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 0 0 1px rgba(225,6,0,.10), 0 12px 30px rgba(0,0,0,.35);
  display:grid; place-items:center;
  position:relative;
  overflow:hidden;
}
.brand__mark::before{
  content:"";
  position:absolute; inset:-40%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 10px, rgba(0,0,0,.0) 10px 20px);
  opacity:.6;
  transform: rotate(10deg);
}
.chk{
  width:18px; height:18px;
  border-radius:6px;
  background:
    conic-gradient(from 0deg, #fff 0 25%, #000 0 50%, #fff 0 75%, #000 0 100%);
  outline: 2px solid rgba(255,255,255,.10);
  z-index:1;
}
.brand__text{ min-width:0; }
.brand__title{
  font-weight:800;
  letter-spacing:.12em;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand__sub{
  font-size:12px;
  color: var(--muted);
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.btn-ghost{
  text-decoration:none;
  color: var(--text);
  font-weight:700;
  font-size:12px;
  letter-spacing:.10em;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition:.2s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(225,6,0,.45);
  box-shadow: 0 0 0 4px rgba(225,6,0,.10);
}

/* Layout */
.wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 16px 60px;
}

.hero{
  margin-top: 8px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:stretch;
}
@media (max-width: 920px){ .hero{ grid-template-columns: 1fr; } }

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.14em;
  font-size:11px;
  color: rgba(255,255,255,.78);
}
.kicker::before{
  content:"";
  width:10px; height:10px;
  border-radius:3px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(225,6,0,.12);
}

.h1{
  margin: 10px 0 10px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: .02em;
}
@media (max-width: 520px){ .h1{ font-size: 34px; } }
.h1__accent{
  color: var(--red);
  text-shadow: 0 0 18px var(--redGlow);
}

.lead{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 66ch;
}
.tagPro{
  display:inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(225,6,0,.35);
  background: rgba(225,6,0,.10);
  color: rgba(255,255,255,.92);
  font-weight:800;
  letter-spacing:.06em;
}

.hero__chips{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight:700;
  letter-spacing:.06em;
}

.heroCard{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(520px 220px at 30% 0%, rgba(225,6,0,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  position:relative;
  overflow:hidden;
}
.heroCard--official::after{
  content:"UFFICIALE";
  position:absolute;
  top:12px;
  right:-44px;
  transform: rotate(45deg);
  background: var(--red);
  color:#fff;
  font-weight:900;
  letter-spacing:.18em;
  font-size:10px;
  padding:6px 64px;
  box-shadow: 0 0 0 4px rgba(225,6,0,.12);
}
.heroCard__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.heroStat{
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  padding: 12px;
}
.heroStat__label{
  color: var(--muted);
  font-size: 11px;
  letter-spacing:.12em;
  font-weight:700;
}
.heroStat__value{
  margin-top: 6px;
  font-size: 18px;
  font-weight:800;
  letter-spacing:.05em;
}
.heroStat__value--red{
  color:#fff;
  text-shadow: 0 0 18px var(--redGlow);
}
.heroCard__note{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(225,6,0,.12);
}
.tinyNote{
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.5;
  margin-top: -2px;
}

/* Sections */
.section{ margin-top: 26px; }
.section__head{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom: 12px;
}
.h2{
  margin:0;
  font-size: 18px;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.muted{ color: var(--muted); margin:0; font-size: 13px; line-height:1.6; }

.card{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: 0 16px 45px rgba(0,0,0,.42);
  overflow:hidden;
}
.card__footer{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding: 14px 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 12px;
  font-weight:700;
  border-radius: 999px;
  padding: 8px 10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.pill__dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(225,6,0,.12);
}
.pill--ghost{
  color: rgba(255,255,255,.76);
  border-style:dashed;
}

/* Table */
.tableWrap{ overflow:auto; -webkit-overflow-scrolling: touch; }
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table thead th{
  text-align:left;
  padding: 14px 14px;
  font-size: 12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.table tbody td{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.90);
  font-size: 13px;
}
.table tbody tr:hover{ background: rgba(225,6,0,.06); }

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:11px;
  letter-spacing:.10em;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}
.badge--hot{
  border-color: rgba(225,6,0,.55);
  box-shadow: 0 0 0 4px rgba(225,6,0,.10);
}
.is-hot td{ font-weight:700; }

/* Drivers grid */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 980px){ .grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px){ .grid{ grid-template-columns: 1fr; } }

.driver{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  padding: 14px 14px;
  font-weight:800;
  letter-spacing:.04em;
  font-size: 13px;
  position:relative;
  overflow:hidden;
  transition:.2s ease;
}
.driver::before{
  content:"";
  position:absolute;
  left:-20px; top:-20px;
  width:70px; height:70px;
  border-radius:22px;
  background: rgba(225,6,0,.18);
  filter: blur(10px);
}
.driver:hover{
  transform: translateY(-2px);
  border-color: rgba(225,6,0,.40);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}

/* Accordion */
.accordion{ display:flex; flex-direction:column; gap:10px; }
.acc{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.acc__btn{
  width:100%;
  padding: 14px 14px;
  background: transparent;
  border:0;
  color: var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  gap: 12px;
}
.acc__title{
  font-weight:900;
  letter-spacing:.06em;
  font-size: 13px;
  text-align:left;
}
.acc__icon{
  width:34px; height:34px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  position:relative;
  flex: 0 0 auto;
}
.acc__icon::before,
.acc__icon::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:14px; height:2px;
  background: rgba(255,255,255,.85);
  transform: translate(-50%,-50%);
}
.acc__icon::after{ width:2px; height:14px; }
.acc.is-open .acc__icon::after{ opacity:0; }

.acc__panel{
  max-height: 0;
  overflow:hidden;
  transition: max-height .28s ease;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  padding: 0 14px;
}
.acc.is-open .acc__panel{ padding: 12px 14px 14px; }

.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.86);
  line-height: 1.7;
  font-size: 13px;
}
.note{ margin: 10px 0 0; color: rgba(255,255,255,.80); font-size: 13px; }

.miniGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 720px){ .miniGrid{ grid-template-columns: 1fr 1fr; } }
.miniCard{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px;
  font-weight:800;
  letter-spacing:.04em;
  font-size: 12px;
}
.miniCard--red{
  border-color: rgba(225,6,0,.40);
  box-shadow: 0 0 0 4px rgba(225,6,0,.10);
}

/* Points */
.points{
  margin-top: 12px;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.points__head{
  display:grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 12px;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size: 11px;
  color: rgba(255,255,255,.82);
}
.points__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.points__row:last-child{ border-bottom:0; }
.points__row:hover{ background: rgba(225,6,0,.06); }
.p{ font-weight:900; color: var(--text); }

.ruleBox{
  margin-top: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  padding: 12px;
}
.ruleBox__title{
  font-weight:900;
  letter-spacing:.08em;
  font-size: 12px;
  text-transform:uppercase;
  margin-bottom: 8px;
  color: rgba(255,255,255,.88);
}

/* Flags */
.flags{ display:flex; flex-direction:column; gap:10px; }
.flagRow{
  display:flex;
  align-items:center;
  gap:12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}
.flag{
  width:44px; height:28px;
  border-radius: 10px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  flex: 0 0 auto;
}
.flag--yellow{ background: #f7c600; }
.flag--red{ background: var(--red); }
.flag--green{ background: #15c66a; }
.flag--black{ background: #0b0b0b; }
.flag--blue{ background: #1f62ff; }
.flag--check{
  background:
    conic-gradient(from 0deg, #fff 0 25%, #000 0 50%, #fff 0 75%, #000 0 100%);
}

/* Footer */
.footer{
  margin-top: 34px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 16px;
  color: rgba(255,255,255,.70);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-size: 12px;
}
.footLeft{ display:flex; align-items:center; gap:10px; }
.footDot{
  width:8px; height:8px;
  border-radius:999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(225,6,0,.12);
}
