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

html {
  scroll-behavior: smooth;
  background: #05060a;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 50%; right: auto; z-index: 100;
  transform: translateX(-50%);
  width: 100%; max-width: 1400px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 18px 48px;
  background: linear-gradient(to bottom, rgba(10,12,18,0.92), transparent);
  backdrop-filter: blur(4px);
}
.nav-brand {
  display: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
  margin-right: auto;
}
.nav-links { display: flex; align-items: center; }
nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 32px;
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--cyan); }

/* Botón hamburger — oculto en desktop */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

/* ── HERO ── */
#inicio {
  position: relative;
  height: 100vh; min-height: 520px;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 0 56px 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(0,229,255,0.07) 0%, transparent 50%),
    linear-gradient(to top, rgba(10,12,18,0.95) 0%, rgba(10,12,18,0.4) 60%, transparent 100%),
    url('/assets/images/portada_banda.png') top center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
/*   background: radial-gradient(ellipse 70% 50% at 30% 80%, rgba(255,109,0,0.18), transparent),
              radial-gradient(elli pse 50% 40% at 70% 60%, rgba(0,229,255,0.12), transparent);*/
}
.hero-title {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 0 60px rgba(0,229,255,0.4), 0 0 120px rgba(0,229,255,0.15);
  line-height: 1;
}

/* ── SECTIONS ── */
section { padding: 80px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 48px; }

.section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 36px;
  display: flex; align-items: center; gap: 16px;
}
.section-title::after {
  content: '';
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--cyan-dim), transparent);
}

/* ── LANZAMIENTOS ── */
#ultimos-lanzamientos { background: var(--bg-section); }

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.release-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.release-card:hover {
  border-color: rgba(0,229,255,0.35);
  transform: translateY(-3px);
}

.release-header {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.release-art {
  width: 72px; height: 72px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1f2e, #0a0c12);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.release-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.release-info h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.release-info .artist {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.share-btn {
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 4px;
}

.lightbox-trigger {
  cursor: pointer;
  transition: filter .2s, box-shadow .2s;
}
.lightbox-trigger:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 0 2px var(--cyan);
}

.share-btn:hover { background: rgba(0,229,255,0.08); border-color: var(--cyan); }

.track-item {
  padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
}
.track-item:last-child { border-bottom: none; }
.track-item:hover { background: rgba(0,229,255,0.04); }

.play-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--cyan-dim);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: pointer;
  transition: background .2s, border-color .2s;
  font-size: 10px;
}
.play-btn:hover { background: rgba(0,229,255,0.15); border-color: var(--cyan); }
.play-btn--disabled { opacity: 0.15; cursor: not-allowed; }

.track-name {
  flex: 1;
  font-size: 12px;
  color: var(--text);
}
.estado-cancion {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.estado-cancion--disponible   { color: var(--cancion-disponible); }
.estado-cancion--proximamente { color: var(--cancion-proximamente); }
.estado-cancion--demo         { color: var( --cancion-demo); }
.estado-cancion--archivada    { color: var(--text-muted); }

.track-duration {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}
.track-progress {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
  margin-top: 2px;
  overflow: hidden;
}
.track-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--cyan), var(--orange));
  border-radius: 1px;
}
/* Iconos de streaming en la fila del track */
.track-stream-links {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.track-stream-link {
  color: var(--text-muted);
  display: flex; align-items: center;
  transition: color .2s, transform .15s, filter .2s;
}
.track-stream-link svg { width: 24px; height: 24px; }
.track-stream-link:hover { transform: scale(1.15); }
.track-stream-link[title="Spotify"]:hover      { color: #1DB954; }
.track-stream-link[title="Apple Music"]:hover  { color: #FC3C44; }
.track-stream-link[title="YouTube Music"]:hover    { color: #FF0000; }
.track-stream-link[title="Video Visualizador"]:hover { color: #FF0000; }

.lyrics-trigger {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff6d00;
  text-decoration: none;
  flex-shrink: 0;
  transition: color .2s;
}
.lyrics-trigger:hover { color: var(--cyan); }

/* ── LIGHTBOX ── */
#lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#lightbox-overlay.active { display: flex; }
#lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(0,229,255,0.15);
}

/* ── LYRICS LIGHTBOX ── */
#lyrics-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#lyrics-overlay.active { display: flex; }
#lyrics-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: min(560px, 90vw);
  max-height: 80vh;
  display: flex; flex-direction: column;
  cursor: default;
}
#lyrics-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 20px 48px 16px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
#lyrics-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: var(--text-muted); font-size: 14px;
  cursor: pointer; line-height: 1;
  transition: color .2s;
}
#lyrics-close:hover { color: var(--cyan); }
#lyrics-body {
  padding: 20px 24px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
}

/* ── PLAYER MODAL ── */
#player-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
#player-overlay.active { display: flex; }

#player-modal {
  position: relative;
  background: linear-gradient(145deg, #13162a, #0d0f1e);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 16px;
  width: min(480px, 92vw);
  padding: 28px 28px 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,229,255,0.06);
  display: flex; flex-direction: column; gap: 20px;
}

#player-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: var(--text-muted); font-size: 16px;
  cursor: pointer; line-height: 1;
  transition: color .2s;
}
#player-close:hover { color: #fff; }

/* Top: portada + meta + waveform */
#player-top {
  display: flex; align-items: center; gap: 16px;
}
#player-cover {
  width: 80px; height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}
#player-meta { flex: 1; min-width: 0; }
#player-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#player-album {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Waveform animada */
#player-wave {
  display: flex; align-items: flex-end; gap: 3px;
  height: 28px; flex-shrink: 0;
}
#player-wave span {
  display: block; width: 3px; border-radius: 2px;
  background: var(--cyan);
  opacity: 0.15;
  transition: opacity .3s;
}
#player-wave.playing span { opacity: 1; }
#player-wave.playing span:nth-child(1) { animation: wave 0.9s ease-in-out infinite; }
#player-wave.playing span:nth-child(2) { animation: wave 0.9s ease-in-out infinite .15s; }
#player-wave.playing span:nth-child(3) { animation: wave 0.9s ease-in-out infinite .3s; }
#player-wave.playing span:nth-child(4) { animation: wave 0.9s ease-in-out infinite .45s; }
#player-wave.playing span:nth-child(5) { animation: wave 0.9s ease-in-out infinite .6s; }
@keyframes wave {
  0%, 100% { height: 6px; }
  50%       { height: 24px; }
}

/* Barra de progreso / seek */
#player-progress-row {
  display: flex; align-items: center; gap: 10px;
}
#player-current, #player-remaining {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--text-muted);
  flex-shrink: 0; width: 36px;
}
#player-remaining { text-align: right; }
#player-seekbar {
  flex: 1; height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px; cursor: pointer;
  position: relative;
}
#player-seekbar:hover { background: rgba(255,255,255,0.14); }
#player-seekbar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(to right, var(--cyan), var(--orange));
  border-radius: 2px;
  pointer-events: none;
  position: relative;
}
#player-seekbar-fill::after {
  content: '';
  position: absolute; right: -4px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .15s;
}
#player-seekbar:hover #player-seekbar-fill::after { opacity: 1; }

/* Controles */
#player-controls {
  display: flex; align-items: center; justify-content: center; gap: 24px;
}
#player-controls button {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, transform .15s;
}
#player-controls button:hover { color: #fff; transform: scale(1.1); }
#player-prev svg, #player-next svg { width: 28px; height: 28px; }
#player-playpause {
  width: 52px; height: 52px;
  background: var(--cyan) !important;
  border-radius: 50% !important;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.3);
  transition: transform .15s, box-shadow .2s !important;
}
#player-playpause:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0 30px rgba(0,229,255,0.5) !important;
}
#player-playpause svg { width: 24px; height: 24px; }

/* Letra colapsable */
#player-lyrics-wrap {
  border-top: 1px solid var(--border);
  padding-top: 4px;
}
#player-lyrics-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 0;
  transition: color .2s;
}
#player-lyrics-toggle:hover { color: var(--cyan); }
#player-lyrics-chevron {
  width: 18px; height: 18px;
  transition: transform .25s;
  flex-shrink: 0;
}
#player-lyrics-toggle[aria-expanded="true"] #player-lyrics-chevron {
  transform: rotate(180deg);
}
#player-lyrics-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  font-size: 12px; line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
}
#player-lyrics-body.open {
  max-height: 240px;
  overflow-y: auto;
  padding-bottom: 8px;
}

/* Links de streaming */
#player-streaming {
  display: flex; align-items: center; gap: 16px;
  /* padding-top: 4px;
  border-top: 1px solid var(--border); */
}
#player-streaming-label {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
#player-links {
  display: flex; align-items: center; gap: 12px;
}
#player-links a {
  color: var(--text-muted);
  display: flex; align-items: center;
  transition: color .2s, transform .15s, filter .2s;
}
#player-links a:hover { color: #fff; transform: scale(1.15); }
#player-links a svg { width: 22px; height: 22px; }
#player-apple:hover { color: #FC3C44; }

/* ── ÁLBUMES ── */
#albumes { background: var(--bg-deep); }

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.album-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.album-card:hover {
  border-color: rgba(255,109,0,0.35);
  transform: translateY(-3px);
}
.album-header {
  display: flex; gap: 16px;
  padding: 20px; align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.album-art {
  width: 80px; height: 80px;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a2030, #060810);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  border: 1px solid var(--border);
}
.album-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.album-info h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.album-info .artist {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.album-info .album-type {
  font-size: 10px;
  color: var(--orange);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── NOSOTROS ── */
#nosotros { background: var(--bg-section); }

.about-genesis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.about-genesis-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #afb3c5;
  margin-bottom: 8px;
}
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  border-radius: 2px;
  padding: 3px 8px;
  margin-bottom: 16px;
}
.about-genesis-text p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.about-genesis-img {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-genesis-img img {
  width: 100%; display: block;
  filter: saturate(0.8) brightness(0.9);
  transition: filter .3s;
}
.about-genesis-img:hover img { filter: saturate(1.1) brightness(1); }

.member-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .25s;
}
.member-card:hover { border-color: rgba(0,229,255,0.25); }
.member-card.reverse { direction: rtl; }
.member-card.reverse > * { direction: ltr; }
.member-img {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.member-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: filter .3s;
}
.member-card:hover .member-img img { filter: saturate(1); }
.member-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #1a1f2e, #0a0c12);
}
.member-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 6px;
}
.member-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.member-info p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* Gear toggle */
.member-gear-wrap {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.member-card.reverse .member-gear-wrap { direction: ltr; }
.member-gear-toggle {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0;
  transition: color .2s;
}
.member-gear-toggle:hover { color: var(--orange-dim); }
.gear-chevron {
  width: 18px; height: 18px;
  transition: transform .3s;
}
.member-gear-toggle[aria-expanded="true"] .gear-chevron { transform: rotate(180deg); }

.member-gear-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.member-gear-body.open { max-height: 1200px; }

/* ── Gear carousel ── */
.gear-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
}
.gear-stage {
  position: relative;
  flex: 1;
  height: 270px;
  overflow: hidden;
}
.gear-nav {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--orange);
  cursor: pointer;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.gear-nav:hover { background: rgba(255,109,0,0.12); border-color: var(--orange); }

/* Slides */
.gear-slide {
  position: absolute;
  top: 0; height: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: left .42s cubic-bezier(.4,0,.2,1),
              width .42s cubic-bezier(.4,0,.2,1),
              opacity .3s ease;
  cursor: pointer;
}
.gear-slide--far-left   { left: 0;      width: 15%;  opacity: .6; }
.gear-slide--near-left  { left: 15.5%;  width: 15%;  opacity: .8; }
.gear-slide--center     { left: 31%;    width: 38%;  opacity: 1;  cursor: default; border-color: var(--orange-dim); }
.gear-slide--near-right { left: 69.5%;  width: 15%;  opacity: .8; }
.gear-slide--far-right  { left: 85%;    width: 15%;  opacity: .6; }
.gear-slide--exit-left  { left: -18%;   width: 15%;  opacity: 0;  pointer-events: none; }
.gear-slide--exit-right { left: 103%;   width: 15%;  opacity: 0;  pointer-events: none; }
.gear-slide--hidden     { display: none; }

/* Foto */
.gear-slide-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: height .42s cubic-bezier(.4,0,.2,1);
}
.gear-slide--center .gear-slide-photo { height: 62%; }
.gear-slide-photo--empty {
  width: 100%; height: 100%;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  transition: height .42s cubic-bezier(.4,0,.2,1);
}
.gear-slide--center .gear-slide-photo--empty { height: 62%; }

/* Info (solo visible en centro) */
.gear-slide-info {
  padding: 10px 12px;
  height: 38%;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease .12s, transform .25s ease .12s;
}
.gear-slide--center .gear-slide-info { opacity: 1; transform: translateY(0); }
.gear-slide-marca {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1;
}
.gear-slide-modelo {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-top: 3px;
}
.gear-slide-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── FOTOS ── */
#fotos { background: var(--bg-deep); }

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.photo-item {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.6);
  transition: filter .3s, transform .3s;
}
.photo-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.04);
}
.photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a2030, #0a0e1a);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: var(--text-muted);
}
.gallery-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  transition: color .2s;
}
.gallery-link:hover { color: #fff; }

/* ── VÍDEOS ── */
#videos { background: var(--bg-section); }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.video-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s, transform .25s;
}
.video-card:hover {
  border-color: rgba(255,109,0,0.35);
  transform: translateY(-3px);
}
.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1526, #0a0c12);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.video-thumb iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity .3s;
}
.video-card:hover .video-thumb img { opacity: 0.9; }
.yt-play {
  position: absolute;
  width: 52px; height: 52px;
  background: rgba(255,0,0,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  box-shadow: 0 0 24px rgba(255,0,0,0.4);
  transition: transform .2s, background .2s;
}
.video-card:hover .yt-play {
  transform: scale(1.12);
  background: rgba(255,0,0,1);
}
.video-info { padding: 16px 20px; }
.video-info h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.video-info .ver-yt {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
    justify-content: space-between;
    background: rgb(10 12 18 / 0%);
    backdrop-filter: blur(8px);
  }
  .nav-brand { display: block; }
  .nav-toggle { display: flex; }

  /* Links ocultos por defecto, se muestran al abrir */
  .nav-links {
    display: flex; flex-direction: column; align-items: center;
    position: fixed; inset: 0; z-index: 99;
    background: rgba(10,12,18,0.97);
    backdrop-filter: blur(12px);
    padding-top: 80px; gap: 24px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 16px; letter-spacing: 0.15em;
    margin-left: 0;
  }

  /* Animación del ícono: ☰ → ✕ */
  nav.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .container { padding: 0 24px; }
  .about-genesis, .member-card, .member-card.reverse { grid-template-columns: 1fr; }

  /* Carrusel mobile: 3 slides (ocultar far) */
  .gear-stage { height: 230px; }
  .gear-slide--far-left,
  .gear-slide--far-right { opacity: 0; pointer-events: none; }
  .gear-slide--near-left  { left: 0;    width: 20%; }
  .gear-slide--center     { left: 21%;  width: 58%; }
  .gear-slide--near-right { left: 80%;  width: 20%; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; align-items: flex-start; }

  /* Hero: sección se ajusta a las proporciones de la foto (1448×1086) */
  #inicio {
    height: auto;
    min-height: unset;
    aspect-ratio: 1448 / 1086;
    padding: 0 24px 32px;
  }
  .hero-bg {
    background:
      linear-gradient(160deg, rgba(0,229,255,0.07) 0%, transparent 50%),
      linear-gradient(to top, rgba(10,12,18,0.95) 0%, rgba(10,12,18,0.4) 60%, transparent 100%),
      url('/assets/images/portada_banda.png') center center/100% 100% no-repeat;
  }
}
