/* ════════════════════════════════════════════════════
   LIEL – Artista Emergente | styles.css
   Paleta: Púrpura profundo + Magenta eléctrico + Negro
   ════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   1. VARIABLES CSS
   ───────────────────────────────────────────────────── */
:root {
  /* Colores base */
  --black:     #07060d;
  --offblack:  #0f0e1a;
  --card:      #13121f;
  --white:     #f0eeff;

  /* Acento principal: Púrpura eléctrico */
  --accent:    #b44fff;
  --accent-glow: rgba(180, 79, 255, 0.45);

  /* Acento secundario: Magenta/Rosa vibrante */
  --accent2:   #ff2d78;
  --accent2-glow: rgba(255, 45, 120, 0.35);

  /* Utilidades */
  --muted:     #5a5475;
  --border:    rgba(180, 79, 255, 0.12);
  --border-soft: rgba(240, 238, 255, 0.07);

  /* Tipografía */
  --ff-head:   'Bebas Neue', cursive;
  --ff-body:   'Syne', sans-serif;
  --ff-mono:   'Space Mono', monospace;
}


/* ─────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  overflow-x: hidden;
  cursor: none;
}

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

img {
  display: block;
  max-width: 100%;
}


/* ─────────────────────────────────────────────────────
   3. CURSOR PERSONALIZADO
   ───────────────────────────────────────────────────── */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, background 0.2s;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--accent-glow);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}


/* ─────────────────────────────────────────────────────
   4. TEXTURA DE RUIDO (overlay)
   ───────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* Resplandor de fondo púrpura sutil */
body::after {
  content: '';
  position: fixed;
  top: -30%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(100, 20, 180, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}


/* ─────────────────────────────────────────────────────
   5. SCROLLBAR
   ───────────────────────────────────────────────────── */
::-webkit-scrollbar         { width: 4px; }
::-webkit-scrollbar-track   { background: var(--black); }
::-webkit-scrollbar-thumb   { background: var(--accent); border-radius: 2px; }


/* ─────────────────────────────────────────────────────
   6. NAVEGACIÓN
   ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(7, 6, 13, 0.97) 0%, transparent 100%);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

nav.scrolled {
  background: rgba(7, 6, 13, 0.98);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 20px var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Nav abierta en móvil */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 13, 0.98);
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 99;
}

.nav-open .nav-links a {
  font-size: 1rem;
  opacity: 1;
}


/* ─────────────────────────────────────────────────────
   7. HERO
   ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 5rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(6rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-title .accent {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.hero-bio {
  margin-top: 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(240, 238, 255, 0.6);
  max-width: 400px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-conecta {
  margin-top: 3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

/* Foto del artista */
.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(1.08) brightness(0.9);
  opacity: 0;
  animation: fadeIn 1.2s 0.4s forwards;
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--black) 0%, transparent 45%),
    linear-gradient(to top, var(--black) 0%, transparent 35%),
    linear-gradient(135deg, rgba(100, 20, 180, 0.25) 0%, transparent 60%);
}

/* Línea diagonal decorativa */
.hero-line {
  position: absolute;
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  top: 20%;
  right: 48%;
  z-index: 3;
  opacity: 0.3;
}

/* Ticker animado */
.ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 50%, var(--accent) 100%);
  overflow: hidden;
  padding: 0.6rem 0;
  z-index: 10;
}

.ticker {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

.ticker-item {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--black);
  padding: 0 2rem;
}

.ticker-sep {
  color: rgba(7, 6, 13, 0.4);
}


/* ─────────────────────────────────────────────────────
   8. BOTONES
   ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: var(--black);
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px var(--accent-glow);
  background: #c96fff;
}

.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(240, 238, 255, 0.2);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}


/* ─────────────────────────────────────────────────────
   9. SOCIAL PILLS (hero)
   ───────────────────────────────────────────────────── */
.conecta-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 238, 255, 0.55);
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.conecta-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(180, 79, 255, 0.08);
  box-shadow: 0 0 12px var(--accent-glow);
}

.conecta-pill svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────
   10. SECCIONES — ELEMENTOS COMPARTIDOS
   ───────────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--white);
}


/* ─────────────────────────────────────────────────────
   11. SECCIÓN PLATAFORMAS DE MÚSICA
   ───────────────────────────────────────────────────── */
#music {
  padding: 7rem 0 5rem;
}

.music-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.music-sub {
  color: rgba(240, 238, 255, 0.45);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.65;
}

.streaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.stream-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.stream-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}

.stream-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(180, 79, 255, 0.1);
}

.stream-card:hover::before {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.stream-icon {
  width: 44px;
  height: 44px;
}

.stream-name {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.stream-desc {
  font-size: 0.82rem;
  color: rgba(240, 238, 255, 0.45);
  line-height: 1.65;
  flex-grow: 1;
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.2s, text-shadow 0.2s;
}

.stream-btn:hover {
  gap: 0.9rem;
  text-shadow: 0 0 10px var(--accent-glow);
}

.stream-btn::after {
  content: '→';
}


/* ─────────────────────────────────────────────────────
   12. SECCIÓN VIDEO
   ───────────────────────────────────────────────────── */
#video {
  padding: 5rem 0 7rem;
  background: var(--offblack);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.video-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.video-text .section-title {
  margin-bottom: 1.5rem;
}

.video-text p {
  color: rgba(240, 238, 255, 0.55);
  line-height: 1.8;
  font-size: 0.95rem;
}

.video-btn {
  margin-top: 2rem;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 50px rgba(180, 79, 255, 0.15);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--accent2);
  color: var(--white);
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  z-index: 2;
}


/* ─────────────────────────────────────────────────────
   13. SECCIÓN SOBRE MÍ
   ───────────────────────────────────────────────────── */
#about {
  padding: 7rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  filter: grayscale(10%) contrast(1.08) brightness(0.92);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

/* Marco decorativo */
.about-img::before {
  content: '';
  position: absolute;
  inset: 14px 14px -14px -14px;
  border: 1px solid var(--accent);
  z-index: -1;
  opacity: 0.3;
}

/* Resplandor detrás de la imagen */
.about-img::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 50% 80%, rgba(180, 79, 255, 0.12), transparent 70%);
  z-index: -2;
  pointer-events: none;
}

.about-stat-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.about-stat .num {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 20px var(--accent-glow);
}

.about-stat .label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 238, 255, 0.45);
  margin-top: 0.25rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text .section-title {
  margin-bottom: 0.5rem;
}

.about-text p {
  color: rgba(240, 238, 255, 0.6);
  line-height: 1.85;
  font-size: 0.95rem;
}

.about-quote {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  font-family: var(--ff-head);
  font-size: 1.65rem;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin-top: 1rem;
  text-shadow: 0 0 20px rgba(180, 79, 255, 0.2);
}


/* ─────────────────────────────────────────────────────
   14. SECCIÓN REDES SOCIALES
   ───────────────────────────────────────────────────── */
#social {
  padding: 5rem 0 7rem;
  background: var(--offblack);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.conecta-header {
  margin-bottom: 3rem;
}

.conecta-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.conecta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border-soft);
  background: var(--card);
  position: relative;
  overflow: hidden;
  gap: 1rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Borde izquierdo animado */
.conecta-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transform: scaleY(0);
  transition: transform 0.25s;
  transform-origin: bottom;
}

/* Resplandor de fondo al hover */
.conecta-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(180, 79, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.conecta-row:hover {
  transform: translateX(6px);
  border-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.conecta-row:hover::before  { transform: scaleY(1); }
.conecta-row:hover::after   { opacity: 1; }

.conecta-row-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.conecta-row-icon {
  width: 48px;
  height: 48px;
  background: rgba(180, 79, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.conecta-row:hover .conecta-row-icon {
  background: rgba(180, 79, 255, 0.18);
  box-shadow: 0 0 15px var(--accent-glow);
}

.conecta-row-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.conecta-row-name {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.conecta-row-handle {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  color: rgba(240, 238, 255, 0.4);
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

.conecta-row-arrow {
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}

.conecta-row:hover .conecta-row-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* ─────────────────────────────────────────────────────
   15. SECCIÓN CONTACTO / BOOKING
   ───────────────────────────────────────────────────── */
#contact {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Resplandor central decorativo */
#contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 79, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-inner .section-title {
  margin-bottom: 1rem;
}

.contact-inner p {
  color: rgba(240, 238, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-email {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--accent);
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.2rem;
  text-shadow: 0 0 25px var(--accent-glow);
  transition: opacity 0.2s, text-shadow 0.2s;
}

.contact-email:hover {
  opacity: 0.8;
  text-shadow: 0 0 40px var(--accent-glow);
}

.contact-note {
  margin-top: 2rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 238, 255, 0.25);
}


/* ─────────────────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--ff-head);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 238, 255, 0.35);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: rgba(240, 238, 255, 0.25);
  letter-spacing: 0.1em;
}


/* ─────────────────────────────────────────────────────
   17. ANIMACIONES
   ───────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ─────────────────────────────────────────────────────
   18. RESPONSIVE — MÓVIL
   ───────────────────────────────────────────────────── */
@media (max-width: 900px) {

  /* Hero */
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 8rem 1.5rem 3rem;
  }

  .hero-right {
    height: 55vw;
    min-height: 260px;
  }

  .hero-line {
    display: none;
  }

  /* Navegación */
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Contenedor */
  .container {
    padding: 0 1.5rem;
  }

  /* Música */
  .music-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Video */
  .video-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img {
    max-width: 350px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(4.5rem, 20vw, 6rem);
  }

  .streaming-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-row {
    gap: 1.5rem;
  }
}


/* ════════════════════════════════════════════════════
   ★ ACTUALIZACIÓN 2026 — Mobile-first, animaciones y
     mini-reproductor con ecualizador
   ════════════════════════════════════════════════════ */

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* expo-out suave */
  --player-h: 64px;

  /* Escala z semántica */
  --z-bg: 0;
  --z-content: 1;
  --z-nav: 100;
  --z-overlay: 110;
  --z-player: 120;
  --z-progress: 130;
  --z-cursor: 140;
}

/* ── Base mobile-first ─────────────────────────────── */

body {
  cursor: auto;                          /* el cursor custom solo en desktop */
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}

a, button {
  touch-action: manipulation;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Las anclas no quedan ocultas bajo la nav fija */
section {
  scroll-margin-top: 5rem;
}

/* Altura real del viewport en móvil (barra de dirección) */
#hero {
  min-height: 100svh;
}

/* Foco visible para teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Cursor custom: solo desktop con mouse ─────────── */

.cursor,
.cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  .cursor, .cursor-ring {
    display: block;
    z-index: var(--z-cursor);
  }
}

/* ── Barra de progreso de scroll ───────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: var(--z-progress);
  pointer-events: none;
}

/* ── Entrada del hero (carga de página) ────────────── */

.hero-line-mask {
  display: block;
  overflow: hidden;
}

.hero-line-text {
  display: block;
}

html.js .hero-line-text {
  transform: translateY(110%);
  animation: hero-line-in 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.12s * var(--d, 0) + 0.15s);
}

@keyframes hero-line-in {
  to { transform: translateY(0); }
}

html.js .intro-up {
  opacity: 0;
  transform: translateY(24px);
  animation: intro-up 0.8s var(--ease-out) forwards;
  animation-delay: calc(0.12s * var(--d, 0) + 0.2s);
}

@keyframes intro-up {
  to { opacity: 1; transform: translateY(0); }
}

html.js .intro-img {
  clip-path: inset(0 0 100% 0);
  animation: intro-img 1.1s var(--ease-out) 0.35s forwards;
}

@keyframes intro-img {
  to { clip-path: inset(0 0 0 0); }
}

/* ── Reveals al hacer scroll (mejorados) ───────────── */

/* Sin JS el contenido siempre es visible */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: calc(80ms * var(--stagger, 0));
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navegación móvil renovada ─────────────────────── */

.nav-burger {
  position: relative;
  z-index: calc(var(--z-overlay) + 1);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-burger span {
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-lock {
  overflow: hidden;
}

@media (max-width: 900px) {
  /* backdrop-filter en nav crea un containing block para los hijos
     position:fixed y recorta el overlay del menú: fuera en móvil */
  nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links {
    display: flex;                       /* siempre en el DOM para animar */
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(7, 6, 13, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }

  .nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease-out);
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }

  .nav-open .nav-links li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(60ms * var(--i, 0) + 80ms);
  }

  .nav-links a {
    font-size: 1.3rem;
    opacity: 1;
    padding: 0.4rem 1rem;                /* área táctil cómoda */
  }
}

/* ── Mini reproductor ──────────────────────────────── */

.player {
  position: fixed;
  left: 50%;
  bottom: calc(0.9rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(420px, calc(100% - 1.6rem));
  height: var(--player-h);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1.1rem 0 0.6rem;
  background: rgba(19, 18, 31, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  z-index: var(--z-player);
  overflow: hidden;
}

.player-progress {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: rgba(240, 238, 255, 0.08);
}

.player-progress-fill {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.player-btn {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px var(--accent-glow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.player-btn:active {
  transform: scale(0.92);
}

.player-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--black);
}

.player .icon-pause { display: none; }
.player.playing .icon-pause { display: block; }
.player.playing .icon-play { display: none; }

/* Invitación sutil cuando el autoplay fue bloqueado */
.player.waiting .player-btn {
  animation: player-pulse 2s ease-in-out infinite;
}

@keyframes player-pulse {
  0%, 100% { box-shadow: 0 0 14px var(--accent-glow); }
  50%      { box-shadow: 0 0 30px var(--accent-glow), 0 0 50px var(--accent2-glow); }
}

/* Ecualizador */
.player-eq {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.player-eq span {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--accent), var(--accent2));
  transform-origin: bottom;
  transition: height 0.08s linear;
}

/* Fallback animado por CSS si Web Audio no está disponible */
.player.playing.eq-css .player-eq span {
  animation: eq-bounce 0.9s ease-in-out infinite;
}
.player.playing.eq-css .player-eq span:nth-child(1) { animation-delay: 0s;    }
.player.playing.eq-css .player-eq span:nth-child(2) { animation-delay: 0.15s; }
.player.playing.eq-css .player-eq span:nth-child(3) { animation-delay: 0.3s;  }
.player.playing.eq-css .player-eq span:nth-child(4) { animation-delay: 0.1s;  }
.player.playing.eq-css .player-eq span:nth-child(5) { animation-delay: 0.25s; }

@keyframes eq-bounce {
  0%, 100% { height: 5px; }
  50%      { height: 20px; }
}

.player-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.player-title {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-sub {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.player-next {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s var(--ease-out);
}

.player-next:hover { background: rgba(180, 79, 255, 0.12); }
.player-next:active { transform: scale(0.9); }

.player-next svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ── Micro-interacciones táctiles ──────────────────── */

.stream-card:active,
.conecta-row:active,
.conecta-pill:active,
.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

/* Brillo que recorre las tarjetas (desktop) */
.stream-card {
  position: relative;
  overflow: hidden;
}

.stream-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(240, 238, 255, 0.06),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

@media (hover: hover) {
  .stream-card:hover::before {
    animation: card-sheen 0.9s var(--ease-out);
  }
}

@keyframes card-sheen {
  to { left: 125%; }
}

/* Ticker: pausa al pasar el mouse */
@media (hover: hover) {
  .ticker-wrap:hover .ticker {
    animation-play-state: paused;
  }
}

/* Separación entre los dos bloques de video */
.video-stack {
  margin-top: clamp(3rem, 8vw, 6rem);
}

/* ── Ajustes responsivos extra ─────────────────────── */

@media (max-width: 900px) {
  section { scroll-margin-top: 4.2rem; }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.1rem; }

  .hero-left { padding: 7rem 1.1rem 2.5rem; }

  .hero-conecta {
    gap: 0.5rem;
  }

  .conecta-pill {
    font-size: 0.68rem;
  }

  .player {
    width: calc(100% - 1.2rem);
  }

  .video-frame iframe {
    border-radius: 8px;
  }
}

/* ── Reduced motion: la accesibilidad no es opcional ── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js .hero-line-text,
  html.js .intro-up,
  html.js .intro-img {
    animation: none;
    transform: none;
    opacity: 1;
    clip-path: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker {
    animation: none;
  }

  .player.waiting .player-btn,
  .player.playing.eq-css .player-eq span {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ════════════════════════════════════════════════════
   ★ ALERTA DE LANZAMIENTO + link admin
   ════════════════════════════════════════════════════ */

:root {
  --z-alert: 105;
}

.site-alert {
  position: fixed;
  top: calc(4.8rem + env(safe-area-inset-top));
  left: 50%;
  transform: translate(-50%, -18px);
  width: min(480px, calc(100% - 1.6rem));
  background: rgba(19, 18, 31, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 3rem 1.25rem 1.3rem;
  z-index: var(--z-alert);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    visibility 0s linear 0.45s;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(180, 79, 255, 0.12);
}

/* línea degradada superior, la firma de la página */
.site-alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.3rem;
  right: 1.3rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.site-alert.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.site-alert-label {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.site-alert-title {
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
}

.site-alert-desc {
  margin-top: 0.4rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(240, 238, 255, 0.75);
}

.site-alert-btn {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.7rem;
}

.site-alert-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  opacity: 0.65;
  transition: opacity 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}

.site-alert-close:hover {
  opacity: 1;
  background: rgba(180, 79, 255, 0.12);
}

.site-alert-close:active {
  transform: scale(0.88);
}

.site-alert-close svg {
  width: 16px;
  height: 16px;
}

/* Acceso discreto al panel en el footer */
.footer-admin {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-admin:hover {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .site-alert {
    transform: translate(-50%, 0);
  }
}

/* ════════════════════════════════════════════════════
   FIX: garantizar que las redes sociales siempre se vean
   (independiente del scroll-reveal / JavaScript)
   ════════════════════════════════════════════════════ */
.conecta-header.reveal,
.conecta-list .conecta-row.reveal {
  opacity: 1 !important;
  transform: none !important;
}
