/* bullrunarcade.com · landing del juego. Mismo lenguaje que el juego: oscuro, verde, tipografía pesada. */
:root {
  --bg: #06080e;
  --bg-2: #0b0f1a;
  --panel: #111725;
  --panel-2: #161d2e;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --txt: #e9edf6;
  --dim: #97a3ba;
  --dim-2: #6f7b95;
  --green: #2fe08a;
  --green-dark: #17b26f;
  --gold: #f6c453;
  --blue: #5aa9ff;
  --red: #ff5f57;
  --orange: #f7931a;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  --r-l: 22px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0 0 12px; }
.muted { color: var(--dim); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

/* fondo: carretera y ciudad estilizadas */
.sky { position: fixed; inset: 0; z-index: -2; background: radial-gradient(ellipse at 50% 120%, rgba(255, 138, 99, 0.16), transparent 55%), radial-gradient(ellipse at 50% -20%, rgba(47, 224, 138, 0.1), transparent 50%), linear-gradient(180deg, #05070f 0%, #0b1024 55%, #1b1533 100%); }
.grid { position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.9) 100%); pointer-events: none; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: none; background: rgba(6, 8, 14, 0.86); border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 900; font-size: 22px; letter-spacing: -0.03em; color: var(--txt); font-style: italic; }
.logo b { color: var(--green); text-shadow: 0 0 18px rgba(47, 224, 138, 0.55); }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 18px; align-items: center; font-size: 14px; font-weight: 700; }
/* Solo los enlaces de texto del menú toman el color apagado: el botón conserva el suyo. */
.nav a:not(.btn) { color: var(--dim); }
.nav a:not(.btn):hover { color: var(--txt); text-decoration: none; }
.nav a.btn:hover { text-decoration: none; }
.btn-play, .btn-play:visited { color: #04200f; }
.nav .btn { margin-left: 6px; }
/* El botón de la cabecera es más bajo que el de la portada y respira dentro de la barra. */
.nav .btn-play { padding: 9px 26px; font-size: 15px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); color: var(--txt); font-weight: 800; font-size: 15px; white-space: nowrap; transition: transform 0.12s ease, box-shadow 0.2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-play { background: linear-gradient(135deg, #46f5aa, #17b26f 60%, #0e9a5c); color: #04200f; border-color: transparent; box-shadow: 0 10px 40px rgba(47, 224, 138, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35); font-size: 18px; padding: 16px 34px; }
.btn-play:hover { box-shadow: 0 14px 50px rgba(47, 224, 138, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { background: transparent; color: var(--dim); border-color: var(--line-soft); }
.btn-ghost:hover { color: var(--txt); }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 72px 0 56px; text-align: center; position: relative; }
.hero h1 { font-size: clamp(56px, 12vw, 132px); font-weight: 900; font-style: italic; letter-spacing: -0.05em; line-height: 0.9; margin: 8px 0 14px; text-transform: uppercase; }
.hero h1 b { color: var(--green); text-shadow: 0 0 40px rgba(47, 224, 138, 0.55); }
.hero .sub { font-size: clamp(18px, 2.6vw, 24px); font-weight: 800; letter-spacing: -0.01em; margin: 0 auto 8px; max-width: 760px; }
.hero .lead { color: var(--dim); font-size: 16px; max-width: 640px; margin: 0 auto 26px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.live { margin-top: 22px; display: inline-flex; gap: 22px; align-items: center; padding: 10px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); font-size: 13px; color: var(--dim); }
.live b { color: var(--gold); font-size: 20px; font-variant-numeric: tabular-nums; margin-right: 6px; }
.road { position: relative; height: 150px; margin: 34px auto 0; max-width: 900px; perspective: 500px; overflow: hidden; border-radius: var(--r-l); }
.road::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(47, 224, 138, 0.08)); }
.road .lanes { position: absolute; left: 50%; bottom: -10px; width: 560px; height: 300px; transform: translateX(-50%) rotateX(62deg); transform-origin: 50% 100%; background: linear-gradient(90deg, transparent 32%, rgba(47, 224, 138, 0.9) 32%, rgba(47, 224, 138, 0.9) 33%, transparent 33%, transparent 66%, rgba(47, 224, 138, 0.9) 66%, rgba(47, 224, 138, 0.9) 67%, transparent 67%), repeating-linear-gradient(180deg, transparent 0 36px, rgba(255, 255, 255, 0.14) 36px 40px); border-left: 2px solid rgba(90, 169, 255, 0.7); border-right: 2px solid rgba(90, 169, 255, 0.7); animation: roll 1.2s linear infinite; }
@keyframes roll { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 40px; } }

/* secciones */
section { padding: 56px 0; border-top: 1px solid var(--line-soft); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.grid2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(47, 224, 138, 0.1); color: var(--green); border: 1px solid rgba(47, 224, 138, 0.3); flex: 0 0 auto; }
.ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.keys { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.key { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 12px; padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-soft); color: var(--dim); }
.obst { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 16px; }
.obst div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-soft); font-size: 14px; }
.obst b { display: block; color: var(--txt); }
.obst span { color: var(--dim); font-size: 13px; }

/* tabla de power-ups */
.pu { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.pu-row { --pc: #fff; display: grid; grid-template-columns: 14px 190px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-soft); }
.pu-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--pc); box-shadow: 0 0 12px var(--pc); }
.pu-name { font-weight: 800; color: var(--pc); }
.pu-desc { color: var(--dim); font-size: 14px; }
@media (max-width: 600px) { .pu-row { grid-template-columns: 12px 1fr; } .pu-desc { grid-column: 2; } }

/* objetos raros */
.rare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 720px) { .rare { grid-template-columns: 1fr; } }
.rare .card { text-align: center; border-color: color-mix(in srgb, var(--pc) 45%, transparent); }
.rare .val { font-size: 30px; font-weight: 900; color: var(--pc); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px color-mix(in srgb, var(--pc) 60%, transparent); }
.rare .pct { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); font-weight: 800; }

/* premio */
.prize { background: linear-gradient(135deg, rgba(246, 196, 83, 0.1), rgba(246, 196, 83, 0.02)); border-color: rgba(246, 196, 83, 0.35); }
.prize h2 { color: var(--gold); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.steps div { padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line-soft); font-size: 14px; color: var(--dim); }
.steps div::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-weight: 900; color: var(--gold); font-size: 22px; margin-bottom: 4px; }
.steps b { color: var(--txt); }

/* faq */
details { border: 1px solid var(--line-soft); border-radius: 12px; background: var(--panel); padding: 0 16px; margin-bottom: 8px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-weight: 900; font-size: 20px; }
details[open] summary::after { content: "–"; }
details p { color: var(--dim); padding-bottom: 14px; margin: 0; }

/* footer */
footer { border-top: 1px solid var(--line-soft); padding: 28px 0 40px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--dim); }
footer a:hover { color: var(--txt); }
.about-card { display: flex; gap: 14px; align-items: flex-start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 auto; border: 2px solid rgba(255, 255, 255, 0.15); }

/* páginas legales */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 20px 60px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 900; margin-bottom: 6px; }
.legal h2 { font-size: 22px; margin-top: 30px; }
.legal h3 { font-size: 17px; margin-top: 20px; }
.legal p, .legal li { color: var(--dim); font-size: 15px; }
.legal strong { color: var(--txt); }
.legal .date { color: var(--dim-2); font-size: 13px; margin-bottom: 24px; }
.legal a { text-decoration: underline; }
