/* ═══════════════════════════════════════════════════
   RADIOS YA — RADIO WAVE DESIGN 🔴
   Paleta: Rojo / Negro / Dorado
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  /* Paleta Radio Wave */
  --bg:    #0a0a0e;
  --bg2:   #111118;
  --bg3:   #1a1a24;
  --s2:    #16161f;
  --s3:    #1e1e2c;
  --b1:    rgba(255,255,255,0.07);
  --b2:    rgba(255,255,255,0.12);
  --b3:    rgba(255,255,255,0.22);

  /* Colores principales */
  --acc:   #e8200c;       /* Rojo radio */
  --acc2:  #ff4d30;       /* Rojo claro */
  --gld:   #c9a227;       /* Dorado */
  --gld2:  #e8c040;       /* Dorado claro */
  --grn:   #22c55e;       /* Verde online */
  --wa:    #22c55e;
  --ylw:   #f59e0b;
  --blu:   #6366f1;

  /* Texto */
  --t1:    #f1f1f8;
  --t2:    #a8a8c0;
  --t3:    #6b6b88;
  --t4:    #4a4a60;

  --r: 14px;

  /* Gradientes */
  --grad-red:  linear-gradient(135deg, #e8200c, #ff4d30);
  --grad-gold: linear-gradient(135deg, #c9a227, #e8c040);
  --grad-dark: linear-gradient(135deg, #16161f, #1e1e2c);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--t1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ═══ FONDO ANIMADO CON ONDAS DE RADIO ═══ */
.bg-dots {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(232,32,12,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.bg-g1 {
  position: fixed; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,32,12,.12) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: bgPulse 8s ease-in-out infinite alternate;
}
.bg-g2 {
  position: fixed; bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.07) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: bgPulse 10s ease-in-out infinite alternate-reverse;
}
@keyframes bgPulse {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(1.15); opacity: 1; }
}

.wrap { position: relative; z-index: 1; flex: 1; }

/* ═══ HEADER RADIO WAVE ═══════════════════════════ */
.hdr {
  position: sticky; top: 0; z-index: 200;
  min-height: 72px;
  background: rgba(10,10,14,.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(232,32,12,.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; gap: 12px; flex-wrap: wrap;
  box-shadow: 0 4px 40px rgba(232,32,12,.1), 0 1px 0 rgba(255,255,255,.04);
  overflow: visible;
}

/* Ondas de radio animadas en el header */
.hdr::before {
  content: '';
  position: absolute; left: -60px; top: 50%; transform: translateY(-50%);
  width: 140px; height: 140px; border-radius: 50%;
  border: 1px solid rgba(232,32,12,.15);
  animation: radioWave 3s ease-out infinite;
  pointer-events: none;
}
.hdr::after {
  content: '';
  position: absolute; left: -60px; top: 50%; transform: translateY(-50%);
  width: 140px; height: 140px; border-radius: 50%;
  border: 1px solid rgba(232,32,12,.08);
  animation: radioWave 3s ease-out infinite .8s;
  pointer-events: none;
}
@keyframes radioWave {
  0%   { transform: translateY(-50%) scale(0.5); opacity: 1; }
  100% { transform: translateY(-50%) scale(2.5); opacity: 0; }
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px; letter-spacing: 5px;
  color: var(--t1);
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.logo-img {
  height: 62px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(232,32,12,.5));
  transition: filter .3s, transform .3s;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 20px rgba(232,32,12,.8));
  transform: scale(1.04);
}
.ldot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,32,12,.8); }
  70%  { box-shadow: 0 0 0 10px rgba(232,32,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,32,12,0); }
}

.hdr-right {
  display: flex; gap: 8px; align-items: center;
  flex-wrap: nowrap; padding: 6px 0; flex-shrink: 0;
}
.hstat { text-align: right; }
.hstat-n { font-family: 'JetBrains Mono', monospace; font-size: 17px; color: var(--acc); line-height: 1; }
.hstat-l { font-size: 9px; text-transform: uppercase; letter-spacing: 2px; color: var(--t3); margin-top: 2px; }
.hdiv { width: 1px; height: 26px; background: var(--b1); flex-shrink: 0; }

.scan-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid; white-space: nowrap; transition: all .4s;
}
.scan-badge.scanning { background: rgba(217,119,6,.1); border-color: rgba(217,119,6,.3); color: var(--ylw); }
.scan-badge.done     { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.3); color: var(--grn); }
.scan-badge.idle     { background: rgba(201,162,39,.08); border-color: rgba(201,162,39,.2); color: var(--gld); }
.spin { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══ HERO SECTION ═══════════════════════════════ */
.hero { padding: 20px 32px 12px; display: flex; flex-direction: column; gap: 10px; }
.hero-eye {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gld); margin-bottom: 4px;
}
.hero-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.5vw, 62px);
  line-height: .92; letter-spacing: 2px;
  color: var(--t1);
}
.hero-h em {
  font-style: normal;
  background: var(--grad-red);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(232,32,12,.4));
}
.hero-p {
  margin-top: 6px; font-size: 13px; color: var(--t2);
  font-weight: 400; line-height: 1.5; max-width: 420px;
}
.hero-top {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.hero-left { flex: 1; min-width: 0; }

/* Stats con animación de conteo */
.hero-boxes { display: flex; gap: 3px; }
.hbox {
  background: var(--s2);
  border: 1px solid var(--b1);
  padding: 12px 22px; min-width: 90px; text-align: center;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.hbox:first-child  { border-radius: var(--r) 0 0 var(--r); }
.hbox:last-child   { border-radius: 0 var(--r) var(--r) 0; }
.hbox:hover        { border-color: var(--b2); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.hbox::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.02), transparent);
}
.hbox-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px; font-weight: 700; line-height: 1;
  color: var(--t1);
}
.hbox-n.acc { color: var(--acc); text-shadow: 0 0 20px rgba(232,32,12,.4); }
.hbox-n.grn { color: var(--grn); text-shadow: 0 0 20px rgba(34,197,94,.3); }
.hbox-l {
  font-size: 7px; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--t3);
  margin-top: 4px; font-weight: 600;
}

/* Countdown */
.countdown {
  display: none; margin: 0; padding: 8px 16px; border-radius: 10px;
  background: rgba(201,162,39,.06);
  border: 1px solid rgba(201,162,39,.15);
  align-items: center; gap: 12px; flex-wrap: wrap;
}
.cd-lbl {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gld); white-space: nowrap;
}
.cd-bar-wrap {
  flex: 1; min-width: 60px; height: 3px;
  background: rgba(255,255,255,.07); border-radius: 2px;
}
.cd-bar {
  height: 100%; border-radius: 2px;
  background: var(--grad-gold);
  width: 100%; transition: width 1s linear;
}
.cd-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--t3); white-space: nowrap;
}

/* ═══ REPRODUCTOR FLOTANTE PREMIUM ═══════════════ */
.np {
  display: none; position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: calc(100% - 40px); max-width: 660px; z-index: 9999;
  background: radial-gradient(circle at center, rgba(30, 30, 44, 0.98) 0%, rgba(10, 10, 14, 0.95) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(232,32,12,.25);
  border-radius: 100px;
  padding: 10px 14px;
  align-items: center; gap: 16px; flex-wrap: nowrap;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(232,32,12,.2);
  color: var(--t1);
  overflow: hidden;
}
.np::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(232,32,12,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.np.visible {
  display: flex;
  animation: floatUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes floatUp {
  from { transform: translateX(-50%) translateY(150px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* Dial de vinilo */
.np-logo-wrap {
  position: relative; flex-shrink: 0;
  width: 56px; height: 56px;
}
#np-logo {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(232,32,12,.6);
  box-shadow: 0 4px 20px rgba(0,0,0,.8), 0 0 20px rgba(232,32,12,.3);
  animation: spinLogo 8s linear infinite;
  animation-play-state: paused;
  position: relative;
  z-index: 2;
}
.np.is-playing #np-logo { animation-play-state: running; }
@keyframes spinLogo { 100% { transform: rotate(360deg); } }
.np-logo-wrap::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 13px; height: 13px;
  background: var(--bg);
  border-radius: 50%;
  border: 2px solid rgba(232,32,12,.5);
  box-shadow: 0 0 8px rgba(232,32,12,.3);
}

.np-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.np-badge-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.np-badge {
  background: rgba(232,32,12,.15); color: var(--acc2);
  border: 1px solid rgba(232,32,12,.35);
  font-family: 'JetBrains Mono', monospace; font-size: 8px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 5px;
}
.np-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 8px var(--acc);
  animation: blink 1.2s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.np-badge.reconnecting { background: rgba(245,158,11,.12); color: #fbbf24; border-color: rgba(245,158,11,.3); }
.np-badge.reconnecting .np-dot { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.np-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 23px;
  letter-spacing: 2px; color: var(--t1); line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Controles */
.np-btns { display: flex; align-items: center; gap: 8px; padding-right: 6px; }
.btn-r {
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; cursor: pointer; border: none; transition: all 0.25s;
}
.btn-st {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1) !important;
  color: var(--t3);
}
.btn-st:hover { background: rgba(255,255,255,.08); color: var(--t1); border-color: rgba(255,255,255,.25) !important; }
.btn-pp {
  width: 50px; height: 50px;
  background: var(--grad-red); color: #fff;
  box-shadow: 0 4px 20px rgba(232,32,12,.5);
}
.btn-pp:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(232,32,12,.7); }

.vol-wrap {
  display: flex; align-items: center; gap: 8px;
  margin-right: 12px; color: var(--t4); transition: color 0.2s;
}
.vol-wrap:hover { color: var(--t1); }
.vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 62px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.15); outline: none; cursor: pointer;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gld); cursor: pointer;
  box-shadow: 0 0 8px rgba(201,162,39,.5);
}
.vol-slider::-moz-range-thumb {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gld); cursor: pointer; border: none;
}

/* Equalizer animado */
.wavebars { display: flex; align-items: center; gap: 3px; height: 16px; }
.wb {
  width: 3px; border-radius: 3px;
  background: linear-gradient(to top, var(--acc), var(--gld));
  animation: wv .7s ease-in-out infinite;
}
.wb:nth-child(1) { --h:12px; animation-delay:.00s; }
.wb:nth-child(2) { --h:8px;  animation-delay:.10s; }
.wb:nth-child(3) { --h:14px; animation-delay:.20s; }
.wb:nth-child(4) { --h:6px;  animation-delay:.05s; }
.wb:nth-child(5) { --h:12px; animation-delay:.15s; }
.wb:nth-child(6) { --h:9px;  animation-delay:.25s; }
@keyframes wv { 0%,100% { height: 4px; } 50% { height: var(--h,12px); } }
.wavebars.paused .wb { animation-play-state: paused; height: 4px; }

/* ═══ WIDGETS ═══════════════════════════════════ */
.np-widgets { display:none; margin:16px 32px; gap:10px; flex-wrap:wrap; }
.np-widgets.visible { display:flex; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.widgets-header {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #0f0f18, #1a1a25);
  border-radius: var(--r) var(--r) 0 0;
  border-bottom: 1px solid rgba(232,32,12,.2);
}
.widgets-header-logo {
  width: 100px; height: 100px; border-radius: 12px;
  object-fit: cover; border: 1px solid rgba(232,32,12,.3);
  background: var(--s2);
  box-shadow: 0 4px 16px rgba(232,32,12,.15);
}
.widgets-header-info { display: flex; flex-direction: column; justify-content: center; }
.widgets-header-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 30px;
  letter-spacing: 2px; color: var(--t1); line-height: 1; margin-bottom: 5px;
}
.widgets-header-sub {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 3px; color: var(--acc2);
  font-weight: 600; display: flex; align-items: center; gap: 7px;
}
.widgets-header-sub::before {
  content: ''; display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  animation: blink 1.2s infinite;
}

.np-widget-box {
  border-radius: var(--r); overflow: hidden;
  background: var(--s2); border: 1px solid var(--b1);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  position: relative;
}
#widget-map-box     { flex: 2; min-width: 320px; }
#widget-countries-box { flex: 1; min-width: 200px; }

.np-widget-lbl {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  text-transform: uppercase; letter-spacing: 3px; color: var(--t2);
  padding: 10px 14px 8px; border-bottom: 1px solid var(--b1);
  display: flex; align-items: center; gap: 6px;
}
.np-widget-lbl svg { color: var(--gld); flex-shrink: 0; width: 16px; height: 16px; }
.np-widget-frame { width: 100%; border: none; display: block; min-height: 80px; }
#widget-map, #widget-countries {
  position: relative;
  background: #12121a;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

#widget-map::before, #widget-countries::before {
  content: none;
}

#widget-map iframe,
#widget-countries iframe {
  position: relative;
  z-index: 1;
  width: 100% !important;
  height: 450px !important;
  border: none !important;
  background: radial-gradient(circle at 50% 0%, rgba(232, 32, 12, 0.15) 0%, transparent 60%), radial-gradient(circle at center, rgba(30, 30, 44, 0.98) 0%, rgba(10, 10, 14, 0.95) 100%) !important;
  border-radius: 0 0 var(--r) var(--r);
  display: block;
  mask-image: radial-gradient(circle, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
}

/* ═══ BUSCADOR MEJORADO ═══════════════════════════ */
.ctrls {
  display: flex; padding: 10px 32px 12px;
  gap: 16px; align-items: center; flex-wrap: wrap;
  justify-content: center;
  position: sticky; top: 72px; z-index: 190;
  background: rgba(10,10,14,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.sw {
  position: relative; flex: 1;
  min-width: 280px; max-width: 520px;
}
.si {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--gld); pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(201,162,39,.4));
  transition: filter .3s;
}
.sinput {
  width: 100%;
  background: var(--s2);
  border: 1px solid rgba(201,162,39,.2);
  border-radius: 50px;
  padding: 12px 20px 12px 46px;
  color: var(--t1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; outline: none;
  transition: all .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.sinput::placeholder { color: var(--t3); }
.sinput:focus {
  border-color: rgba(201,162,39,.5);
  box-shadow: 0 0 0 3px rgba(201,162,39,.1), 0 4px 16px rgba(0,0,0,.4);
}
.sinput:focus + .si,
.sw:focus-within .si {
  filter: drop-shadow(0 0 10px rgba(201,162,39,.8));
}
.rcnt {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--t4); margin-left: auto;
}

/* ═══ SECCIÓN DE ESTACIONES ══════════════════════ */
.section {
  background: transparent; border: none; box-shadow: none;
  border-radius: 0;
  margin: 16px 32px 140px 32px;
  padding: 24px 0 !important;
}
.sec-hdr {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.sec-lbl {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 5px;
  color: var(--gld); white-space: nowrap;
}
.sec-line { flex: 1; height: 1px; background: var(--b1); }

/* ═══ CARDS RADIO DIAL ════════════════════════════ */
.grid {
  display: none;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.card {
  background: var(--s2);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  padding: 40px 18px 16px; /* top: espacio para la banda absoluta */
  cursor: pointer;
  transition: border-color .25s, transform .2s, box-shadow .25s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
/* Borde dorado superior */
/* ── NETWORK BAND (envuelve el card arriba) ── */
.card-net-band {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid var(--net-col, var(--acc));
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
  z-index: 1;
  pointer-events: none; /* no intercepta clicks/hover */
}
.card-net-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--t2);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-net-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2s infinite;
}

.cstripe {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold); opacity: 0; transition: opacity .3s;
}

.card:hover .cstripe, .card.active .cstripe { opacity: 1; }

/* Efecto de brillo interno en hover — NO intercepta clicks */
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,32,12,.04), transparent 60%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none; /* transparente a clicks */
  z-index: 0;
}
.card:hover::before { opacity: 1; }

.card:hover {
  border-color: rgba(201,162,39,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 20px rgba(232,32,12,.08);
}
.card.active {
  border-color: rgba(232,32,12,.5);
  background: linear-gradient(135deg, rgba(232,32,12,.06), var(--s2));
  box-shadow: 0 0 30px rgba(232,32,12,.12);
}
.card.active .cstripe { opacity: 1; }

/* Los elementos interactivos del card tienen z-index:2 para estar por encima de ::before y card-net-band */
.ctop     { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }

/* Avatar estilo dial de radio — más grande */
.av-wrap {
  position: relative; width: 68px; height: 68px; flex-shrink: 0;
}
.avatar {
  width: 68px; height: 68px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(232,32,12,.3);
  background: var(--bg3);
  position: absolute; top: 0; left: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: box-shadow .3s, border-color .3s;
}
.card.active .avatar, .card:hover .avatar {
  border-color: rgba(201,162,39,.6);
  box-shadow: 0 4px 20px rgba(201,162,39,.2);
}
.av-init {
  width: 68px; height: 68px; border-radius: 50%;
  flex-shrink: 0; display: none;
  align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 1.5px;
  border: 2px solid; position: absolute; top: 0; left: 0;
}
/* Centro del dial */
.av-wrap::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: var(--bg3);
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  z-index: 2;
  pointer-events: none;
}
/* Solo cuando hay avatar de texto (av-init activo) — no el ::after extra */

.cinfo { flex: 1; min-width: 0; }
.cname {
  font-family: 'Bebas Neue', sans-serif; font-size: 21px;
  letter-spacing: 1.5px; color: var(--t1);
  line-height: 1.1; margin-bottom: 3px;
}
.cconns {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--grn);
}

/* Badge EN AIRE pulsante */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 4px 10px;
  border-radius: 20px;
  background: rgba(34,197,94,.1);
  color: var(--grn);
  border: 1px solid rgba(34,197,94,.3);
  white-space: nowrap; flex-shrink: 0;
  animation: pillPulse 2.5s ease-in-out infinite;
}
@keyframes pillPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.3); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.pdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grn);
  box-shadow: 0 0 8px var(--grn);
  animation: blink 1.2s infinite;
}

/* Contacto */
.ccontact {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--b1); border-radius: 10px;
  position: relative; z-index: 2;
}
.cphone {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--t2);
}
.wa {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  color: var(--grn);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.wa:hover {
  background: rgba(34,197,94,.2);
  border-color: rgba(34,197,94,.6);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(34,197,94,.2);
}

/* Pie de card */
.cfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; z-index: 2; }

/* Botón Compartir */
.btn-share {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 50px;
  cursor: pointer;
  border: 1px solid var(--b2);
  background: transparent; color: var(--t3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: all .2s; white-space: nowrap;
}
.btn-share:hover {
  border-color: rgba(201,162,39,.5);
  color: var(--gld);
  background: rgba(201,162,39,.08);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201,162,39,.15);
}

/* Botón Escuchar */
.btn-tune {
  padding: 7px 18px; border-radius: 50px;
  cursor: pointer;
  border: 1px solid rgba(201,162,39,.4);
  background: transparent; color: var(--gld);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  transition: all .22s; white-space: nowrap;
}
.btn-tune:hover {
  background: var(--grad-red);
  border-color: var(--acc);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(232,32,12,.45);
}
.card.active .btn-tune {
  background: var(--grad-red);
  border-color: var(--acc);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,32,12,.4);
}

/* Equalizer animado en card activa */
.card.active .cname::after {
  content: '';
}

/* ═══ LOADER ═══════════════════════════════════════ */
.loader {
  display: flex; flex-direction: column;
  align-items: center; padding: 100px 20px; gap: 16px;
}
.lbars { display: flex; gap: 5px; align-items: flex-end; height: 40px; }
.lb {
  width: 5px; border-radius: 3px;
  background: linear-gradient(to top, var(--acc), var(--gld));
  animation: lb 1s ease-in-out infinite;
}
.lb:nth-child(1) { animation-delay:0s;   }
.lb:nth-child(2) { animation-delay:.12s; }
.lb:nth-child(3) { animation-delay:.24s; }
.lb:nth-child(4) { animation-delay:.36s; }
.lb:nth-child(5) { animation-delay:.48s; }
@keyframes lb { 0%,100% { height:6px; opacity:.3; } 50% { height:40px; opacity:1; } }
.ltxt {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--t3); animation: fp 1.5s ease infinite;
}
@keyframes fp { 0%,100% { opacity:1; } 50% { opacity:.3; } }
.lsub {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  color: var(--t4); text-align: center; word-break: break-all;
}
.empty {
  display: none;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  text-align: center; padding: 60px; color: var(--t3);
}

/* ═══ RESPONSIVE ═══════════════════════════════════ */
@media(max-width:1024px) {
  .grid     { grid-template-columns: repeat(auto-fill,minmax(265px,1fr)); }
  .hdr      { padding: 0 20px; gap: 10px; }
  .hero     { padding: 14px 20px 10px; }
  .ctrls    { padding-left: 20px; padding-right: 20px; }
  .section  { margin: 12px 20px 140px 20px; padding: 16px 0 !important; }
  .np-widgets { margin: 16px 20px; }
}
@media(max-width:768px) {
  .hdr      { min-height: 56px; padding: 0 16px; gap: 8px; }
  .hero     { padding: 12px 16px 8px; gap: 6px; }
  .hero-h   { font-size: clamp(30px,6vw,46px); }
  .hero-boxes { gap: 2px; }
  .hbox     { padding: 9px 12px; min-width: 70px; }
  .hbox-n   { font-size: 20px; }
  .hbox-l   { font-size: 7px; }
  .ctrls    { padding: 8px 16px; top: 56px; }
  .section  { margin: 12px 16px 110px 16px; padding: 16px 0 !important; }
  .grid     { grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 10px; }
  .card     { padding: 15px; }
  .np-widgets { margin: 16px; }
}
/* ── HAMBURGER BUTTON (oculto en desktop) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--b2);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--acc); background: rgba(232,32,12,.08); }
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--t2);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .2s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--acc); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--acc); }

/* ── MOBILE-NAV (en desktop es inline flex normal) ── */
.mobile-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

@media(max-width:640px) {
  .hdr {
    position: sticky;
    top: 0;
    overflow: visible;
  }

  /* Mostrar el hamburger en móvil */
  .hamburger { display: flex; margin-left: auto; }

  /* Mobile nav: fijo justo debajo del header — siempre visible al abrir */
  .mobile-nav {
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10,10,14,.98);
    border-bottom: 2px solid rgba(232,32,12,.35);
    z-index: 9999;
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 32px rgba(0,0,0,.6);
  }
  .mobile-nav.open { max-height: 320px; }

  .network-tabs-wrap {
    width: 100% !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
    display: flex !important;
    justify-content: flex-start !important;
  }
  .network-tabs {
    width: 100%;
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 10px 14px;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
  }
  .ntab { padding: 6px 14px; font-size: 11px; flex-shrink: 0; }

  /* Botones de acción dentro del nav en móvil */
  .hdr-right {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    gap: 8px;
    border-top: none;
    flex-wrap: wrap;
  }
  .scan-badge { display: none; }

  .logo-img { height: 44px; }

  /* ctrls */
  .ctrls { top: auto; position: relative; }

  /* Hero */
  .hero     { padding: 16px 14px 10px; }
  .hero-top { flex-direction: column; gap: 12px; }
  .hero-boxes { width: 100%; justify-content: stretch; }
  .hbox     { flex: 1; padding: 10px 6px; min-width: 0; }
  .hbox-n   { font-size: 20px; }
  .hero-p   { max-width: 100%; }

  /* Grid y cards */
  .grid     { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card     { padding: 36px 12px 12px; }
  .cname    { font-size: 17px; }
  .avatar, .av-init { width: 54px; height: 54px; }
  .av-wrap  { width: 54px; height: 54px; }

  /* Footer */
  .site-footer { justify-content: center; text-align: center; flex-direction: column; padding: 16px; }

  /* Sección y controles */
  .ctrls    { padding-left: 14px; padding-right: 14px; gap: 6px; }
  .section  { margin: 16px 14px 110px 14px; padding: 16px !important; }
  .countdown { padding: 8px 12px; }

  /* Reproductor flotante */
  .np       { bottom: 16px; width: calc(100% - 28px); padding: 8px 12px; gap: 12px; border-radius: 30px; }
  .np-logo-wrap { width: 48px; height: 48px; }
  .np-name  { font-size: 20px; }
  .btn-pp   { width: 44px; height: 44px; }
  .btn-st   { width: 34px; height: 34px; }
  .vol-wrap { display: none; }
}
@media(max-width:420px) {
  .grid   { grid-template-columns: 1fr; }
  .hbox-n { font-size: 17px; }
  .hero-h { font-size: 30px; }
  .ntab   { padding: 4px 10px; font-size: 10px; }
}


/* ═══ MODALES Y TOASTS ═══════════════════════════ */
.overlay-play {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.9); backdrop-filter: blur(20px);
  display: none; align-items: center;
  justify-content: center; padding: 20px;
}
.overlay-card {
  background: var(--s2);
  border-radius: 24px; padding: 40px 30px;
  text-align: center; max-width: 400px; width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 40px rgba(232,32,12,.15);
  border: 1px solid rgba(232,32,12,.2);
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn { from { opacity:0; transform:scale(0.85); } to { opacity:1; transform:scale(1); } }
.overlay-logo {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 20px;
  border: 3px solid rgba(232,32,12,.4);
  box-shadow: 0 0 30px rgba(232,32,12,.3); display: block;
}
.overlay-h {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px;
  margin-bottom: 8px; color: var(--t1); letter-spacing: 1.5px;
}
.overlay-p {
  font-size: 14px; color: var(--t2);
  margin-bottom: 30px; line-height: 1.6;
}
.btn-start {
  background: var(--grad-red); color: #fff; border: none;
  padding: 16px 32px; border-radius: 50px;
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
  cursor: pointer; width: 100%; transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(232,32,12,.4);
  letter-spacing: 1.5px; font-size: 13px;
}
.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(232,32,12,.6);
}

/* Preloader */
#preloader {
  position: fixed; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 99999;
  background: var(--s2);
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4), 0 0 20px rgba(232,32,12,.1);
  display: flex; align-items: center;
  padding: 12px 28px; gap: 14px;
  border: 1px solid rgba(232,32,12,.2);
  transition: all .5s cubic-bezier(0.3, 0, 0.2, 1);
}
#preloader.hide {
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 20px) scale(0.95);
}
.pl-bars { display: flex; gap: 4px; align-items: flex-end; height: 16px; }
.pl-b {
  width: 3px; border-radius: 4px;
  background: linear-gradient(to top, var(--acc), var(--gld));
  animation: lb 1s ease-in-out infinite; transform-origin: bottom;
}
.pl-b:nth-child(1) { animation-delay:0s;   height:10px; }
.pl-b:nth-child(2) { animation-delay:.12s; height:16px; }
.pl-b:nth-child(3) { animation-delay:.24s; height:8px;  }
.pl-b:nth-child(4) { animation-delay:.36s; height:12px; }
.pl-b:nth-child(5) { animation-delay:.48s; height:6px;  }
.pl-txt {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--t1); font-weight: 700;
}
.pl-sub { display: none; }

/* Share button */
.btn-share {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 8px;
  background: rgba(201,162,39,.06);
  border: 1px solid rgba(201,162,39,.2);
  color: var(--gld);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all .2s; white-space: nowrap; flex-shrink: 0;
}
.btn-share:hover { background: rgba(201,162,39,.14); border-color: rgba(201,162,39,.4); }
.btn-share.copied { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); color: var(--grn); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--s2); color: var(--t1);
  padding: 10px 20px; border-radius: 10px;
  border: 1px solid rgba(232,32,12,.2);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1px;
  opacity: 0; transition: all .3s; z-index: 9999;
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══ FOOTER ══════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,.04);
  padding: 20px 32px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: auto;
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--t4);
}
.footer-copy span { color: var(--gld); }
.footer-links { display: flex; gap: 16px; }
.footer-links a {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--t4); text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--acc); }

/* ═══ NETWORK TABS ════════════════════════════════ */
.network-tabs {
  display: inline-flex; gap: 4px; align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.03);
  padding: 4px; border-radius: 100px;
  overflow-x: auto; white-space: nowrap;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  border: 1px solid rgba(255,255,255,.07);
}
.network-tabs::-webkit-scrollbar { display: none; }
.ntab {
  padding: 6px 16px; border: none; border-radius: 100px;
  background: transparent; color: var(--t3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 12px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0; letter-spacing: 0.3px; text-transform: uppercase;
}
.ntab:hover { color: var(--t1); }
.ntab.active {
  background: rgba(232,32,12,.15);
  color: var(--acc2);
  box-shadow: 0 2px 12px rgba(232,32,12,.2), inset 0 0 0 1px rgba(232,32,12,.3);
}

.ntab-badge {
  display: inline-block;
  color: #fff;
  font-size: 9px; font-weight: 600; text-transform: uppercase;
  padding: 3px 7px; border-radius: 5px; margin-bottom: 5px;
  font-family: 'JetBrains Mono', monospace;
  opacity: .9;
}

/* Noscript */
#noscript-msg { color: var(--t2) !important; background: var(--bg) !important; }