/* AI AZRAEL · identidad compartida (colores oficiales de la guía de redes) */
:root {
  --oro: #FFD700;
  --onix: #0B0B0F;
  --neon: #00D5FF;
  --blanco: #EDEFF4;
  --metal: #7A7F87;
  --panel: #14141B;
  --borde: rgba(122, 127, 135, 0.28);
  --oro-suave: rgba(255, 215, 0, 0.14);
  --neon-suave: rgba(0, 213, 255, 0.16);
  --radio: 14px;
  --f-marca: "Orbitron", "Sora", system-ui, sans-serif;
  --f-texto: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background: var(--onix);
  color: var(--blanco);
  font-family: var(--f-texto);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fondo: rejilla metálica + halos de oro y neón */
.fondo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 85% -10%, var(--neon-suave), transparent 60%),
    radial-gradient(50rem 36rem at -10% 110%, var(--oro-suave), transparent 60%),
    linear-gradient(transparent 0 calc(100% - 1px), rgba(122,127,135,.08) 0) 0 0 / 100% 56px,
    linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(122,127,135,.08) 0) 0 0 / 56px 100%;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
}

.contenedor { width: min(1120px, 100% - 32px); margin-inline: auto; }

a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

/* Cabecera */
.cabecera { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.marca { display: flex; align-items: center; gap: 12px; color: var(--blanco); text-decoration: none; }
.marca:hover { text-decoration: none; }
.marca-texto { font-family: var(--f-marca); font-weight: 800; letter-spacing: .18em; font-size: 15px; }
.marca-texto b { color: var(--oro); font-weight: 800; }
.logo-hueco {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  border: 1px dashed var(--metal); display: grid; place-items: center;
  font-size: 9px; color: var(--metal); text-align: center; line-height: 1.1;
}
.nick { font-size: 13px; color: var(--metal); letter-spacing: .04em; }

/* LEDs (lenguaje de AZ) */
.leds { display: inline-flex; gap: 6px; }
.leds i { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: led 2.4s infinite ease-in-out; }
.leds i:nth-child(2) { animation-delay: .3s; background: var(--oro); box-shadow: 0 0 10px var(--oro); }
.leds i:nth-child(3) { animation-delay: .6s; }
@keyframes led { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Etiqueta */
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--borde); background: rgba(20,20,27,.7);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--oro);
}

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 15px/1 var(--f-texto); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.boton:hover { text-decoration: none; transform: translateY(-1px); }
.boton-oro { background: var(--oro); color: var(--onix); box-shadow: 0 8px 30px rgba(255,215,0,.18); }
.boton-oro:hover { box-shadow: 0 10px 40px rgba(255,215,0,.32); }
.boton-linea { background: transparent; color: var(--blanco); border-color: var(--borde); }
.boton-linea:hover { border-color: var(--neon); color: var(--neon); }

/* Formulario avísame */
.avisame { display: flex; gap: 10px; flex-wrap: wrap; }
.avisame input {
  flex: 1 1 240px; min-height: 48px; padding: 0 16px; border-radius: 12px;
  background: var(--panel); color: var(--blanco); border: 1px solid var(--borde);
  font: 400 15px var(--f-texto);
}
.avisame input::placeholder { color: var(--metal); }
.avisame input:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-suave); }
.avisame-estado { min-height: 1.4em; margin-top: 10px; font-size: 14px; color: var(--metal); }
.avisame-estado.ok { color: var(--neon); }
.avisame-estado.error { color: #ff8a8a; }

/* Pie */
.pie { border-top: 1px solid var(--borde); padding: 28px 0 36px; margin-top: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--metal); }
.firma { font-family: var(--f-marca); letter-spacing: .14em; color: var(--oro); font-size: 12px; text-transform: uppercase; }

.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
