While Spain does sound lovely, I don’t think “having anything to do” was really in my generation/demographic’s mindset while we roamed around the neighborhood. This was small town Midwest in the 90s. We just roamed around doing nothing.
But there was a place in which to do nothing - whether it was a scrappy patch of land that's now a big-box store, or a permissive neighbour's garden who has now put up a fort knox of ring cameras, or a mall that used to tolerate kids just screwing around that now has a fleet of rent-a-cops. Third spaces aren't just trendy urban cafes, especially as a child. Having a place that feels like "your bit" is increasingly rare.
I came up in malls in the past. They did but it was also different. You could be a kid there and it was more tolerated. You weren't treated like a suspicious person by default. (Unless you were not white, or a punk. Then security tailed you the whole time.)
They are either shockingly busy, or complete ghost towns, depending on how much power the anchor stores had. A lot of malls were kept afloat by the big department stores, and those are doing bad now that those stores are on the ropes. Like, really bad, think "less than 50% occupancy of stores, air conditioning being run at a bare minimum because it's too expensive" bad. Others (notably the ones that Westfield bought after their success with Valley Fair in San Jose) focused more on the "affordable luxuries" segment, with small stores selling specialized stuff, and are doing fine.
Also you'd take your bicycle and pretend it is a motorbike, hacking stuff likw mounting a playing card to the seatstay so it hits the spoke and make revving sound when you accelerated or looking for planks and construction material to build ramps