Ivan Perisic's last gasp winner gave Croatia a 2-1 win over Spain that condemned the defending European champions to a heavyweight last 16 clash against Italy.
Spain got their bid for a third consecutive European Championship off to a winning start 1-0 over a dogged Czech Republic thanks to Barcelona defender Gerard Pique's header three minutes from time.