     @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@500;700&display=swap');

     /* --- CORE --- */
     body {
         margin: 0;
         padding: 0;
         background-color: #050505;
         overflow: hidden;
         font-family: 'Rajdhani', sans-serif;
         color: #fff;
         user-select: none;
         touch-action: none;
         transition: background-color 2s;
     }

     body.day-mode {
         background-color: #87CEEB;
     }

     #gameCanvas {
         display: block;
         width: 100vw;
         height: 100vh;
     }

     /* --- UI OVERLAYS --- */
     #ui-layer {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         pointer-events: none;
         display: flex;
         flex-direction: column;
     }

     /* --- MUSIC BAR (Full Width at Top) --- */
     .music-bar {
         display: flex;
         align-items: center;
         justify-content: space-between;
         padding: 8px 15px;
         background: rgba(15, 15, 15, 0.95);
         border-bottom: 1px solid #333;
         gap: 15px;
         pointer-events: auto;
         flex-shrink: 0;
     }

     .music-bar-left {
         display: flex;
         gap: 10px;
         align-items: center;
         flex-shrink: 0;
     }

     .music-bar-center {
         flex-grow: 1;
         display: flex;
         flex-direction: column;
         gap: 4px;
         min-width: 0;
     }

     .music-bar-right {
         flex-shrink: 0;
     }

     /* Scrolling Music Name */
     .music-name-container {
         width: 100%;
         overflow: hidden;
         white-space: nowrap;
         position: relative;
     }

     .music-name-scroll {
         display: inline-block;
         font-size: 0.75rem;
         color: #1db954;
         font-weight: bold;
         animation: scrollText 12s linear infinite;
         padding-right: 50px;
     }

     @keyframes scrollText {
         0% {
             transform: translateX(100%);
         }

         100% {
             transform: translateX(-100%);
         }
     }

     /* --- HUD (Stats Row) --- */
     .hud {
         padding: 10px 15px 5px 15px;
         display: flex;
         justify-content: space-between;
         align-items: flex-start;
         background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
         pointer-events: auto;
         flex-shrink: 0;
     }

     .hud-group {
         display: flex;
         gap: 10px;
         align-items: center;
     }

     .stat-card {
         background: rgba(0, 0, 0, 0.7);
         border-left: 3px solid #00ffff;
         padding: 5px 10px;
         border-radius: 4px;
         min-width: 70px;
         box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
     }

     .stat-label {
         font-size: 0.6rem;
         color: #aaa;
         font-weight: 700;
         display: block;
     }

     .stat-val {
         font-family: 'Orbitron';
         font-size: 1.2rem;
         color: #fff;
         font-weight: 700;
     }

     .unit {
         font-size: 0.7rem;
         color: #00ffff;
         font-family: 'Rajdhani';
     }

     /* Music Controls */
     .music-btn {
         background: none;
         border: none;
         color: #b3b3b3;
         font-size: 1.2rem;
         cursor: pointer;
         transition: color 0.2s;
         pointer-events: auto;
     }

     .music-btn:hover {
         color: #fff;
     }

     .music-btn.play-pause {
         background: #fff;
         color: #000;
         border-radius: 50%;
         width: 32px;
         height: 32px;
         display: flex;
         align-items: center;
         justify-content: center;
         font-size: 1rem;
     }

     .music-btn.play-pause:hover {
         transform: scale(1.05);
     }

     .progress-container {
         width: 100%;
         display: flex;
         align-items: center;
         gap: 8px;
     }

     .progress-time {
         font-size: 0.6rem;
         color: #b3b3b3;
         min-width: 30px;
     }

     .progress-bar-bg {
         flex-grow: 1;
         height: 4px;
         background: #4d4d4d;
         border-radius: 2px;
         cursor: pointer;
         position: relative;
         pointer-events: auto;
     }

     .progress-bar-fill {
         height: 100%;
         background: #1db954;
         width: 0%;
         border-radius: 2px;
         position: relative;
     }

     .progress-bar-fill::after {
         content: '';
         position: absolute;
         right: -4px;
         top: -3px;
         width: 10px;
         height: 10px;
         background: #fff;
         border-radius: 50%;
         opacity: 0;
         transition: opacity 0.2s;
     }

     .progress-bar-bg:hover .progress-bar-fill {
         background: #1ed760;
     }

     .progress-bar-bg:hover .progress-bar-fill::after {
         opacity: 1;
     }


     .icon-btn {
         width: 40px;
         height: 40px;
         border-radius: 50%;
         background: rgba(255, 255, 255, 0.1);
         border: 1px solid #555;
         color: #fff;
         font-size: 1.2rem;
         cursor: pointer;
         display: flex;
         align-items: center;
         justify-content: center;
         transition: 0.2s;
         pointer-events: auto;
     }

     .icon-btn:active {
         transform: scale(0.9);
         background: #00ffff;
         color: #000;
     }

     /* Fuel Bar */
     .fuel-container {
         display: flex;
         align-items: center;
         gap: 5px;
         background: rgba(0, 0, 0, 0.6);
         padding: 5px;
         border-radius: 15px;
         border: 1px solid #333;
     }

     .fuel-bar-track {
         width: 100px;
         height: 10px;
         background: #222;
         border-radius: 5px;
         overflow: hidden;
         position: relative;
     }

     .fuel-bar-fill {
         height: 100%;
         width: 100%;
         background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00);
         transition: width 0.2s;
     }

     /* Route Info */
     .route-display {
         text-align: right;
         margin-top: 5px;
     }

     .route-name {
         font-family: 'Orbitron';
         font-size: 1.1rem;
         color: #fff;
         text-shadow: 0 0 10px #00ffff;
     }

     /* Notifications */
     .city-popup {
         position: absolute;
         top: 20%;
         width: 100%;
         text-align: center;
         opacity: 0;
         transition: opacity 0.5s;
         z-index: 20;
         text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
     }

     .city-popup h2 {
         font-family: 'Orbitron';
         font-size: 3rem;
         margin: 0;
         color: #fff;
         text-transform: uppercase;
         text-shadow: 0 0 30px currentColor;
     }

     .city-popup p {
         font-size: 1rem;
         letter-spacing: 5px;
         margin: 0;
         color: #ddd;
     }

     /* Controls Hints */
     .controls-hint {
         position: absolute;
         bottom: 20px;
         right: 20px;
         text-align: right;
         font-size: 0.8rem;
         color: #888;
         background: rgba(0, 0, 0, 0.5);
         padding: 10px;
         border-radius: 8px;
     }

     .key {
         display: inline-block;
         background: #333;
         padding: 2px 6px;
         border-radius: 4px;
         color: #fff;
         font-weight: bold;
         margin: 0 2px;
     }

     /* Joystick - Bottom Left */
     #joystick-zone {
         position: absolute;
         bottom: 30px;
         left: 30px;
         width: 120px;
         height: 120px;
         pointer-events: auto;
     }

     .joystick-base {
         width: 100%;
         height: 100%;
         background: rgba(255, 255, 255, 0.1);
         border: 2px solid rgba(255, 255, 255, 0.3);
         border-radius: 50%;
         position: relative;
         backdrop-filter: blur(5px);
     }

     .joystick-stick {
         width: 50px;
         height: 50px;
         background: radial-gradient(circle at 30% 30%, #fff, #888);
         border-radius: 50%;
         position: absolute;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
     }

     /* NITRO Button - Bottom Right */
     #nitro-btn {
         position: absolute;
         bottom: 30px;
         right: 30px;
         width: 80px;
         height: 80px;
         border-radius: 50%;
         background: radial-gradient(circle, #ff00ff, #550055);
         border: 3px solid #fff;
         color: #fff;
         font-family: 'Orbitron';
         font-weight: bold;
         font-size: 0.9rem;
         display: flex;
         align-items: center;
         justify-content: center;
         text-align: center;
         box-shadow: 0 0 20px #ff00ff;
         cursor: pointer;
         pointer-events: auto;
         animation: pulseNitro 1s infinite;
     }

     #nitro-btn:active {
         transform: scale(0.95);
         background: #fff;
         color: #f0f;
     }

     @keyframes pulseNitro {
         0% {
             box-shadow: 0 0 20px #ff00ff;
         }

         50% {
             box-shadow: 0 0 40px #ff00ff, 0 0 10px #fff;
         }

         100% {
             box-shadow: 0 0 20px #ff00ff;
         }
     }

     /* Screens */
     #splash-screen,
     #game-over-screen {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: rgba(0, 0, 0, 0.95);
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         z-index: 100;
         pointer-events: auto;
     }

     .menu-content {
         text-align: center;
         width: 90%;
         max-width: 400px;
         background: rgba(20, 20, 20, 0.9);
         padding: 40px;
         border-radius: 15px;
         border: 1px solid #333;
         box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
         position: relative;
         overflow: hidden;
     }

     .menu-content::after {
         content: '';
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 4px;
         background: linear-gradient(90deg, #f0f, #0ff);
     }

     .title {
         font-family: 'Orbitron';
         font-size: 3rem;
         color: #fff;
         margin: 0;
         text-shadow: 0 0 20px #0ff;
     }

     .subtitle {
         font-size: 1rem;
         color: #ffaa00;
         margin-bottom: 20px;
         letter-spacing: 3px;
         text-transform: uppercase;
     }

     .btn {
         width: 100%;
         padding: 15px;
         font-family: 'Orbitron';
         font-size: 1.2rem;
         background: #0ff;
         border: none;
         color: #000;
         font-weight: bold;
         cursor: pointer;
         margin-top: 15px;
         transition: 0.2s;
         text-transform: uppercase;
     }

     .btn:hover {
         transform: scale(1.05);
         box-shadow: 0 0 20px #0ff;
     }

     .diff-select {
         width: 100%;
         padding: 10px;
         margin-bottom: 10px;
         background: #111;
         color: #fff;
         border: 1px solid #444;
         font-family: 'Orbitron';
     }

     .hidden {
         display: none !important;
     }

     /* Scanlines */
     .scanlines {
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 1px, transparent 1px, transparent 3px);
         pointer-events: none;
         z-index: 5;
     }

     /* Credits Footer */
     .credits-footer {
         margin-top: 20px;
         font-size: 0.8rem;
         color: #888;
         border-top: 1px solid #333;
         padding-top: 15px;
     }

     .credits-footer a {
         color: #00ffff;
         text-decoration: none;
     }
