I was watching the video Gimble Lock - Explained, by videodumper, about the gimbal lock problem. I understood that during rotations it could happen that one DOF disappear. Looking at the middle part of the video (min 3.22) can be seen that two planes are stuck in only one plane. For this reason performing rotations along X axis is the same of performing rotations along Z axis.
Why are these two planes stuck together? For my imagination it does not seem so complicated to separate them and to continue having 3 DOFs. But I think that something eludes me...