/* =========================================
   TWISTED BLACK — Hero Section
   Apple Music / Spotify artist page pattern:
   Square image block, name bottom-left,
   play button bottom-right, content below.
   ========================================= */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 0 !important;
}

/* Hero image — viewport-capped so tracks are always visible */
.hero-img {
  display: block;
  width: 100%;
  max-height: 52vh;
  object-fit: cover;
  object-position: center top;
}

/* Gradient overlay on the image */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    linear-gradient(to bottom,
      rgba(8, 9, 12, 0.05) 0%,
      transparent 15%,
      transparent 65%,
      rgba(8, 9, 12, 0.5) 80%,
      rgba(8, 9, 12, 0.9) 92%,
      var(--bg) 100%
    );
  z-index: 1;
  pointer-events: none;
}

/* Hide the top hero-name on mobile (desktop only) */
.hero-top {
  display: none;
}

/* Bottom bar — name left, play right */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 20px 20px;
}

/* Name — left-aligned, bold, no tracking */
.hero-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Play button — filled circle, Apple Music / Spotify style */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blood);
  border: none;
  color: #fff;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 20px rgba(185, 28, 28, 0.4);
  padding: 0;
  font-size: 0;
  letter-spacing: 0;
}

.hero-cta:hover {
  background: var(--blood-bright);
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(220, 38, 38, 0.5);
}

.hero-cta:active {
  transform: scale(0.95);
}

.hero-cta svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
  opacity: 1;
}

/* Desktop — wider layout, name can be bigger */
@media (min-width: 601px) {
  .hero-img {
    aspect-ratio: 16 / 9;
    max-height: 480px;
  }

  .hero-top {
    display: none;
  }

  .hero-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .hero-bottom {
    padding: 0 32px 28px;
  }

  .hero-cta {
    width: 56px;
    height: 56px;
  }
}
