/* ========================================
   Blasphemy – Band Detail Page Styles
   ======================================== */

/* ── Band Hero ────────────────────────── */
.band-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.band-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

.band-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(3, 3, 3, 0.1) 0%,
    rgba(3, 3, 3, 0.4) 50%,
    rgba(3, 3, 3, 0.95) 90%,
    var(--bg-color) 100%
  );
  z-index: 1;
}

.band-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 48px;
  width: 100%;
}

.band-hero-content .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.band-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  margin-bottom: 12px;
}

.band-back-link:hover {
  color: var(--accent-primary);
}

.band-back-link svg {
  width: 16px;
  height: 16px;
}

.band-name {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
}

.band-country {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(255, 77, 0, 0.15);
  padding: 4px 14px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: super;
}

/* ── Band Detail Content ──────────────── */
.band-detail {
  padding: 0 0 80px;
  background: var(--bg-color);
}

.band-detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

/* Left sidebar */
.band-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.band-socials-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.band-socials-list {
  display: flex;
  gap: 16px;
}

.band-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all var(--transition-fast);
}

.band-social-link:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.band-social-link svg {
  width: 20px;
  height: 20px;
}

.band-schedule {
  padding-top: 8px;
}

.band-schedule-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.band-schedule-day {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.band-schedule-time {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.band-stage {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Right content */
.band-content {
  max-width: 700px;
}

.band-genre-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.band-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.band-bio p {
  margin-bottom: 16px;
}

/* ── Band Gallery ─────────────────────── */
.band-gallery {
  margin-top: 48px;
}

/* ── Band Video ───────────────────────── */
.band-video {
  margin-top: 48px;
}

.band-video-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.band-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.band-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.band-gallery-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.band-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.band-gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.band-gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.85;
}

/* ── Placeholder for bands without photo ─ */
.band-hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 50%, #1a0a00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.band-hero-placeholder .placeholder-icon {
  font-size: 8rem;
  opacity: 0.08;
}

/* ── Responsive ───────────────────────── */
@media (max-width: 1024px) {
  .band-detail-grid {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .band-hero {
    height: 50vh;
    min-height: 350px;
  }

  .band-hero-content {
    padding: 0 0 32px;
  }

  .band-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .band-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .band-name {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    letter-spacing: 1px;
  }

  .band-country {
    font-size: 0.75rem;
    padding: 3px 10px;
  }

  .band-back-link {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }

  .band-bio {
    font-size: 0.95rem;
  }

  .band-detail {
    padding: 0 0 60px;
  }

  .band-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }

  .band-gallery-grid img {
    height: 140px;
  }

  .band-genre-tag {
    font-size: 0.7rem;
    padding: 5px 14px;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .band-hero {
    height: 45vh;
    min-height: 300px;
  }

  .band-name {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .band-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
