
/* Futuristic road with neon grid */
#road {
    background: 
        linear-gradient(90deg, #0f172a 0%, #0f172a 48%, #1e293b 50%, #1e293b 100%),
        linear-gradient(to bottom, 
            transparent 0%, 
            transparent 5%, 
            rgba(56, 182, 255, 0.8) 5%, 
            rgba(56, 182, 255, 0.8) 7%, 
            transparent 7%, 
            transparent 20%);
    background-size: 100px 100%, 100% 20%;
    animation: roadMove 1.5s linear infinite;
    box-shadow: 0 0 30px rgba(56, 182, 255, 0.3);
}

@keyframes roadMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 100px, 0 20%; }
}

/* Neon obstacles */
.obstacle {
    position: absolute;
    background: #3b82f6;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    border: 1px solid rgba(219, 234, 254, 0.3);
}

/* Player car with futuristic glow */
#player-car {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
    border: 1px solid rgba(254, 226, 226, 0.5);
}

/* Futuristic UI elements */
#score, #game-over, #start-screen {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 182, 255, 0.3);
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.2);
    backdrop-filter: blur(5px);
}

#game-over h2 {
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

#start-screen h1 {
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.7);
}

button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}
