By applying the shadows to pseudo elements which you then manipulate, you can get some pretty fancy 3D looking box shadows: