:root {
  --bg: #02050b;
  --panel: rgba(6, 13, 25, 0.84);
  --panel-strong: #07101d;
  --text: #f4f7fb;
  --muted: #9eaabc;
  --lime: #99ff16;
  --green: #5edf00;
  --blue: #00a8ff;
  --cyan: #00e2ff;
  --gold: #ffb000;
  --border: rgba(82, 174, 255, 0.28);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.52);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 112, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 90% 36%, rgba(255, 140, 0, 0.09), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

a { color: inherit; }
button, input { font: inherit; }

.site-glow {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: rgba(64, 255, 0, .05);
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
}

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(2, 5, 11, 0.74);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: .08em;
  font-size: .86rem;
  font-weight: 800;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(145, 255, 0, .7);
  box-shadow: 0 0 25px rgba(113, 255, 0, .25);
}
.brand b { color: var(--lime); }

.topnav { display: flex; align-items: center; gap: 24px; }
.topnav a {
  text-decoration: none;
  color: #d8e0eb;
  font-size: .92rem;
  font-weight: 650;
  transition: color .2s ease, transform .2s ease;
}
.topnav a:hover { color: var(--lime); transform: translateY(-1px); }
.topnav .nav-app {
  padding: 11px 16px;
  border: 1px solid rgba(145, 255, 0, .5);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(113, 255, 0, .06);
}

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 120px clamp(22px, 7vw, 120px) 70px;
  background-image: url("assets/fondo-desktop.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 250px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,5,11,.08) 0%, rgba(2,5,11,.15) 45%, rgba(2,5,11,.85) 74%, rgba(2,5,11,.96) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.22));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(520px, 42vw);
  margin-left: auto;
  padding: 34px 0;
}
.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--lime);
  letter-spacing: .23em;
  font-size: .78rem;
  font-weight: 900;
}
.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(145,255,0,.10), 0 0 18px var(--lime);
  animation: pulse 1.7s infinite;
}
.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow: 0 10px 45px rgba(0,0,0,.7);
}
.hero h1 span {
  color: var(--lime);
  filter: drop-shadow(0 0 18px rgba(145,255,0,.26));
}
.hero-copy {
  max-width: 500px;
  margin: 24px 0 28px;
  color: #d2dae5;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}
.hero-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .02em;
}
.hero-cta,
.primary-button {
  color: #071000;
  background: linear-gradient(135deg, var(--lime), #5ed900);
  box-shadow: 0 0 32px rgba(117,255,0,.24);
}
.hero-cta:hover,
.primary-button:hover { transform: translateY(-2px); }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading h2,
.community-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.section-heading > p:last-child,
.community-card > div > p:not(.kicker) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.player-shell {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(0, 115, 255, .10), transparent 38%),
    linear-gradient(320deg, rgba(145,255,0,.08), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.08);
  overflow: hidden;
}
.player-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .22;
  pointer-events: none;
}
.player-art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  isolation: isolate;
}
.player-art img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(102, 179, 255, .76);
  box-shadow:
    0 0 0 10px rgba(0, 100, 255, .08),
    0 0 42px rgba(0, 134, 255, .32),
    0 0 70px rgba(125, 255, 0, .12);
}
.disc-ring {
  position: absolute;
  z-index: 1;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(145,255,0,.45);
  box-shadow: inset 0 0 24px rgba(0,200,255,.28), 0 0 28px rgba(145,255,0,.16);
  animation: rotate 18s linear infinite;
}
.disc-ring::before,
.disc-ring::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}
.disc-ring::before { top: 8%; left: 18%; }
.disc-ring::after { right: 8%; bottom: 23%; background: var(--blue); box-shadow: 0 0 18px var(--blue); }

.player-main { position: relative; z-index: 2; }
.on-air-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--lime);
  border: 1px solid rgba(145,255,0,.42);
  background: rgba(145,255,0,.06);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.on-air-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.player-status { color: var(--muted); font-size: .9rem; }
.player-main h3 {
  margin: 25px 0 8px;
  font-size: clamp(2.2rem, 5vw, 5.1rem);
  line-height: .96;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.slogan { margin: 0; color: var(--lime); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.equalizer {
  height: 96px;
  display: flex;
  align-items: flex-end;
  gap: clamp(3px, .5vw, 8px);
  margin: 32px 0 24px;
  overflow: hidden;
}
.equalizer i {
  flex: 1;
  min-width: 3px;
  height: 22%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(to top, var(--blue), var(--cyan) 58%, var(--lime));
  box-shadow: 0 0 12px rgba(0,175,255,.45);
  transform-origin: bottom;
}
.equalizer i:nth-child(3n) { height: 78%; }
.equalizer i:nth-child(4n) { height: 48%; }
.equalizer i:nth-child(5n) { height: 94%; }
body.playing .equalizer i { animation: bars .8s ease-in-out infinite alternate; }
body.playing .equalizer i:nth-child(2n) { animation-duration: .58s; }
body.playing .equalizer i:nth-child(3n) { animation-duration: 1.05s; }
body.playing .disc-ring { animation-duration: 7s; }

.controls { display: flex; align-items: center; gap: 26px; }
.play-button {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 40% 30%, #baff4b, #64df00 62%, #2a8500);
  box-shadow: 0 0 0 8px rgba(145,255,0,.08), 0 0 35px rgba(145,255,0,.35);
  transition: transform .2s ease;
}
.play-button:hover { transform: scale(1.04); }
.play-button svg { width: 34px; height: 34px; fill: #071000; }
.icon-pause { display: none; }
body.playing .icon-play { display: none; }
body.playing .icon-pause { display: block; }
.volume-control { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 300px; }
.volume-control svg { width: 24px; fill: var(--cyan); }
.volume-control input { width: 100%; accent-color: var(--lime); cursor: pointer; }

.quick-links {
  width: min(1180px, calc(100% - 36px));
  margin: -18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  background: rgba(5, 11, 21, .78);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(145,255,0,.45);
  background: rgba(10, 20, 34, .94);
}
.quick-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(0, 146, 255, .24), rgba(145,255,0,.10));
  border: 1px solid rgba(0, 193, 255, .34);
  box-shadow: inset 0 0 20px rgba(0,120,255,.18), 0 0 20px rgba(0,151,255,.09);
}
.quick-icon svg { width: 31px; fill: var(--lime); filter: drop-shadow(0 0 8px rgba(145,255,0,.38)); }
.quick-card b, .quick-card small { display: block; }
.quick-card b { font-size: 1.04rem; text-transform: uppercase; letter-spacing: .06em; }
.quick-card small { margin-top: 4px; color: var(--muted); }

.chat-frame-wrap {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-topline {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 17, 31, .86);
  font-size: .91rem;
  font-weight: 800;
}
.chat-topline button {
  color: var(--lime);
  border: 1px solid rgba(145,255,0,.34);
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  background: rgba(145,255,0,.04);
}
.chat-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 760px;
  min-height: 760px;
  border: 0;
  background: #fff;
}
.chat-frame-wrap.expanded {
  position: fixed;
  z-index: 100;
  inset: 18px;
  border-radius: 22px;
}
.chat-frame-wrap.expanded iframe { height: calc(100vh - 98px); }
body.chat-open { overflow: hidden; }

.community-card {
  display: grid;
  grid-template-columns: 1.2fr .65fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  border: 1px solid rgba(145,255,0,.26);
  background:
    radial-gradient(circle at 82% 25%, rgba(0,151,255,.20), transparent 17rem),
    linear-gradient(135deg, rgba(145,255,0,.08), rgba(0,131,255,.07)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}
.community-card img {
  width: min(100%, 330px);
  justify-self: end;
  border-radius: 50%;
  border: 2px solid rgba(145,255,0,.52);
  box-shadow: 0 0 48px rgba(0,151,255,.26), 0 0 80px rgba(145,255,0,.10);
}
.community-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.secondary-button { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.secondary-button:hover { border-color: rgba(0,194,255,.55); }

footer {
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 20px auto 0;
  padding: 42px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--muted);
}
footer img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
footer p { margin: 0; line-height: 1.5; }
footer b { color: #fff; }
.footer-domain { color: var(--lime); letter-spacing: .08em; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.84); }
}
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes bars {
  from { transform: scaleY(.28); filter: brightness(.86); }
  to { transform: scaleY(1); filter: brightness(1.25); }
}

@media (max-width: 980px) {
  .topnav a:not(.nav-app) { display: none; }
  .hero {
    min-height: 780px;
    align-items: flex-end;
    background-image: url("assets/fondo-mobile.png");
    background-position: center 22%;
  }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(2,5,11,.04) 0%, rgba(2,5,11,.18) 54%, rgba(2,5,11,.94) 79%, #02050b 100%);
  }
  .hero-content {
    width: 100%;
    margin: 0;
    text-align: center;
    padding-bottom: 10px;
  }
  .hero-copy { margin-left: auto; margin-right: auto; }
  .player-shell { grid-template-columns: 280px 1fr; gap: 30px; }
  .community-card { grid-template-columns: 1fr; text-align: center; }
  .community-card img { justify-self: center; grid-row: 1; width: 240px; }
  .community-actions { justify-content: center; }
}

@media (max-width: 720px) {
  .topbar { height: 66px; padding: 0 14px; }
  .brand span { display: none; }
  .brand img { width: 43px; height: 43px; }
  .topnav { gap: 10px; }
  .topnav .nav-app { padding: 9px 13px; font-size: .82rem; }
  .hero { min-height: 720px; padding: 92px 18px 30px; background-position: center 12%; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .section { width: min(100% - 24px, 1180px); padding: 72px 0; }
  .player-shell { grid-template-columns: 1fr; text-align: center; border-radius: 24px; }
  .player-art { width: min(72vw, 310px); margin: 0 auto; }
  .on-air-row { justify-content: center; flex-wrap: wrap; }
  .slogan { font-size: .82rem; line-height: 1.6; }
  .controls { justify-content: center; flex-direction: column; }
  .volume-control { width: min(100%, 300px); }
  .quick-links { grid-template-columns: 1fr; width: min(100% - 24px, 1180px); }
  .chat-frame-wrap iframe { height: 72vh; min-height: 620px; max-height: 860px; }
  .community-card { padding: 34px 20px; border-radius: 24px; }
  .community-actions { flex-direction: column; }
  .primary-button, .secondary-button { width: 100%; }
  footer { grid-template-columns: auto 1fr; }
  .footer-domain { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}


/* Oyentes en tiempo real */
.audience-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(0, 208, 255, .28);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 151, 255, .11), rgba(145, 255, 0, .06));
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.18);
}
.audience-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(2, 10, 20, .72);
  border: 1px solid rgba(145,255,0,.28);
}
.audience-icon svg { width: 28px; fill: var(--lime); filter: drop-shadow(0 0 9px rgba(145,255,0,.35)); }
.audience-copy { min-width: 0; }
.audience-copy small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .15em;
}
.sonic-listener-output {
  display: block;
  min-height: 27px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.15;
}
.sonic-listener-output * { color: inherit !important; font: inherit !important; background: transparent !important; }
.audience-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .12em;
  white-space: nowrap;
}
.audience-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 1.7s infinite;
}

/* Chat Cbox */
.chat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-actions a,
.chat-topline button {
  color: var(--lime);
  border: 1px solid rgba(145,255,0,.34);
  border-radius: 999px;
  padding: 8px 13px;
  text-decoration: none;
  cursor: pointer;
  background: rgba(145,255,0,.04);
  font-size: .84rem;
  font-weight: 800;
}

.chat-actions a:hover,
.chat-topline button:hover {
  border-color: rgba(145,255,0,.65);
  background: rgba(145,255,0,.09);
}

.chat-frame-wrap iframe {
  height: 760px;
  min-height: 760px;
  color-scheme: light;
}

.chat-frame-wrap.expanded iframe {
  height: calc(100vh - 98px);
  min-height: 0;
}

.chat-fallback {
  margin: 0;
  padding: 20px;
  color: var(--muted);
}

.chat-fallback a {
  color: var(--lime);
}

/* Puente invisible del widget oficial de SonicPanel */
.sonic-widget-bridge {
  position: fixed !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Aviso Android */
.app-prompt[hidden] { display: none; }
.app-prompt {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  transition: opacity .22s ease;
}
.app-prompt.visible { opacity: 1; }
.app-prompt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(12px);
}
.app-prompt-card {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  padding: 34px 28px 28px;
  text-align: center;
  border: 1px solid rgba(0, 190, 255, .38);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(145,255,0,.10), transparent 15rem),
    linear-gradient(145deg, rgba(0, 124, 255, .10), transparent 45%),
    #06101d;
  box-shadow: 0 30px 100px rgba(0,0,0,.68), 0 0 50px rgba(0,148,255,.16);
  transform: translateY(16px) scale(.98);
  transition: transform .22s ease;
}
.app-prompt.visible .app-prompt-card { transform: translateY(0) scale(1); }
.app-prompt-card > img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(145,255,0,.55);
  box-shadow: 0 0 35px rgba(0,151,255,.26);
}
.app-prompt-card h2 { margin: 8px 0 12px; font-size: clamp(1.7rem, 6vw, 2.45rem); line-height: 1.02; text-transform: uppercase; }
.app-prompt-card > p:not(.kicker) { margin: 0 auto; color: var(--muted); line-height: 1.6; }
.app-prompt-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background: rgba(255,255,255,.06);
  font-size: 1.6rem;
  line-height: 1;
}
.app-prompt-actions { display: grid; gap: 11px; margin-top: 25px; }
.app-prompt-actions .primary-button,
.app-prompt-actions .secondary-button { width: 100%; border: 0; cursor: pointer; }
.prompt-later { color: #dbe4ef; }
body.prompt-open { overflow: hidden; }

@media (max-width: 720px) {
  .audience-card { grid-template-columns: auto 1fr; text-align: left; }
  .audience-live { grid-column: 2; }
  .chat-topline { height: auto; min-height: 62px; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .chat-actions { flex-wrap: wrap; justify-content: flex-end; }
  .chat-frame-wrap iframe { height: 72vh; min-height: 620px; max-height: 860px; }
  .app-prompt-card { padding: 30px 20px 22px; border-radius: 24px; }
}


/* =========================================================
   CORRECCIÓN HERO MÓVIL
   Mantiene el diseño de escritorio y evita que el texto tape
   el logo en teléfonos.
   ========================================================= */
@media (max-width: 720px) {
  .hero {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 9 / 16;
    padding: 0;
    background-image: url("assets/fondo-mobile.png");
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--bg);
    overflow: hidden;
  }

  .hero::after {
    height: 18%;
    background: linear-gradient(to bottom, transparent, rgba(2, 5, 11, .96));
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(2, 5, 11, .04) 0%,
      rgba(2, 5, 11, 0) 72%,
      rgba(2, 5, 11, .58) 100%
    );
  }

  .hero-content {
    position: absolute;
    inset: auto 0 3.2%;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 0 18px;
    text-align: center;
  }

  /* La imagen móvil ya incluye el logo, EN VIVO y el eslogan. */
  .hero .eyebrow,
  .hero h1,
  .hero-copy {
    display: none;
  }

  .hero-cta {
    min-width: 210px;
    min-height: 52px;
    padding: 0 28px;
    font-size: 1rem;
    box-shadow:
      0 0 34px rgba(117, 255, 0, .28),
      0 12px 32px rgba(0, 0, 0, .48);
  }
}

/* Ajuste extra para celulares pequeños */
@media (max-width: 390px) {
  .hero-content {
    inset-bottom: 2.4%;
  }

  .hero-cta {
    min-width: 190px;
    min-height: 48px;
    font-size: .94rem;
  }
}


/* =========================================================
   EQUIPO DE DJs
   ========================================================= */
.djs-section {
  position: relative;
}

.djs-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.djs-heading > div {
  max-width: 760px;
}

.dj-count {
  flex: 0 0 auto;
  margin-bottom: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(145, 255, 0, .38);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(145, 255, 0, .06);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dj-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.dj-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 177, 255, .26);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(0, 128, 255, .08), transparent 40%),
    linear-gradient(325deg, rgba(145, 255, 0, .08), transparent 42%),
    rgba(5, 11, 21, .9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34), inset 0 1px rgba(255,255,255,.06);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.dj-card:hover {
  transform: translateY(-7px);
  border-color: rgba(145, 255, 0, .56);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .46), 0 0 30px rgba(0, 166, 255, .12);
}

.dj-photo-wrap {
  position: relative;
  aspect-ratio: 864 / 1125;
  overflow: hidden;
  background: #07101d;
}

.dj-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(2, 5, 11, .93));
}

.dj-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.dj-card:hover .dj-photo-wrap img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.dj-live-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(145, 255, 0, .4);
  border-radius: 999px;
  color: #eaffd3;
  background: rgba(2, 7, 13, .8);
  backdrop-filter: blur(10px);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.dj-live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 11px var(--lime);
}

.dj-info {
  position: relative;
  padding: 18px 18px 20px;
}

.dj-info::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, .65), rgba(145, 255, 0, .65), transparent);
}

.dj-info p {
  margin: 0 0 6px;
  color: var(--lime);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.dj-info h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.dj-scroll-hint {
  display: none;
}

@media (max-width: 1080px) {
  .dj-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .djs-heading {
    display: block;
  }

  .dj-count {
    display: inline-flex;
    margin-top: 14px;
  }

  .dj-grid {
    width: calc(100% + 24px);
    margin-right: -12px;
    padding: 2px 18px 22px 0;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(145, 255, 0, .6) rgba(255,255,255,.06);
  }

  .dj-grid::-webkit-scrollbar {
    height: 6px;
  }

  .dj-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,.05);
    border-radius: 999px;
  }

  .dj-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--blue), var(--lime));
    border-radius: 999px;
  }

  .dj-card {
    flex: 0 0 min(76vw, 310px);
    scroll-snap-align: start;
    border-radius: 22px;
  }

  .dj-card:hover {
    transform: none;
  }

  .dj-scroll-hint {
    display: block;
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
  }
}


/* =========================================================
   V6 — DJ EN VIVO + SLIDER DE DJs
   ========================================================= */

/* Dos tarjetas de información dentro del reproductor */
.live-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.live-stats-grid .audience-card {
  margin-top: 0;
  min-width: 0;
}

.live-dj-card {
  border-color: rgba(0, 177, 255, .34);
  background:
    radial-gradient(circle at 0% 50%, rgba(0, 177, 255, .10), transparent 48%),
    linear-gradient(145deg, rgba(0, 118, 255, .08), rgba(145,255,0,.035)),
    rgba(5, 11, 21, .92);
}

.live-dj-icon {
  color: #38bfff;
  border-color: rgba(0, 177, 255, .38);
  background: rgba(0, 177, 255, .08);
}

#liveDjName {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#liveDjName.dj-unavailable {
  color: var(--muted);
  font-size: .94rem;
}

/* Slider */
.dj-slider-shell {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
}

.dj-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, calc((100% - 44px) / 3));
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 4px 24px;
}

.dj-slider-track::-webkit-scrollbar {
  display: none;
}

.dj-slider-track .dj-card {
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.dj-slider-button {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(145, 255, 0, .42);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background:
    linear-gradient(145deg, rgba(0, 154, 255, .18), rgba(145, 255, 0, .10)),
    rgba(3, 9, 17, .94);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, .36),
    0 0 24px rgba(0, 166, 255, .10);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.dj-slider-button:hover {
  transform: scale(1.07);
  border-color: rgba(145, 255, 0, .82);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, .42),
    0 0 28px rgba(145, 255, 0, .18);
}

.dj-slider-button:active {
  transform: scale(.96);
}

.dj-slider-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.dj-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 12px;
  margin-top: 8px;
}

.dj-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, .25);
  transition: width .22s ease, background .22s ease, box-shadow .22s ease;
}

.dj-slider-dot.active {
  width: 28px;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(145, 255, 0, .68);
}

@media (max-width: 1080px) {
  .dj-slider-track {
    grid-auto-columns: minmax(245px, calc((100% - 22px) / 2));
  }
}

@media (max-width: 760px) {
  .live-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .live-stats-grid .audience-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dj-slider-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dj-slider-track {
    width: calc(100% + 24px);
    margin-right: -12px;
    padding: 8px 38px 20px 0;
    grid-auto-columns: min(78vw, 310px);
    gap: 16px;
  }

  .dj-slider-button {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    background: rgba(3, 9, 17, .88);
    backdrop-filter: blur(10px);
  }

  .dj-slider-button:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .dj-slider-button:active {
    transform: translateY(-50%) scale(.95);
  }

  .dj-slider-prev {
    left: -9px;
  }

  .dj-slider-next {
    right: -9px;
  }

  .dj-slider-dots {
    margin-top: 4px;
  }

  .dj-scroll-hint {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dj-slider-track {
    scroll-behavior: auto;
  }
}
