Alas, they do not obey and it is important for them to realize their value among their peers and friends. And because of this, the parents cannot cope and the prohibitions do not work at all. Only if the teenager's habitat is not too addicted to gambling is it possible to somehow distract him with normal games such as football, basketball or table tennis, or other outdoor games that are beneficial for physical development.
By the way, in Latin American countries, teenagers often play football more than sit at the computer. That is why they have such strong national football teams afterwards.
So you just need to monitor the environment of your children and, if possible, change it. True, this is very difficult.