
        :root {
            --neon-blue: #00f2ff;
            --neon-pink: #ff007f;
            --neon-purple: #b026ff;
            --road-grey: #1a1a1a;
        }

        * { margin: 0; padding: 0; box-sizing: border-box;}
        
        body { 
            background: linear-gradient(180deg, #0a0a0a 0%, #1a0a2e 100%);
            overflow: hidden; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            height: 100vh;
            touch-action: none;
        }

        #game-container {
            position: relative;
            width: 100%;
            max-width: 500px;
            height: 100vh;
            background: var(--road-grey);
            overflow: hidden;
            box-shadow: 0 0 50px rgba(0, 242, 255, 0.3);
        }

        canvas { width: 100%; height: 100%; display: block; }

        /* Preloader */
        #preloader {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle, #1a0a2e 0%, #0a0a0a 100%);
            display: flex; flex-direction: column;
            justify-content: center; align-items: center;
            z-index: 30;
            animation: fadeIn 0.5s;
        }

        .loader-logo {
            font-size: 4rem;
            color: var(--neon-blue);
            text-shadow: 0 0 30px var(--neon-blue), 0 0 60px var(--neon-pink);
            animation: pulse 1.5s ease-in-out infinite;
            margin-bottom: 30px;
        }

        .loading-bar {
            width: 250px;
            height: 6px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .loading-progress {
            height: 100%;
            background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
            width: 0%;
            transition: width 0.3s;
            box-shadow: 0 0 20px var(--neon-blue);
        }

        .loading-text {
            color: white;
            margin-top: 15px;
            font-size: 0.9rem;
            opacity: 0.7;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.05); opacity: 0.8; }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }

        .overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            display: flex; flex-direction: column;
            justify-content: center; align-items: center;
            background: rgba(0,0,0,0.9);
            color: white;
            z-index: 20;
            text-align: center;
            animation: fadeIn 0.3s;
        }

        .hidden { display: none !important; }

        h1 { 
            font-size: 3.5rem; 
            background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
            margin-bottom: 15px;
            animation: glow 2s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { filter: drop-shadow(0 0 10px var(--neon-blue)); }
            50% { filter: drop-shadow(0 0 25px var(--neon-pink)); }
        }

        .subtitle {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.7);
            margin-bottom: 10px;
        }
        
        .btn {
            padding: 18px 60px;
            font-size: 1.3rem;
            background: transparent;
            border: 3px solid var(--neon-pink);
            color: var(--neon-pink);
            cursor: pointer;
            text-transform: uppercase;
            font-weight: bold;
            transition: all 0.3s;
            margin-top: 25px;
            position: relative;
            overflow: hidden;
                border-radius: 40px 60px;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--neon-pink);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
            z-index: -1;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn:hover { 
            color: white; 
            box-shadow: 0 0 30px var(--neon-pink);
            transform: scale(1.05);
        }

        .settings-btn {
            padding: 10px 20px;
            font-size: 0.9rem;
            margin-top: 15px;
            border-color: rgba(255,255,255,0.3);
            color: rgba(255,255,255,0.6);
        }

        .settings-btn:hover {
            color: white;
            border-color: white;
        }

        #hud {
            position: absolute;
            top: 20px; left: 0; width: 100%;
            display: flex; justify-content: space-around;
            color: white; pointer-events: none;
            font-weight: bold; font-size: 1.3rem;
            z-index: 10;
        }

        .hud-item {
            background: rgba(0,0,0,0.5);
            padding: 8px 20px;
            border-radius: 20px;
            border: 2px solid rgba(0, 242, 255, 0.3);
            backdrop-filter: blur(10px);
        }

        #controls {
            position: absolute;
            bottom: 40px; width: 100%;
            display: flex; justify-content: space-between;
            padding: 0 30px;
            z-index: 10;
        }

        .ctrl-btn {
            width: 90px; height: 90px;
            background: rgba(0, 242, 255, 0.1);
            border: 3px solid var(--neon-blue);
            border-radius: 50%;
            color: var(--neon-blue);
            display: none;
            justify-content: center; align-items: center;
            font-size: 2.5rem;
            user-select: none;
            transition: all 0.2s;
            backdrop-filter: blur(10px);
            box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
        }

        .ctrl-btn:active {
            transform: scale(0.9);
            background: rgba(0, 242, 255, 0.3);
            box-shadow: 0 0 30px var(--neon-blue);
        }

        .sound-toggle {
            position: absolute;
            top: 20px;
            right: 15px;
            width: 50px;
            height: 50px;
            background: rgba(0,0,0,0.5);
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 25;
            transition: all 0.3s;
        }

        .sound-toggle:hover {
            background: rgba(255,255,255,0.1);
            border-color: var(--neon-blue);
        }

        .sound-toggle.muted {
            opacity: 0.5;
        }

        @media (max-width: 768px) { 
            .ctrl-btn { display: flex; }
            h1 { font-size: 2.5rem; }
        }
