* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

#game-canvas {
    background: #222;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.2);
    border: 2px solid #4CAF50;
    transition: box-shadow 0.3s;
}

#game-canvas:active {
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.3);
}

button {
    background: linear-gradient(90deg, #4CAF50 60%, #43e97b 100%);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    transition: background 0.3s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}

button:active {
    transform: scale(0.97);
}

#reset-btn {
    background: linear-gradient(90deg, #f44336 60%, #ff7961 100%);
}

.instructions {
    background: #f9f9f9cc;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 1px 4px rgba(44, 62, 80, 0.06);
}

.instructions h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.instructions p {
    color: #666;
    margin-bottom: 5px;
}

@media (max-width: 500px) {
    .game-container {
        padding: 15px;
    }
    
    #game-canvas {
        width: 100%;
        height: auto;
    }
    
    .game-info {
        font-size: 16px;
    }
    
    button {
        font-size: 14px;
        padding: 8px 16px;
    }
}