.game-container {
    text-align: center;
}

#score-board {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: left; /* Align score to the left */
    color: #e0e0e0; /* Light grey text */
}

#start-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Press Start 2P', cursive;
    cursor: pointer;
    z-index: 100;
}

#start-overlay h1 {
    font-size: 40px;
}

#start-overlay p {
    font-size: 20px;
    margin-top: 20px;
}

body {
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light grey text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: 'Press Start 2P', cursive;
    text-shadow: 2px 2px #000;
}

h1 {
    color: #ffcc00;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

canvas {
    background-color: #282828; /* Dark canvas background */
    border: 1px solid #555; /* Subtle border */
    background-size: cover;
    background-position: center;
    border: 4px solid #444;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.game-over-flash {
    animation: flash 0.5s ease-in-out;
}

@keyframes flash {
    0% { box-shadow: 0 0 20px rgba(0,0,0,0.7); }
    50% { box-shadow: 0 0 30px 10px rgba(255, 0, 0, 0.8); }
    100% { box-shadow: 0 0 20px rgba(0,0,0,0.7); }
}
