Substitute Goncalo Ramos’s headed goal edged Portugal into the last 16 of the World Cup on Thursday after Croatia were dramatically denied an equaliser by VAR.Ramos settled a classic World Cup game when he connected with a superb pass from Rafael Leao in the fourth minute of stoppage time to snuff out a Croatia team which had created the lion’s share of the chances in sapping heat in Toronto.Croatia thought they had snatched a goal in the dying seconds of extra-time, but Josko Gvardiol’s goal was chalked off for offside.The Croatians were left stunned by the decision, and their fans began hurling rubbish on the pitch.In the seconds before Gvardiol’s disallowed goal, the Portuguese bench and coach Roberto Martinez were growing increasingly livid, begging match officials for the final whistle.Cristiano Ronaldo played his role in the victory, stroking home a penalty that cancelled out Ivan Perisic’s opener.