/* rlip.dev — solo la lista de URLs.
   Sin nombre, sin líneas separadoras, sin marcadores de lista. */

:root {
  --bg: #08090b;
  --fg: #eef0f2;
  --muted: #8b9098;
  --faint: #494e56;
  --accent: #c6ff1a;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scrollbar-color: var(--faint) transparent;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 5vw, 2.5rem);
  background: var(--bg);
  color: var(--fg);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Halo muy suave arriba, para que el negro no sea plano. */
.glow {
  position: fixed;
  top: -30rem;
  left: 50%;
  width: min(56rem, 140vw);
  height: 42rem;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(198, 255, 26, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main,
.foot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
}

/* Sin bordes ni marcadores: solo el texto de cada URL, uno debajo de otro. */
.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Etiqueta de bloque, muy discreta: solo para saber dónde se puede entrar
   desde fuera y dónde hace falta estar en la tailnet. */
.label {
  margin: 0 0 0.35rem 0.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.group + .group {
  margin-top: 2.25rem;
}

.row {
  display: block;
  padding: 0.55rem 0.5rem 0.55rem 0.25rem;
  margin: 0 -0.5rem 0 -0.25rem;
  border-radius: 0.35rem;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.16s ease, background-color 0.16s ease, padding-left 0.16s ease;
}

/* Llave a la derecha: servicios que requieren autenticación.
   SVG inline como mask sobre currentColor. Va a la derecha del texto,
   con un tamaño generoso (1.1em) para que se reconozca bien la forma. */
.row--locked::after {
  content: '';
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-left: 0.4em;
  vertical-align: -0.12em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='17' r='5' fill='white'/%3E%3Cpath d='M11 4L13 4M12 4l0 10M12 14l0 3' stroke='white' stroke-width='2.8' stroke-linecap='round' fill='none'/%3E%3Cpath d='M12 17l4 4M16 18l-2 2' stroke='white' stroke-width='2.8' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='17' r='5' fill='white'/%3E%3Cpath d='M11 4L13 4M12 4l0 10M12 14l0 3' stroke='white' stroke-width='2.8' stroke-linecap='round' fill='none'/%3E%3Cpath d='M12 17l4 4M16 18l-2 2' stroke='white' stroke-width='2.8' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.row--locked:hover::after {
  opacity: 1;
}

/* Filas sin enlace (servicios que solo escuchan en el propio servidor). */
.row--plain {
  color: var(--faint);
  cursor: default;
}

.row--plain:hover {
  color: var(--faint);
  background: none;
  padding-left: 0.25rem;
}

.row:hover,
.row:focus-visible {
  color: var(--accent);
  background: rgba(198, 255, 26, 0.06);
  padding-left: 0.7rem;
}

.row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.foot {
  margin-top: 2.5rem;
}

.foot__link {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--faint);
  text-decoration: none;
  transition: color 0.16s ease;
}

.foot__link:hover,
.foot__link:focus-visible {
  color: var(--accent);
}

::selection {
  background: var(--accent);
  color: #08090b;
}

@media (prefers-reduced-motion: reduce) {
  .row,
  .foot__link {
    transition: none;
  }
}
