/* Next Connection · base común (pantalla y móvil)
   Lima = conexión: solo sobre oscuro y solo cuando algo se conecta. */
:root {
  --marino: #0D0E1C; --noche: #14162A; --grisaceo: #2C2F52; --lavanda: #A9ABC2; --lima: #D4FF3A; --hueso: #F4F4F0;
  --texto-2: #C9CAD8; --linea: rgba(244, 244, 240, .12); --linea-2: rgba(169, 171, 194, .32);
  --cristal: rgba(20, 22, 42, .58);
  --f: 'Archivo', system-ui, sans-serif; --mono: 'Martian Mono', ui-monospace, monospace;
  --suave: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--marino); color: var(--hueso); font-family: var(--f); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--lima); outline-offset: 3px; border-radius: 8px; }

.cristal {
  background: var(--cristal); border: 1px solid var(--linea); border-radius: 22px;
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.logo { width: 44px; height: auto; flex: none; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 118%; letter-spacing: .03em; line-height: 1.05; }
.marca small { display: block; font-weight: 400; color: var(--lavanda); letter-spacing: .06em; }
.kicker { font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--lavanda); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font: 700 16px/1 var(--f); font-stretch: 108%; transition: transform .2s var(--suave), box-shadow .25s, background .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-lima { background: var(--lima); color: var(--marino); }
.btn-lima::after { content: "→"; font-weight: 700; }
.btn-lima:not(:disabled):hover { box-shadow: 0 0 0 7px rgba(212, 255, 58, .18); }
.btn-lima:disabled { background: var(--grisaceo); color: var(--lavanda); cursor: default; }
.btn-lima:disabled::after { content: none; }
.btn-claro { background: var(--hueso); color: var(--marino); }
.btn-borde { background: transparent; color: var(--hueso); border-color: var(--linea-2); }

/* Etiquetas de nombre sobre la sala 3D */
.etiquetas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.etq { position: absolute; left: 0; top: 0; white-space: nowrap; font: 400 11px var(--mono); padding: 3px 8px; border-radius: 7px;
  background: rgba(13, 14, 28, .8); color: var(--hueso); transition: opacity .3s; }
.etq.tu { background: var(--lima); color: var(--marino); font-weight: 600; }
.etq.eq { background: var(--lima); color: var(--marino); font-weight: 600; font-size: 12px; padding: 4px 10px; transition: opacity .5s; }

@keyframes aparece { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes pulso { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
