The Kurzgesagt team have put together a video explaining the European Union, how democratic it is and how this compares to the democracy of a nation state.
Long story short, the EU is democratic, with power balanced between the democratically elected European Parliament, and the governments of each of the European member states.
The full video is well worth a watch: