/* ============================================================
   BROKENSTAR — Variables y reset
   ============================================================ */

:root {
  --color-bg: #000000;
  --color-bg-overlay: rgba(0, 0, 0, 0.72);
  --color-white: #ffffff;
  --color-grey: #888888;
  --color-grey-light: #cccccc;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-spotify: #1DB954;
  --color-whatsapp: #25D366;
  /* Acentos de marketing */
  --color-accent: #e11414;
  --color-accent-2: #ff5a3c;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-cinematic: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  --navbar-height: 72px;
  --shop-btn-size: 56px;
  --whatsapp-size: 56px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.5;
}

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

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

ol {
  list-style: none;
}


/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-smooth),
              backdrop-filter var(--transition-smooth);
}

.navbar.is-scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 24px;
}

.navbar-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 100%;
  padding: 0 12px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--color-white);
  opacity: 0.75;
  transition: opacity var(--transition-fast),
              transform var(--transition-fast);
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-icon:hover {
  opacity: 1;
  transform: scale(1.15);
}

.nav-icon--disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero-albums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

/* Línea divisoria sutil entre portadas */
.hero-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6),
              1px 0 0 rgba(0, 0, 0, 0.4),
              -1px 0 0 rgba(0, 0, 0, 0.4);
  z-index: 50;
  pointer-events: none;
}


/* ── Logos flotantes del hero (Parte 1 izq · Parte 2 der) ── */

.hero-logo {
  position: absolute;
  bottom: 40px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transform: translateX(-50%);
  transition: opacity var(--transition-smooth),
              transform var(--transition-fast);
}

/* Cada logo centrado en su mitad (Parte 1 izq · Parte 2 der) */
.hero-logo--left {
  left: 25%;
}

.hero-logo--right {
  left: 75%;
}

.hero-logo:hover {
  opacity: 0.95;
  transform: translateX(-50%) scale(1.08);
}

.hero-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}


/* ── Panel de álbum ── */

.album-panel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-cinematic),
              filter var(--transition-smooth);
}

.album-panel:hover .album-cover,
.album-panel.is-active .album-cover {
  transform: scale(1.03);
  filter: brightness(0.55);
}


/* ── Overlay y tracklist ── */

.album-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Color de respaldo; la imagen de fondo se inyecta en línea desde script.js */
  background-color: var(--color-bg-overlay);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  padding: calc(var(--navbar-height) + 16px) 24px 24px;
}

.album-panel:hover .album-overlay,
.album-panel.is-active .album-overlay {
  opacity: 1;
  pointer-events: auto;
}

.tracklist {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  transform: translateY(24px);
  opacity: 0;
  transition: transform var(--transition-cinematic),
              opacity var(--transition-cinematic);
}

.album-panel:hover .tracklist,
.album-panel.is-active .tracklist {
  transform: translateY(0);
  opacity: 1;
}

.tracklist-header {
  margin-bottom: 24px;
  text-align: center;
}

.tracklist-subtitle {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--color-grey);
  margin-bottom: 4px;
}

.tracklist-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  font-weight: 400;
  line-height: 1.1;
}

.tracklist-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.tracklist-items::-webkit-scrollbar {
  width: 4px;
}

.tracklist-items::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.track-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity var(--transition-fast);
}

.track-number {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-grey);
  letter-spacing: 0.05em;
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.track-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-feat {
  font-size: 0.65rem;
  color: var(--color-grey);
  font-weight: 300;
}

.track-duration {
  font-size: 0.7rem;
  color: var(--color-grey);
  font-variant-numeric: tabular-nums;
}

/* Botón de play (Spotify) dentro de un track */
.track-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  color: var(--color-spotify);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.track-play svg {
  width: 20px;
  height: 20px;
}

.track-play:hover {
  transform: scale(1.18);
}

/* Track 01 — estreno (legible en móvil, paleta negro/rojo) */
.track-item--countdown {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-areas:
    "num info"
    "cd cd";
  align-items: center;
  gap: 8px 10px;
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 6px 0;
  padding: 10px;
  border: 1px solid rgba(225, 20, 20, 0.45);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 14px rgba(225, 20, 20, 0.18);
}

.track-item--countdown .track-number {
  grid-area: num;
  color: var(--color-accent-2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.track-item--countdown .track-info {
  grid-area: info;
  min-width: 0;
}

.track-item--countdown .track-title--premiere {
  display: block;
  max-width: 100%;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px rgba(225, 20, 20, 0.35);
}

.track-drop-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 7px;
  border: 1px solid rgba(225, 20, 20, 0.5);
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: linear-gradient(100deg, rgba(225, 20, 20, 0.9), rgba(255, 90, 60, 0.8));
}

.track-countdown {
  grid-area: cd;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.55);
}

.countdown-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--color-accent-2);
  text-align: center;
}

.countdown-units {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}

.countdown-unit {
  min-width: 0;
  padding: 6px 2px 5px;
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(225, 20, 20, 0.35);
}

.countdown-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-value.is-tick {
  animation: countdown-digit-pop 0.35s ease;
}

.countdown-key {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-grey);
}

.countdown-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: linear-gradient(100deg, var(--color-accent), var(--color-accent-2));
}

.track-countdown.is-live {
  border-color: rgba(225, 20, 20, 0.45);
}

@media (min-width: 900px) {
  .track-item--countdown {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas: "num info cd";
    gap: 10px 12px;
    padding: 8px 10px;
  }

  .track-countdown {
    width: auto;
    min-width: 168px;
    align-items: flex-end;
  }

  .countdown-label {
    text-align: right;
  }

  .countdown-units {
    display: flex;
    width: auto;
  }

  .countdown-unit {
    min-width: 32px;
  }

  .countdown-value {
    font-size: 0.95rem;
  }
}

@keyframes countdown-digit-pop {
  0% { transform: scale(1.08); color: var(--color-accent-2); }
  100% { transform: scale(1); color: var(--color-white); }
}

/* Botón Spotify dentro del tracklist */
.btn-spotify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 20px;
  padding: 12px 24px;
  width: 100%;

  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-spotify);
  border-radius: 50px;

  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;

  transition: background var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.btn-spotify svg {
  width: 18px;
  height: 18px;
  color: var(--color-spotify);
  flex-shrink: 0;
}

.btn-spotify:hover {
  background: var(--color-spotify);
  color: var(--color-bg);
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.3);
}

.btn-spotify:hover svg {
  color: var(--color-bg);
}


/* ── Botón central SHOP ── */

.shop-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 900;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 100px;
  height: var(--shop-btn-size);
  padding: 0 32px;

  background: var(--color-white);
  color: var(--color-bg);
  border: none;
  border-radius: 50px;

  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  cursor: pointer;

  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1);

  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast);
}

.shop-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.2);
  background: var(--color-bg);
  color: var(--color-white);
}


/* ============================================================
   TIENDA
   ============================================================ */

.shop {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  /* Sin padding horizontal: el banner ocupa todo el ancho */
  padding: calc(var(--navbar-height) + 16px) 0 32px;
  background: var(--color-bg);
}

.shop-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-header {
  text-align: center;
  margin-bottom: 24px;
}


/* ── Banner superior (carrusel infinito) ── */

.shop-banner {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  /* Difumina los extremos para un look premium */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.banner-track {
  display: flex;
  /* Sin gap: usamos margin por tarjeta para que el bucle calce exacto */
  gap: 0;
  width: max-content;
  animation: banner-scroll var(--banner-speed, 45s) linear infinite;
}

.shop-banner:hover .banner-track {
  animation-play-state: paused;
}

/* Tarjeta con corte diagonal (parallelogramo) */
.banner-item {
  position: relative;
  flex: 0 0 auto;
  width: 160px;
  height: 210px;
  /* margin-right = separación entre tarjetas (garantiza bucle sin saltos) */
  margin: 0 18px 0 0;
  overflow: hidden;
  background: #0d0d0d;
  cursor: pointer;
  /* Corte diagonal característico */
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  transition: transform var(--transition-cinematic);
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Encaje por defecto (se puede sobrescribir por foto desde script.js) */
  object-position: center 28%;
  filter: grayscale(0.4) brightness(0.9);
  transition: transform var(--transition-cinematic),
              filter var(--transition-smooth);
}

/* Destello de luz que barre la tarjeta en hover */
.banner-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.banner-item:hover {
  transform: translateY(-4px);
}

.banner-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1.05);
}

.banner-item:hover::after {
  transform: translateX(130%);
}

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


/* ── Marketing: badge, tagline y acentos ── */

.promo-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 18px;
  border-radius: 50px;

  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #fff;

  /* Degradado de acento animado */
  background: linear-gradient(
    100deg,
    var(--color-accent) 0%,
    var(--color-accent-2) 50%,
    var(--color-accent) 100%
  );
  background-size: 200% auto;
  box-shadow: 0 6px 22px rgba(225, 20, 20, 0.35);
  animation: promo-shine 4s linear infinite,
             promo-pulse 2.4s ease-in-out infinite;
}

@keyframes promo-shine {
  to { background-position: 200% center; }
}

@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(225, 20, 20, 0.3); }
  50%      { box-shadow: 0 6px 30px rgba(225, 20, 20, 0.6); }
}

.shop-tagline {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--color-grey-light);
  text-transform: uppercase;
}

.shop-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--color-grey);
  margin-bottom: 4px;
}

.shop-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.08em;
  font-weight: 400;
  line-height: 1;
}

/* ── Grilla de productos (una tarjeta por color) ── */

.shop-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}


/* ── Tarjeta de producto ── */

.product-card {
  display: flex;
  flex-direction: column;
  width: clamp(260px, 42vw, 360px);
}

/* Galería de fotos (arriba de la tarjeta) */
.product-gallery {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;

  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  background: #0d0d0d;
  margin-bottom: 16px;
  cursor: pointer;

  /* Inclinación 3D siguiendo el cursor */
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.4s ease;
}

/* Brillo/reflejo que sigue al cursor */
.product-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0) 42%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: overlay;
}

.product-gallery:hover::after {
  opacity: 1;
}

.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.product-image.is-active {
  opacity: 1;
}

/* Flechas para cambiar de foto */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;

  background: rgba(10, 10, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);

  transition: opacity var(--transition-fast),
              background var(--transition-fast),
              transform var(--transition-fast);
}

.product-gallery:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-arrow--prev {
  left: 14px;
}

.gallery-arrow--next {
  right: 14px;
}

/* Puntos de la galería */
.gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background var(--transition-fast), width var(--transition-fast);
}

.gallery-dot.is-active {
  width: 20px;
  background: var(--color-white);
}

/* Info del producto (debajo de la foto) */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.3;
}

.product-price {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-white);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Selector de tallas */
.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  flex: 1 1 auto;
  min-width: 42px;
  padding: 9px 0;

  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);

  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;

  transition: border-color var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast);
}

.size-btn:hover:not(:disabled) {
  border-color: var(--color-white);
}

.size-btn.is-selected {
  background: var(--color-white);
  color: var(--color-bg);
  border-color: var(--color-white);
}

.size-btn.is-soldout,
.size-btn:disabled {
  color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

/* Línea diagonal para marcar talla agotada */
.size-btn.is-soldout::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    transparent calc(50% - 0.5px),
    rgba(255, 255, 255, 0.2) 50%,
    transparent calc(50% + 0.5px)
  );
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 40px;

  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);

  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.28em;

  transition: border-color var(--transition-fast),
              color var(--transition-fast),
              letter-spacing var(--transition-fast),
              box-shadow var(--transition-fast);
}

.btn-buy:hover {
  border-color: var(--color-whatsapp);
  letter-spacing: 0.34em;
  box-shadow: inset 0 0 0 1px var(--color-whatsapp);
}


/* ============================================================
   FAQ — Modal oculto (se abre con el botón FAQ)
   ============================================================ */

.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.faq-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.faq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.faq-panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(18px) scale(0.98);
  transition: transform var(--transition-cinematic);
}

.faq-modal.is-open .faq-panel {
  transform: translateY(0) scale(1);
}

.faq-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.faq-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.faq-close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--color-border);
  background: #111;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: var(--color-grey-light);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 18px 16px;
}

.faq-answer p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-grey-light);
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 28px 24px 32px;
  text-align: center;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  margin-bottom: 4px;

  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);

  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  cursor: pointer;

  transition: border-color var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast);
}

.faq-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

.footer p {
  font-size: 0.75rem;
  color: var(--color-grey);
  letter-spacing: 0.05em;
}

.footer-credit {
  margin-top: 6px;
  font-size: 0.65rem;
  opacity: 0.7;
}

.footer-credit a {
  color: var(--color-grey-light);
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--color-white);
}


/* ============================================================
   WHATSAPP
   ============================================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  width: var(--whatsapp-size);
  height: var(--whatsapp-size);
  border-radius: 50%;

  background: #25D366;
  color: var(--color-white);

  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);

  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast);

  animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50%      { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.55); }
}


/* ============================================================
   ANIMACIONES — Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-cinematic),
              transform var(--transition-cinematic);
}

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


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

/* Tablet */
@media (max-width: 1024px) {
  .navbar-icons {
    gap: 22px;
  }

  .tracklist {
    max-width: 340px;
  }

  .shop-grid {
    gap: 32px;
  }
}

/* Móvil — portadas apiladas verticalmente */
@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
    --shop-btn-size: 48px;
  }

  .hero-logo--left {
    top: calc(var(--navbar-height) + 16px);
    bottom: auto;
    left: 50%;
  }

  .hero-logo--right {
    bottom: 24px;
    left: 50%;
    right: auto;
  }

  .hero-logo-img {
    height: 42px;
  }

  .hero-divider {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6),
                0 1px 0 rgba(0, 0, 0, 0.4),
                0 -1px 0 rgba(0, 0, 0, 0.4);
  }

  .navbar-icons {
    gap: 18px;
  }

  .nav-icon {
    width: 18px;
    height: 18px;
  }

  .hero {
    height: auto;
    min-height: 100dvh;
  }

  .hero-albums {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: calc(100dvh - var(--navbar-height));
  }

  .album-panel {
    min-height: 50vh;
  }

  .shop-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 88px;
    height: var(--shop-btn-size);
    padding: 0 24px;
    font-size: 0.95rem;
  }

  .shop-btn:hover {
    transform: translate(-50%, -50%) scale(1.06);
  }

  .album-overlay {
    padding: 16px;
  }

  .tracklist-title {
    font-size: 1.2rem;
  }

  .track-item--countdown {
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-areas:
      "num info"
      "cd cd";
    gap: 6px 8px;
    margin: 6px 0;
    padding: 10px;
  }

  .track-item--countdown .track-number {
    font-size: 0.8rem;
  }

  .track-item--countdown .track-title--premiere {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .track-drop-tag {
    font-size: 0.55rem;
    padding: 3px 7px;
  }

  .track-countdown {
    padding: 8px;
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .countdown-unit {
    padding: 8px 2px 6px;
  }

  .countdown-value {
    font-size: 1.2rem;
  }

  .countdown-key {
    font-size: 0.5rem;
  }

  .track-title {
    font-size: 0.72rem;
    white-space: normal;
  }

  .shop {
    min-height: auto;
    padding: calc(var(--navbar-height) + 12px) 0 24px;
    gap: 24px;
  }

  .shop-container {
    padding: 0 20px;
  }

  .banner-item {
    width: 124px;
    height: 168px;
    margin: 0 14px 0 0;
  }

  .promo-badge {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    padding: 6px 14px;
  }

  .shop-tagline {
    font-size: 0.7rem;
  }

  .product-card {
    width: 85vw;
    max-width: 380px;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .navbar-icons {
    gap: 14px;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
  }

  .track-item {
    grid-template-columns: 22px 1fr auto;
    gap: 8px;
    padding: 8px 0;
  }

  .track-item--countdown {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 9px;
  }

  .countdown-value {
    font-size: 1.1rem;
  }

  .shop-header {
    margin-bottom: 40px;
  }
}

/* Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
