        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            touch-action: none;
            overflow: hidden;
        }
        
        #game-container {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        
        #score-board {
            color: #fff;
            font-size: 1.2rem;
            text-align: center;
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            backdrop-filter: blur(10px);
        }
        
        #game-canvas {
            border: 3px solid #4a9eff;
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.8);
            box-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
        }
        
        #controls {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        
        .control-btn {
            width: 60px;
            height: 60px;
            border: none;
            border-radius: 50%;
            background: rgba(74, 158, 255, 0.3);
            color: white;
            font-size: 24px;
            cursor: pointer;
            touch-action: manipulation;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }
        
        .control-btn:active {
            background: rgba(74, 158, 255, 0.6);
            transform: scale(0.95);
        }
        
        #rotate-btn {
            background: rgba(255, 107, 107, 0.3);
        }
        
        #rotate-btn:active {
            background: rgba(255, 107, 107, 0.6);
        }
        
        #game-over {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            display: none;
            z-index: 100;
        }
        
        #restart-btn {
            margin-top: 15px;
            padding: 10px 30px;
            font-size: 1.1rem;
            background: #4a9eff;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
        }
        /* Swipe indicators */
        
        .swipe-hint {
            position: absolute;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.8rem;
            pointer-events: none;
        }
        
        @media (max-width: 400px) {
            .control-btn {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
            #score-board {
                font-size: 1rem;
                padding: 8px 15px;
            }
        }
        
        #pause-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 200;
            pointer-events: none;
            /* Let clicks pass through to buttons if needed, though the overlay itself is just visual */
        }
        
        #pause-overlay>div {
            pointer-events: auto;
            /* Re-enable clicks on the text if you want to make it clickable later */
        }