Zinedine Zidane  and his merry men lost 3-2 to Barcelona in the Miami El Clasico.

Real Madrid did well to draw level after Barcelona had gone two goals ahead, but a Gerard Pique goal gave Barcelona the edge after 90 minutes.

Putting the loss behind him, Zidane said there was plenty of time to get things right before Madrid take on Manchester United in the UEFA Super Cup on August 8.

"Today (Saturday) was a game of two faces for us, one bad, one better," he said.

"Ultimately we are preparing for the eighth -- we will be ready."

Lionel Messi, who put in a superb 64-minute performance, opened the scoring after just three minutes and when Ivan Rakitic doubled the lead soon after, the writing appeared to be on the wall for a sluggish Real Madrid side.

Yet Zinedine Zidane's side quickly woke from their slumber and by the end of the first half, goals from Mateo Kovacic and Marco Asensio had pulled them level in front of 66,000 spectators.

What followed was entertaining, often breathless friendly fare before Pique struck that decisive goal.

This was nothing more than a pre-season match and obviously wasn't going to affect the overall record between these two old rivals, which stands at 93 wins for Real, 91 for Barcelona -- who had won their most recent meeting with Messi's last-gasp winner -- his 500th for the club.

ALSO WATCH: Thin Tall Tony Bares It All In An Exclusive Interview With Bounce News