        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial Black', sans-serif;
        }

        body {
            background: #000;
            overflow: hidden;
            touch-action: none;
        }

        #game-container {
            position: relative;
            width: 100vw;
            height: 100vh;
            background: linear-gradient(to bottom, #1a2a6c, #b21f1f, #fdbb2d);
        }

        #renderCanvas {
            width: 100%;
            height: 100%;
            display: block;
        }

        /* UI Overlays */
        .screen {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            z-index: 100;
            transition: opacity 0.3s, transform 0.3s;
        }

        .screen.hidden {
            opacity: 0;
            pointer-events: none;
            transform: scale(0.95);
        }

        h1 {
            font-size: 2rem;
            color: #ffcc00;
            text-shadow: 0 0 30px rgba(255, 204, 0, 0.8),
                0 5px 10px rgba(0, 0, 0, 0.5);
            margin-bottom: 1rem;
            letter-spacing: 3px;
        }

        .subtitle {
            color: #aaa;
            font-size: 1.2rem;
            margin-bottom: 2rem;
            font-family: Arial, sans-serif;
        }

        .btn {
            background: linear-gradient(135deg, #ffcc00, #ff9500);
            color: #000;
            border: none;
            padding: 20px 50px;
            font-size: 1.4rem;
            font-weight: 900;
            border-radius: 50px;
            cursor: pointer;
            text-transform: uppercase;
            box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4),
                0 5px 0 #b8860b;
            transition: all 0.1s;
            letter-spacing: 2px;
            margin-top: 30px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(255, 204, 0, 0.5),
                0 5px 0 #b8860b;
        }

        .btn:active {
            transform: translateY(3px);
            box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3),
                0 2px 0 #b8860b;
        }

        /* HUD */
        #hud {
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            padding: 0 30px;
            display: flex;
            justify-content: space-between;
            z-index: 50;
            pointer-events: none;
        }

        .stat {
            background: rgba(0, 0, 0, 0.7);
            padding: 15px 25px;
            border-radius: 15px;
            border: 3px solid #ffcc00;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        }

        .stat-label {
            font-size: 0.8rem;
            color: #ffcc00;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .stat-value {
            font-size: 1.4rem;
            font-weight: bold;
            color: #fff;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        .coin-value {
            color: #00ff88;
        }

        /* Game Over */
        #game-over h2 {
            font-size: 2rem;
            color: #ff4444;
            margin-bottom: 1rem;
            text-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
        }

        .final-score {
            font-size: 2rem;
            color: #ffcc00;
            margin: 20px 0;
            text-shadow: 0 0 30px rgba(255, 204, 0, 0.8);
        }

        /* Loading */
        .loading-bar {
            width: 300px;
            height: 8px;
            background: #333;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 30px;
        }

        .loading-fill {
            height: 100%;
            background: linear-gradient(90deg, #ffcc00, #ff9500);
            width: 0%;
            transition: width 0.3s;
            box-shadow: 0 0 20px rgba(255, 204, 0, 0.8);
        }

        /* Controls hint */
        .controls {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            text-align: center;
            z-index: 50;
            pointer-events: none;
        }

        .controls.hidden {
            opacity: 0;
        }

        /* Hearts */
        .hearts {
            display: flex;
            gap: 8px;
        }

        .heart {
            font-size: 1.8rem;
            transition: all 0.3s;
            filter: drop-shadow(0 0 8px rgba(255, 68, 68, 0.6));
        }

        .heart.lost {
            opacity: 0.2;
            filter: grayscale(100%);
            transform: scale(0.7);
        }

        /* Coin particles */
        .coin-particle {
            position: absolute;
            pointer-events: none;
            font-size: 1.5rem;
            color: #ffcc00;
            text-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
            z-index: 1000;
            animation: coinFloat 1s ease-out forwards;
        }

        @keyframes coinFloat {
            0% {
                transform: translate(0, 0) scale(1);
                opacity: 1;
            }

            100% {
                transform: translate(var(--tx), var(--ty)) scale(0);
                opacity: 0;
            }
        }

        .score-popup {
            position: absolute;
            pointer-events: none;
            font-size: 1.6rem;
            font-weight: bold;
            color: #00ff88;
            text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
            z-index: 1000;
            animation: scoreFloat 1s ease-out forwards;
        }

        @keyframes scoreFloat {
            0% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }

            100% {
                transform: translateY(-100px) scale(1.5);
                opacity: 0;
            }
        }

        .difficulty-select {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;


        }

        .difficulty-btn {
            padding: 10px 25px;
            font-size: 1rem;
            opacity: 0.6;
            background: linear-gradient(135deg, #43e97b, #38f9d7);
            box-shadow: 0 10px 30px rgba(56, 249, 215, 0.45),
                0 5px 0 #1fae9c;





        }

        .difficulty-btn.selected {
            opacity: 1;
            box-shadow: 0 0 20px rgba(255, 204, 0, 0.8);
        }