/* ================================================
   VNDERSTAND RECORDS — styles.css
   Techno Dark UI — inspirado en Drumcode.se
   ================================================ */

/* ── FONTS ── */
@font-face {
  font-family: 'Rimini';
  src: url('../assets/fonts/Rimini-PersonalUse.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Potra';
  src: url('../assets/fonts/Potra.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── VARIABLES ── */
:root {
  --black:    #070706;
  --white:    #ffffff;
  --grey:     #110f0e;
  --mid:      #181614;
  --muted:    #999999;
  --yellow:   #f5e642;
  --accent:   #f5e642;
  --stone:    #2a2725;
  --red:      #ff0000;
  --font-main: 'Rimini', 'Arial Narrow', Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Potra', 'Impact', sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --section-pad: 120px 5vw;
}

/* ================================================
   PAGE BACKGROUND — overlay oscuro base
   ================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(7, 6, 5, 0.72);
  pointer-events: none;
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 18px;
  overflow-x: hidden;
  /* Evitar que mutaciones del DOM (video mosaic, grid reflows) ajusten el scroll */
  overflow-anchor: none;
}
body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  cursor: none;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── CONTORNO AMARILLO DE PÁGINA ── */
.page-border {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(245,230,66,0.28);
}
a {
  color: inherit;
  text-decoration: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  cursor: none;
  border: none;
  background: none;
}
ul { list-style: none; }

/* ── ARTISTS BAND ── */
.artists-band {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  background: rgba(7, 6, 5, 0.85);
  border-bottom: 1px solid rgba(245, 230, 66, 0.15);
  padding: 5px 0;
}
.artists-band-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: artistsBandMove 35s linear infinite;
  align-items: center;
}
.artists-band-track span {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.25em;
  color: rgba(245,230,66,0.78);
  white-space: nowrap;
}
.artists-band-track span:nth-child(even) {
  color: rgba(245, 230, 66, 0.35);
  font-size: 0.36rem;
}
@keyframes artistsBandMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.artists-band:hover .artists-band-track {
  animation-play-state: paused;
}
.artists-band:hover .artists-band-track span {
  color: var(--yellow);
}
.artists-band:hover .artists-band-track span:nth-child(even) {
  color: var(--yellow);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow); }

/* ── SELECTION ── */
::selection { background: var(--yellow); color: var(--black); }

/* ================================================
   CURSOR — cruceta
   ================================================ */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.cursor::before,
.cursor::after {
  content: '';
  position: absolute;
  background: var(--white);
  transition: background 0.2s ease, width 0.2s ease, height 0.2s ease,
              top 0.2s ease, left 0.2s ease;
}
/* línea horizontal */
.cursor::before {
  width: 20px;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
/* línea vertical */
.cursor::after {
  width: 1px;
  height: 20px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.cursor-follower { display: none; }

/* hover: cruceta más grande y amarilla */
.cursor.hovered {
  transform: translate(-50%, -50%) scale(1.8);
}
.cursor.hovered::before,
.cursor.hovered::after {
  background: var(--yellow);
}

/* ================================================
   NOISE OVERLAY
   ================================================ */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  animation: noiseAnim 0.5s steps(2) infinite;
}
@keyframes noiseAnim {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-1%, 1%); }
  50%  { transform: translate(1%, -1%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(1%, 1%); }
}

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed;
  top: 26px;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 5vw;
  transition: background var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(7, 6, 5, 0.92);
  backdrop-filter: blur(16px);
  padding: 12px 5vw;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: invert(1);
  transition: opacity var(--transition-fast);
}
.nav-logo img:hover { opacity: 0.7; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 20px;
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  cursor: none;
  padding: 0;
  transition: color var(--transition-fast);
  line-height: 1;
}
.lang-btn.active {
  color: var(--yellow);
}
.lang-btn:hover:not(.active) {
  color: var(--white);
}
.lang-sep {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  color: rgba(255,255,255,0.18);
  line-height: 1;
}

/* Hamburguesa + MENU — siempre visible */
.nav-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  background: none;
  border: none;
  cursor: none;
  padding: 0;
}
.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle-lines span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--yellow);
  transition: background var(--transition-fast);
}
.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
  line-height: 1;
}
.nav-toggle:hover .nav-toggle-label { color: var(--yellow); }
.nav-toggle:hover .nav-toggle-lines span { background: var(--yellow); }

/* ── DRAWER ── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  z-index: 8700;
  background: rgba(7, 6, 5, 0.98);
  backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  padding: 28px 40px 48px;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.nav-drawer.open {
  transform: translateX(0);
  pointer-events: all;
}
.nav-drawer-close {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: none;
  padding: 0;
  margin-bottom: 56px;
  align-self: flex-end;
}
.nav-drawer-close span:not(.nav-toggle-label) {
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: background var(--transition-fast);
}
.nav-drawer-close span:first-child { transform: rotate(45deg) translateY(0.5px); }
.nav-drawer-close span:nth-child(2) { transform: rotate(-45deg) translateY(-0.5px); margin-top: -1px; }
.nav-drawer-close:hover span:not(.nav-toggle-label) { background: var(--yellow); }
.nav-drawer-close:hover .nav-toggle-label { color: var(--yellow); }

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.nav-drawer-links li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-drawer-links a {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  padding: 18px 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  line-height: 1;
}
.nav-drawer-links a:hover {
  color: var(--yellow);
  padding-left: 10px;
}

.nav-drawer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nav-drawer-social a {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-fast);
}
.nav-drawer-social a:hover { color: var(--yellow); }

/* Overlay oscuro detrás del drawer */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 8600;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-drawer-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* Ocultar nav-links y nav-social que ya no existen */
.nav-links, .nav-social { display: none; }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Barras de letterbox — encuadre cinemático ── */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(40px, 9vh, 100px);
  background: var(--black);
  z-index: 4;
  pointer-events: none;
}
.hero::before {
  top: 0;
  border-bottom: 1px solid rgba(245, 230, 66, 0.55);
}
.hero::after {
  bottom: 0;
  border-top: 1px solid rgba(245, 230, 66, 0.55);
}

.hero-content {
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 5vw;
}
.hero-tag {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}
.hero-subtitle {
  font-family: var(--font-main);
  font-size: clamp(1rem, 3vw, 2.5rem);
  letter-spacing: 0.6em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s ease forwards;
}
.hero-claim {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1.1s ease forwards;
}
/* hero-cta hidden — replaced by arrow */

/* ── Flecha de scroll amarilla ── */
.hero-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  opacity: 0;
  animation: fadeIn 1s 1.8s ease forwards;
  text-decoration: none;
  transition: opacity 0.3s;
}
.hero-arrow:hover { opacity: 0.55 !important; }
.hero-arrow-svg {
  width: 36px;
  height: 50px;
  animation: arrowBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(245,230,66,0.6));
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(9px); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ================================================
   HERO VIDEO MOSAICO 5 vídeos — dinámico, fusión y reorden
   ================================================ */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--black);
}

/* Contenedor vídeo — dos capas superpuestas para cross-fade limpio */
.hero-mosaic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

/* Vídeo principal — estructura compartida */
.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Desktop: vídeo landscape */
@media (min-width: 481px) {
  .hero-vid {
    object-fit: cover;
    object-position: center center;
  }
}
.hero-vid.active { opacity: 1; }

/* Flash blend durante la transición */
.hero-vid.blending {
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Zoom suave — escala máxima 1.04 para no degradar la imagen */
@keyframes vidBreath {
  0%,100% { transform: scale(1.0)  translate( 0%,    0%   ); }
  50%     { transform: scale(1.04) translate( 0.2%, -0.2% ); }
}

/* Overlay oscuro — gradiente para que el contenido respire */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(7,6,5,0.48) 0%,
    rgba(7,6,5,0.28) 40%,
    rgba(7,6,5,0.58) 100%
  );
  pointer-events: none;
}

/* Celda expandida (ocupa 2 columnas) — se asigna por JS */
.hero-vid.span-col {
  grid-column: span 2;
  transition: grid-column 0s, opacity 0.9s ease, transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
.hero-vid.span-row {
  grid-row: span 2;
  transition: grid-row 0s, opacity 0.9s ease, transform 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ================================================
   CLUB LIGHTS — Canvas underground
   ================================================ */
.club-lights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
#club-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Glow ambiental desde el suelo — como el DJ booth */
.club-ambient {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 340px;
  background: radial-gradient(ellipse at bottom,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.01) 50%,
    transparent 75%);
  mix-blend-mode: screen;
  animation: ambientPulse 5s ease-in-out infinite;
}
@keyframes ambientPulse {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 1;    transform: translateX(-50%) scaleX(1.08); }
}
/* Strobe */
.strobe {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

/* ================================================
   GLITCH EFFECT
   ================================================ */
.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: var(--white);
}
.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  animation: glitch1 3s infinite linear alternate-reverse;
}
.glitch::after {
  left: -2px;
  text-shadow: 2px 0 cyan;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  animation: glitch2 2.5s infinite linear alternate-reverse;
}
@keyframes glitch1 {
  0%   { clip-path: polygon(0 0,   100% 0,   100% 35%, 0 35%); transform: translateX(0); }
  20%  { clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); transform: translateX(-3px); }
  40%  { clip-path: polygon(0 55%, 100% 55%, 100% 70%, 0 70%); transform: translateX(3px); }
  60%  { clip-path: polygon(0 10%, 100% 10%, 100% 30%, 0 30%); transform: translateX(0); }
  80%  { clip-path: polygon(0 70%, 100% 70%, 100% 85%, 0 85%); transform: translateX(-2px); }
  100% { clip-path: polygon(0 0,   100% 0,   100% 35%, 0 35%); transform: translateX(0); }
}
@keyframes glitch2 {
  0%   { clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); transform: translateX(0); }
  25%  { clip-path: polygon(0 75%, 100% 75%, 100% 90%,  0 90%);  transform: translateX(4px); }
  50%  { clip-path: polygon(0 40%, 100% 40%, 100% 60%,  0 60%);  transform: translateX(-4px); }
  75%  { clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%); transform: translateX(2px); }
  100% { clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); transform: translateX(0); }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-main);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateX(-101%);
  transition: transform var(--transition);
}
.btn-primary:hover { color: var(--black); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary > * { position: relative; z-index: 1; }

.btn-outline {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.72);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.btn-outline:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.btn-small {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.72);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.btn-small:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ================================================
   TICKER
   ================================================ */
.ticker-wrap {
  overflow: hidden;
  background: rgba(245, 230, 66, 0.45);
  padding: 10px 0;
  border-top: none;
  transition: background 0.4s ease;
}
.ticker-wrap:hover {
  background: var(--yellow);
}
.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: tickerMove 25s linear infinite;
}
.ticker-track span {
  font-family: var(--font-main);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  white-space: nowrap;
  color: var(--black);
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================
   SECTIONS — SHARED
   ================================================ */
.section {
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
/* Fondo paginaprincipal.jpg — sutil y difuminado en todas las secciones */
.section::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: 0;
  background: url('../assets/img/paginaprincipal.jpg') center / cover no-repeat;
  opacity: 0.06;
  filter: blur(6px) grayscale(40%) brightness(0.7);
  pointer-events: none;
  transform: scale(1.05);
}
.section > * {
  position: relative;
  z-index: 1;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}
/* Header con enlace externo al final (ej: Releases → Bandcamp) */
.section-header--with-link {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 64px;
}
.section-header--with-link .section-line {
  flex: 1;
}
.section-header-link {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.72);
  padding: 7px 16px;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.section-header-link:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}
.section-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  letter-spacing: 0.1em;
  line-height: 1;
}
.section-line {
  flex: 1;
  height: 1px;
  background: rgba(245, 230, 66, 0.2);
}

/* Reveal animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-card {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-card:nth-child(2) { transition-delay: 0.1s; }
.reveal-card:nth-child(3) { transition-delay: 0.2s; }
.reveal-card:nth-child(4) { transition-delay: 0.3s; }
.reveal-card:nth-child(5) { transition-delay: 0.4s; }

/* ================================================
   RELEASES — CAROUSEL HORIZONTAL
   ================================================ */
.releases {
  background: rgba(7, 6, 5, 0.80);
}

/* Contenedor externo con botones */
.releases-carousel-wrap {
  position: relative;
  margin-bottom: 40px;
  padding: 0 56px;            /* espacio para los botones laterales */
}

/* Ventana visible del carousel */
.releases-carousel {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.releases-carousel.is-dragging { cursor: grabbing; }

/* Track que se desplaza */
.releases-track {
  display: flex;
  gap: 2px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Cada slide: ancho exacto de 1/3 de la ventana */
.release-slide {
  flex: 0 0 calc(33.333% - 2px);
  min-width: calc(33.333% - 2px);
}

/* Tarjeta */
.release-card {
  position: relative;
  background: rgba(18, 16, 14, 0.92);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.release-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(60%);
  display: block;
}
.release-card:hover .release-cover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.release-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity var(--transition);
}
.release-card:hover .release-overlay { opacity: 1; }
.release-overlay-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
}

.play-btn {
  width: 56px;
  height: 56px;
  border: 1px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.play-btn svg {
  width: 18px;
  fill: var(--white);
  margin-left: 3px;
}
.play-btn:hover { background: var(--white); }
.play-btn:hover svg { fill: var(--black); }

.release-info {
  padding: 16px;
  flex: 1;
}
.release-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 4px;
}
.release-info h3 {
  font-family: var(--font-main);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.release-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.1em;
}
.release-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  display: block;
  margin-top: 6px;
}

/* Bandcamp embed inline (collapsible) */
.bc-inline-player {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  background: #000;
}
.bc-inline-player.open {
  max-height: 400px;
}
.bc-inline-player iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Botones prev / next */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.carousel-btn svg {
  width: 18px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}
.carousel-btn:hover {
  background: var(--white);
}
.carousel-btn:hover svg { stroke: var(--black); }
.carousel-btn:disabled {
  opacity: 0.2;
  pointer-events: none;
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Dots / indicadores */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.carousel-dot {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: background var(--transition-fast), width var(--transition-fast);
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--white);
  width: 40px;
}

.releases-cta { text-align: center; }

/* ================================================
   ARTISTS
   ================================================ */
.artists {
  background: var(--grey);
}
.artists-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.artist-card {
  position: relative;
  overflow: hidden;
  background: var(--mid);
}
.artist-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.artist-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(80%) contrast(1.1);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.artist-card:hover .artist-img-wrap img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.1);
}
.artist-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.artist-card:hover .artist-hover-overlay { opacity: 1; }
.artist-hover-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--white);
  border-bottom: 1px solid var(--white);
  padding-bottom: 4px;
}
.artist-info {
  padding: 14px 16px 16px;
  background: var(--mid);
}
.artist-info h3 {
  font-family: var(--font-main);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 3px;
}
.artist-info span {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.2em;
}

/* ================================================
   EVENTS
   ================================================ */
.events {
  background: rgba(5, 4, 3, 0.70);
  overflow: hidden;
}
.events-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.events-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(90%) brightness(0.25);
}
.events-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.6) 100%
  );
}
.events .section-header,
.events-list { position: relative; z-index: 1; }

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.event-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition-fast), padding var(--transition-fast);
}
.event-row:hover {
  background: rgba(255,255,255,0.03);
  padding-left: 16px;
  padding-right: 16px;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-day {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1;
}
.event-month {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.65);
}
.event-name {
  font-family: var(--font-main);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.event-venue {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
}
.event-artists {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.15em;
  text-align: center;
}

/* ================================================
   PODCAST
   ================================================ */
.podcast {
  background: rgba(11, 10, 8, 0.84);
}
.podcast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.podcast-featured {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.podcast-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.podcast-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
  transition: filter var(--transition);
}
.podcast-cover:hover img { filter: grayscale(0%); }
.podcast-number {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.15em;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
}
.podcast-series {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  display: block;
}
.podcast-meta h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin: 8px 0;
}
.podcast-meta p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Waveform decorativo */
.podcast-waveform {
  margin-bottom: 24px;
}
.waveform-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
}
.waveform-bars .bar {
  flex: 1;
  background: rgba(255,255,255,0.25);
  transition: background var(--transition-fast);
  animation: waveAnim var(--dur, 1s) ease-in-out infinite alternate;
}
@keyframes waveAnim {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

.podcast-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.podcast-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding-left var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  border-left: 2px solid transparent;
}
.podcast-item:hover { padding-left: 10px; background: rgba(255,255,255,0.02); }
.podcast-item.active {
  border-left-color: var(--white);
  padding-left: 12px;
}
.podcast-item.active .ep-number { color: var(--white); }
.ep-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  min-width: 32px;
}
.ep-duration {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ================================================
   ABOUT
   ================================================ */
.about {
  background: rgba(7, 6, 5, 0.78);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 64px;
  align-items: center;
}
.about-body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--yellow);
}
.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.35);
}
/* ── About mosaic — mosaico de vídeos en la columna derecha ── */
.about-mosaic {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: visible;
  /* Ligeramente desvanecido para que se integre con el fondo */
  opacity: 0.72;
  transition: opacity var(--transition);
}
.about-mosaic:hover { opacity: 0.9; }

/* Contenedor vídeo único */
.about-mosaic-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

#about-vid-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(30%);
}

/* Overlay más denso: fusiona el mosaico con el fondo de la página */
.about-mosaic-overlay {
  position: absolute;
  inset: 0;
  /* Gradiente que se disuelve en los 4 bordes hacia el negro de la página */
  background:
    linear-gradient(to right,  var(--black) 0%, transparent 25%, transparent 75%, var(--black) 100%),
    linear-gradient(to bottom, var(--black) 0%, transparent 18%, transparent 82%, var(--black) 100%),
    rgba(7, 6, 5, 0.45);
  pointer-events: none;
  z-index: 1;
}

/* Borde decorativo sutil */
.about-mosaic-border {
  position: absolute;
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(245, 230, 66, 0.12);
  z-index: -1;
  pointer-events: none;
  transition: top var(--transition), left var(--transition), border-color var(--transition);
}
.about-mosaic:hover .about-mosaic-border {
  top: -10px;
  left: -10px;
  border-color: rgba(245, 230, 66, 0.2);
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  background: rgba(11, 10, 8, 0.86);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-item {
  margin-bottom: 32px;
}
.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.58);
  margin-bottom: 6px;
}
.contact-item a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition-fast);
}
.contact-item a:hover { color: var(--white); }
.contact-social {
  display: flex;
  gap: 24px;
  margin-top: 48px;
}
.contact-social a {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
  border-bottom: 1px solid transparent;
}
.contact-social a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-group {
  position: relative;
  margin-bottom: 32px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 8px 0 12px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  outline: none;
  transition: border-color var(--transition-fast);
  appearance: none;
}
.form-group select option {
  background: var(--grey);
  color: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.2em;
}
.form-group textarea { resize: none; }
.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition);
}
.form-group:focus-within .form-line { width: 100%; }
.form-status {
  margin-top: 20px;
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: rgba(4, 3, 2, 0.92);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 5vw;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo img {
  height: 28px;
  filter: invert(1);
  opacity: 0.6;
}
.footer-copy p {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  text-align: center;
  line-height: 1.8;
}
.footer-tagline {
  color: rgba(255,255,255,0.15) !important;
}
.back-to-top {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
}
.back-to-top:hover { color: var(--white); border-color: var(--white); }

/* ================================================
   RESPONSIVE
   ================================================ */

/* ── Tablet grande (≤1100px) ── */
@media (max-width: 1100px) {
  .release-slide         { flex: 0 0 calc(50% - 2px); min-width: calc(50% - 2px); }
  .artists-grid          { grid-template-columns: repeat(3, 1fr); }
  .about-inner,
  .contact-inner         { grid-template-columns: 1fr; gap: 48px; }
  .about-mosaic          { aspect-ratio: 16 / 9; }
  .podcast-grid          { grid-template-columns: 1fr; }
  .roster-list           { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  :root { --section-pad: 72px 5vw; }

  /* Nav */
  .nav-links, .nav-social { display: none; }
  .nav { padding: 16px 5vw; }

  /* Section headers con link externo: wrap a nueva línea */
  .section-header--with-link { flex-wrap: wrap; }
  .section-header-link        { order: 4; flex: 0 0 100%; margin-left: 0; font-size: 0.44rem; }

  /* Releases carousel */
  .release-slide          { flex: 0 0 calc(50% - 2px); min-width: calc(50% - 2px); }
  .releases-carousel-wrap { padding: 0 40px; }

  /* cat-row (Releases lista)
     Filas: 1=num+info  2=acciones  3=embed Bandcamp */
  .cat-row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px 14px;
    padding: 16px 0;
  }
  .cat-num  { grid-column: 1; grid-row: 1; }
  .cat-info { grid-column: 2; grid-row: 1; }
  .cat-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 10px;
    flex-wrap: wrap;
  }
  /* Embed Bandcamp pasa a fila 3 para no solaparse con acciones */
  .cat-row .rl-embed-wrap { grid-row: 3; }

  /* Touch targets: mínimo 44px de alto */
  .cat-listen-btn {
    font-size: 0.48rem;
    padding: 0 14px;
    height: 44px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
  }
  .cat-bc-link {
    font-size: 0.44rem;
    height: 44px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: manipulation;
  }

  /* ep-row (Radioshow)
     Filas: 1=num+info  2=botón soundcloud */
  .ep-row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 14px;
    padding: 16px 0;
  }
  .ep-num  { grid-column: 1; grid-row: 1; }
  .ep-info { grid-column: 2; grid-row: 1; }
  .ep-player-wrap { grid-row: 3; }
  .ep-sc-link {
    grid-column: 1 / -1;
    grid-row: 2;
    width: fit-content;
    font-size: 0.48rem;
    height: 44px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: manipulation;
  }

  /* Artists */
  .artists-grid { grid-template-columns: repeat(2, 1fr); }

  /* Events */
  .event-row    { grid-template-columns: 54px 1fr; gap: 12px; }
  .event-artists { display: none; }

  /* About */
  .about-stats { gap: 20px; }
  .stat-num    { font-size: 2.2rem; }

  /* Connect: ya tiene sus propios estilos mobile */

  /* Contact */
  .contact-social { flex-wrap: wrap; gap: 12px; }

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

/* ── Touch devices: eliminar cursor:none y reducir delay de tap ── */
@media (hover: none) and (pointer: coarse) {
  body  { cursor: auto; }
  button, a, [role="button"],
  .cat-row,
  .cat-listen-btn, .cat-bc-link,
  .ep-sc-link,
  .connect-link, .lang-btn,
  .nav-toggle, .nav-drawer-close,
  .list-expand-btn, .btn-primary {
    cursor: pointer;
    touch-action: manipulation;
  }
  /* Ocultar cursor personalizado en touch */
  .cursor, .cursor-follower { display: none; }
}

/* ── Móvil pequeño (≤480px) ── */
@media (max-width: 480px) {
  :root { --section-pad: 56px 4vw; }

  /* Releases carousel: 1 slide a la vez */
  .release-slide          { flex: 0 0 100%; min-width: 100%; }
  .releases-carousel-wrap { padding: 0 32px; }

  /* Ocultar link externo del header (demasiado estrecho) */
  .section-header-link { display: none; }

  /* Artist grid: 2 cols */
  .artists-grid { grid-template-columns: repeat(2, 1fr); }

  /* Events: simplificar */
  .event-row  { grid-template-columns: 44px 1fr; gap: 10px; }
  .event-name { font-size: 0.85rem; }

  /* Section headers: gap más estrecho */
  .section-header,
  .section-header--with-link { gap: 12px; margin-bottom: 40px; }

  /* Ticker: velocidad ligeramente más rápida en móvil */
  .ticker-track { animation-duration: 20s; }

  /* Embed Bandcamp: ancho completo sin padding lateral */
  .rl-embed-wrap.open { padding: 12px 0 0; }

  /* En móvil el player BC puede ser más alto — dar margen extra */
  .rl-embed-wrap iframe {
    min-height: 160px;
  }
}

/* ================================================
   NAV LOGO — fondo blanco (visible sobre fondo negro)
   ================================================ */
.nav-logo img {
  filter: none; /* El logo fondo blanco ya es visible, sin invertir */
}

/* ================================================
   RELEASES — links externos + CTA doble
   ================================================ */
.release-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.release-ext-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 8px;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.release-ext-link:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}
.releases-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* ================================================
   BANDCAMP MODAL PLAYER
   ================================================ */
.bc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.bc-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.bc-modal {
  position: relative;
  width: 90%;
  max-width: 700px;
  background: var(--grey);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px 24px 24px;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}
.bc-modal-overlay.open .bc-modal {
  transform: translateY(0);
}
.bc-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.bc-modal-close:hover { color: var(--white); }
.bc-modal-content iframe {
  width: 100%;
  height: 380px;
  border: none;
}

/* ================================================
   ARTISTS — releases por artista + roster
   ================================================ */
.artist-releases {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.artist-releases-title {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.48);
}
.artist-releases a {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  display: inline-block;
}
.artist-releases a:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.4);
}

/* ROSTER EXTENDIDO */
.section-subheader {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 56px 0 32px;
}
.section-subline {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.section-sublabel {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.52);
  white-space: nowrap;
}
.roster-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
}
.roster-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 16px;
  background: var(--grey);
  transition: background var(--transition-fast);
  text-decoration: none;
}
.roster-item:hover {
  background: var(--mid);
}
.roster-name {
  font-family: var(--font-main);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color var(--transition-fast);
}
.roster-release {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}
.roster-item:hover .roster-name { color: var(--white); }

/* ================================================
   PODCAST — SoundCloud embed + lista real
   ================================================ */
/* EPISODE LIST — VND RADIOSHOW */
.ep-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
}
.ep-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition-fast);
  cursor: pointer;
}
.ep-row:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.ep-row:hover { background: rgba(255,255,255,0.02); }
.ep-num {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.48);
  text-align: right;
  white-space: nowrap;
  position: relative;
}
.ep-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  position: relative;
}
.ep-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}
.ep-sub {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.58);
}
.ep-sc-link {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.72);
  padding: 7px 14px;
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.ep-sc-link:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}
.ep-player-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  border-top: 1px solid transparent;
  background: var(--black);
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.25s ease, padding 0.45s ease, border-color 0.25s ease;
}
.ep-player-wrap.open {
  max-height: 200px;
  padding: 14px 0 0;
  border-top-color: rgba(245, 230, 66, 0.2);
  opacity: 1;
}
.ep-player-wrap iframe {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 166px;
  margin: 0 auto;
  border: 0;
  background: var(--black);
}
.ep-row--open {
  background: rgba(245, 230, 66, 0.035);
}
.ep-row:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 3px;
}

/* ================================================
   RESPONSIVE NUEVOS ESTILOS
   ================================================ */
@media (max-width: 1100px) {
  .roster-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .roster-list { grid-template-columns: repeat(2, 1fr); }
  .releases-cta { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .roster-list { grid-template-columns: 1fr; }
}


/* ================================================
   RELEASES LIST — Catálogo minimalista
   ================================================ */
/* ── SHARED: foto fondo transparente en filas ── */
.ep-bg, .cat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.07;
  pointer-events: none;
  transition: opacity 0.4s ease;
  filter: grayscale(100%);
}
.ep-row:hover .ep-bg,
.cat-row:hover .cat-bg { opacity: 0.14; }

/* ── RELEASES: nueva estética unificada ── */
.cat-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
}
.release-mini-gallery {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin: -8px 0 42px;
}
.release-mini-gallery[hidden] { display: none; }
.release-mini {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(135deg, transparent 48%, rgba(245,230,66,0.28) 49%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 5px),
    #11100e;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.release-mini:hover,
.release-mini:focus-visible {
  z-index: 2;
  transform: scale(1.25);
  border-color: var(--yellow);
}
.release-mini:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 3px;
}
.release-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.01);
  transition: filter 0.35s ease, transform 0.45s ease;
}
.release-mini-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 7px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,0.92));
  color: var(--white);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.release-mini-artist,
.release-mini-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.release-mini-artist {
  font-family: var(--font-mono);
  font-size: 0.43rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
}
.release-mini-title {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.release-mini-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245,230,66,0.52);
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2vw, 1.6rem);
  letter-spacing: 0.16em;
}
.release-mini:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}
.release-mini:hover .release-mini-caption {
  opacity: 1;
  transform: translateY(0);
}
.cat-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition-fast);
  cursor: pointer;
}
.cat-row:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.cat-row:hover { background: rgba(255,255,255,0.02); }
.cat-num {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.22);
  text-align: right;
  white-space: nowrap;
  position: relative;
}
.cat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  position: relative;
}
.cat-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}
.cat-sub {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
}
.cat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  position: relative;
}
.cat-listen-btn {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.72);
  padding: 7px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cat-listen-btn:hover, .cat-listen-btn.playing {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.cat-bc-link {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.cat-bc-link:hover { color: var(--yellow); }

.rl-embed-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Negro exacto de la página: cualquier espacio extra del iframe desaparece */
  background: var(--black);
  position: relative;
  /* Centrar el player dentro de la fila */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.rl-embed-wrap.open {
  max-height: 520px; /* sobreescrito por JS según track count */
  padding: 16px 0 0;
  border-top: 1px solid rgba(245, 230, 66, 0.1);
}
/* Fade inferior: disuelve el recuadro hacia el negro de la página */
.rl-embed-wrap.open::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
  z-index: 2;
}
.rl-embed-wrap iframe {
  display: block;
  width: 100%;
  max-width: 640px;
  /* height se gestiona por JS dinámicamente */
  border: none;
  background: var(--black);
  /* Scroll táctil dentro del embed en iOS */
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}


/* cat/ep mobile — ver bloque responsive principal */

/* ================================================
   RADIO WIDGET — Franja fija en la base, estilo ticker
   ================================================ */
#sc-radio {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 8500;
  background: rgba(6, 5, 4, 0.96);
  border-top: 1px solid rgba(245, 230, 66, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  user-select: none;
  /* iOS safe area: botón home en iPhone X+ */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Episode toast ── */
#ep-toast {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 9000;
  background: rgba(6,5,4,0.95);
  border: 1px solid var(--yellow);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  min-width: 220px;
  max-width: 320px;
}
#ep-toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.ep-toast-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--yellow);
  line-height: 1;
}
.ep-toast-ep {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(245,230,66,0.72);
}
.ep-toast-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
  line-height: 1.1;
}
.sc-bar {
  height: 14px;
  flex: 1;
  position: relative;
}
.sc-waveform {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  overflow: hidden;
  pointer-events: none;
}
.sc-waveform span {
  flex: 1;
  max-width: 3px;
  height: var(--wave-height);
  min-height: 3px;
  background: rgba(255,255,255,0.26);
  transition: background-color 0.18s ease;
}
.sc-waveform span.is-played {
  background: var(--yellow);
}
.sc-bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: transparent;
  transition: width 0.25s linear;
  pointer-events: none;
}
.sc-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 14px;
  padding: 0 20px;
}
.sc-time {
  min-width: 34px;
  color: rgba(255,255,255,0.42);
  font-size: 0.42rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.sc-seek {
  position: absolute;
  z-index: 1;
  inset: 50% 0 auto;
  width: 100%;
  height: 24px;
  margin: 0;
  transform: translateY(-50%);
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: pan-x;
}
.sc-seek:disabled {
  cursor: default;
}
.sc-seek::-webkit-slider-runnable-track {
  height: 24px;
  background: transparent;
}
.sc-seek::-moz-range-track {
  height: 24px;
  background: transparent;
}
.sc-seek::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--yellow);
  border: 0;
}
.sc-seek::-moz-range-thumb {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border: 0;
  border-radius: 0;
}
.sc-seek:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 3px;
}
.sc-band {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 20px;
  gap: 12px;
}
.sc-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 3px;
}
.sc-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.62rem, 1.1vw, 0.82rem);
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}
.sc-now {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.3s ease;
}
/* Cuando reproduce un release de Bandcamp */
#sc-radio.bc-mode .sc-now {
  color: var(--yellow);
}
#sc-radio.bc-mode .sc-title {
  opacity: 0.5;
}
#sc-radio.bc-mode .sc-bar-fill {
  background: var(--yellow);
  opacity: 0.25;
  animation: bc-pulse 1.8s ease-in-out infinite;
}
@keyframes bc-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.sc-ctrl {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.sc-btn {
  height: 36px;
  width: 32px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease;
}
.sc-btn:hover { color: var(--white); }
.sc-btn-play {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  width: 40px;
}
.sc-btn-play:hover { color: var(--white); }
#sc-radio.bc-mode .sc-seek {
  opacity: 0.35;
}
.sc-ext {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  width: auto;
  padding: 0 16px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.sc-ext:hover { color: rgba(255,255,255,0.7); }

/* ================================================
   LIST EXPAND — RELEASES & RADIOSHOW
   ================================================ */

/* Filas ocultas (más allá de las 3 primeras) */
.cat-row.list-hidden,
.ep-row.list-hidden {
  display: none;
}

/* Estado expandido: aparecen con fade + slide */
.cat-row.list-visible,
.ep-row.list-visible {
  display: grid;
  animation: rowReveal 0.4s ease forwards;
}

@keyframes rowReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contenedor del botón */
.list-expand-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

/* Botón expand */
.list-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.72);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 28px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.list-expand-btn:hover {
  border-color: var(--yellow);
  color: var(--black);
  background: var(--yellow);
}
.list-expand-count {
  color: rgba(255,255,255,0.4);
  font-size: 0.48rem;
}
.list-expand-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  line-height: 1;
}
.list-expand-btn[aria-expanded="true"] .list-expand-arrow {
  transform: rotate(180deg);
}
.list-expand-btn[aria-expanded="true"] {
  border-color: rgba(255,255,255,0.72);
}

/* ================================================
   CONNECT
   ================================================ */
.connect {
  padding: var(--section-pad);
}
.connect .section-header {
  margin-bottom: 60px;
}

.connect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.connect-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.connect-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: color 0.3s ease;
}

/* Yellow sliding fill */
.connect-fill {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 0;
}
.connect-link:hover .connect-fill {
  transform: scaleX(1);
}
.connect-link:hover {
  color: var(--black);
}

.connect-tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  color: var(--yellow);
  border: 1px solid var(--yellow);
  padding: 3px 8px;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  min-width: 72px;
  text-align: center;
}
.connect-link:hover .connect-tag {
  color: var(--black);
  border-color: var(--black);
}

.connect-platform {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.6vw, 2.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  flex: 1;
  transition: color 0.25s ease;
}

.connect-handle {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.25s ease;
  white-space: nowrap;
}
.connect-link:hover .connect-handle {
  color: rgba(0,0,0,0.55);
}

.connect-arr {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--yellow);
  transition: transform 0.3s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.connect-arr svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.connect-link:hover .connect-arr {
  transform: translate(5px, -5px);
  color: var(--black);
  border-color: var(--black);
  background: var(--yellow);
}

@media (max-width: 768px) {
  .connect-link {
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
  }
  .connect-handle {
    display: none;
  }
  .connect-platform {
    font-size: clamp(1.1rem, 6vw, 1.8rem);
  }
}

/* ================================================
   GALLERY — carrusel horizontal
   ================================================ */
.gallery-track-wrap {
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
  cursor: none;
  user-select: none;
  scrollbar-width: none;
}
.gallery-track-wrap::-webkit-scrollbar { display: none; }

/* fades laterales */
.gallery-track-wrap::before,
.gallery-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.gallery-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.gallery-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}

.gallery-track {
  display: flex;
  gap: 6px;
  will-change: transform;
}

.gallery-item {
  flex: 0 0 320px;
  height: 320px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
}

.gallery-track-wrap { scroll-snap-type: x mandatory; }

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}
.gallery-nav-btn,
.gallery-lb-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245,230,66,0.42);
  color: var(--yellow);
  background: rgba(7,6,5,0.82);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  touch-action: manipulation;
}
.gallery-nav-btn:hover,
.gallery-lb-nav:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}
.gallery-nav-btn svg,
.gallery-lb-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.gallery-counter {
  min-width: 64px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-align: center;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.55) grayscale(20%);
  transform: scale(1.03);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover img {
  filter: blur(0px) brightness(1) grayscale(0%);
  transform: scale(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  pointer-events: none;
}

.gallery-overlay span {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* LIGHTBOX */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 6, 5, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  cursor: none;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(245, 230, 66, 0.2);
  touch-action: pan-y;
}
.gallery-lb-caption {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.gallery-lb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: none;
  transition: color 0.2s ease;
}
.gallery-lb-close:hover { color: var(--yellow); }
.gallery-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 56px;
}
.gallery-lb-prev { left: 24px; }
.gallery-lb-next { right: 24px; }

@media (max-width: 600px) {
  .gallery-item { flex: 0 0 240px; height: 240px; }
  .gallery-controls { justify-content: center; }
  .gallery-lb-nav { width: 40px; height: 48px; }
  .gallery-lb-prev { left: 10px; }
  .gallery-lb-next { right: 10px; }
}

/* ================================================
   MOBILE / TABLET — fixes completos
   ================================================ */

/* ── Scroll offset: compensar band + nav fijas ── */
section[id] {
  scroll-margin-top: 90px;
}

/* ── Artists band: ajustes tablet ── */
@media (max-width: 768px) {
  .artists-band { padding: 4px 0; }
  .artists-band-track { animation-duration: 20s; gap: 14px; }
  .nav { top: 22px; }
}

/* ── Artists band + hero: ajustes móvil pequeño ── */
@media (max-width: 480px) {
  .artists-band-track { animation-duration: 15s; gap: 10px; }
  .artists-band-track span       { font-size: 0.42rem; letter-spacing: 0.18em; }
  .artists-band-track span:nth-child(even) { font-size: 0.3rem; }
  .nav { top: 20px; }
}


/* ── Hero: tablet (≤768px) ── */
@media (max-width: 768px) {
  /* Reducir barras de letterbox — menos espacio disponible en pantalla */
  .hero::before,
  .hero::after { height: clamp(16px, 4vh, 40px); }
}

/* ── Hero: móvil (≤480px) ── */
@media (max-width: 480px) {
  /* Corregir altura real en iOS Safari (100vh incluye la barra de dirección) */
  .hero {
    height: 100svh;
    min-height: 480px;
  }

  /* Eliminar barras de letterbox — el contain ya genera su propio encuadre */
  .hero::before,
  .hero::after { display: none; }

  /* Vídeo portrait nativo — independiente del desktop */
  .hero-vid {
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: 100%;
  }

  .hero-content { bottom: 80px; padding: 0 4vw; }
  .hero-arrow   { bottom: 28px; }
  .hero-tag     { font-size: 0.55rem; }
}

/* ── Gallery: fade lateral más pequeño en móvil ── */
@media (max-width: 600px) {
  .gallery-track-wrap::before,
  .gallery-track-wrap::after { width: 32px; }
  .gallery-item { flex: 0 0 200px; height: 200px; }
}

/* ── Lightbox: navegación con flechas visibles en móvil ── */
@media (max-width: 600px) {
  .gallery-lightbox img { max-width: 96vw; max-height: 75vh; }
  .gallery-lb-close { top: 14px; right: 16px; font-size: 1.4rem; }
}

/* ── iOS Safari <15.4: fallback altura real del viewport ── */
@supports (-webkit-touch-callout: none) {
  .hero { height: -webkit-fill-available; }
}

/* ── Sección padding-top: compensar nav + band en secciones ── */
@media (max-width: 768px) {
  .section { padding-top: calc(72px + 26px); }
  .hero    { padding-top: 0; }
}

/* ── Tipografía: aumentar fuentes muy pequeñas en móvil ── */
@media (max-width: 480px) {
  .cat-title  { font-size: clamp(0.85rem, 3.5vw, 1.1rem); }
  .ep-title   { font-size: clamp(0.8rem, 3.2vw, 1rem); }
  .cat-num,
  .ep-num     { font-size: clamp(0.5rem, 2vw, 0.65rem); }
  .connect-platform { font-size: clamp(1rem, 5.5vw, 1.6rem); }
  .section-title    { font-size: clamp(1.6rem, 8vw, 2.8rem); }
}

/* ── Connect: links full width en móvil ── */
@media (max-width: 480px) {
  .connect-list  { gap: 0; }
  .connect-link  { padding: 18px 4vw; }
}

/* ── About stats: una fila en móvil muy pequeño ── */
@media (max-width: 360px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num    { font-size: 1.8rem; }
}

/* ── Touch: cursor y tap ── */
@media (hover: none) and (pointer: coarse) {
  .gallery-item img {
    filter: blur(0px) brightness(0.85) grayscale(0%);
    transform: scale(1);
  }
  .ticker-wrap:hover { background: rgba(245, 230, 66, 0.45); }
  .artists-band:hover .artists-band-track { animation-play-state: running; }
}

/* ── Mobile polish: principal image and section rhythm ── */
@media (max-width: 768px) {
  .section {
    padding: 64px 5vw;
  }

  .section-header,
  .section-header--with-link {
    gap: 12px;
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2.4rem);
    letter-spacing: 0.07em;
  }

  .section-line {
    min-width: 12px;
  }

  .cat-row,
  .ep-row {
    min-width: 0;
  }

  .cat-info,
  .ep-info {
    min-width: 0;
  }

  .cat-title,
  .ep-title,
  .ep-sub {
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  .about-inner,
  .contact-inner {
    gap: 36px;
  }

  .about-stats {
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
  }

  .stat {
    flex: 1;
    min-width: 0;
  }

  .stat-label {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .about-mosaic {
    width: 100%;
  }

  .connect-link {
    min-height: 56px;
  }

  .contact-item a {
    overflow-wrap: anywhere;
  }

  .contact-social {
    row-gap: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .contact-form .btn-primary {
    min-height: 48px;
    cursor: pointer;
    touch-action: manipulation;
  }

  .footer {
    padding: 36px 5vw;
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 1;
    background: var(--black);
  }

  .hero-video-bg {
    background: url('../galeria/paginaprincipal.jpg') center / cover no-repeat;
  }

  .hero-mosaic {
    display: none;
  }

  .hero-video-overlay {
    background: linear-gradient(
      to bottom,
      rgba(7, 6, 5, 0.12),
      rgba(7, 6, 5, 0.2)
    );
  }

  .hero-content {
    display: none;
  }

  .hero-arrow {
    bottom: 8px;
  }

  .hero-arrow-svg {
    width: 26px;
    height: 36px;
  }

  .ticker-track span {
    font-size: 0.55rem;
  }

  .section {
    padding: 56px 5vw;
  }

  .section-header,
  .section-header--with-link {
    gap: 9px;
    margin-bottom: 30px;
  }

  .section-number {
    font-size: 0.52rem;
  }

  .section-title {
    font-size: clamp(1.35rem, 6.8vw, 2rem);
  }

  .cat-row,
  .ep-row {
    gap: 8px 10px;
    padding: 14px 0;
  }

  .cat-actions {
    gap: 8px;
  }

  .cat-listen-btn {
    min-width: 104px;
  }

  .ep-sub {
    font-size: 0.46rem;
    letter-spacing: 0.06em;
  }

  .about-body {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .stat-num {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .connect-link {
    gap: 8px;
    padding: 14px 2vw;
  }

  .connect-tag {
    min-width: 64px;
    font-size: 0.42rem;
  }

  .connect-platform {
    font-size: clamp(1rem, 5.4vw, 1.5rem);
  }

  .gallery-item {
    flex-basis: min(76vw, 240px);
    height: min(76vw, 240px);
  }

  .contact-inner {
    gap: 28px;
  }

  .contact-social {
    gap: 12px 18px;
  }

  .contact-social a {
    font-size: 0.55rem;
  }

}

@media (max-width: 360px) {
  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-label {
    font-size: 0.44rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 768px) {
  .ep-row .ep-player-wrap {
    grid-row: 3;
  }

  #bc-player-dock {
    position: fixed;
    z-index: 8499;
    right: 0;
    bottom: env(safe-area-inset-bottom, 0px);
    left: 0;
    max-height: min(60vh, 500px);
    overflow-y: auto;
    padding: 38px 5vw 8px;
    border-top: 1px solid rgba(245, 230, 66, 0.45);
    background: rgba(6, 5, 4, 0.98);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #bc-player-dock[hidden] {
    display: none;
  }

  .bc-player-close {
    position: absolute;
    top: 6px;
    right: 5vw;
    z-index: 3;
    width: 36px;
    height: 32px;
    border: 1px solid rgba(245, 230, 66, 0.45);
    background: transparent;
    color: var(--yellow);
    font: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
  }

  .bc-player-content {
    width: 100%;
    min-width: 0;
  }

  .rl-embed-wrap.in-player-dock {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    margin: 0 auto;
    padding-top: 8px;
  }

  .rl-embed-wrap.in-player-dock::after {
    display: none;
  }
}

@media (max-width: 1100px) {
  .release-mini-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .release-mini-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 34px;
  }
  .release-mini-caption {
    opacity: 1;
    transform: none;
  }
  .release-mini img {
    filter: grayscale(35%);
  }
}

@media (max-width: 480px) {
  .release-mini-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .release-mini-artist { font-size: 0.38rem; }
  .release-mini-title { font-size: 0.56rem; }
}
