/* Fórmula 1 — asfalto, rojo de la F1, pianos rojiblancos y bandera a cuadros. */

:root {
  --bg: #111114;
  --fondo:
    radial-gradient(900px 400px at 50% -160px, rgba(225, 6, 0, .28), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 6px),
    #111114;
  --surface: #1b1b20;
  --surface-2: #25252c;
  --borde: rgba(255, 255, 255, .1);
  --texto: #f3f3f5;
  --suave: #a3a3ad;
  --acento: #e10600;
  --grad: linear-gradient(180deg, #ff2a24, #c10500);
  --sobre-acento: #fff;
  --ok: #2f9e5a;
  --sobre-ok: #fff;
  --casi: #f0b400;
  --sobre-casi: #1a1400;
  --mal: #5a1c1c;
  --sobre-mal: #fff;
  --r: 6px;
  --font: 'Inter', system-ui, sans-serif;
  --font-d: 'Titillium Web', 'Inter', sans-serif;
  --cab-bg: #25252c;
  --piano: repeating-linear-gradient(90deg, #e10600 0 16px, #fff 16px 32px);
}

.top { backdrop-filter: none; background: #111114; border-bottom: 0; box-shadow: 0 4px 0 -1px #fff; }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--piano); }
.top .logo, .top .tema-link { color: #fff; }
.top .logo b { background: none; color: var(--acento); -webkit-text-fill-color: var(--acento); }
.top .tema-link { font: 900 18px/1 'Titillium Web', sans-serif; text-transform: uppercase; font-style: italic; }
.top .nav a { color: #d6d6dc; }
.top .nav a:hover, .top .nav a.on { background: rgba(225, 6, 0, .15); color: #fff; }
.top .nav a.on { box-shadow: inset 0 -2px 0 var(--acento); }
@media (max-width: 860px) { .top .nav { background: #111114; } }

h1.titulo { font-weight: 900; font-style: italic; text-transform: uppercase; }
.btn { font-family: 'Titillium Web', sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; }

.f1-hero { text-align: center; padding: 18px 0 30px; }
/* Bandera a cuadros */
.f1-hero .bandera { width: 90px; height: 54px; margin: 0 auto 14px; transform: skewX(-12deg);
  background: conic-gradient(#fff 0 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 18px 18px; border: 2px solid #fff; }
.f1-hero h1 { font: 900 clamp(52px, 13vw, 104px)/1 var(--font-d); font-style: italic; text-transform: uppercase; color: #fff; }
.f1-hero p { color: var(--suave); margin-top: 10px; }
.juego .cuerpo b { font: 900 26px/1 var(--font-d); font-style: italic; text-transform: uppercase; }
.juego .muestra { background: linear-gradient(180deg, transparent 88%, #e10600 88% 94%, #fff 94%), #1b1b20; }

/* Trayectoria: equipos numerados, como una parrilla */
.trayectoria { list-style: none; counter-reset: eq; display: grid; gap: 8px; }
.trayectoria li { counter-increment: eq; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 6px; background: var(--surface); border-left: 4px solid var(--acento); font: 700 18px/1.1 var(--font-d); text-transform: uppercase; }
.trayectoria li::before { content: 'P' counter(eq); font-style: italic; color: var(--acento); min-width: 28px; }
