/**
 * TOP ARTISTAS - Estilo Personalizado
 * Card modernizado com telefone para shows
 */

/* Container principal */
#top-artists {
    grid-area: topArtists;
}

#top-artists h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding-bottom: 12px;
}

#top-artists h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary, #ff007f) 0%, #ff4da6 100%);
    border-radius: 2px;
}

/* Lista de artistas */
.top-artists-list {
    padding: 0;
    margin: 0;
}

.top-artists-list .artist {
    list-style: none;
    height: auto;
    min-height: 90px;
    background-color: var(--background-color-hee);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.top-artists-list .artist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary, #ff007f) 0%, #ff4da6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.top-artists-list .artist:hover::before {
    opacity: 1;
}

.top-artists-list .artist:hover {
    transform: translateX(5px) scale(1.02);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.25);
    border-color: var(--secondary, #ff007f);
}

.top-artists-list .artist + .artist {
    margin-top: 16px;
}

/* Avatar do artista */
.top-artists-list .artist .artist-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 3px solid var(--secondary, #ff007f);
    transition: all 0.3s ease;
}

.top-artists-list .artist:hover .artist-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: #ff4da6;
}

.top-artists-list .artist .artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Informações do artista */
.top-artists-list .artist .artist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    gap: 6px;
}

.top-artists-list .artist .artist-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.top-artists-list .artist .artist-info h3 a {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.top-artists-list .artist .artist-info h3 a:hover {
    color: var(--secondary, #ff007f);
}

/* Telefone para shows */
.top-artists-list .artist .artist-info .top-artist-phone {
    font-size: 0.95rem;
    color: var(--secondary, #ff007f);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-artists-list .artist .artist-info .top-artist-phone::before {
    content: '📞';
    font-size: 1rem;
}

/* Fallback para "Ouvir Agora" se não tiver telefone */
.top-artists-list .artist .artist-info span:not(.top-artist-phone) {
    font-size: 0.9rem;
    color: var(--text-color2);
    opacity: 0.7;
    font-weight: 500;
}

/* Posição no ranking */
.top-artists-list .artist .artist-position {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    opacity: 0.3;
    margin-right: 16px;
    min-width: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.top-artists-list .artist:hover .artist-position {
    opacity: 0.6;
    color: var(--secondary, #ff007f);
}

/* Top 3 - Destaque especial */
.top-artists-list .artist:nth-child(1) .artist-position {
    background: linear-gradient(135deg, #ffd700, #ffa502);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    font-size: 2.5rem;
}

.top-artists-list .artist:nth-child(2) .artist-position {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    font-size: 2.3rem;
}

.top-artists-list .artist:nth-child(3) .artist-position {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    font-size: 2.1rem;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    #top-artists h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .top-artists-list .artist {
        min-height: 80px;
        padding: 6px;
        border-radius: 12px;
    }
    
    .top-artists-list .artist .artist-avatar {
        width: 60px;
        height: 60px;
    }
    
    .top-artists-list .artist .artist-info {
        padding: 0 12px;
    }
    
    .top-artists-list .artist .artist-info h3 a {
        font-size: 1.1rem;
    }
    
    .top-artists-list .artist .artist-info .top-artist-phone {
        font-size: 0.85rem;
    }
    
    .top-artists-list .artist .artist-position {
        font-size: 1.5rem;
        margin-right: 10px;
        min-width: 40px;
    }
    
    .top-artists-list .artist:nth-child(1) .artist-position {
        font-size: 1.8rem;
    }
    
    .top-artists-list .artist:nth-child(2) .artist-position {
        font-size: 1.7rem;
    }
    
    .top-artists-list .artist:nth-child(3) .artist-position {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .top-artists-list .artist .artist-info h3 a {
        font-size: 1rem;
    }
    
    .top-artists-list .artist .artist-info .top-artist-phone {
        font-size: 0.8rem;
    }
    
    .top-artists-list .artist .artist-position {
        font-size: 1.3rem;
    }
}
