/* ============================================================
   EL REGRESO — estilos.css
   Diseño oscuro premium con esencia Minecraft.
   Índice:
     1. Variables y base
     2. Utilidades (contenedor, iconos, botones, chips, tarjetas)
     3. Fondo de partículas
     4. Navegación
     5. Hero
     6. Secciones (cabeceras y fondos)
     7. Estado en vivo (tarjetas, métricas, IP, esqueletos)
     8. ModPack
     9. Cómo entrar (aviso + línea temporal)
    10. Características / Info / Noticias / FAQ
    11. Pie de página
    12. Animaciones de entrada y revelado
    13. Responsive (móvil → 4K/ultrapanorámico)
    14. Accesibilidad y movimiento reducido
   ============================================================ */

/* ---------- 1. VARIABLES Y BASE ---------- */
:root {
  /* Paleta El Regreso: verdes, negros, grises y dorados */
  --verde-100: #b8f5c9;
  --verde-300: #4ade80;
  --verde-500: #22c55e;
  --verde-700: #15803d;
  --verde-neon: #39ff88;
  --dorado-300: #ffe9a8;
  --dorado-500: #f5c34d;
  --dorado-700: #b8860b;
  --negro-950: #050807;
  --negro-900: #07100a;
  --negro-850: #0a1410;
  --negro-800: #0e1a14;
  --gris-100: #eef4ef;
  --gris-300: #c6d2c9;
  --gris-500: #8fa096;
  --gris-700: #4c5a51;

  /* Superficies glassmorphism */
  --cristal: rgba(255, 255, 255, 0.045);
  --cristal-borde: rgba(255, 255, 255, 0.09);
  --cristal-brillo: rgba(74, 222, 128, 0.14);

  /* Tipografías */
  --fuente-pixel: 'Press Start 2P', 'Courier New', monospace;
  --fuente-base: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Ritmo y radios */
  --radio: 16px;
  --radio-s: 10px;
  --sombra: 0 18px 50px rgba(0, 0, 0, 0.45);
  --sombra-suave: 0 8px 24px rgba(0, 0, 0, 0.32);
  --glow-verde: 0 0 24px rgba(57, 255, 136, 0.22);
  --transicion: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
  --alto-nav: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fuente-base);
  font-size: clamp(15px, 0.4vw + 14px, 18px);
  line-height: 1.6;
  color: var(--gris-100);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(34, 197, 94, 0.07), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(245, 195, 77, 0.045), transparent 55%),
    var(--negro-950);
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
code { font-family: 'Consolas', 'Menlo', monospace; }

::selection { background: rgba(34, 197, 94, 0.35); color: #fff; }

/* Barra de scroll acorde al tema */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--negro-950); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--verde-700), var(--gris-700));
  border-radius: 8px;
  border: 2px solid var(--negro-950);
}

/* Anclas: dejar hueco para la barra fija */
section[id] { scroll-margin-top: calc(var(--alto-nav) + 8px); }

/* Salto de contenido (accesibilidad) */
.salto-contenido {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--verde-500);
  color: var(--negro-950);
  font-weight: 800;
  border-radius: var(--radio-s);
  transition: top var(--transicion);
}
.salto-contenido:focus-visible { top: 12px; }

:focus-visible {
  outline: 2px solid var(--verde-neon);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. UTILIDADES ---------- */
.contenedor {
  width: min(100% - 2.5rem, 1240px);
  margin-inline: auto;
}
.contenedor--estrecho { max-width: 860px; }

.icono { width: 1.25em; height: 1.25em; flex: none; }
.icono--mini { width: 0.95em; height: 0.95em; }

/* Botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--fuente-base);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--transicion), box-shadow var(--transicion),
              background var(--transicion), border-color var(--transicion), color var(--transicion);
  will-change: transform;
}
.boton:active { transform: translateY(1px) scale(0.99); }

.boton--primario {
  background: linear-gradient(135deg, var(--verde-500), var(--verde-700));
  color: #04120a;
  font-weight: 800;
  box-shadow: var(--glow-verde), var(--sombra-suave);
}
.boton--primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(57, 255, 136, 0.4), var(--sombra);
}

.boton--fantasma {
  background: var(--cristal);
  border-color: var(--cristal-borde);
  color: var(--gris-100);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.boton--fantasma:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: var(--glow-verde);
}

.boton--grande { padding: 1.05em 2em; font-size: 1.06rem; }
.boton--mini { padding: 0.5em 0.95em; font-size: 0.86rem; border-radius: 9px; margin-top: 0.9rem;
  background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.35); color: var(--verde-100); }
.boton--mini:hover { background: rgba(74, 222, 128, 0.2); box-shadow: var(--glow-verde); }

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4em 0.9em;
  border-radius: 999px;
  background: var(--cristal);
  border: 1px solid var(--cristal-borde);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gris-300);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.chip--dorado {
  color: var(--dorado-300);
  border-color: rgba(245, 195, 77, 0.4);
  background: rgba(245, 195, 77, 0.08);
}

/* Tarjetas de cristal */
.tarjeta {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--cristal-borde);
  border-radius: var(--radio);
  padding: 1.6rem;
  box-shadow: var(--sombra-suave);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
}
.tarjeta:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: var(--sombra), var(--glow-verde);
}

/* ---------- 3. PARTÍCULAS DE FONDO (muy discretas) ---------- */
.particulas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particulas span {
  position: absolute;
  bottom: -12px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(74, 222, 128, 0.35);
  box-shadow: 0 0 10px rgba(57, 255, 136, 0.5);
  animation: flotar 18s linear infinite;
  opacity: 0;
}
.particulas span:nth-child(1)  { left: 6%;  animation-delay: 0s;   animation-duration: 20s; }
.particulas span:nth-child(2)  { left: 14%; animation-delay: 3s;   animation-duration: 24s; width: 4px; height: 4px; }
.particulas span:nth-child(3)  { left: 24%; animation-delay: 7s;   animation-duration: 19s; }
.particulas span:nth-child(4)  { left: 33%; animation-delay: 1.5s; animation-duration: 26s; width: 5px; height: 5px; }
.particulas span:nth-child(5)  { left: 44%; animation-delay: 9s;   animation-duration: 22s; }
.particulas span:nth-child(6)  { left: 52%; animation-delay: 5s;   animation-duration: 28s; width: 4px; height: 4px; background: rgba(245,195,77,.3); box-shadow: 0 0 10px rgba(245,195,77,.45); }
.particulas span:nth-child(7)  { left: 61%; animation-delay: 11s;  animation-duration: 21s; }
.particulas span:nth-child(8)  { left: 69%; animation-delay: 2.5s; animation-duration: 25s; width: 5px; height: 5px; }
.particulas span:nth-child(9)  { left: 78%; animation-delay: 8s;   animation-duration: 20s; }
.particulas span:nth-child(10) { left: 86%; animation-delay: 13s;  animation-duration: 27s; width: 4px; height: 4px; background: rgba(245,195,77,.3); box-shadow: 0 0 10px rgba(245,195,77,.45); }
.particulas span:nth-child(11) { left: 93%; animation-delay: 6s;   animation-duration: 23s; }
.particulas span:nth-child(12) { left: 39%; animation-delay: 15s;  animation-duration: 24s; }

@keyframes flotar {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.55; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(-108vh) rotate(200deg); opacity: 0; }
}

/* ---------- 4. NAVEGACIÓN ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(7, 16, 10, 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--cristal-borde);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--alto-nav);
}
.nav__marca {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__logo { border-radius: 8px; box-shadow: 0 0 0 1px var(--cristal-borde), var(--glow-verde); }
.nav__nombre {
  font-family: var(--fuente-pixel);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--verde-100);
  text-shadow: 0 0 14px rgba(57, 255, 136, 0.55);
  white-space: nowrap;
}
.nav__enlaces {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.6rem);
}
.nav__enlaces a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gris-300);
  padding: 0.4rem 0.15rem;
  transition: color var(--transicion);
}
.nav__enlaces a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--verde-neon), var(--verde-500));
  border-radius: 2px;
  transition: right var(--transicion);
}
.nav__enlaces a:hover { color: #fff; }
.nav__enlaces a:hover::after { right: 0; }

.nav__hamburguesa {
  display: none;
  background: var(--cristal);
  border: 1px solid var(--cristal-borde);
  border-radius: 10px;
  color: var(--gris-100);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}

/* Píldora de estado en la nav */
.pildora-estado {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.42em 0.95em;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--cristal);
  border: 1px solid var(--cristal-borde);
  color: var(--gris-300);
}
.pildora-estado__punto {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gris-500);
  transition: background var(--transicion), box-shadow var(--transicion);
}
.pildora-estado[data-estado="online"] .pildora-estado__punto { background: var(--verde-neon); box-shadow: 0 0 10px var(--verde-neon); animation: latido 2.2s ease-in-out infinite; }
.pildora-estado[data-estado="online"] { color: var(--verde-100); border-color: rgba(74,222,128,.4); }
.pildora-estado[data-estado="offline"] .pildora-estado__punto { background: #ff6b6b; box-shadow: 0 0 10px rgba(255,107,107,.7); }
.pildora-estado[data-estado="offline"] { color: #ffb3b3; border-color: rgba(255,107,107,.4); }

@keyframes latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero__fondo, .hero__fondo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__fondo img { animation: zoom-lento 26s ease-in-out infinite alternate; }
@keyframes zoom-lento {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
.hero__velo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,8,7,0.55) 0%, rgba(5,8,7,0.25) 40%, rgba(5,8,7,0.82) 88%, var(--negro-950) 100%),
    radial-gradient(70% 55% at 50% 45%, transparent 30%, rgba(5,8,7,0.55) 100%);
}
.hero__contenido {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: calc(var(--alto-nav) + 2rem) 0 4rem;
}
.hero__eyebrow {
  font-family: var(--fuente-pixel);
  font-size: clamp(0.55rem, 1.4vw, 0.8rem);
  color: var(--dorado-300);
  text-shadow: 0 0 18px rgba(245, 195, 77, 0.5);
  letter-spacing: 0.12em;
  margin-bottom: 1.4rem;
}
.hero__wordmark {
  width: min(760px, 86vw);
  height: auto;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,0.65)) drop-shadow(0 0 30px rgba(57,255,136,0.18));
}
.hero__lema {
  max-width: 46ch;
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.4vw + 0.6rem, 1.25rem);
  color: var(--gris-300);
  text-wrap: balance;
}
.hero__acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.1rem;
}
.hero__bajar {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cristal);
  border: 1px solid var(--cristal-borde);
  color: var(--verde-100);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: rebotar 2.4s ease-in-out infinite;
  transition: box-shadow var(--transicion), border-color var(--transicion);
}
.hero__bajar:hover { border-color: rgba(74,222,128,.5); box-shadow: var(--glow-verde); }
@keyframes rebotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ---------- 6. SECCIONES ---------- */
.seccion {
  position: relative;
  padding: clamp(4rem, 9vh, 7rem) 0;
  z-index: 1;
}
.seccion--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.018) 20% 80%, transparent); }
.seccion--fondo { isolation: isolate; overflow: clip; }
.seccion__imagen-fondo, .seccion__imagen-fondo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.seccion--fondo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--negro-950) 0%, rgba(5,8,7,0.86) 18% 82%, var(--negro-950) 100%);
}
.seccion__cabecera {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.2rem, 5vh, 3.5rem);
}
.seccion__eyebrow {
  font-family: var(--fuente-pixel);
  font-size: clamp(0.5rem, 1vw, 0.66rem);
  letter-spacing: 0.16em;
  color: var(--verde-300);
  text-shadow: 0 0 16px rgba(57, 255, 136, 0.4);
  margin-bottom: 0.9rem;
}
.seccion__titulo {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.seccion__sub {
  margin-top: 0.8rem;
  color: var(--gris-500);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  text-wrap: balance;
}

/* ---------- 7. ESTADO EN VIVO ---------- */
.estado-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1.1rem;
}
.tarjeta--principal { grid-column: span 10; }
.tarjeta--metrica { grid-column: span 2; text-align: center; padding: 1.3rem 0.9rem; }
.tarjeta--ip { grid-column: span 10; }

.estado-principal {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}
.estado-principal__icono img {
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--cristal-borde), var(--sombra-suave);
  image-rendering: pixelated;
}
.estado-principal__info { flex: 1; min-width: 0; }
.estado-principal__linea1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.insignia {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 1em;
  border-radius: 999px;
  font-family: var(--fuente-pixel);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--cristal-borde);
  background: var(--cristal);
  color: var(--gris-300);
}
.insignia__punto { width: 10px; height: 10px; border-radius: 50%; background: var(--gris-500); }
.insignia[data-estado="online"]  { color: var(--verde-100); border-color: rgba(74,222,128,.45); background: rgba(34,197,94,.1); box-shadow: var(--glow-verde); }
.insignia[data-estado="online"] .insignia__punto { background: var(--verde-neon); box-shadow: 0 0 12px var(--verde-neon); animation: latido 2.2s infinite; }
.insignia[data-estado="offline"] { color: #ffc2c2; border-color: rgba(255,107,107,.45); background: rgba(255,107,107,.08); }
.insignia[data-estado="offline"] .insignia__punto { background: #ff6b6b; box-shadow: 0 0 12px rgba(255,107,107,.8); }
.insignia[data-estado="cargando"] .insignia__punto { animation: latido 1.1s infinite; }

.estado-principal__motd {
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  min-height: 1.5em;
  color: var(--gris-100);
  overflow-wrap: anywhere;
}
/* Colores de códigos § del MOTD (los genera el backend) */
.mc-dorado { color: var(--dorado-500); } .mc-verde { color: var(--verde-300); }
.mc-aqua { color: #67e8f9; } .mc-gris { color: var(--gris-500); }
.mc-gris-osc { color: var(--gris-700); } .mc-blanco { color: #fff; }
.mc-negrita { font-weight: 800; }

.estado-principal__jugadores { margin-top: 1.1rem; }
.jugadores__conteo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--verde-100);
}
.jugadores__conteo .icono { align-self: center; color: var(--verde-300); }
#conteoJugadores {
  font-family: var(--fuente-pixel);
  font-size: 1.05rem;
  text-shadow: 0 0 16px rgba(57,255,136,.45);
}
.jugadores__texto { color: var(--gris-500); font-size: 0.92rem; }

.barra {
  margin-top: 0.7rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--cristal-borde);
  overflow: hidden;
}
.barra__relleno {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--verde-700), var(--verde-neon));
  box-shadow: 0 0 14px rgba(57,255,136,.5);
  transition: width 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.jugadores__lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.jugadores__lista li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--verde-100);
}
.jugadores__lista li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--verde-neon);
  box-shadow: 0 0 8px var(--verde-neon);
}
.jugadores__lista .jugadores__vacio {
  background: transparent;
  border-style: dashed;
  border-color: var(--gris-700);
  color: var(--gris-500);
}
.jugadores__lista .jugadores__vacio::before { display: none; }

.metrica__icono { width: 1.7em; height: 1.7em; margin-inline: auto; color: var(--verde-300); }
.metrica__valor {
  margin-top: 0.65rem;
  font-family: var(--fuente-pixel);
  font-size: clamp(0.82rem, 1.6vw, 1.02rem);
  color: #fff;
  min-height: 1.4em;
}
.metrica__nombre {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gris-500);
  text-transform: uppercase;
  font-weight: 700;
}

.tarjeta--ip { display: grid; gap: 0.5rem; }
.ip__etiqueta {
  font-family: var(--fuente-pixel);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--dorado-300);
}
.ip__fila {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.ip__valor {
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(57,255,136,.35);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.ip__nota { color: var(--gris-500); font-size: 0.88rem; }

.boton--copiar {
  background: rgba(245, 195, 77, 0.1);
  border: 1px solid rgba(245, 195, 77, 0.45);
  color: var(--dorado-300);
  padding: 0.6em 1.2em;
}
.boton--copiar:hover { box-shadow: 0 0 22px rgba(245,195,77,.3); transform: translateY(-2px); }
.boton--copiar .icono--check { display: none; color: var(--verde-neon); }
.boton--copiar.copiado { border-color: rgba(74,222,128,.55); color: var(--verde-100); background: rgba(34,197,94,.12); }
.boton--copiar.copiado .icono--copiar { display: none; }
.boton--copiar.copiado .icono--check { display: block; }

.estado-pie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  color: var(--gris-500);
  font-size: 0.88rem;
}
.punto-vivo {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gris-700);
  transition: background var(--transicion), box-shadow var(--transicion);
}
.punto-vivo--activo { background: var(--verde-neon); box-shadow: 0 0 10px var(--verde-neon); animation: latido 2s infinite; }
.punto-vivo--error { background: #ff6b6b; box-shadow: 0 0 10px rgba(255,107,107,.8); }

/* Esqueletos de carga */
.esqueleto {
  display: inline-block;
  border-radius: 6px;
  background: linear-gradient(100deg, rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.06) 60%);
  background-size: 220% 100%;
  animation: brillo-esqueleto 1.4s linear infinite;
}
.esqueleto--texto { width: min(340px, 70%); height: 1.1em; }
.esqueleto--num { width: 3.2em; height: 1.1em; }
@keyframes brillo-esqueleto {
  from { background-position: 130% 0; }
  to   { background-position: -90% 0; }
}

/* ---------- 8. MODPACK ---------- */
.modpack {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}
.modpack__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.modpack__botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.modpack__nota { color: var(--gris-500); font-size: 0.88rem; max-width: 56ch; }

/* ---------- 9. CÓMO ENTRAR ---------- */
.aviso {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 860px;
  margin: 0 auto clamp(2.4rem, 5vh, 3.4rem);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radio);
  background: linear-gradient(150deg, rgba(245,195,77,0.12), rgba(245,195,77,0.04));
  border: 1px solid rgba(245, 195, 77, 0.5);
  box-shadow: 0 0 34px rgba(245, 195, 77, 0.12), var(--sombra-suave);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.aviso__icono {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(245,195,77,0.14);
  border: 1px solid rgba(245,195,77,0.45);
  color: var(--dorado-500);
}
.aviso__icono .icono { width: 1.5em; height: 1.5em; }
.aviso__titulo {
  font-family: var(--fuente-pixel);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--dorado-300);
  margin-bottom: 0.55rem;
}
.aviso__texto { color: var(--gris-100); }
.aviso__texto strong { color: var(--dorado-300); }

.pasos {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 1.6rem;
}
.pasos::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--verde-500), rgba(74,222,128,0.08));
}
.paso {
  position: relative;
  display: flex;
  gap: 1.3rem;
}
.paso__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--negro-800), var(--negro-900));
  border: 1px solid rgba(74, 222, 128, 0.5);
  box-shadow: var(--glow-verde);
}
.paso__num span {
  font-family: var(--fuente-pixel);
  font-size: 0.85rem;
  color: var(--verde-neon);
}
.paso__num--dorado { border-color: rgba(245,195,77,0.55); box-shadow: 0 0 24px rgba(245,195,77,0.2); }
.paso__num--dorado span { color: var(--dorado-500); }
.paso__tarjeta { flex: 1; }
.paso__tarjeta--clave { border-color: rgba(245,195,77,0.4); }
.paso__tarjeta--clave:hover { border-color: rgba(245,195,77,0.6); box-shadow: var(--sombra), 0 0 26px rgba(245,195,77,0.18); }
.paso__icono { width: 1.6em; height: 1.6em; color: var(--verde-300); margin-bottom: 0.7rem; }
.paso__tarjeta--clave .paso__icono { color: var(--dorado-500); }
.paso__titulo { font-size: 1.12rem; font-weight: 800; color: #fff; margin-bottom: 0.45rem; }
.paso__texto { color: var(--gris-300); font-size: 0.96rem; }
.paso__texto code {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  padding: 0.1em 0.45em;
  border-radius: 6px;
  color: var(--verde-100);
  font-size: 0.92em;
}

/* ---------- 10. CARACTERÍSTICAS / INFO / NOTICIAS / FAQ ---------- */
.grid-caracteristicas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.caracteristica { text-align: left; }
.caracteristica__icono { width: 1.9em; height: 1.9em; color: var(--verde-300); margin-bottom: 0.9rem; filter: drop-shadow(0 0 10px rgba(57,255,136,.35)); }
.caracteristica h3 { font-size: 1.06rem; font-weight: 800; color: #fff; margin-bottom: 0.45rem; }
.caracteristica p { color: var(--gris-500); font-size: 0.92rem; }

.grid-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
}
.info > .icono { width: 1.7em; height: 1.7em; color: var(--dorado-500); flex: none; }
.info__nombre { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--gris-500); }
.info__valor { font-weight: 700; color: var(--gris-100); font-size: 0.98rem; }

.grid-noticias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  max-width: 980px;
  margin-inline: auto;
}
.noticia__fecha {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--fuente-pixel);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  color: var(--verde-300);
  margin-bottom: 0.85rem;
}
.noticia__titulo { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.noticia__texto { color: var(--gris-300); font-size: 0.95rem; }
.noticia--proximamente { opacity: 0.75; border-style: dashed; }
.noticia--proximamente .noticia__fecha { color: var(--dorado-300); }

.faq-lista { display: grid; gap: 0.8rem; }
.faq {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--cristal-borde);
  border-radius: var(--radio-s);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transicion);
}
.faq[open] { border-color: rgba(74,222,128,0.4); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--gris-100);
  list-style: none;
  transition: color var(--transicion), background var(--transicion);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; background: rgba(255,255,255,0.03); }
.faq__flecha { color: var(--verde-300); transition: transform var(--transicion); }
.faq[open] .faq__flecha { transform: rotate(180deg); }
.faq p { padding: 0 1.3rem 1.15rem; color: var(--gris-500); }

/* ---------- 11. PIE ---------- */
.pie {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  border-top: 1px solid var(--cristal-borde);
  background: linear-gradient(180deg, transparent, rgba(10, 20, 16, 0.65));
}
.pie__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.pie__texto { margin-top: 1rem; color: var(--gris-500); font-size: 0.92rem; max-width: 34ch; }
.pie__titulo {
  font-family: var(--fuente-pixel);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--verde-300);
  margin-bottom: 1rem;
}
.pie__enlaces { display: grid; gap: 0.55rem; color: var(--gris-500); font-size: 0.94rem; }
.pie__enlaces a { transition: color var(--transicion); }
.pie__enlaces a:hover { color: var(--verde-100); }
.pie__legal { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.1rem 0; }
.pie__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--gris-700);
  font-size: 0.85rem;
}
.pie__arriba {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cristal);
  border: 1px solid var(--cristal-borde);
  color: var(--verde-100);
  transition: box-shadow var(--transicion), border-color var(--transicion), transform var(--transicion);
}
.pie__arriba:hover { border-color: rgba(74,222,128,.5); box-shadow: var(--glow-verde); transform: translateY(-2px); }

.sin-js {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  margin: 0;
  padding: 0.8rem 1.2rem;
  text-align: center;
  background: var(--dorado-700);
  color: #fff;
  font-weight: 600;
}

/* ---------- 12. ANIMACIONES DE ENTRADA Y REVELADO ---------- */
.anim-entrada {
  animation: entrada 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--retardo, 0s);
}
@keyframes entrada {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--retardo, 0s);
}
.revelar--visible { opacity: 1; transform: none; }

/* ---------- 13. RESPONSIVE ---------- */
/* Portátiles pequeños y tablets horizontales */
@media (max-width: 1100px) {
  .grid-caracteristicas { grid-template-columns: repeat(3, 1fr); }
  .grid-info { grid-template-columns: repeat(3, 1fr); }
  .tarjeta--metrica { grid-column: span 2; }
}

/* Tablets */
@media (max-width: 900px) {
  .nav__hamburguesa { display: grid; place-items: center; }
  .nav__enlaces {
    position: fixed;
    top: var(--alto-nav);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.2rem 1.2rem;
    background: rgba(7, 16, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--cristal-borde);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transicion), transform var(--transicion), visibility var(--transicion);
  }
  .nav__enlaces.abierto { transform: none; opacity: 1; visibility: visible; }
  .nav__enlaces a { display: block; padding: 0.85rem 0.4rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav__estado-item { padding-top: 0.9rem; }

  .estado-grid { grid-template-columns: repeat(6, 1fr); }
  .tarjeta--principal, .tarjeta--ip { grid-column: span 6; }
  .tarjeta--metrica { grid-column: span 2; }

  .grid-caracteristicas { grid-template-columns: repeat(2, 1fr); }
  .grid-info { grid-template-columns: repeat(2, 1fr); }
  .grid-noticias { grid-template-columns: 1fr; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
}

/* Móviles */
@media (max-width: 600px) {
  .estado-grid { grid-template-columns: repeat(2, 1fr); }
  .tarjeta--principal, .tarjeta--ip { grid-column: span 2; }
  .tarjeta--metrica { grid-column: span 1; }
  .tarjeta--metrica:last-of-type { grid-column: span 2; }

  .estado-principal { flex-direction: column; align-items: center; text-align: center; }
  .estado-principal__linea1, .jugadores__conteo, .jugadores__lista { justify-content: center; }

  .grid-caracteristicas, .grid-info { grid-template-columns: 1fr; }
  .pie__grid { grid-template-columns: 1fr; }
  .pasos::before { left: 20px; }
  .paso { gap: 0.9rem; }
  .paso__num { width: 42px; height: 42px; border-radius: 11px; }
  .aviso { flex-direction: column; }
  .ip__fila { flex-direction: column; align-items: flex-start; }
  .hero__acciones .boton { width: 100%; }
}

/* Pantallas muy grandes: 1440p, 4K y ultrapanorámicos */
@media (min-width: 1800px) {
  .contenedor { width: min(100% - 4rem, 1440px); }
  body { font-size: 18px; }
}
@media (min-width: 2400px) {
  .contenedor { width: min(100% - 6rem, 1680px); }
  .hero__wordmark { width: min(880px, 60vw); }
}
/* Ultrapanorámico: el hero no estira su composición */
@media (min-aspect-ratio: 21/9) {
  .hero__contenido { max-width: 1100px; }
}
/* Móvil apaisado con poca altura */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 130svh; }
  .hero__bajar { display: none; }
}

/* ---------- 14. ACCESIBILIDAD Y MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .particulas { display: none; }
  .hero__fondo img { animation: none; }
  .revelar { opacity: 1; transform: none; }
  .anim-entrada { animation: none; }
}
