Particle transport and acceleration in a time-varying electromagnetic field with a multi-scale structure