Dimensionality reduction of the 3D inverted pendulum cylindrical oscillator and applications on sustainable seismic design of bridges