/* ARES · pantalla de acceso «Welcome to ARES» (B13c, desarrollador, 24-nov-2026).
   Negra, sin cabecera ni pie: el planeta, el saludo y nada más. Sin enlaces externos:
   la fuente es un archivo de la propia web (app/fonts, copiada por publicar.py). */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/NGSnv5HMAFg6IuGlBNMjxJEL2VmU3NS7Z2mj0QiqXA.ttf') format('truetype');
}

:root {
  --bg: #0a0909;
  --fg: #f4efec;
  --muted: #8f8580;
  --ember: #ef5a3a;
  --ember2: #ff8a5c;
  --bronze: #c79a5e;
  --line2: #332c2a;
  --panel: #141211;
  --bad: #ef6464;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ember); color: #fff; }

#planeta {
  width: 300px;
  height: 300px;
  margin-bottom: -28px;   /* Claude 24-nov: planeta más presente; el halo se acerca al saludo */
  opacity: 0;
  transition: opacity .4s ease .05s;
}
body.listo #planeta { opacity: 1; }

h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-align: center;
}

form {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
input {
  background: #0f0d0d;
  border: 1px solid var(--line2);
  border-radius: 9px;
  color: var(--fg);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  width: 100%;
}
input:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(239, 90, 58, .16);
}
button {
  margin-top: 4px;
  background: var(--ember);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
button:hover { filter: brightness(1.07); }
button:active { transform: translateY(1px); }

.err { margin: 0; color: var(--bad); font-size: 13.5px; text-align: center; }
.hint, .hola { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.hola { font-size: 14px; color: var(--fg2, #cbc2bd); }

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  #planeta { width: 220px; height: 220px; margin-bottom: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  #planeta { transition: none; opacity: 1; }
}
