Hi OP, the fact you're even worrying about this shows you're a better parent than the folks who are oblivious. Those parents back in the 70s and 80s were dealing with a much easier set of societal defaults--if they did NOTHING, the default was go outside and play because there was no 24/7 on demand entertainment. The current default is for kids to sit indoors on a screen all day.
Read that again--if a parent does not intervene, the average American kid's life now revolves around staying indoors on a screen unless forced otherwise. Sad but true.
I was a 1980s kid; the only entertainments were a few cartoons after school and Saturday mornings. We had a nintendo but it was limited to 30 minutes per day by parents. Life apart from school was about playing outside in the neighborhood, and sports both organized and pickup. It was glorious and wholesome as all get out. Those days are GONE in many areas.
I'm not here to cast judgement, but to tell you what we've done in our family given society's current damaging default setting: you have to take charge. Kids don't play outside in our city. If we didn't take forceful action, our kids would be on the couch like everyone else.
Our plan for our three boys, ages 15, 13, and 11 has been to control devices they get, set strict limits on screen time, to try to get them so obsessed with sports participation or some other passion that it both devours the hours they would spend on screens and has them passionate about something more than gaming, and lastly to communicate clearly with them WHY we are doing these things.
1. Control devices. You control the money, right? We don't HAVE to buy them iphones, tablets, gaming consoles, etc. Our 15yo has a flip phone, 13yo has an old iphone SE with no data (so it can only call and text), and 11yo has a flip phone he never uses. They have a nintendo switch. We would not allow phones or computers in the bedroom. They honestly have not asked us for smart phones, but they already know the answer would be no.
They can have a smart phone after HS. I'm not worried about them struggling to pick it up socially, my boomer mom figured it out just fine at age 60. I figure by that time, we've saved them from the worst of the early brain damage/attention destruction/addiction, and they'll be legal adults who can do what they want.
2. Set limits on screen time. Our kids get ZERO screen time during the school week until Friday evening. In our house, the 15yo wants youtube and the 13/11yos want the Switch. This is actually not that difficult because they're so busy. They usually wake up at 7 (except for twice a week when the younger two have a 7am practice), out the door at 8 for school, school until 3, sports until 5 or 6, dinner, then homework, then lights out at 9pm. When would they fit in screen time?
On the weekend they have more freedom, but again we try to keep life active enough that they don't have endless hours of screens. If we're free, get out for a huge hike or other family adventure. Our 15yo WOULD watch youtube all day if given the opportunity, and is the least engaged in sports, so it's more of a battle to keep an eye on him and make sure he at least works out once per day. Our younger two are more sports obsessed and are usually out of the home most of the day for training or matches and tournaments. There are plenty of weekends where the kids might play 3 hours of videogames a day, which we tolerate because they're so disciplined otherwise. I think total restriction often leads to rebellion, so we let em play, but within reason. No ten hour days of gaming.
3. Find a passion. This is the most important step. A passion is so vital because they WANT to do the passion instead of gaming or dicking around with buddies in an idle way. It doesn't HAVE to be sports, but I do believe that sports is especially valuable to boys and saving them from the ills of modern society. I would happily support them if their passion was music, another art, coding or other academic/STEM pursuit, or something else like chess. Our house rule is they HAVE to do sports year round, even if they're not passionate about it--for example, if their passion was violin, they would still have to do a sport just for the exercise.
We exposed them to piano, violin, chess, painting--they didn't take to any of them. They have taken to sports, which is fine by me because I love sport. The 15yo does XC and track. He runs 6-7 days per week. He's not especially passionate about it, but he's mature enough to see the value, the camaraderie, the fitness. The younger two play soccer and tennis. They train before and after school Monday, Tuesday OFF, Wednesday afternoon, before and after school Thursday, Friday afternoon, and usually games or tournaments all weekend. They're busy as hell, but they LOVE it, they WANT to be there. I'm not begging them to go to practice or games. One of them is top 20 in the USA at his primary sport and having a blast--how could video games compete with that?
4. Communicate the WHY. We have always talked openly with the kids about these decisions. We talk about how poisonous social media in particular and excess screen time in general have been for youth. We talk about how much it sucks to be dumb, out of shape, with nothing going for you in life if you have no passions. We talk about how fun life is when you're smart, fit, and successful. We talk about my buddies who never got into anything beyond playstation and how their lives turned out (hint: not amazing). We talk about how we don't care what their friends' parents allow, that's not our family. They're old enough now it's already self-perpetuating: they can see it's cool to be the athletic kid pursuing his dreams.
Good luck, OP!