Three ways Trump could win:
1. Win the popular vote.
2. Win the Electoral College.
3. Even if he loses both the popular vote and the Electoral College, there's already a few states who made some changes to allow themselves to legally flip the vote in Trump's favor this time.
Even if Kamala appears to have clearly won an election night, we won't know for who knows how many weeks what the actual outcome will be.