/*
========================================
File: artist-profile-v2.css
========================================
*/

/* --- Hero do Artista --- */
.artist-hero-v2 {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-8);
    background-size: cover;
    background-position: center 25%;
}

.artist-hero-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 1) 10%, rgba(10, 10, 10, 0.8) 40%, transparent 80%);
}

.artist-hero-v2__content {
    position: relative;
    z-index: 10;
}

.artist-hero-v2__title {
    font-size: 3.5rem;
    /* ~80px */
    font-weight: 900;
    color: var(--color-text-primary);
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.artist-hero-v2__actions {
    margin-top: var(--spacing-6);
    display: flex;
    gap: var(--spacing-4);
    align-items: center;
}

/* --- Layout Centralizado --- */
.profile-content-wrapper {
    max-width: 960px;
    /* Largura máxima para o conteúdo central */
    margin: var(--spacing-10) auto;
}

/* --- Navegação por Abas --- */
.profile-tabs {
    display: flex;
    /* overflow-x: auto para permitir a rolagem horizontal */
    overflow-x: auto;
    /* Esconder a barra de rolagem padrão, mas manter a funcionalidade */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */

    gap: var(--spacing-6);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-8);

    /* Adicionar um pouco de padding para o scroll não ficar colado nas bordas */
    padding: 0 var(--spacing-2);
    margin-left: calc(var(--spacing-2) * -1);
    margin-right: calc(var(--spacing-2) * -1);
}

.profile-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Opera */
}

.profile-tabs__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-3) 0;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: var(--transition-fast);

    /* Garantir que os botões não quebrem a linha */
    white-space: nowrap;
    flex-shrink: 0;
    /* Impede que os botões encolham */
}

.profile-tabs__btn:hover {
    color: var(--color-text-primary);
}

.profile-tabs__btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* --- Conteúdo das Abas --- */
.tab-content {
    display: none;
    /* Escondido por padrão */
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* --- Timeline de Álbuns --- */
.album-timeline {
    position: relative;
    padding-left: var(--spacing-8);
    border-left: 2px solid var(--color-border);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-12);
}

.timeline-item__year-marker {
    position: absolute;
    left: -2.75rem;
    /* (40px / 2) + 2px da borda + espaçamento */
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-bg-elevated);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--color-text-primary);
}

.timeline-item__content {
    display: grid;
    grid-template-columns: 150px 1fr;
    /* Capa + Info/Faixas */
    gap: var(--spacing-6);
    align-items: flex-start;
}

.timeline-item__artwork {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.timeline-item__title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-2);
}

.timeline-item__tracklist {
    list-style: none;
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.timeline-item__tracklist a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* --- Grid de Letras --- */
.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile */
    gap: var(--spacing-6);
}

@media (min-width: 640px) {
    .lyrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .lyrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Reutilizaremos o componente .card que já existe para as letras */

/* --- Seção de Biografia --- */
.bio-section {
    background-color: var(--color-bg-content);
    padding: var(--spacing-8);
    border-radius: var(--border-radius-lg);
    line-height: 1.8;
}

.bio-section p {
    margin-bottom: var(--spacing-4);
}