* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; justify-content: center; align-items: center; color: #333; } .game-container { background: white; border-radius: 20px; padding: 30px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); text-align: center; max-width: 500px; width: 90%; } h1 { color: #4a5568; margin-bottom: 20px; font-size: 2.5em; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); } .game-info { display: flex; justify-content: space-between; margin-bottom: 20px; padding: 10px 20px; background: #f7fafc; border-radius: 10px; border: 2px solid #e2e8f0; } .score, .high-score { font-size: 1.2em; font-weight: bold; color: #2d3748; } .score span, .high-score span { color: #38a169; font-size: 1.3em; } #gameCanvas { border: 3px solid #4a5568; border-radius: 10px; background: #1a202c; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); margin-bottom: 20px; } .controls { margin-top: 20px; } .controls p { margin-bottom: 15px; color: #4a5568; font-size: 1.1em; } button { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; padding: 12px 24px; margin: 5px; border-radius: 8px; font-size: 1em; font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } button:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } button:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } button:disabled { background: #a0aec0; cursor: not-allowed; transform: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } @media (max-width: 480px) { .game-container { padding: 20px; } h1 { font-size: 2em; } .game-info { flex-direction: column; gap: 10px; } #gameCanvas { width: 300px; height: 300px; } button { padding: 10px 20px; font-size: 0.9em; } }