Cristiano Ronaldo’s World Cup dream ended in Dallas: Spain sent Portugal packing with a last-gasp goal.