FatPhil
Senior Member.
The House of Representatives and the Senate are also federal; and technically, you're voting for state electors, and not the President.
But the real problem is the electoral system. In no other country is the outcome of an election in doubt where one candidate leads the other by 4.4% in the popular vote, unless it's a banana republic; because no other country uses this system.
No other country I know of uses quite such a baroque system, but other countries have systems which permit the loser to win. Most locally-representative democracies employing first past the post are susceptible. Some have been quite high profile. For example, the UK election in 1951 saw Churchill's 13.7M votes beat Attlee's 13.9M because the parliamentary seats were distributed 321 (absolute majority) to 295. UK Elections in 1910 (two), 1929, and 1974 also shared this loser wins property, but they didn't include an absolute seat majority.