Spend Ramadan on what you'll remember.
Schedule focus around prayer and suhoor, block the apps that eat the night, and keep the exit off your screen.
The scroll is heaviest in the quiet hours after taraweeh and before suhoor. A session you set once opens by itself on the nights you chose, so the decision is already made when the urge arrives.
Set it once for the whole month
A schedule opens the session by itself on the days you chose. Nothing to remember at 2am, nothing to start.
Block the night-time apps
Pick the apps and sites that take the quiet hours, from your phone's own picker. During a session they do not open.
The card, when a schedule isn't enough
Leave the card in another room, and a session that needs it ends only when you walk to it. The strongest option, for the nights you know how they end.
Free on your phone, and the card is optional. May the month go where you want it to.