/* ============================================================
   NEXUS GT — Lando Norris F1 Canvas & Telemetry Style
   Paleta: Carbon Black (#08080A), Asphalt (#121215), Neon Lime (#D4FF00), Pure White
   ============================================================ */

:root {
  --bg-dark: #08080A;
  --bg-card: rgba(18, 18, 22, 0.82);
  --bg-card-hover: rgba(26, 26, 32, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-neon: rgba(212, 255, 0, 0.4);

  --neon-lime: #D4FF00;
  --neon-hover: #E2F952;
  --text-white: #FFFFFF;
  --text-muted: #8E8E98;

  --font-display: 'Bebas Neue', 'Syne', sans-serif;
  --font-head: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.lando-theme {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: crosshair; /* Cursor táctico de precisión */
}

/* Canvas Interactivo de Fondo (Líneas de viento y partículas F1) */
.bg-kinetic-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Cursor de telemetría flotante */
.hud-cursor-wrapper {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: opacity 0.3s ease;
}

.hud-reticle {
  width: 22px;
  height: 22px;
  border: 1px solid var(--neon-lime);
  border-radius: 50%;
  position: relative;
}

.hud-reticle::before, .hud-reticle::after {
  content: '';
  position: absolute;
  background: var(--neon-lime);
}

.hud-reticle::before {
  top: 50%;
  left: -4px;
  right: -4px;
  height: 1px;
  transform: translateY(-50%);
}

.hud-reticle::after {
  left: 50%;
  top: -4px;
  bottom: -4px;
  width: 1px;
  transform: translateX(-50%);
}

.hud-readout {
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--border-neon);
  padding: 2px 6px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--neon-lime);
  white-space: nowrap;
}

/* Utilidades de texto */
.highlight-neon {
  color: var(--neon-lime) !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================================================
   1. CABECERA DE PADDOCK
   ============================================================ */
.lando-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lando-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--neon-lime);
  border-right: 2px solid var(--border-subtle);
  padding-right: 0.8rem;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-primary {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFF;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* Modo Dual */
.mode-toggle-pill {
  display: flex;
  background: #121215;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.mode-btn.active {
  background: var(--neon-lime);
  color: #000;
}

.mode-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.telemetry-chip {
  display: flex;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.btn-launch-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.55rem 1.2rem;
  background: #FFF;
  color: #000;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-launch-header:hover {
  background: var(--neon-lime);
}

/* ============================================================
   2. HERO CINÉTICO
   ============================================================ */
.lando-hero {
  position: relative;
  z-index: 1;
  padding: 9rem 2.5rem 5rem 2.5rem;
  max-width: 1680px;
  margin: 0 auto;
}

.hero-top-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.meta-divider {
  color: var(--border-neon);
}

.hero-title-container {
  margin-bottom: 2.5rem;
}

.hero-giant-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 13.5rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

.title-row.indent-neon {
  color: var(--neon-lime);
  margin-left: clamp(2rem, 10vw, 14rem);
  text-shadow: 0 0 40px rgba(212, 255, 0, 0.35);
}

.team-radio-box {
  background: rgba(18, 18, 22, 0.85);
  border-left: 3px solid var(--neon-lime);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 2rem;
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.radio-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-lime);
  margin-bottom: 0.6rem;
}

.radio-quote {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #E2E8F0;
}

.hero-action-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2.5rem;
}

.btn-engage-boost {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2.4rem;
  background: #FFF;
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: all 0.25s ease;
}

.btn-engage-boost:hover {
  background: var(--neon-lime);
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(212, 255, 0, 0.5);
}

.boost-badge {
  padding: 3px 8px;
  background: #000;
  color: var(--neon-lime);
  border-radius: 2px;
  font-size: 0.72rem;
}

.scroll-telemetry-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sti-arrow {
  color: var(--neon-lime);
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Tacómetros (Gauges Grid) */
.gauges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.gauge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-color 0.3s ease;
}

.gauge-card:hover {
  border-color: var(--neon-lime);
}

.gauge-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.g-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.g-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
}

.g-unit {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.g-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.g-bar-fill {
  height: 100%;
  background: var(--neon-lime);
}

.g-bar-fill.fill-cyan { background: #06B6D4; }
.g-bar-fill.fill-orange { background: #FF8025; }

.g-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   3. MARQUEE DE VELOCIDAD ANGULADO
   ============================================================ */
.slanted-ticker-section {
  padding: 2.5rem 0;
  overflow: hidden;
  background: #000;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transform: rotate(-1.5deg) scale(1.03);
  margin: 4rem 0;
}

.ribbon-track {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  animation: marqueeF1 20s linear infinite;
}

.ribbon-track span {
  color: #FFF;
}

@keyframes marqueeF1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   4. ON TRACK // OFF TRACK
   ============================================================ */
.track-split-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2.5rem;
  max-width: 1680px;
  margin: 0 auto;
}

.track-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.split-card {
  background: #0E0E12;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.split-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.card-on-track {
  border-top: 4px solid var(--neon-lime);
}

.card-off-track {
  border-top: 4px solid #FFF;
}

.split-badge-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.split-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
}

.split-badge.neon-bg {
  background: var(--neon-lime);
  color: #000;
}

.split-badge.white-bg {
  background: #FFF;
  color: #000;
}

.split-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.split-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
}

.split-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.track-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  font-size: 0.95rem;
}

.track-specs-list strong {
  color: var(--neon-lime);
  font-family: var(--font-mono);
}

.track-tag-row {
  display: flex;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ============================================================
   5. EDITIONS HALL OF FAME
   ============================================================ */
.editions-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2.5rem;
  max-width: 1680px;
  margin: 0 auto;
}

.editions-header {
  margin-bottom: 3.5rem;
}

.ed-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--neon-lime);
  display: block;
  margin-bottom: 0.6rem;
}

.ed-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: 0.04em;
}

.ed-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 720px;
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.edition-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.edition-card:hover, .edition-card.active {
  border-color: var(--neon-lime);
  background: #14141A;
  transform: translateY(-4px);
}

.edition-color-tag {
  width: 100%;
  height: 6px;
  border-radius: 2px;
}

.tag-neon { background: var(--neon-lime); }
.tag-stealth { background: #334155; }
.tag-chrome { background: linear-gradient(90deg, #94A3B8, #F8FAFC); }
.tag-gulf { background: linear-gradient(90deg, #38BDF8, #FF8025); }

.ed-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.ed-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
}

.ed-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ed-spec {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-lime);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: auto;
}

/* ============================================================
   6. RESERVA DE CHASIS
   ============================================================ */
.chassis-reserve-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2.5rem;
  max-width: 1680px;
  margin: 0 auto;
}

.reserve-card {
  background: #0E0E12;
  border: 1px solid var(--border-neon);
  border-radius: 4px;
  padding: 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.res-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #000;
  background: var(--neon-lime);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 1rem;
}

.res-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.res-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.chassis-specs-badge {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.reserve-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.f-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.f-group input, .f-group select {
  background: #08080A;
  border: 1px solid var(--border-subtle);
  padding: 0.95rem 1rem;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.f-group input:focus, .f-group select:focus {
  border-color: var(--neon-lime);
}

.btn-submit-chassis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: var(--neon-lime);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: all 0.25s ease;
  margin-top: 1rem;
}

.btn-submit-chassis:hover {
  background: #FFF;
}

.reserve-feedback {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.8rem;
  border: 1px solid var(--neon-lime);
  color: var(--neon-lime);
  display: none;
}

/* ============================================================
   7. FOOTER DE PADDOCK
   ============================================================ */
.lando-footer {
  padding: 4rem 2.5rem 2.5rem 2.5rem;
  background: #000;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-lime);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.4rem;
}

.f-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 420px;
}

.f-links {
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.f-links a:hover {
  color: var(--neon-lime);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1100px) {
  .gauges-grid { grid-template-columns: repeat(2, 1fr); }
  .track-container { grid-template-columns: 1fr; }
  .editions-grid { grid-template-columns: repeat(2, 1fr); }
  .reserve-card { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .lando-header { padding: 1rem 1.2rem; }
  .mode-toggle-pill { display: none; }
  .hero-giant-title { font-size: 4.8rem; }
  .title-row.indent-neon { margin-left: 0; }
  .gauges-grid { grid-template-columns: 1fr; }
  .editions-grid { grid-template-columns: 1fr; }
  .reserve-card { padding: 2rem 1.5rem; }
  .hud-cursor-wrapper { display: none; }
}
