* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c); color: white; min-height: 100vh; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; text-align: center; } header { margin-bottom: 20px; padding: 20px; background: rgba(0, 0, 0, 0.3); border-radius: 15px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); } h1 { font-size: 2.5rem; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); } p { font-size: 1.1rem; opacity: 0.9; } .stats-panel { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; padding: 15px; background: rgba(0, 0, 0, 0.2); border-radius: 15px; font-size: 1.1rem; } .stat { display: flex; flex-direction: column; align-items: center; } .stat-label { font-weight: 600; margin-bottom: 5px; color: #4facfe; } .controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; padding: 20px; background: rgba(0, 0, 0, 0.2); border-radius: 15px; } button { padding: 12px 24px; font-size: 1rem; background: rgba(255, 255, 255, 0.15); color: white; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px); } button:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } button:active { transform: translateY(0); } .speed-control { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.1); padding: 10px 20px; border-radius: 50px; } .speed-control label { font-weight: 500; } .speed-control input { width: 150px; } .canvas-container { display: flex; justify-content: center; margin-bottom: 30px; } #gameCanvas { background: rgba(0, 0, 0, 0.2); border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); } .presets { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; padding: 20px; background: rgba(0, 0, 0, 0.2); border-radius: 15px; } .presets button { background: rgba(255, 255, 255, 0.1); } .presets button:hover { background: rgba(255, 255, 255, 0.2); } @media (max-width: 768px) { .controls, .presets { flex-direction: column; align-items: center; } button { width: 100%; max-width: 300px; } .speed-control { width: 100%; max-width: 300px; } .stats-panel { gap: 10px; } }