/* =========================================================
   LEIN ON AIR
   Base editorial blanco y negro. El rojo solo significa
   una cosa: algo está al aire.
   ========================================================= */

:root {
  --bg:        #0a0a0a;
  --bg-alt:    #101010;
  --bg-card:   #141414;
  --fg:        #f4f3f0;
  --fg-mid:    #9a9994;
  --fg-dim:    #5c5b57;
  --line:      rgba(244, 243, 240, 0.10);
  --line-soft: rgba(244, 243, 240, 0.055);
  --red:       #ff2b2b;
  --red-deep:  #b30f0f;

  --f-sign: "Kaushan Script", cursive;
  --f-disp: "Bebas Neue", Impact, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------- textura ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.6s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-2%, 1.5%); }
  100% { transform: translate(1%, -1%); }
}

.starfield {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ---------- nebulosa de fondo ---------- */
.nebulosa {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.nebulosa i {
  position: absolute; display: block;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.nebulosa i:nth-child(1) {
  width: 46vw; height: 46vw; left: -12vw; top: 4vh;
  background: radial-gradient(circle, rgba(255, 43, 43, 0.20), transparent 70%);
}
.nebulosa i:nth-child(2) {
  width: 40vw; height: 40vw; right: -10vw; top: 34vh;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 70%);
}
.nebulosa i:nth-child(3) {
  width: 54vw; height: 54vw; left: 26vw; top: 64vh;
  background: radial-gradient(circle, rgba(14, 116, 180, 0.15), transparent 70%);
}

/* ---------- la otra frecuencia ----------
   Un disco que sigue al puntero y deja ver un cielo en otros colores.
   Va en modo screen: aclara lo que hay debajo en vez de taparlo, así el
   texto se sigue leyendo por dentro. */
.lente {
  --r: 115px;
  position: fixed; top: 0; left: 0;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  z-index: 400;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  overflow: hidden;
  /* screen aclara lo de abajo sin taparlo, así el texto se sigue leyendo.
     OJO: no poner will-change acá — aísla el elemento y anula la fusión. */
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at center, #000 32%, rgba(0,0,0,0.5) 60%, transparent 78%);
  mask-image: radial-gradient(circle at center, #000 32%, rgba(0,0,0,0.5) 60%, transparent 78%);
}
.lente__cielo {
  position: absolute; top: 0; left: 0;
  width: 100vw; height: 100vh;
  will-change: transform;
  background:
    radial-gradient(circle at 18% 24%, rgba(34, 211, 238, 0.40), transparent 52%),
    radial-gradient(circle at 76% 58%, rgba(167, 139, 250, 0.36), transparent 55%),
    radial-gradient(circle at 44% 88%, rgba(45, 212, 191, 0.28), transparent 56%),
    radial-gradient(circle at 88% 12%, rgba(244, 114, 182, 0.22), transparent 50%),
    #070c18;
}
.lente__polvo {
  position: absolute; inset: -60%;
  will-change: transform;
  background-image:
    radial-gradient(1.6px 1.6px at 30px 40px,   rgba(255, 255, 255, 1), transparent),
    radial-gradient(1.4px 1.4px at 120px 90px,  rgba(165, 243, 252, 0.95), transparent),
    radial-gradient(1.2px 1.2px at 210px 160px, rgba(216, 180, 254, 0.9), transparent),
    radial-gradient(1.8px 1.8px at 80px 220px,  rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.2px 1.2px at 260px 60px,  rgba(153, 246, 228, 0.85), transparent);
  background-size: 180px 180px, 240px 240px, 150px 150px, 300px 300px, 200px 200px;
}
/* interferencia: la otra frecuencia no entra del todo limpia */
.lente__cielo::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 4px
  );
}
.lente__aro {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(165, 243, 252, 0.18);
  box-shadow: inset 0 0 40px rgba(34, 211, 238, 0.18);
}

@media (max-width: 860px) { .lente { --r: 85px; } }

/* ---------- boot ---------- */
.boot {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
}
.boot.is-done { visibility: hidden; }
.boot__inner { display: grid; gap: 1rem; justify-items: center; }
.boot__line {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fg-mid);
}
.boot__bar {
  width: min(240px, 50vw); height: 1px;
  background: var(--line);
  display: block; overflow: hidden;
}
.boot__bar i {
  display: block; height: 100%; width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
}
.nav.is-stuck {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
/* El logo es negro sobre transparente: se invierte a blanco para el fondo oscuro. */
.marca-img { filter: invert(1); display: block; width: auto; }

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

.nav__mark { height: 22px; }
.nav__links {
  display: flex; gap: 1.6rem;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mid);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--red);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--fg); }

.onair {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  transition: all 0.35s;
}
.onair__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fg-dim);
  transition: all 0.35s;
}
.onair.is-live {
  border-color: var(--red);
  color: var(--red);
  background: rgba(255, 43, 43, 0.06);
}
.onair.is-live .onair__dot {
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 43, 43, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(255, 43, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 43, 43, 0); }
}

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav__toggle.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle.is-open span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 7rem var(--pad) 5rem;
}
.hero__meta {
  position: absolute; top: 45%;
  display: flex; flex-direction: column; gap: 0.6rem;
  opacity: 0;
}
.hero__meta--left  { left: var(--pad); }
.hero__meta--right { right: var(--pad); text-align: right; }
@keyframes fadeIn { to { opacity: 1; } }

.hero__center { text-align: center; max-width: 900px; }

.signature {
  position: relative;
  display: inline-block;
  color: var(--fg);
  margin-bottom: 1.6rem;
}
.signature__img { width: min(74vw, 460px); }

.signature__stroke {
  position: absolute;
  left: -4%; right: -4%; bottom: -0.15em;
  width: 108%; height: 0.28em;
  color: var(--red);
}
/* el trazo lo dibuja Anime.js con createDrawable */

.hero__tagline {
  font-family: var(--f-mono);
  font-size: clamp(0.62rem, 1.6vw, 0.75rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-mid);
  opacity: 0;
}
.hero__frase {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 300;
  color: var(--fg);
  opacity: 0;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero__actions {
  margin-top: 2.4rem;
  display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap;
  opacity: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--fg);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--fg); }
.btn:hover::before { transform: translateY(0); }
.btn--primary { border-color: var(--red); color: var(--red); }
.btn--primary::before { background: var(--red); }
.btn--primary:hover { color: #fff; border-color: var(--red); }
.btn--ghost { border-color: var(--line); color: var(--fg-mid); }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.7rem;
  opacity: 0;
}
.hero__scrollline {
  width: 1px; height: 46px;
  background: linear-gradient(var(--fg-dim), transparent);
  position: relative; overflow: hidden;
}
.hero__scrollline::after {
  content: ""; position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--red);
  animation: scrollDrop 2s infinite;
}
@keyframes scrollDrop {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 0.8rem 0;
}
.ticker__track {
  display: flex; gap: 3rem;
  width: max-content;
}
.ticker__item {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
/* cada plataforma con su color, atenuado para que la cinta no grite */
.ticker__item.tiene-color { color: color-mix(in srgb, var(--tono) 72%, var(--fg-dim)); }
.ticker__item.tiene-color::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--tono);
  flex: none;
}
/* lo que todavía no existe se muestra apagado: gris y con el punto hueco */
.ticker__item.apagado { color: var(--fg-dim); opacity: 0.5; }
.ticker__item.apagado::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: none;
  border: 1px solid var(--fg-dim);
  flex: none;
}

/* 1Scrum va multicolor, como los papelitos de una retro */
.ticker__item.multicolor {
  background-image: var(--degradado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.ticker__item.multicolor::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background-image: var(--degradado);
  flex: none;
}
a.ticker__item.multicolor:hover { opacity: 1; }

a.ticker__item { transition: color 0.3s, text-shadow 0.3s, opacity 0.3s; }
a.ticker__item.tiene-color:hover {
  color: var(--tono);
  text-shadow: 0 0 18px color-mix(in srgb, var(--tono) 55%, transparent);
}
a.ticker__item.tiene-color:hover::before { box-shadow: 0 0 10px var(--tono); }

/* ---------- secciones ---------- */
.section {
  position: relative; z-index: 1;
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
  background: var(--bg);
}
.section--alt { background: var(--bg-alt); }

.section__head { margin-bottom: 3.2rem; max-width: 760px; }
.section__num {
  display: block;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.section__title {
  font-family: var(--f-disp);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.section__sub {
  margin-top: 1rem;
  color: var(--fg-mid);
  font-size: 1rem;
  max-width: 52ch;
}

/* Estado inicial de todo lo que entra animado. Anime.js lo levanta;
   si la librería no cargó, la regla .sin-anime del final lo muestra igual. */
.reveal, .post, .world, .tool, .freq { opacity: 0; }

.post, .world, .tool { transform-style: preserve-3d; }
.posts, .worlds, .tools { perspective: 1200px; }

/* ---------- bitácora ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.post {
  background: var(--bg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 0.9rem;
  min-height: 230px;
  position: relative;
  transition: background 0.4s;
}
.section--alt .post { background: var(--bg-alt); }
.post::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 2px; height: 100%;
  background: var(--red);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.post:hover { background: var(--bg-card); }
.post:hover::before { transform: scaleY(1); }

.post__top {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--fg-dim);
}
.post__cat {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--fg-mid);
}
.post__title {
  font-family: var(--f-disp);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.post__text {
  color: var(--fg-mid);
  font-size: 0.94rem;
  line-height: 1.65;
}
.post__sig {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 0.5rem;
}
.post__sig i {
  display: block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--red); opacity: 0.6;
}
.posts__more { margin-top: 2rem; text-align: center; }

/* ---------- música ---------- */
.music {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.player {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid; gap: 1.3rem;
  position: relative; overflow: hidden;
}
.player__viz {
  display: flex; align-items: flex-end; gap: 2px;
  height: 68px;
  cursor: pointer;
}
/* Cada barra es un tramo del track: apagada lo que falta, encendida lo
   que ya sonó. */
.player__viz i {
  flex: 1;
  background: var(--fg-dim);
  opacity: 0.45;
  height: 100%;
  transform: scaleY(0.12);
  transform-origin: bottom;
  transition: background 0.25s, opacity 0.25s;
}
.player__viz i.is-sonado {
  background: linear-gradient(var(--red), var(--red-deep));
  opacity: 1;
}
.player__viz:hover i { opacity: 0.65; }
.player__viz:hover i.is-sonado { opacity: 1; }
.player__label { color: var(--red); }
.player__title {
  display: block;
  font-family: var(--f-disp);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 0.4rem;
}
.player__meta { display: block; margin-top: 0.4rem; }
.player__cta {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mid);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  justify-self: start;
  transition: color 0.3s, border-color 0.3s;
}
.player__cta:hover { color: var(--red); border-color: var(--red); }
.music__note { margin-top: 1rem; display: block; line-height: 1.8; }

/* La lista crece con lo que haya en SoundCloud: se le pone techo y scroll
   propio para que la sección no se estire sin control. */
.tracks {
  list-style: none;
  border-top: 1px solid var(--line);
  max-height: 26rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--red-deep) transparent;
}
.tracks::-webkit-scrollbar { width: 4px; }
.tracks::-webkit-scrollbar-track { background: transparent; }
.tracks::-webkit-scrollbar-thumb { background: var(--red-deep); border-radius: 2px; }
.tracks::-webkit-scrollbar-thumb:hover { background: var(--red); }
.track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.2rem;
  padding: 1.15rem 0.6rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s, padding 0.3s;
}
.track:hover { background: rgba(255, 255, 255, 0.02); padding-left: 1.1rem; }
.track.is-active { background: rgba(255, 43, 43, 0.05); padding-left: 1.1rem; }
.track__n { font-family: var(--f-mono); font-size: 0.66rem; color: var(--fg-dim); }
.track.is-active .track__n { color: var(--red); }
.track__name { font-size: 0.98rem; }
.track__type { display: block; margin-top: 0.15rem; }
.track__dur { font-family: var(--f-mono); font-size: 0.66rem; color: var(--fg-dim); }

.sc-frame { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; }

.tool__links { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* barra de progreso de la transmisión */
.progreso {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 500;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* El mini reproductor vive en css/mini.css: lo comparte /hazeandverd */

/* ---------- en vivo ---------- */
.live {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  background: var(--bg-alt);
  transition: border-color 0.5s, background 0.5s;
}
.section--alt .live { background: var(--bg); }
.live.is-live { border-color: rgba(255, 43, 43, 0.45); }

.live__sign { display: grid; gap: 1rem; justify-items: center; }
.sign {
  width: 100%;
  border: 2px solid var(--fg-dim);
  border-radius: 4px;
  padding: 1.6rem 1rem;
  text-align: center;
  color: var(--fg-dim);
  transition: all 0.5s;
}
.sign__text {
  font-family: var(--f-disp);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.14em;
  line-height: 1;
}
.live.is-live .sign {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 28px rgba(255, 43, 43, 0.28), inset 0 0 22px rgba(255, 43, 43, 0.12);
  text-shadow: 0 0 18px rgba(255, 43, 43, 0.75);
  animation: flicker 4.5s infinite;
}
@keyframes flicker {
  0%, 96%, 100% { opacity: 1; }
  97%  { opacity: 0.45; }
  98%  { opacity: 1; }
  99%  { opacity: 0.6; }
}
.live__state { letter-spacing: 0.24em; }
.live.is-live .live__state { color: var(--red); }
.live__title {
  font-family: var(--f-disp);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 0.9rem;
}
.live__desc { color: var(--fg-mid); margin-bottom: 1.8rem; max-width: 46ch; }

/* ---------- mundos ---------- */
.worlds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.world {
  background: var(--bg-alt);
  padding: clamp(1.7rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 360px;
  position: relative; overflow: hidden;
  transition: background 0.45s;
}
.world:hover { background: var(--bg-card); }
.world__glow {
  position: absolute; top: -40%; right: -30%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 43, 43, 0.16), transparent 68%);
  opacity: 0; transition: opacity 0.6s;
}
.world:hover .world__glow { opacity: 1; }
.world__status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.world__status i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-dim);
}
.world__status.is-live { color: var(--red); }
.world__status.is-live i { background: var(--red); animation: pulse 1.8s infinite; }
.world__name {
  font-family: var(--f-disp);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
}
.world__resumen { color: var(--fg); font-size: 1rem; }
.world__desc { color: var(--fg-mid); font-size: 0.92rem; }
.world__signal { margin-top: auto; display: grid; gap: 0.6rem; }
.world__bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.world__bar i {
  position: absolute; inset: 0 auto 0 0;
  width: 0;
  background: var(--red);
}
.world__link {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mid);
  transition: color 0.3s;
}
.world__link:hover { color: var(--red); }
.world--soon .world__name { color: var(--fg-mid); }

/* ---------- estaciones ---------- */
.tools { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.tool {
  background: var(--bg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start;
  transition: background 0.45s;
}
.tool:hover { background: var(--bg-card); }
.tool__side { display: grid; gap: 0.8rem; }
.tool__name {
  font-family: var(--f-disp);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
}
.tool__nota { color: var(--fg-dim); }
.tool__resumen { font-size: 1.05rem; margin-bottom: 0.8rem; }
.tool__desc { color: var(--fg-mid); font-size: 0.95rem; max-width: 60ch; }
.tool__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.3rem 0; }
.tool__tag {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--line);
  padding: 0.28rem 0.6rem;
  border-radius: 2px;
}

/* ---------- sobre ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.about__label { display: grid; gap: 0.5rem; }
.about__label span:first-child { color: var(--red); }
.about__text {
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  font-weight: 300;
  line-height: 1.45;
  max-width: 30ch;
}
.about__facts {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}
.fact strong {
  display: block;
  font-family: var(--f-disp);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.fact span { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); }

/* ---------- frecuencias ---------- */
.freqs { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.freq {
  background: var(--bg);
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center; gap: 1.4rem;
  padding: clamp(1.1rem, 2.6vw, 1.8rem) clamp(1rem, 3vw, 2.2rem);
  transition: background 0.35s, padding-left 0.35s;
}
.freq:hover { background: var(--bg-card); padding-left: clamp(1.5rem, 4vw, 3rem); }
.freq__n { font-family: var(--f-mono); font-size: 0.66rem; color: var(--red); }
.freq__name {
  display: block;
  font-family: var(--f-disp);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}
.freq__desc { display: block; margin-top: 0.4rem; color: var(--fg-dim); }
.freq__handle { font-family: var(--f-mono); font-size: 0.68rem; color: var(--fg-mid); }
.freq__arrow { color: var(--fg-dim); transition: transform 0.35s var(--ease), color 0.35s; }
.freq:hover .freq__arrow { transform: translate(4px, -4px); color: var(--red); }

/* ---------- footer ---------- */
.footer {
  position: relative; z-index: 1;
  padding: 3rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
  display: grid; gap: 1.6rem;
}
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__mark { height: 34px; }
.footer__row--sub { border-top: 1px solid var(--line-soft); padding-top: 1.4rem; }
.footer__egg.is-found { color: #7fae3f; letter-spacing: 0.2em; }
.footer__egg {
  background: none; border: 0; cursor: pointer;
  color: var(--fg-dim); font-size: 0.8rem;
  transition: color 0.3s, transform 0.3s;
}
.footer__egg:hover { color: var(--red); transform: scale(1.25); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .music { grid-template-columns: 1fr; }
  .live { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero__meta { display: none; }

  .nav__toggle { display: flex; margin-left: auto; order: 3; }
  .onair { order: 2; margin-left: auto; }
  .nav__links {
    position: fixed; inset: 0;
    height: 100svh;
    padding: 7rem var(--pad) 4rem;
    background: #0a0a0a;
    flex-direction: column; justify-content: center; gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { font-size: 1.35rem; letter-spacing: 0.14em; }
  body.menu-open { overflow: hidden; }

  .posts { grid-template-columns: 1fr; }
  .freq { grid-template-columns: 40px 1fr auto; gap: 1rem; }
  .freq__desc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .post, .world, .tool, .freq { opacity: 1; }
}

/* Red de seguridad: si Anime.js no cargó, nada queda invisible. */
.sin-anime .reveal,
.sin-anime .post,
.sin-anime .world,
.sin-anime .tool,
.sin-anime .freq,
.sin-anime .hero__meta,
.sin-anime .hero__tagline,
.sin-anime .hero__frase,
.sin-anime .hero__actions,
.sin-anime .hero__scroll { opacity: 1; }
.sin-anime .boot { display: none; }
