/* Futuristic road with neon grid */ #road { background-color: #0a0a15; background-image: linear-gradient(to bottom, transparent 0%, transparent 48%, rgba(0, 255, 255, 0.2) 48%, rgba(0, 255, 255, 0.2) 52%, transparent 52%, transparent 100%), linear-gradient(to right, rgba(0, 255, 255, 0.05) 0%, rgba(0, 255, 255, 0.05) 49%, transparent 49%, transparent 51%, rgba(0, 255, 255, 0.05) 51%, rgba(0, 255, 255, 0.05) 100%); background-size: 100px 100px, 100px 100px; animation: roadMove 0.5s linear infinite; box-shadow: 0 0 30px rgba(0, 255, 255, 0.3) inset; } @keyframes roadMove { from { background-position: 0 0, 0 0; } to { background-position: 0 100px, 0 0; } } /* Futuristic obstacles */ .obstacle { position: absolute; background-color: #ff00ff; border-radius: 5px; box-shadow: 0 0 15px #ff00ff, 0 0 30px rgba(255, 0, 255, 0.3); } /* Player car */ #player-car { background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%); box-shadow: 0 0 20px #00ffff, 0 0 40px rgba(0, 255, 255, 0.3); border-radius: 10px; } /* Game screens */ #game-over, #start-screen { background: rgba(10, 10, 30, 0.9); border: 2px solid #00ffff; box-shadow: 0 0 30px #00ffff; } #game-over h2, #start-screen h1 { text-shadow: 0 0 10px #00ffff, 0 0 20px rgba(0, 255, 255, 0.5); } button { background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%); box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); border: none; color: #111; font-weight: bold; transition: all 0.3s; } button:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 255, 255, 0.8); } #score { background: rgba(10, 10, 30, 0.7); border: 1px solid #00ffff; color: #00ffff; text-shadow: 0 0 5px #00ffff; }