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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.game-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 860px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.score-container {
    font-size: 1.2em;
    color: #555;
    font-weight: 600;
}

.score-label, .high-score-label, .misses-label {
    color: #667eea;
    margin-left: 15px;
}

#score, #highScore, #misses {
    color: #764ba2;
    font-weight: bold;
}

#gameCanvas {
    display: block;
    border: 3px solid #667eea;
    border-radius: 10px;
    cursor: pointer;
}

.instructions {
    text-align: center;
    margin-top: 20px;
    color: #555;
    font-size: 1em;
}

.instructions p {
    margin: 5px 0;
}

.instructions strong {
    color: #667eea;
    font-weight: bold;
}

@media (max-width: 900px) {
    .game-container {
        padding: 15px;
    }

    h1 {
        font-size: 2em;
    }

    #gameCanvas {
        width: 100%;
        height: auto;
    }
}
