/* Game-specific styles */
.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#race-canvas {
    border: 5px solid var(--color-neon-blue);
    background-color: #222;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    cursor: none; /* Hide default cursor */
}

.game-info {
    display: flex;
    justify-content: space-between;
    width: 300px;
    margin-bottom: 10px;
}

.score-display {
    font-size: 1.1em;
    color: var(--color-light-text);
}

.controls {
    font-family: sans-serif;
    color: #aaa;
    margin-top: 15px;
}

/* Game Over Screen */
.game-over-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border: 3px solid var(--color-neon-pink);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
    z-index: 10;
}

.game-over-screen h3 {
    font-size: 2em;
}

.new-high-score {
    color: #ffcc00;
    font-size: 1.5em;
    margin-top: 10px;
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hidden {
    display: none !important;
}

.reset-button {
    padding: 10px 20px;
    background-color: var(--color-neon-pink);
    color: var(--color-dark);
    border: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.reset-button:hover {
    background-color: var(--color-neon-blue);
}