Joe Root played a brilliant knock, scoring a century under challenging conditions, but it wasn't enough to prevent England's exit from the Champions Trophy after a surprising eight-run defeat to Afghanistan on Wednesday.