If we go by that logic, blind bags are also gambling. The result isn't random - the result is an in-game item, this is the case 100% of the time, you can't win anything else. There's no magical way of buying loot boxes, opening them and getting money, which would classify as a form of gambling. If we do squint and pretend that it is gambling and that you are able to win anything of considerable real-life value, I still don't see a problem - gambling itself shouldn't be illegal because it's none of the government's business how I spend my money. I can buy a truck of candy with my paycheck if I want to, that's my business.