Three-dimensional nonlinear random wave groups in intermediate water depth