:root {
            --neon-cyan: #00f3ff;
            --neon-magenta: #ff00ff;
            --neon-yellow: #ffff00;
            --neon-green: #39ff14;
            --neon-orange: #ff6600;
            --neon-blue: #0066ff;
            --neon-red: #ff0040;
            --dark-bg: #0a0a0f;
            --grid-bg: #151520;
            --grid-line: rgba(0, 243, 255, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
   
        
        @keyframes scan {
            0% { transform: translateY(0); }
            100% { transform: translateY(100px); }
        }
        
        .tetris_main .container {
            display: flex;
            gap: 30px;
            padding: 20px;
            max-width: 1200px;
            position: relative;
            z-index: 1;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .tetris_main .game-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        
        .tetris_main .game-area h1 {
            font-family: inherit;
            font-size: clamp(2rem, 5vw, 4rem);
            font-weight: 900;
            text-align: center;
            letter-spacing: 8px;
            background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-yellow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            
            margin-bottom: 10px;
        }
        
        @keyframes glow {
            from { filter: drop-shadow(0 0 5px var(--neon-cyan)) drop-shadow(0 0 15px var(--neon-cyan)); }
            to { filter: drop-shadow(0 0 10px var(--neon-magenta)) drop-shadow(0 0 30px var(--neon-magenta)); }
        }
        
        .tetris_main #gameCanvas {
            background: var(--grid-bg);
            border: 3px solid var(--neon-cyan);
            box-shadow: 
                0 0 20px rgba(0, 243, 255, 0.5),
                0 0 40px rgba(0, 243, 255, 0.3),
                inset 0 0 60px rgba(0, 243, 255, 0.1);
            display: block;
            border-radius: 8px;
        }
        
        .tetris_main .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
            min-width: 200px;
        }
        
        .tetris_main .panel {
            background: rgba(21, 21, 32, 0.8);
            border: 2px solid var(--neon-cyan);
            border-radius: 12px;
            padding: 5px;
            box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
            backdrop-filter: blur(10px);
        }
        
        .tetris_main .panel h2 {
            font-family: inherit;
            font-size: .5rem;
            margin-bottom: 15px;
            color: var(--neon-yellow);
            text-transform: uppercase;
            letter-spacing: 3px;
            text-align: center;
        }
        
        .tetris_main .score-display {
            font-size: 1rem;
            font-weight: 700;
            text-align: center;
            color: var(--neon-cyan);
            text-shadow: 0 0 10px var(--neon-cyan);
            margin: 5px 0;
            padding: 5px;
        }
        
        .tetris_main .stat {
            display: flex;
            justify-content: space-between;
            margin: 10px 0;
            margin: 2px 10px;
            font-size: .7rem;
            color: var(--neon-green);
        }
        
        .tetris_main .stat-label {
            color: rgba(255, 255, 255, 0.7);
        }
        
        .tetris_main #nextPieceCanvas {
            background: rgba(10, 10, 15, 0.5);
            border: 2px solid var(--neon-magenta);
            border-radius: 8px;
            display: block;
            margin: 15px auto;
            box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
        }
        
        .tetris_main .controls {
            margin-top: 15px;
        }
        
        .tetris_main .controls button, .tetris_main .game-over button {
            font-family: inherit;
            background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(255, 0, 255, 0.2));
            border: 2px solid var(--neon-cyan);
            color: var(--neon-cyan);
            padding: 15px;
            font-size: 1rem;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 2px;
            box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
        }
        
        .tetris_main .controls button:hover, .tetris_main .game-over button:hover {
            background: linear-gradient(135deg, rgba(0, 243, 255, 0.4), rgba(255, 0, 255, 0.4));
            box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
            transform: translateY(-2px);
        }
        
        .tetris_main .controls button:active, .tetris_main .game-over button:active {
            transform: translateY(0);
        }
        
        .tetris_main #startBtn {
            grid-column: 1 / -1;
            background: linear-gradient(135deg, var(--neon-magenta), var(--neon-cyan));
            border-color: var(--neon-magenta);
            font-size: 1.2rem;
            padding: 8px;
        }
        
        .tetris_main #pauseBtn {
            grid-column: 1 / -1;
        }
        
        .tetris_main .game-over {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(10, 10, 15, 0.95);
            border: 3px solid var(--neon-red);
            border-radius: 16px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 0 40px rgba(255, 0, 64, 0.6);
            display: none;
            z-index: 1000;
            animation: gameOverPulse 1s ease-in-out infinite;
        }
        
        @keyframes gameOverPulse {
            0%, 100% { box-shadow: 0 0 40px rgba(255, 0, 64, 0.6); }
            50% { box-shadow: 0 0 60px rgba(255, 0, 64, 0.9); }
        }
        
        .tetris_main .game-over h2 {
            font-family: inherit;
            font-size: 3rem;
            color: var(--neon-red);
            margin-bottom: 20px;
            text-shadow: 0 0 20px var(--neon-red);
        }
        
        .tetris_main .game-over p {
            font-size: 1.5rem;
            margin: 10px 0;
            color: var(--neon-cyan);
        }
        
        @media (max-width: 768px) {
            .tetris_main .container {
                flex-direction: column;
                gap: 20px;
                padding: 10px;
            }
            
            .tetris_main .sidebar {
                flex-direction: row;
                flex-wrap: wrap;
                width: 100%;
            }
            
            .tetris_main .panel {
                flex: 1;
            }
            
            .tetris_main h1 {
                font-size: 2rem;
                letter-spacing: 4px;
            }
            
            
            .tetris_main #startBtn, .tetris_main #pauseBtn {
                grid-column: 1 / -1;
            }
        }
        
        @media (max-width: 480px) {
            .tetris_main .score-display {
                font-size: 1rem;
            }
            
            .tetris_main .panel h2 {
                font-size: .5rem;
            }
            
            .tetris_main .controls button, .tetris_main .game-over button {
                padding: 12px;
                font-size: 0.9rem;
            }
        }
        
        .tetris_main .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--neon-cyan);
            border-radius: 50%;
            pointer-events: none;
            animation: float 3s ease-in-out infinite;
            box-shadow: 0 0 10px var(--neon-cyan);
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
        }