Design a modern, minimalist logo for a math game that incorporates geometric shapes and numerical elements, featuring a stylized 'M' made up of infinity signs (∞) in bold, contrasting colors, with a subtle grid pattern overlay to represent mathematical equations and calculations.