/* ================================================================
   Kingdom Frequency — Artist Page Shared Styles
   Standalone: can be inlined or linked when page moves to own repo
   ================================================================ */

/* --- Artist Hero --- */
.artist-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.artist-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.artist-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(10,10,10,.5) 40%, transparent 70%);
}

.artist-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem clamp(1rem, 4vw, 2rem);
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.artist-hero__genre {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.artist-hero__name {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .5rem;
}

.artist-hero__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 500px;
}

/* --- Artist Bio --- */
.artist-bio {
  max-width: 720px;
}

.artist-bio p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Discography --- */
.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.release-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.release-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
}

.release-card__cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.release-card__info {
  padding: 1.25rem;
}

.release-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.release-card__year {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

/* --- Streaming Links Row --- */
.streaming-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
  justify-content: center;
}

.streaming-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
}

.streaming-btn:hover {
  color: var(--gold);
  border-color: var(--gold-dark);
  background: rgba(201,168,76,.06);
}

.streaming-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Featured Track Embed --- */
.featured-embed {
  max-width: 640px;
  margin: 2rem auto 0;
}

.featured-embed iframe {
  border-radius: var(--radius-sm);
}

/* --- Back Link --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color var(--duration) var(--ease);
}

.back-link:hover {
  color: var(--gold);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* --- Artist Page Navbar (simplified) --- */
.artist-nav {
  position: fixed;
  top: 28px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.artist-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.artist-nav__label {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Genre Accents (override --gold per genre) --- */
.genre-country  { --gold: #c9a84c; --gold-light: #e8d48b; --gold-dark: #a68a3e; }
.genre-rap      { --gold: #d4af37; --gold-light: #f0d060; --gold-dark: #b8962e; }
.genre-rock     { --gold: #b8860b; --gold-light: #d4a832; --gold-dark: #946d09; }
.genre-modern-country { --gold: #c9a84c; --gold-light: #e0c87a; --gold-dark: #a68a3e; }

/* --- Artist Responsive --- */
@media (max-width: 768px) {
  .artist-hero {
    min-height: 55vh;
  }

  .discography-grid {
    grid-template-columns: 1fr;
  }

  .streaming-row {
    justify-content: flex-start;
  }
}
