/* Artist pages - additive styles on top of styles.css (homepage stylesheet).
   Colors, fonts, buttons, header, footer, and CTA all come from styles.css
   so artist pages match the homepage exactly. */

.logo-link {
    text-decoration: none;
}

.artist-hero {
    padding: var(--space-lg) 0 var(--space-md);
}

.breadcrumb {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}
.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--accent-glow); }

.artist-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.artist-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
    flex-shrink: 0;
}

.artist-name {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.chips { margin-bottom: var(--space-xs); }
.chip {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-glow);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    margin-right: 0.4rem;
}

.yt-stats {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.lede {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    max-width: 60ch;
    margin-bottom: var(--space-md);
}
.lede a { color: var(--accent-glow); }

.artist-hero h2,
.related h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin: var(--space-md) 0 var(--space-sm);
}

.bio p {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 65ch;
}

.top-songs ol {
    list-style: none;
    counter-reset: song;
    max-width: 480px;
}
.top-songs ol li {
    counter-increment: song;
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}
.top-songs ol li::before {
    content: counter(song);
    color: var(--accent-glow);
    font-weight: 700;
    font-size: var(--text-sm);
    min-width: 1.5rem;
}
.top-songs .plays {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    white-space: nowrap;
}
.songs-note {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
}

.related {
    padding: var(--space-md) 0 var(--space-lg);
}
.related ul, .artist-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.4rem 1rem;
    margin-bottom: var(--space-sm);
}
.related li a, .artist-grid a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.related li a:hover, .artist-grid a:hover { color: var(--accent-glow); }
.related > .container > p > a { color: var(--accent-glow); }

.letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: var(--space-md);
}
.letter-nav a {
    color: var(--accent-glow);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 0.4rem;
    padding: 0.15rem 0.6rem;
    transition: background 0.2s ease;
}
.letter-nav a:hover { background: rgba(6, 182, 212, 0.15); }

.artist-hero section h2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.3rem;
}

@media (max-width: 600px) {
    .artist-hero {
        padding-top: calc(5rem + env(safe-area-inset-top, 0px));
    }
    .artist-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .artist-photo { width: 120px; height: 120px; }
}
