* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.score-board {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

#gameCanvas {
    border: 3px solid #333;
    border-radius: 10px;
    background: #111;
    display: block;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

button {
    padding: 10px 25px;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

#startBtn {
    background: #4CAF50;
}

#startBtn:hover {
    background: #45a049;
    transform: scale(1.05);
}

#pauseBtn {
    background: #ff9800;
}

#pauseBtn:hover {
    background: #f57c00;
    transform: scale(1.05);
}

#resetBtn {
    background: #f44336;
}

#resetBtn:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.info {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

.info p {
    background: #f5f5f5;
    padding: 8px;
    border-radius: 5px;
}

@media (max-width: 500px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    #gameCanvas {
        width: 100%;
        height: auto;
    }
    
    .controls {
        flex-wrap: wrap;
    }
    
    button {
        flex: 1;
        min-width: 80px;
    }
}