Two things are working against you: the bright screen and the stimulation. Played late at night, both signal to your brain that it's time to be awake, which makes dropping off genuinely harder.
The standard advice is to stop using anything with a screen at least an hour before bed. It's dull, and it works.