there's no luck here. Croatia beat Spain the defending champs, which Portugal beat. Wales beat Belgium a heavy favour to win the whole thing. Portugal basically beat Belgium and Spain by beating the people who beat them in a way.
It depends on your perspective, but their success is not mostly because of luck. It's because Santos is one of the best international managers, RONALDO, a golden generation, and chemistry.