:root{
  --bg: #070A12;
  --surface: rgba(255,255,255,.05);
  --surface2: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.66);
  --muted2: rgba(255,255,255,.50);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --r: 22px;
  --max: 1160px;
  --headerH: 78px; /* se setea por JS */
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
html { scroll-behavior: smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  padding-top: var(--headerH);
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

:focus-visible{
  outline: 2px solid rgba(80,140,255,.75);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Accesibilidad */
.skip{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  transform: translateY(-130%);
  transition: transform .15s ease;
  z-index: 999999;
}
.skip:focus{ transform: translateY(0); }

.noscript{
  margin: 10px auto 0;
  width: min(var(--max), calc(100% - 40px));
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-weight: 800;
}

.wrap{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ===== Header fijo ===== */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(7,10,18,.92), rgba(7,10,18,.70));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}

.brand img{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;

  /* antes te generaba la “placa” */
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.brand .t{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .t strong{
  font-weight: 900;
  letter-spacing: .2px;
}
.brand .t span{
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

nav{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.pill{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: 14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
  cursor:pointer;
  white-space: nowrap;
}
.pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}
.pill.primary{
  background: rgba(80,140,255,.18);
  border-color: rgba(80,140,255,.30);
}

@media (max-width: 920px){
  .brand{ min-width:auto; }
  nav{ justify-content:flex-start; }
}

/* ✅ Nav mobile: 1 línea con scroll horizontal */
@media (max-width: 920px){
  nav{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  nav::-webkit-scrollbar{ display:none; }
}

/* ===== Secciones ===== */
.block{
  position: relative;
  isolation: isolate;
  padding: 28px 0;
}
.block::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}
.block::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(7,10,18,.05), rgba(7,10,18,.70));
}

.bg-hero::before{
  background:
    radial-gradient(1100px 650px at 15% 20%, rgba(0,145,255,.20), transparent 62%),
    radial-gradient(1100px 650px at 85% 25%, rgba(255,0,170,.18), transparent 62%);
}
.bg-episodios::before{
  background:
    radial-gradient(900px 520px at 20% 30%, rgba(0,145,255,.14), transparent 60%),
    radial-gradient(800px 520px at 85% 65%, rgba(255,0,170,.10), transparent 60%);
  opacity: .9;
}
.bg-plataformas::before{
  background:
    radial-gradient(900px 520px at 75% 25%, rgba(80,140,255,.15), transparent 62%),
    radial-gradient(900px 520px at 20% 70%, rgba(60,255,138,.10), transparent 62%);
  opacity: .9;
}
.bg-envivo::before{
  background:
    radial-gradient(900px 520px at 20% 30%, rgba(255,0,170,.12), transparent 62%),
    radial-gradient(900px 520px at 80% 65%, rgba(0,145,255,.12), transparent 62%);
  opacity: .9;
}
.bg-merch::before{
  background:
    radial-gradient(900px 520px at 70% 35%, rgba(255,0,170,.10), transparent 62%),
    radial-gradient(900px 520px at 20% 75%, rgba(80,140,255,.10), transparent 62%);
  opacity: .9;
}
.bg-trabajando::before{
  background: radial-gradient(900px 520px at 50% 40%, rgba(255,255,255,.06), transparent 62%);
  opacity: .8;
}
.bg-sobre::before{
  background:
    radial-gradient(900px 520px at 18% 30%, rgba(0,145,255,.12), transparent 62%),
    radial-gradient(900px 520px at 85% 60%, rgba(255,0,170,.12), transparent 62%);
  opacity: .9;
}
.bg-contacto::before{
  background:
    radial-gradient(900px 520px at 75% 35%, rgba(80,140,255,.14), transparent 62%),
    radial-gradient(900px 520px at 25% 70%, rgba(255,0,170,.10), transparent 62%);
  opacity: .9;
}

.anchor{ scroll-margin-top: calc(var(--headerH) + 14px); }

.card{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.linkCard{
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.linkCard:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}

.card h3{
  margin:0 0 6px;
  font-size: 14px;
  letter-spacing:.2px;
  color: rgba(255,255,255,.90);
}
.card p{
  margin:0;
  color: rgba(255,255,255,.66);
  line-height:1.55;
  font-size: 14px;
}

.sectionTitle{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 14px;
}
.sectionTitle h2{
  margin:0;
  font-size: 22px;
  letter-spacing: -.01em;
}
.sectionTitle span{
  color: var(--muted2);
  font-size: 13px;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px){
  .grid3{ grid-template-columns: 1fr; }
}

.miniRow{
  display:flex;
  gap:12px;
  flex-wrap: wrap;
  align-items:center;
}
.miniLogo{
  width:54px;height:54px;
  border-radius:999px;
  background:transparent;
}

.icon{ width: 18px; height: 18px; display:inline-block; vertical-align: middle; }
.icon svg{ width: 18px; height: 18px; display:block; }

/* ===== HERO ===== */
.heroCard{
  position: relative;
  border-radius: calc(var(--r) + 6px);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 440px;
}

.heroCard::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 15% 30%, rgba(0,145,255,.22), transparent 60%),
    radial-gradient(900px 520px at 85% 25%, rgba(255,0,170,.22), transparent 60%),
    image-set(
      url("/assets/hero-bg.webp") type("image/webp"),
      url("/assets/hero-bg.png") type("image/png")
    ) center/cover no-repeat;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.02);
  pointer-events: none;
}

.heroCard::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(7,10,18,.84) 0%, rgba(7,10,18,.58) 45%, rgba(7,10,18,.72) 100%);
  pointer-events: none;
}

.heroGrid{
  position: relative;
  z-index: 2;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  padding: 28px;
}

@media (max-width: 920px){
  .heroGrid{ grid-template-columns: 1fr; padding: 20px; }
  .heroCard{ min-height: unset; }
  .heroCard::after{
    background: linear-gradient(180deg, rgba(7,10,18,.78) 0%, rgba(7,10,18,.70) 55%, rgba(7,10,18,.78) 100%);
  }
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-weight: 800;
  font-size: 13px;
  width: fit-content;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #3cff8a;
  box-shadow: 0 0 0 6px rgba(60,255,138,.10);
}

h1{
  margin: 12px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.sub{
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 16px;
}

.chips{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chip{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  font-weight: 900;
  color: rgba(255,255,255,.86);
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.ctaRow{
  display:flex;
  gap:12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-weight: 900;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  cursor:pointer;
  will-change: transform;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.btn.primary{
  background: rgba(80,140,255,.22);
  border-color: rgba(80,140,255,.40);
}

.sideCard{ display:flex; flex-direction:column; gap:12px; }

/* ===== Episodios (thumb opcional) ===== */
.epRow{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.epThumb{
  width: 84px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  object-fit: cover;
  flex: 0 0 auto;
}
.epTag{
  display:inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

/* ===== EN VIVO ===== */
.liveBox{ display:grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.liveHero{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap: wrap; }

.liveBig{
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 8px 0 6px;
}

.liveMeta{
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  font-size: 14px;
  max-width: 80ch;
}

.countdown{ display:flex; gap:10px; flex-wrap: wrap; margin-top: 12px; }
.timeBox{
  min-width: 92px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  text-align:center;
}
.timeBox b{ display:block; font-size: 22px; letter-spacing: -.02em; }
.timeBox span{
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing:.06em;
  text-transform: uppercase;
}

.smallNote{
  margin-top: 10px;
  color: rgba(255,255,255,.60);
  font-size: 13px;
  line-height: 1.45;
}

/* ===== Sobre ===== */
.teamGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 1100px){ .teamGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .teamGrid{ grid-template-columns: 1fr; } }

.teamCard{
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.04);
}
.teamMeta{
  margin-top: 6px;
  font-weight: 900;
  color: rgba(255,255,255,.78);
  letter-spacing: .1px;
  line-height: 1.35;
}
.teamDesc{
  margin-top: 6px;
  color: rgba(255,255,255,.66);
  line-height: 1.55;
  font-size: 14px;
}

.aboutText{
  margin:0;
  color: rgba(255,255,255,.72);
  line-height:1.65;
  max-width:90ch;
}

/* ===== Footer ===== */
footer{
  position: relative;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.stamp{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.70);
  font-weight: 900;
}
.stamp img{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;

  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
}
.footCopy{ color:rgba(255,255,255,.55); font-weight:800; }

/* ===== Toast ===== */
.toast{
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(10px);
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 13px;
  transition: opacity .18s ease, transform .18s ease;
  max-width: min(520px, calc(100% - 28px));
  text-align: center;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== FABs ===== */
.fab-wa{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  user-select:none;
}
.fab-wa:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
}

.fab-ico{
  width: 20px;
  height: 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.fab-ico svg{ width: 20px; height: 20px; display:block; }
.fab-txt{ font-size: 14px; letter-spacing:.2px; }

.fab-top{
  position: fixed;
  right: 18px;
  bottom: 70px;
  z-index: 120;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, background .12s ease, border-color .12s ease;
}
.fab-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.fab-top:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
}

.fab-music{
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 120;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.fab-music:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
}

@media (max-width: 520px){
  .fab-txt{ display:none; }
  .fab-wa{ width: 50px; height: 50px; justify-content:center; padding: 0; border-radius: 16px; }
  .fab-music{ width: 50px; height: 50px; justify-content:center; padding: 0; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce){
  .pill, .btn, .fab-wa, .fab-top, .fab-music, .toast { transition: none !important; }
}

/* Helpers */
.sp10{ height:10px; }
.sp12{ height:12px; }
.mt14{ margin-top:14px; }
.mb6{ margin-bottom:6px; }
.mb10{ margin-bottom:10px; }
.m0{ margin:0; }
.op85{ opacity:.85; }

.workingRow{ display:flex; align-items:center; gap:12px; }
.workingEmoji{ font-size:22px; }
.mutedLine{ color:rgba(255,255,255,.66); line-height:1.55; }
