/* ═══════════════════════════════════════════════════════════════
   NICKTOOLS PRO — styles.css
   Tema: Dark Gamer | Acentos neón #00ffcc y #00b3ff
   Enfoque: Mobile-First · Zero CLS · Core Web Vitals óptimos
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables globales ─────────────────────────────────────── */
:root {
  --bg-deep:        #0a0a14;
  --bg-card:        #111122;
  --bg-card-alt:    #0e0e1d;
  --bg-border:      #1e1e3a;
  --bg-border-soft: rgba(30, 30, 58, 0.7);

  --neon-cyan:      #00ffcc;
  --neon-blue:      #00b3ff;
  --glow-cyan:      rgba(0, 255, 204, 0.25);
  --glow-blue:      rgba(0, 179, 255, 0.25);

  --txt-primary:    #e8eaf6;
  --txt-muted:      #7b83a8;
  --txt-accent:     #a8b0d8;
  --txt-success:    #00ffcc;
  --txt-error:      #ff4466;

  --font:           system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.6);

  /* ── Reserva de espacio para bloques de anuncio (evita CLS) ── */
  --ad-h-mobile:  60px;
  --ad-h-desktop: 90px;
  --ad-w-max:     728px;
}

/* ── Reset minimal ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--txt-primary);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Degradado de fondo atmosférico — solo CSS, sin imágenes */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(0, 179, 255, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(0, 255, 204, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Contenedor principal ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: 1rem;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   ENCABEZADO (sticky, backdrop blur)
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-border);
  padding: 0.6rem 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.2rem;
  list-style: none;
  font-size: 0.7rem;
  color: var(--txt-muted);
}

.breadcrumb a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: opacity 0.15s;
}

.breadcrumb a:hover { opacity: 0.75; }

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.2rem;
  opacity: 0.5;
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-icono {
  font-size: 1.35rem;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 5px var(--glow-cyan));
  line-height: 1;
}

.logo-texto {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--txt-primary);
}

.logo-acento { color: var(--neon-cyan); }

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN HERO
   ═══════════════════════════════════════════════════════════════ */
.seccion-hero {
  padding: 2rem 0 1.25rem;
}

/* H1 semántico con palabras clave transaccionales */
.titulo-h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  font-size: clamp(1.55rem, 5.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 1rem;
}

.titulo-degradado {
  display: block;
  background: linear-gradient(130deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.titulo-sub {
  display: block;
  font-size: clamp(0.72rem, 2.2vw, 0.88rem);
  font-weight: 400;
  color: var(--txt-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.descripcion-hero {
  text-align: center;
  color: var(--txt-accent);
  font-size: clamp(0.88rem, 2vw, 1rem);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.descripcion-hero strong { color: var(--txt-primary); }

/* ═══════════════════════════════════════════════════════════════
   BLOQUE DE ANUNCIO NATIVO
   Dimensiones fijas → previene CLS (Cumulative Layout Shift).
   contain: layout size → el navegador no hace reflow cuando
   el SDK de Monetag inserta el banner dinámicamente.
   ═══════════════════════════════════════════════════════════════ */
.bloque-anuncio-nativo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--ad-w-max);
  min-height: var(--ad-h-mobile);
  margin: 1.25rem auto;
  background: rgba(20, 20, 40, 0.5);
  border: 1px dashed rgba(0, 179, 255, 0.18);
  border-radius: var(--r-sm);
  overflow: hidden;
  contain: layout size;
  content-visibility: auto;
}

.anuncio-etiqueta {
  font-size: 0.6rem;
  color: rgba(123, 131, 168, 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

/* ═══════════════════════════════════════════════════════════════
   TARJETA HERRAMIENTA
   ═══════════════════════════════════════════════════════════════ */
.tool-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* Línea de acento superior */
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
}

/* Visor del carácter */
.char-visor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.char-caja {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-deep);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-md);
  padding: 0.9rem 1.4rem;
}

.char-invisible {
  display: inline-block;
  font-size: 2.2rem;
  line-height: 1;
  min-width: 2.2rem;
  min-height: 2.6rem;
  background: rgba(0, 255, 204, 0.07);
  border: 1px solid rgba(0, 255, 204, 0.28);
  border-radius: 6px;
  box-shadow: inset 0 0 14px rgba(0, 255, 204, 0.08);
}

.char-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--neon-cyan);
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid rgba(0, 255, 204, 0.22);
  border-radius: 4px;
  padding: 0.2em 0.55em;
}

.char-caption {
  font-size: 0.76rem;
  color: var(--txt-muted);
  max-width: 320px;
  line-height: 1.5;
}

/* ── Botón principal CTA ───────────────────────────────────── */
.btn-principal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 300px;
  padding: 0.88rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bg-deep);
  background: linear-gradient(130deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 22px var(--glow-cyan), 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.btn-principal:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--glow-cyan), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-principal:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 0 14px var(--glow-cyan);
}

.btn-principal:disabled {
  opacity: 0.65;
  cursor: default;
}

.btn-principal.copiado {
  background: linear-gradient(130deg, #00e5b0, #00cc44);
  box-shadow: 0 0 28px rgba(0, 229, 176, 0.45);
}

/* Efecto brillo animado sobre el botón */
.btn-brillo {
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  animation: btn-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0%   { left: -100%; }
  28%  { left: 130%;  }
  100% { left: 130%;  }
}

.btn-icono-svg {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mensaje de feedback */
.feedback-msg {
  min-height: 1.5em;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--r-sm);
  padding: 0.4rem 0.75rem;
  transition: opacity 0.2s ease;
}

.feedback-msg:empty {
  padding: 0;
  min-height: 0;
}

.feedback-msg.exito {
  color: var(--txt-success);
  background: rgba(0, 255, 204, 0.09);
  border: 1px solid rgba(0, 255, 204, 0.22);
}

.feedback-msg.error {
  color: var(--txt-error);
  background: rgba(255, 68, 102, 0.09);
  border: 1px solid rgba(255, 68, 102, 0.22);
}

/* Meta-datos del carácter */
.char-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--bg-border);
  width: 100%;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.meta-etiqueta {
  font-size: 0.62rem;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.meta-valor {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-blue);
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN GUÍA DE USO
   ═══════════════════════════════════════════════════════════════ */
.seccion-guia {
  padding: 3rem 0;
}

.seccion-guia h2,
.seccion-juegos h2,
.seccion-faq h2 {
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.seccion-guia h2 {
  background: linear-gradient(130deg, var(--txt-primary), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seccion-desc {
  text-align: center;
  color: var(--txt-muted);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
}

.lista-pasos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.paso {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-md);
  padding: 0.95rem 1.1rem;
  transition: border-color 0.2s ease;
}

.paso:hover { border-color: rgba(0, 179, 255, 0.32); }

.paso-num {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: var(--bg-deep);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-cuerpo {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.paso-cuerpo strong {
  font-size: 0.92rem;
  color: var(--txt-primary);
}

.paso-cuerpo span {
  font-size: 0.82rem;
  color: var(--txt-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN JUEGOS COMPATIBLES
   ═══════════════════════════════════════════════════════════════ */
.seccion-juegos {
  padding: 2.25rem 0;
  background: linear-gradient(180deg, transparent, rgba(13,13,30,0.7), transparent);
}

.seccion-juegos h2 {
  background: linear-gradient(130deg, var(--txt-primary), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.4rem;
}

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

.juego-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.juego-card:hover {
  border-color: rgba(0, 255, 204, 0.28);
  transform: translateY(-2px);
}

.juego-icono {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.juego-nombre {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt-primary);
}

.juego-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2em 0.45em;
  border-radius: 4px;
  flex-shrink: 0;
}

.juego-badge.compatible {
  color: var(--neon-cyan);
  background: rgba(0, 255, 204, 0.09);
  border: 1px solid rgba(0, 255, 204, 0.22);
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN FAQ — accordion nativo <details>/<summary>
   ═══════════════════════════════════════════════════════════════ */
.seccion-faq {
  padding: 2.25rem 0 3.5rem;
}

.seccion-faq h2 {
  background: linear-gradient(130deg, var(--txt-primary), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}

.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(0, 179, 255, 0.28);
}

.faq-pregunta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--txt-primary);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-pregunta::-webkit-details-marker { display: none; }
.faq-pregunta::marker { display: none; }

/* Icono +/− generado por CSS */
.faq-pregunta::after {
  content: '+';
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 179, 255, 0.25);
  background: rgba(0, 179, 255, 0.08);
  color: var(--neon-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

details[open] > .faq-pregunta {
  color: var(--neon-cyan);
}

details[open] > .faq-pregunta::after {
  content: '−';
  background: rgba(0, 255, 204, 0.1);
  border-color: rgba(0, 255, 204, 0.28);
  color: var(--neon-cyan);
}

.faq-respuesta {
  padding: 0.1rem 1.1rem 1.1rem;
  border-top: 1px solid var(--bg-border);
  font-size: 0.86rem;
  color: var(--txt-accent);
  line-height: 1.7;
}

.faq-respuesta p + p       { margin-top: 0.65rem; }
.faq-respuesta ul,
.faq-respuesta ol          { padding-left: 1.25rem; margin: 0.5rem 0; }
.faq-respuesta li          { margin-bottom: 0.3rem; }
.faq-respuesta strong      { color: var(--txt-primary); }
.faq-respuesta em          { color: var(--neon-cyan); font-style: normal; }

/* ═══════════════════════════════════════════════════════════════
   ENCABEZADO DE MÉTODO (shared por Método 1 y 2)
   ═══════════════════════════════════════════════════════════════ */
.metodo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  width: 100%;
}

.metodo-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid rgba(0, 255, 204, 0.28);
  color: var(--neon-cyan);
}

.metodo-badge.m2 {
  background: rgba(0, 179, 255, 0.1);
  border-color: rgba(0, 179, 255, 0.28);
  color: var(--neon-blue);
}

.metodo-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt-primary);
  margin: 0;
}

.metodo-desc {
  font-size: 0.8rem;
  color: var(--txt-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MÉTODO 1 — Grid de 3 botones de tamaño
   ═══════════════════════════════════════════════════════════════ */
.botones-metodo1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  width: 100%;
}

.btn-metodo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem 0.5rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-md);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.14s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.btn-metodo:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-metodo:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-metodo:disabled {
  opacity: 0.65;
  cursor: default;
}

/* Variantes de color por tamaño */
.btn-peq {
  border-color: rgba(0, 255, 204, 0.2);
  box-shadow: inset 0 0 20px rgba(0, 255, 204, 0.04);
}
.btn-peq:hover:not(:disabled) {
  border-color: rgba(0, 255, 204, 0.5);
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.18);
}
.btn-peq.copiado {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.btn-med {
  border-color: rgba(0, 179, 255, 0.2);
  box-shadow: inset 0 0 20px rgba(0, 179, 255, 0.04);
}
.btn-med:hover:not(:disabled) {
  border-color: rgba(0, 179, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 179, 255, 0.18);
}
.btn-med.copiado {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px var(--glow-blue);
}

.btn-gra {
  border-color: rgba(160, 80, 255, 0.2);
  box-shadow: inset 0 0 20px rgba(160, 80, 255, 0.04);
}
.btn-gra:hover:not(:disabled) {
  border-color: rgba(160, 80, 255, 0.5);
  box-shadow: 0 0 18px rgba(160, 80, 255, 0.18);
}
.btn-gra.copiado {
  border-color: #a050ff;
  box-shadow: 0 0 20px rgba(160, 80, 255, 0.35);
}

.bm-icono {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-peq .bm-icono { background: rgba(0, 255, 204, 0.12); color: var(--neon-cyan); }
.btn-med .bm-icono { background: rgba(0, 179, 255, 0.12); color: var(--neon-blue); }
.btn-gra .bm-icono { background: rgba(160, 80, 255, 0.12); color: #b060ff; }

.bm-nombre {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--txt-primary);
}

.bm-codigo {
  font-size: 0.62rem;
  color: var(--txt-muted);
  letter-spacing: 0.04em;
  font-family: monospace;
}

.bm-brillo {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: btn-shine 4s ease-in-out infinite;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   MÉTODO 2 — Sección y estilos del multiplicador
   ═══════════════════════════════════════════════════════════════ */
.seccion-metodo2 {
  padding: 0 0 1.5rem;
}

.contador-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-contador {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--bg-border);
  background: var(--bg-card-alt);
  color: var(--txt-primary);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.btn-contador:hover:not(:disabled) {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 255, 204, 0.08);
}

.btn-contador:disabled {
  opacity: 0.3;
  cursor: default;
}

.contador-valor {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  min-width: 3rem;
  text-align: center;
  background: linear-gradient(130deg, var(--neon-cyan), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.contador-hint {
  font-size: 0.78rem;
  color: var(--txt-muted);
  text-align: center;
  margin-top: -0.5rem;
}

.btn-masa {
  width: 100%;
  max-width: 280px;
}

/* ═══════════════════════════════════════════════════════════════
   ZONA DE PRUEBA
   ═══════════════════════════════════════════════════════════════ */
.seccion-prueba {
  padding: 0 0 2.5rem;
}

.prueba-titulo {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4rem;
  background: linear-gradient(130deg, var(--txt-primary), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prueba-textarea {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-md);
  color: var(--txt-primary);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.prueba-textarea::placeholder {
  color: var(--txt-muted);
  opacity: 0.6;
}

.prueba-textarea:focus {
  outline: none;
  border-color: rgba(0, 255, 204, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.08);
}

.prueba-info {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--neon-cyan);
  text-align: right;
  min-height: 1.2em;
}

/* ═══════════════════════════════════════════════════════════════
   PIE DE PÁGINA
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: 1.4rem 0;
  border-top: 1px solid var(--bg-border);
  background: rgba(10, 10, 20, 0.8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.74rem;
  color: var(--txt-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.9rem;
}

.footer-nav a {
  font-size: 0.74rem;
  color: var(--txt-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover { color: var(--neon-cyan); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≥ 600px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .bloque-anuncio-nativo {
    min-height: var(--ad-h-desktop);
  }

  .tool-card {
    padding: 2.1rem 1.75rem;
  }

  .juegos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .char-meta {
    gap: 0.4rem 2rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Desktop (≥ 860px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 860px) {
  .container {
    padding-inline: 2rem;
  }

  .lista-pasos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .juegos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tool-card {
    padding: 2.5rem 2.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ACCESIBILIDAD — Focus visible
   ═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   PREFERENCIA: sin animaciones (prefers-reduced-motion)
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn-brillo { display: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   IMPRESIÓN
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .site-header,
  .bloque-anuncio-nativo,
  .btn-principal,
  .site-footer { display: none; }
  body {
    background: #fff;
    color: #111;
  }
  .tool-card,
  .faq-item {
    border: 1px solid #ccc;
    background: #fff;
  }
}
