There are so many ways to do that. It is literally depending on your imagination, but for the sake of contribution, Im gonna tell u magic system from stories I have read.
In Malazan Book of the Fallen. There is this magic realm called Warren. Each Warren has different affinity for example there...