It's not a failure of representative democracy, because America doesn't have representative democracy. Gerrymandering, voter suppression and the Electoral College have made sure of that. Indeed, without those things the GOP would never have been in power. Ever. If America adopted some kind of proportional representation, which gives third parties a fighting chance, then it would have a representative democracy.