Accelerated Zeroth-Order and First-Order Momentum Methods from Mini to Minimax Optimization (Journal of Machine Learning Research, 2026)