The easiest way to address this issue is to make the electoral college votes from each state proportional to the votes cast for different candidates within that state. Winner takes all in any state is silly and not representative.
It maybe so,...BUT...it is the state's choice. There are a couple of states that do NOT use a winner take all system for electoral votes.
AND, while it is rarely done, and a little known fact, each state's electors are not bound to follow the popular vote. They can, literally, vote any damn way they please.
A perfect system? No. Could it be inproved? possibly, BUT what you or I might consider an improvement can be someone else's idea of disenfranchisement.
Our founders never intended this nation to be a pure democracy, and with good reason. Far too much emphasis is given to democracy as a good thing, in and of itself. It's not. As the old saying goes, three wolves and a sheep voting on what to have for dinner is democracy.
Our Founders recognized that all to easily, pure democracy leads to mob rule. And today, with the instant transmission of information and ideas, it is even easier than it was a couple centuries ago.
They gave us a represetative REPUBLIC, for that very reason. All we have to do is keep it.
Sadly, it's a task far easier said, than done.