There's also the well documented impact of blue/led light on keeping your brain awake. You definitely get into chicken/egg scenarios with playing games all night, but having a clear screen time cut off every night helps me and my family get to sleep on time.