:root {
  --font-mono: var(--cui-font-monospace);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--cui-body-bg);
  color: var(--cui-body-color);
  font-family: var(--cui-font-sans-serif);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--cui-primary);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--cui-primary);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(33, 38, 49, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cui-border-color);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cui-primary);
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--cui-secondary-color);
}
.nav-links a:hover {
  color: var(--cui-body-color);
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--cui-primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  transition: filter 0.15s;
  margin: 10px !important;
}
.nav-cta:hover {
  filter: brightness(1.1);
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}

.hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    linear-gradient(
      180deg,
      rgba(33, 38, 49, 0.55) 0%,
      rgba(33, 38, 49, 0.88) 60%,
      var(--cui-body-bg) 100%
    ),
    /* TODO: reemplazar esta línea por tu imagen real, ej:
       url('/static/img/hero-warzone.jpg') */
    linear-gradient(135deg, #16261c 0%, #212631 55%, #1a1f2c 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cui-success);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cui-success);
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 620px;
  color: var(--cui-body-color);
}
h1 .accent {
  color: var(--cui-primary);
}
.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--cui-secondary-color);
  max-width: 520px;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: rgb(94.2, 92.4, 207.6);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border: 0;
  border-radius: 0;
  transition:
    filter 0.15s,
    transform 0.15s;
  display: inline-block;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}

.btn-primary:hover {
  background: rgb(114.2, 112.4, 227.6);
  color: #fff;
  animation: flotar-boton 1.6s ease-in-out infinite;
}

@keyframes flotar-boton {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover {
    animation: none;
    transform: translateY(-2px);
  }
}
.btn-ghost {
  position: relative;
  isolation: isolate;
  background: rgba(94.2, 92.4, 207.6, 0.5);
  color: var(--cui-secondary-color);
  border: 0;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 0;
  display: inline-block;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}

/* Borde que sigue las esquinas recortadas */
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--cui-body-bg);
  transition: background 0.15s;
  clip-path: polygon(
    11.4px 0,
    100% 0,
    100% calc(100% - 11.4px),
    calc(100% - 11.4px) 100%,
    0 100%,
    0 11.4px
  );
}

.btn-ghost:hover {
  background: rgb(94.2, 92.4, 207.6);
  color: var(--cui-body-color);
  animation: flotar-boton 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .btn-ghost:hover {
    animation: none;
    transform: translateY(-2px);
  }
}

.btn-ghost:hover::before {
  background: color-mix(
    in srgb,
    var(--cui-body-bg) 90%,
    rgb(94.2, 92.4, 207.6)
  );
}

.scoreboard {
  background: var(--cui-tertiary-bg);
  border: 1px solid var(--cui-border-color);
  border-radius: 8px;
  overflow: hidden;
}
.sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--cui-border-color);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cui-tertiary-color);
}
.sb-head .live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cui-success);
}
.live-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cui-success);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.sb-table {
  width: 100%;
  border-collapse: collapse;
}
.sb-table th {
  color: var(--cui-secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 10px 18px;
  border-bottom: 1px solid var(--cui-border-color);
}
.sb-table td {
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cui-body-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  animation: rowIn 0.5s ease forwards;
}
.sb-table tr:nth-child(1) td {
  animation-delay: 0.2s;
}
.sb-table tr:nth-child(2) td {
  animation-delay: 0.5s;
}
.sb-table tr:nth-child(3) td {
  animation-delay: 0.8s;
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.sb-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}
.sb-name .tag {
  color: var(--cui-success);
}
.sb-num.hi {
  color: var(--cui-primary);
  font-weight: 700;
}

.sb-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 12px;
  color: var(--cui-tertiary-color);
}
.sb-foot .ok {
  color: var(--cui-success);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.sb-foot .check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cui-success-bg-subtle);
  color: var(--cui-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

section {
  padding: 80px 0;
}
.section-head {
  margin-bottom: 52px;
  max-width: 620px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cui-primary);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cui-body-color);
}
.section-desc {
  margin-top: 14px;
  color: var(--cui-secondary-color);
  font-size: 15.5px;
  max-width: 520px;
}

.fases {
  display: grid;
  gap: 1px;
  background: var(--cui-border-color);
  border: 1px solid var(--cui-border-color);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 860px) {
  .fases {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fase {
  background: var(--cui-tertiary-bg);
  padding: 30px 26px;
}
.fase-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cui-tertiary-color);
  margin-bottom: 18px;
}
.fase h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--cui-body-color);
}
.fase p {
  color: var(--cui-secondary-color);
  font-size: 14.5px;
  line-height: 1.6;
}

.features {
  display: grid;
  gap: 1px;
  background: var(--cui-border-color);
  border: 1px solid var(--cui-border-color);
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
.feature {
  background: var(--cui-tertiary-bg);
  padding: 28px 26px;
}
.feature .icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--cui-primary-bg-subtle);
  color: var(--cui-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 15px;
}
.feature h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--cui-body-color);
}
.feature p {
  color: var(--cui-secondary-color);
  font-size: 14px;
  line-height: 1.6;
}

.stats-panel {
  background: var(--cui-tertiary-bg);
  border: 1px solid var(--cui-border-color);
  border-radius: 8px;
  padding: 32px 30px;
}
.stats-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cui-tertiary-color);
  border-bottom: 1px solid var(--cui-border-color);
  padding-bottom: 16px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (min-width: 760px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  color: var(--cui-primary);
}
.stat-label {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--cui-tertiary-color);
  margin-top: 6px;
  text-transform: uppercase;
}

.cta-final {
  text-align: center;
  padding: 88px 24px;
  border-top: 1px solid var(--cui-border-color);
}
.cta-final h2 {
  margin: 0 auto 18px;
}
.cta-final p {
  color: var(--cui-secondary-color);
  max-width: 460px;
  margin: 0 auto 32px;
  font-size: 15.5px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

footer {
  border-top: 1px solid var(--cui-border-color);
  padding: 28px 24px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--cui-tertiary-color);
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a:hover {
  color: var(--cui-secondary-color);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.brand-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.brand-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: #080b14;
}

/* Cuadrícula y luz violeta */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(94.2, 92.4, 207.6, 0.22),
      transparent 65%
    ),
    linear-gradient(rgba(94.2, 92.4, 207.6, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94.2, 92.4, 207.6, 0.06) 1px, transparent 1px);
  background-size:
    auto,
    48px 48px,
    48px 48px;
}

/* Radar circular */
body::after {
  content: "";
  position: fixed;
  top: 100px;
  right: -180px;
  width: min(700px, 110vw);
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.45;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0 69px,
      rgba(94.2, 92.4, 207.6, 0.18) 70px 71px,
      transparent 72px 140px
    ),
    conic-gradient(
      from 0deg,
      transparent 270deg,
      rgba(94.2, 92.4, 207.6, 0.2) 345deg,
      transparent 360deg
    );
  animation: radar-giro 35s linear infinite;
}

@keyframes radar-giro {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  body::after {
    top: 140px;
    right: -35vw;
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }
}

body::after {
  opacity: 0.85;
  right: -100px;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0 68px,
      rgba(130, 125, 255, 0.4) 69px 71px,
      transparent 72px 140px
    ),
    conic-gradient(
      from 0deg,
      transparent 260deg,
      rgba(94.2, 92.4, 207.6, 0.08) 290deg,
      rgba(130, 125, 255, 0.4) 350deg,
      transparent 360deg
    );
}

@media (max-width: 600px) {
  body::after {
    right: -35vw;
    opacity: 0.55;
  }
}

.radar-ambiente {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Coincide con la posición y tamaño del radar */
.radar-objetivos {
  position: absolute;
  top: 100px;
  right: -100px;
  width: min(700px, 110vw);
  aspect-ratio: 1;
}

.radar-objetivo {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6b2ff;
  box-shadow:
    0 0 10px #827dff,
    0 0 24px rgba(130, 125, 255, 0.6);
  animation: objetivo-pulso 3s ease-in-out infinite;
}

/* Anillo de detección */
.radar-objetivo::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(182, 178, 255, 0.65);
  border-radius: 50%;
  animation: objetivo-onda 3s ease-out infinite;
}

.objetivo-uno {
  top: 28%;
  left: 35%;
}

.objetivo-dos {
  top: 60%;
  left: 24%;
  animation-delay: -1s;
}

.objetivo-tres {
  top: 67%;
  left: 64%;
  animation-delay: -2s;
}

.objetivo-dos::after {
  animation-delay: -1s;
}

.objetivo-tres::after {
  animation-delay: -2s;
}

/* Humo simulado con nubes de luz */
.radar-humo {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(
      ellipse at 25% 35%,
      rgba(94.2, 92.4, 207.6, 0.2),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 75% 65%,
      rgba(130, 90, 210, 0.16),
      transparent 40%
    );
  filter: blur(35px);
  animation: humo-desplazar 18s ease-in-out infinite alternate;
}

@keyframes objetivo-pulso {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes objetivo-onda {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes humo-desplazar {
  from {
    transform: translate(-3%, -2%) scale(1);
  }
  to {
    transform: translate(3%, 4%) scale(1.12);
  }
}

@media (max-width: 600px) {
  .radar-objetivos {
    top: 140px;
    right: -35vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .radar-humo,
  .radar-objetivo,
  .radar-objetivo::after {
    animation: none;
  }

  .radar-objetivo::after {
    opacity: 0.4;
  }
}

.objetivo-uno {
  animation:
    objetivo-pulso 3s ease-in-out infinite,
    objetivo-ruta-uno 16s ease-in-out infinite;
}

.objetivo-dos {
  animation:
    objetivo-pulso 3s ease-in-out -1s infinite,
    objetivo-ruta-dos 20s ease-in-out infinite;
}

.objetivo-tres {
  animation:
    objetivo-pulso 3s ease-in-out -2s infinite,
    objetivo-ruta-tres 18s ease-in-out infinite;
}

@keyframes objetivo-ruta-uno {
  0%,
  100% {
    top: 28%;
    left: 35%;
  }
  25% {
    top: 35%;
    left: 55%;
  }
  50% {
    top: 48%;
    left: 62%;
  }
  75% {
    top: 40%;
    left: 30%;
  }
}

@keyframes objetivo-ruta-dos {
  0%,
  100% {
    top: 60%;
    left: 24%;
  }
  25% {
    top: 68%;
    left: 38%;
  }
  50% {
    top: 55%;
    left: 52%;
  }
  75% {
    top: 42%;
    left: 35%;
  }
}

@keyframes objetivo-ruta-tres {
  0%,
  100% {
    top: 67%;
    left: 64%;
  }
  25% {
    top: 52%;
    left: 72%;
  }
  50% {
    top: 33%;
    left: 58%;
  }
  75% {
    top: 55%;
    left: 45%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .radar-objetivo {
    animation: none;
  }
}

.banner-animado {
  width: 100%;
  height: auto;
  max-height: none;
}

.banner-animado img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

/* ===== ENTRADAS TÁCTICAS ===== */

/* El contenido permanece visible si JavaScript no se ejecuta */
.animaciones-gamer .reveal-gamer {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.animaciones-gamer .reveal-gamer.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Destello breve al entrar los títulos */
.animaciones-gamer .reveal-titulo.reveal-visible {
  animation: titulo-encendido 0.9s ease-out both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes titulo-encendido {
  0%,
  100% {
    text-shadow: none;
  }
  40% {
    text-shadow:
      0 0 12px rgba(130, 125, 255, 0.7),
      0 0 30px rgba(94, 92, 208, 0.4);
  }
}

/* ===== MARCADOR ===== */

.sb-table tbody tr > td {
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sb-table tbody tr:hover > td {
  background-color: rgba(94, 92, 208, 0.14);
}

.sb-table tbody tr:hover > td:first-child {
  box-shadow: inset 3px 0 0 #827dff;
}

/* ===== TARJETAS ===== */

.fase,
.feature {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.fase:hover,
.feature:hover {
  border-color: rgba(130, 125, 255, 0.65);
  box-shadow:
    inset 0 0 22px rgba(94, 92, 208, 0.08),
    0 0 20px rgba(94, 92, 208, 0.12);
}

/* ===== INDICADOR EN VIVO ===== */

.live-pip {
  animation: gamer-live-pulso 2s ease-in-out infinite;
}

@keyframes gamer-live-pulso {
  0%,
  100% {
    opacity: 0.65;
    box-shadow: 0 0 0 0 rgba(130, 125, 255, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px 3px rgba(130, 125, 255, 0.45);
  }
}

/* Respeta la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .animaciones-gamer .reveal-gamer {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .animaciones-gamer .reveal-titulo.reveal-visible,
  .live-pip {
    animation: none;
  }

  .fase,
  .feature,
  .sb-table tbody tr > td {
    transition: none;
  }
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  font-size: 24px;
  background: rgba(94, 92, 208, 0.16);
  box-shadow: inset 0 0 18px rgba(130, 125, 255, 0.12);
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
}

.stat-num {
  font-variant-numeric: tabular-nums;
}

.stat-num.contador-activo {
  text-shadow: 0 0 18px rgba(130, 125, 255, 0.55);
}

.header-styles {
  margin: 10px;
}

/* ===== HEADER TÁCTICO ===== */

.header-gamer {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(130, 125, 255, 0.55);
  box-shadow: 0 6px 28px rgba(94, 92, 208, 0.14);
}

/* Segmento luminoso en el borde inferior */
.header-gamer::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 25%;
  width: 30%;
  height: 2px;
  background: #b8b1ff;
  box-shadow: 0 0 12px rgba(166, 153, 255, 0.7);
  pointer-events: none;
}

.header-gamer nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.header-gamer .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0ecfc;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}

.header-gamer .logo-e {
  color: #a69fff;
}

.header-gamer .dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #13f44f;
  box-shadow: 0 0 10px rgba(166, 237, 98, 0.5);
  animation: header-indicador 2.5s ease-in-out infinite;
}

.header-gamer .nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.header-gamer .nav-links a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  color: #b6b2c8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.header-gamer .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: #a49bff;
  box-shadow: 0 0 8px rgba(164, 155, 255, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header-gamer .nav-links a:hover,
.header-gamer .nav-links a:focus-visible,
.header-gamer .nav-links a[aria-current="location"] {
  color: #f0ecff;
  text-shadow: 0 0 12px rgba(164, 155, 255, 0.5);
}

.header-gamer .nav-links a:hover::after,
.header-gamer .nav-links a:focus-visible::after,
.header-gamer .nav-links a[aria-current="location"]::after {
  transform: scaleX(1);
}

/* Conserva el estilo y la flotación de btn-primary */
.header-gamer .header-styles {
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes header-indicador {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

/* Evita que el header tape el inicio de las secciones */
#como-funciona,
#features,
#torneos,
#registro {
  scroll-margin-top: 160px;
}

@media (max-width: 760px) {
  .header-gamer nav.wrap {
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-gamer .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .header-gamer .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .header-gamer .logo {
    font-size: 18px;
  }

  .header-gamer .header-styles {
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-gamer .dot {
    animation: none;
  }

  .header-gamer .nav-links a,
  .header-gamer .nav-links a::after {
    transition: none;
  }
}

/* ===== MENÚ HAMBURGUESA ===== */

.header-gamer .header-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.header-gamer .menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  .header-gamer .header-menu {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 0 8px;
    border-top: 1px solid rgba(130, 125, 255, 0.2);
  }

  .header-gamer .nav-links {
    order: initial;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .header-gamer .nav-links a {
    padding: 14px 10px;
    font-size: 14px;
  }

  .header-gamer .header-styles {
    align-self: center;
    text-align: center;
  }

  /* Se activa cuando el script está listo */
  .header-gamer.menu-ready .menu-toggle:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid rgba(130, 125, 255, 0.55);
    border-radius: 6px;
    background: rgba(94, 92, 208, 0.14);
    color: #b8b1ff;
    cursor: pointer;
    transition:
      background 0.2s ease,
      box-shadow 0.2s ease;
  }

  .header-gamer .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .header-gamer .menu-toggle:hover {
    background: rgba(94, 92, 208, 0.28);
    box-shadow: 0 0 14px rgba(130, 125, 255, 0.2);
  }

  .header-gamer.menu-ready .header-menu {
    display: none;
  }

  .header-gamer.menu-ready.menu-open .header-menu {
    display: flex;
  }

  .header-gamer.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header-gamer.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header-gamer.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-gamer .menu-toggle,
  .header-gamer .menu-toggle span {
    transition: none;
  }
}

.header-gamer::after {
  animation: none;
  left: 50%;
  width: 30%;
  transform: translateX(-50%);
  opacity: 1;
}

.header-gamer::after {
  display: none;
}

/* ===== PANTALLA DE CARGA ===== */

.preloader-gamer[hidden] {
  display: none;
}

.preloader-gamer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;

  background:
    radial-gradient(
      ellipse at center,
      rgba(94, 92, 208, 0.16),
      transparent 65%
    ),
    #0c0c15;

  color: #f1edff;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.preloader-gamer.preloader-salida {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-emblema {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  margin-bottom: 24px;
}

.preloader-aro,
.preloader-aro-interior {
  position: absolute;
  border-radius: 50%;
}

.preloader-aro {
  inset: 0;
  border: 1px solid rgba(156, 141, 255, 0.2);
}

.preloader-aro::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-top-color: #b4a4ff;
  border-right-color: rgba(141, 126, 230, 0.35);
  border-radius: 50%;
  filter: drop-shadow(0 0 5px rgba(163, 149, 255, 0.4));
  animation: preloader-giro 2s linear infinite;
}

.preloader-aro-interior {
  inset: 15px;
  border: 1px dashed rgba(150, 137, 216, 0.3);
  animation: preloader-giro 12s linear infinite reverse;
}

.preloader-logo {
  display: block;
  width: 111px;
  height: 122px;
  object-fit: contain;
  animation: preloader-respiracion 2.4s ease-in-out infinite;
}

.preloader-marca {
  color: #aaa1ff;
  font-size: 11px;
  letter-spacing: 2px;
  text-align: center;
}

.preloader-gamer p {
  margin: 16px 0 0;
  color: #bdb5d5;
  font-size: 13px;
  text-align: center;
}

.preloader-barra {
  width: 160px;
  height: 2px;
  margin-top: 22px;
  overflow: hidden;
  background: rgba(130, 125, 255, 0.12);
}

.preloader-barra::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: #a697ff;
  animation: preloader-progreso 1.4s ease-in-out infinite;
}

@keyframes preloader-giro {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-respiracion {
  0%,
  100% {
    transform: translateY(2px) scale(0.98);
    filter: drop-shadow(0 0 5px rgba(167, 159, 255, 0.2));
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    filter: drop-shadow(0 0 12px rgba(167, 159, 255, 0.5));
  }
}

@keyframes preloader-progreso {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(330%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-gamer,
  .preloader-logo,
  .preloader-aro::before,
  .preloader-aro-interior,
  .preloader-barra::after {
    animation: none;
    transition: none;
  }
}

/* ===== TIPOGRAFÍA GENERAL DE LA LANDING ===== */

body.landing-gamer {
  --fuente-titulos: "Anton", Impact, "Arial Narrow", sans-serif;
  --fuente-textos: "Rajdhani", "Arial Narrow", Arial, sans-serif;

  font-family: var(--fuente-textos);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

/* Párrafos, navegación, tablas y controles */
.landing-gamer :is(p, a, button, input, select, textarea, table, th, td) {
  font-family: var(--fuente-textos);
}

.landing-gamer :is(input, select, textarea) {
  font-size: 18px;
}

/* Títulos principales */
.landing-gamer :is(h1, h2) {
  font-family: var(--fuente-titulos);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Portada */
.landing-gamer .hero h1 {
  font-size: clamp(36px, 5vw, 68px);
}

/* Títulos de las secciones */
.landing-gamer :is(.section-head h2, .cta-final h2) {
  font-size: clamp(30px, 3.5vw, 48px);
}

/* Títulos de tarjetas */
.landing-gamer :is(.fase h3, .feature h3) {
  font-family: var(--fuente-textos);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Textos descriptivos */
.landing-gamer
  :is(.hero-sub, .section-desc, .fase p, .feature p, .cta-final > p) {
  font-family: var(--fuente-textos);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}

/* Etiquetas y números de fase */
.landing-gamer :is(.eyebrow, .section-label, .fase-num) {
  font-family: var(--fuente-textos);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navegación */
.landing-gamer .nav-links a {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Botones */
.landing-gamer :is(.btn-primary, .btn-ghost) {
  font-family: var(--fuente-textos);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

/* Marcador */
.landing-gamer .sb-table {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.landing-gamer .sb-table th {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.landing-gamer :is(.sb-head, .sb-foot) {
  font-family: var(--fuente-textos);
  font-size: 15px;
  font-weight: 600;
}

/* Estadísticas */
.landing-gamer .stats-title {
  font-family: var(--fuente-textos);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.landing-gamer .stat-num {
  font-family: var(--fuente-titulos);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.landing-gamer .stat-label {
  font-family: var(--fuente-textos);
  font-size: 17px;
  font-weight: 600;
}

/* Pantalla de carga */
.landing-gamer .preloader-marca {
  font-family: var(--fuente-textos);
  font-size: 14px;
  font-weight: 700;
}

.landing-gamer .preloader-gamer p {
  font-size: 17px;
}

/* Pie de página */
.landing-gamer .footer-row {
  font-family: var(--fuente-textos);
  font-size: 16px;
}

/* Encabezado centrado de la demo */
.landing-gamer .encabezado-combate {
  text-align: center;
}

.landing-gamer .encabezado-combate .section-desc {
  margin-inline: auto;
}

/* Adaptación a móvil */
@media (max-width: 480px) {
  .landing-gamer .hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .landing-gamer :is(.section-head h2, .cta-final h2) {
    font-size: clamp(28px, 7.5vw, 34px);
  }

  .landing-gamer :is(.fase h3, .feature h3) {
    font-size: 23px;
  }

  .landing-gamer .sb-table {
    font-size: 15px;
  }
}

/* ===== TARJETAS TÁCTICAS ===== */

.landing-gamer .features.features-tacticas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.landing-gamer .features-tacticas > .feature {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 28px 28px 38px;

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;

  transition: translate 0.22s ease;
}

/* Dos capas crean el borde y las esquinas recortadas */
.landing-gamer .features-tacticas > .feature::before,
.landing-gamer .features-tacticas > .feature::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}

.landing-gamer .features-tacticas > .feature::before {
  z-index: -2;
  background: #454150;
  transition: background 0.25s ease;
}

.landing-gamer .features-tacticas > .feature::after {
  z-index: -1;
  inset: 1px;

  background:
    radial-gradient(
      ellipse at top left,
      rgba(96, 63, 131, 0.15),
      transparent 65%
    ),
    linear-gradient(135deg, #1d1f26, #14151c);
}

/* Fila del icono y número */
.landing-gamer .features-tacticas .feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.landing-gamer .features-tacticas .feature-code {
  padding-left: 10px;
  border-left: 3px solid #d7c652;

  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.8px;
  white-space: nowrap;
  color: #c0bacb;
}

.landing-gamer .features-tacticas .feature-code b {
  margin-left: 4px;
  color: #efeaf9;
}

/* Iconos */
.landing-gamer .features-tacticas .icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 60px;

  width: 60px;
  height: 60px;
  margin: 0;
  padding: 11px;

  border: 1px solid rgba(116, 97, 145, 0.55);
  border-radius: 0;
  background: #252234;
  color: #d2c3ff;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.landing-gamer .features-tacticas .icon svg {
  display: block;
  width: 34px;
  height: 34px;

  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Marcas tácticas alrededor del icono */
.landing-gamer .features-tacticas .icon::before,
.landing-gamer .features-tacticas .icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
}

.landing-gamer .features-tacticas .icon::before {
  top: -4px;
  left: -4px;
  border-top: 2px solid #b09be6;
  border-left: 2px solid #b09be6;
}

.landing-gamer .features-tacticas .icon::after {
  right: -4px;
  bottom: -4px;
  border-right: 2px solid #b09be6;
  border-bottom: 2px solid #b09be6;
}

/* Textos */
.landing-gamer .features-tacticas .feature h3 {
  margin: 0 0 14px;

  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-wrap: balance;
  color: #f5f2fb;
}

.landing-gamer .features-tacticas .feature p {
  margin: 0;

  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #c3bfce;
}

/* Detalles inferiores */
.landing-gamer .features-tacticas .feature-marcas {
  position: absolute;
  right: 25px;
  bottom: 15px;

  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 14px;
}

.landing-gamer .features-tacticas .feature-marcas span {
  width: 15px;
  height: 3px;
  background: rgba(121, 110, 150, 0.4);
  transition: background 0.25s ease;
}

.landing-gamer .features-tacticas .ranking-barras span {
  width: 5px;
  transform-origin: bottom;
}

.landing-gamer .features-tacticas .ranking-barras span:nth-child(1) {
  height: 5px;
}

.landing-gamer .features-tacticas .ranking-barras span:nth-child(2) {
  height: 9px;
  animation-delay: 0.08s;
}

.landing-gamer .features-tacticas .ranking-barras span:nth-child(3) {
  height: 13px;
  animation-delay: 0.16s;
}

/* Iluminación al pasar el cursor o presionar en móvil */
.landing-gamer .features-tacticas .feature:is(:hover, :active) {
  translate: 0 -4px;
}

.landing-gamer .features-tacticas .feature:is(:hover, :active)::before {
  background: #ab8fe5;
}

.landing-gamer .features-tacticas .feature:is(:hover, :active) .icon {
  background: #3a2b51;
  color: #f0e5ff;
  box-shadow: 0 0 25px rgba(174, 124, 255, 0.15);
}

.landing-gamer
  .features-tacticas
  .feature:is(:hover, :active)
  .feature-marcas
  span {
  background: #b69ce9;
}

/* Escaneo */
.landing-gamer .features-tacticas .icon-scan {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  height: 2px;

  opacity: 0;
  background: #d5c0ff;
  box-shadow: 0 0 9px #ba96ff;
}

.landing-gamer .features-tacticas .feature:is(:hover, :active) .icon-scan {
  animation: modulo-escaneo 0.8s ease both;
}

/* Escudo */
.landing-gamer
  .features-tacticas
  .feature:is(:hover, :active)
  .icon-escudo
  svg {
  animation: modulo-escudo 0.7s ease both;
}

/* Ranking */
.landing-gamer
  .features-tacticas
  .feature:is(:hover, :active)
  .ranking-barras
  span {
  animation-name: modulo-barras;
  animation-duration: 0.55s;
  animation-fill-mode: both;
}

/* Transmisión */
.landing-gamer .features-tacticas .icon-senal {
  position: absolute;
  inset: 3px;
  border: 1px solid #bc9de9;
  opacity: 0;
  pointer-events: none;
}

.landing-gamer .features-tacticas .feature:is(:hover, :active) .icon-senal {
  animation: modulo-transmision 0.85s ease-out both;
}

@keyframes modulo-escaneo {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15%,
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}

@keyframes modulo-escudo {
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 7px #d1b0ff);
  }
}

@keyframes modulo-barras {
  from {
    transform: scaleY(0.15);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes modulo-transmision {
  from {
    opacity: 0.8;
    transform: scale(0.75);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

/* Una columna en móvil */
@media (max-width: 600px) {
  .landing-gamer .features.features-tacticas {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-gamer .features-tacticas > .feature {
    padding: 25px 25px 38px;
  }
}

/* Respeta la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .landing-gamer .features-tacticas .feature,
  .landing-gamer .features-tacticas .feature * {
    animation: none !important;
    transition: none !important;
  }

  .landing-gamer .features-tacticas .feature:is(:hover, :active) {
    translate: none;
  }
}

/* ===== ESTADÍSTICAS TÁCTICAS ===== */

.landing-gamer .stats-panel.stats-tacticas {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 3vw, 40px);

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

/* Marco con esquinas recortadas */
.landing-gamer .stats-tacticas::before,
.landing-gamer .stats-tacticas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% 100%,
    24px 100%,
    0 calc(100% - 24px)
  );
}

.landing-gamer .stats-tacticas::before {
  z-index: -2;
  background: #65577e;
}

.landing-gamer .stats-tacticas::after {
  z-index: -1;
  inset: 1px;

  background:
    radial-gradient(
      ellipse at top right,
      rgba(117, 79, 163, 0.16),
      transparent 65%
    ),
    #17191f;
}

/* Encabezado */
.landing-gamer .stats-tacticas .stats-title {
  display: flex;
  align-items: center;
  gap: 14px;

  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(174, 153, 211, 0.18);

  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f5f2fb;
}

.landing-gamer .stats-tacticas .stats-title::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 28px;

  background: #d7c652;
  box-shadow: 0 0 12px rgba(215, 198, 82, 0.2);
}

/* Cuatro columnas */
.landing-gamer .stats-tacticas .stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Cada estadística */
.landing-gamer .stats-tacticas .stat-tactica {
  position: relative;
  min-width: 0;
  padding: 24px 16px;

  background: rgba(180, 155, 225, 0.035);
  border-top: 1px solid rgba(180, 155, 225, 0.18);
  text-align: center;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    translate 0.25s ease;
}

/* Iconos */
.landing-gamer .stats-tacticas .stat-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;

  background: #252234;
  border: 1px solid rgba(116, 97, 145, 0.55);
  color: #d2c3ff;

  transition:
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.landing-gamer .stats-tacticas .stat-icon svg {
  display: block;
  width: 30px;
  height: 30px;

  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cifras */
.landing-gamer .stats-tacticas .stat-num {
  margin: 0 0 12px;

  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;

  color: #d2c3ff;
  text-shadow: 0 0 20px rgba(170, 140, 235, 0.12);
}

/* Etiquetas */
.landing-gamer .stats-tacticas .stat-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #c3bfce;
}

/* Marcas tácticas inferiores */
.landing-gamer .stats-tacticas .stat-tactica::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin: 20px auto 0;
  background: #77668f;

  transition:
    width 0.25s ease,
    background 0.25s ease;
}

/* Interacción */
.landing-gamer .stats-tacticas .stat-tactica:is(:hover, :active) {
  translate: 0 -4px;
  background: rgba(180, 155, 225, 0.08);
  border-color: #ab8fe5;
}

.landing-gamer .stats-tacticas .stat-tactica:is(:hover, :active) .stat-icon {
  color: #f0e5ff;
  box-shadow: 0 0 22px rgba(174, 124, 255, 0.18);
}

.landing-gamer .stats-tacticas .stat-tactica:is(:hover, :active)::after {
  width: 42px;
  background: #c4a7ff;
}

/* Tablet y móvil */
@media (max-width: 800px) {
  .landing-gamer .stats-tacticas .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .landing-gamer .stats-tacticas .stats-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-gamer .stats-tacticas .stat-tactica,
  .landing-gamer .stats-tacticas .stat-tactica::after,
  .landing-gamer .stats-tacticas .stat-icon {
    transition: none;
  }

  .landing-gamer .stats-tacticas .stat-tactica:is(:hover, :active) {
    translate: none;
  }
}

/* ===== FASES TÁCTICAS ===== */

.landing-gamer .fases.fases-tacticas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.landing-gamer .fases-tacticas > .fase {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 28px 26px 40px;

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;

  transition: translate 0.25s ease;
}

/* Marco recortado */
.landing-gamer .fases-tacticas > .fase::before,
.landing-gamer .fases-tacticas > .fase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}

.landing-gamer .fases-tacticas > .fase::before {
  z-index: -2;
  background: #454150;
  transition: background 0.25s ease;
}

.landing-gamer .fases-tacticas > .fase::after {
  z-index: -1;
  inset: 1px;

  background:
    radial-gradient(
      ellipse at top left,
      rgba(96, 63, 131, 0.15),
      transparent 65%
    ),
    linear-gradient(135deg, #1d1f26, #14151c);
}

/* Icono y número */
.landing-gamer .fases-tacticas .fase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.landing-gamer .fases-tacticas .fase-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 60px;

  width: 60px;
  height: 60px;
  background: #252234;
  border: 1px solid rgba(116, 97, 145, 0.55);
  color: #d2c3ff;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.landing-gamer .fases-tacticas .fase-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Esquinas del icono */
.landing-gamer .fases-tacticas .fase-icon::before,
.landing-gamer .fases-tacticas .fase-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
}

.landing-gamer .fases-tacticas .fase-icon::before {
  top: -4px;
  left: -4px;
  border-top: 2px solid #b09be6;
  border-left: 2px solid #b09be6;
}

.landing-gamer .fases-tacticas .fase-icon::after {
  bottom: -4px;
  right: -4px;
  border-bottom: 2px solid #b09be6;
  border-right: 2px solid #b09be6;
}

.landing-gamer .fases-tacticas .fase-num {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;

  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  color: #c3bfce;
}

.landing-gamer .fases-tacticas .fase-num span {
  font-family: "Anton", Impact, sans-serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0;
  color: #d2c3ff;
}

/* Títulos y descripción */
.landing-gamer .fases-tacticas .fase h3 {
  margin: 0 0 14px;

  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(24px, 2.2vw, 29px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #f5f2fb;
}

.landing-gamer .fases-tacticas .fase p {
  margin: 0;

  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #c3bfce;
}

/* Línea táctica inferior */
.landing-gamer .fases-tacticas .fase-remate {
  position: absolute;
  bottom: 18px;
  left: 26px;
  right: 26px;
  height: 2px;
  background: rgba(180, 155, 225, 0.12);
}

.landing-gamer .fases-tacticas .fase-remate::before {
  content: "";
  display: block;
  width: 28px;
  height: 100%;
  background: #d7c652;
  transition: width 0.3s ease;
}

/* Interacción */
.landing-gamer .fases-tacticas .fase:is(:hover, :active) {
  translate: 0 -4px;
}

.landing-gamer .fases-tacticas .fase:is(:hover, :active)::before {
  background: #ab8fe5;
}

.landing-gamer .fases-tacticas .fase:is(:hover, :active) .fase-icon {
  background: #3a2b51;
  box-shadow: 0 0 25px rgba(174, 124, 255, 0.15);
}

.landing-gamer .fases-tacticas .fase:is(:hover, :active) .fase-remate::before {
  width: 100%;
}

/* Una columna en pantallas pequeñas */
@media (max-width: 800px) {
  .landing-gamer .fases.fases-tacticas {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-gamer .fases-tacticas .fase,
  .landing-gamer .fases-tacticas .fase::before,
  .landing-gamer .fases-tacticas .fase-icon,
  .landing-gamer .fases-tacticas .fase-remate::before {
    transition: none;
  }

  .landing-gamer .fases-tacticas .fase:is(:hover, :active) {
    translate: none;
  }
}

/* ===== PORTADA TÁCTICA ===== */

.landing-gamer .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 6vw, 90px) 0;
  background:
    radial-gradient(
      ellipse at 85% 40%,
      rgba(112, 78, 166, 0.12),
      transparent 55%
    ),
    #17191f;
}

/* Distribución */
.landing-gamer .hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.landing-gamer .hero .hero-grid > div {
  min-width: 0;
}

/* Etiqueta superior */
.landing-gamer .hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #c4b2ed;
}

.landing-gamer .hero .eyebrow::before {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 3px;
  background: #d7c652;
}

/* Título */
.landing-gamer .hero h1 {
  margin: 24px 0;

  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  text-wrap: balance;

  color: #f5f2fb;
}

.landing-gamer .hero h1 .accent {
  color: #c1a6f1;
  text-shadow: 0 0 28px rgba(174, 124, 255, 0.16);
}

/* Descripción */
.landing-gamer .hero .hero-sub {
  max-width: 580px;
  margin: 0;

  font-family: "Rajdhani", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: #c3bfce;
}

/* Botones: conservan tus efectos actuales */
.landing-gamer .hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.landing-gamer .hero .hero-actions a {
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

/* ===== MARCADOR TÁCTICO ===== */

.landing-gamer .hero .scoreboard {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

/* Borde y fondo recortados */
.landing-gamer .hero .scoreboard::before,
.landing-gamer .hero .scoreboard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}

.landing-gamer .hero .scoreboard::before {
  z-index: -2;
  background: #65577e;
}

.landing-gamer .hero .scoreboard::after {
  z-index: -1;
  inset: 1px;

  background:
    radial-gradient(
      ellipse at top right,
      rgba(117, 79, 163, 0.14),
      transparent 65%
    ),
    #14151c;
}

/* Cabecera del marcador */
.landing-gamer .hero .sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;

  padding: 24px;
  border-bottom: 1px solid rgba(174, 153, 211, 0.18);

  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #eee8fa;
}

.landing-gamer .hero .sb-head > span:first-child {
  padding-left: 11px;
  border-left: 3px solid #d7c652;
}

/* Indicador en vivo */
.landing-gamer .hero .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-size: 14px;
  font-weight: 600;
  color: #a8e8bb;
}

.landing-gamer .hero .live-pip {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82dca0;
  box-shadow: 0 0 10px rgba(130, 220, 160, 0.4);
}

/* Tabla */
.landing-gamer .hero .sb-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;

  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #e1dbea;
}

.landing-gamer .hero .sb-table th,
.landing-gamer .hero .sb-table td {
  padding: 16px 10px;
  border-bottom: 1px solid rgba(174, 153, 211, 0.12);
  text-align: right;
}

.landing-gamer .hero .sb-table th:first-child,
.landing-gamer .hero .sb-table td:first-child {
  width: 44%;
  padding-left: 24px;
  text-align: left;
  overflow-wrap: anywhere;
}

.landing-gamer .hero .sb-table th:last-child,
.landing-gamer .hero .sb-table td:last-child {
  padding-right: 24px;
}

.landing-gamer .hero .sb-table th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #aaa3ba;
}

/* Primera posición */
.landing-gamer .hero .sb-table tbody tr:first-child {
  background: rgba(180, 155, 225, 0.07);
}

.landing-gamer .hero .sb-table .tag {
  margin-right: 5px;
  color: #bca5eb;
}

.landing-gamer .hero .sb-table .hi {
  font-weight: 700;
  color: #dfceff;
}

/* Respuesta al cursor */
.landing-gamer .hero .sb-table tbody tr {
  transition: background 0.2s ease;
}

.landing-gamer .hero .sb-table tbody tr:hover {
  background: rgba(180, 155, 225, 0.12);
}

/* Pie del marcador */
.landing-gamer .hero .sb-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;

  padding: 18px 24px 24px;

  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #b8afc7;
}

.landing-gamer .hero .sb-foot .ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a8e8bb;
}

.landing-gamer .hero .sb-foot .check {
  color: #a8e8bb;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 900px) {
  .landing-gamer .hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .landing-gamer .hero h1 {
    max-width: 700px;
    font-size: clamp(38px, 7vw, 62px);
  }

  .landing-gamer .hero .scoreboard {
    max-width: 700px;
  }
}

@media (max-width: 480px) {
  .landing-gamer .hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .landing-gamer .hero .eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .landing-gamer .hero .hero-sub {
    font-size: 18px;
  }

  .landing-gamer .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-gamer .hero .sb-head {
    padding: 20px 16px;
  }

  .landing-gamer .hero .sb-table {
    font-size: 15px;
  }

  .landing-gamer .hero .sb-table th {
    font-size: 11px;
    letter-spacing: 0.2px;
  }

  .landing-gamer .hero .sb-table th,
  .landing-gamer .hero .sb-table td {
    padding: 14px 6px;
  }

  .landing-gamer .hero .sb-table th:first-child,
  .landing-gamer .hero .sb-table td:first-child {
    padding-left: 16px;
  }

  .landing-gamer .hero .sb-table th:last-child,
  .landing-gamer .hero .sb-table td:last-child {
    padding-right: 16px;
  }

  .landing-gamer .hero .sb-foot {
    padding: 16px 16px 24px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-gamer .hero .sb-table tbody tr {
    transition: none;
  }
}
