Lootboxes are perfectly fine as long as they don't turn into pay to win. Especially for multiplayer games it's a great way to reduce the base price and still have long term revenue, for games like CS it's pretty much essential to stay profitable without releasing a new game every 3-4 years.
Personally i don't really care if an adult wastes money on gambling like that, as an adult you should be financially responsible and if you aren't, well that's your own fault, but it is a bit alarming how easy it is for minors to get involved in this stuff. I don't know whether the responsibility for that is with their parents or the companies though. I can't help but laugh every time someone complains that their 8 year old wasted three grand on some freemium mobile game, what did they think would happen when they allowed their kid to have pretty much direct access to their bank account, it's like letting them loose with your credit card in a candy store.