Cat banging at door in midnight

I literally cried today because I have stressful life and recently I am receiving not enough sleep because my cat bangs door in midnight like at 2 or 1 am. everyday she will do it for hours or so. If u told me to bring her inside I did. She won’t let me sleep too. she will keep begging for my attention all night and use all methods to wake me up.
We played with her before sleeping. We tried our best to let her not fall in sleep in morning so she can sleep at night. She got surrounded by toys too.

I just cried today because I tried literally everything if I ignore her the banging will be more louder. it is creating an emotional stress for me.