Could someone explain why a certain party having more seats than the others isn't enough to win and why 326 is some sort of magical number?
Because 326 gives a party a majority (over half the seats in commons), allowing them to put through motions. Without a majority, parties must work together, leading to a hung parliament.