Danilo opened the scoring in the first half following a counterattack led by Vinicius Jr., while Igor Thiago restored the lead from the penalty spot after Croatia equalized.
Both players expressed gratitude to teammates and coach Carlo Ancelotti for the opportunity ahead of the World Cup squad announcement on May 18.