
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Orbitron', sans-serif;
            background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            color: #ffffff;
        }

        .game-container {
            background: rgba(10, 10, 30, 0.7);
            border-radius: 20px;
            padding: 30px;
            backdrop-filter: blur(10px);
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
            max-width: 95vw;
            width: 100%;
            border: 2px solid #00f2ff;
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 3rem;
            background: linear-gradient(45deg, #ff00ff, #00f2ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 30px rgba(255, 0, 255, 0.5);
        }

        .header p {
            font-size: 1.2rem;
            color: #00f2ff;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
        }

        .controls-panel {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            margin-bottom: 20px;
            padding: 15px;
            background: rgba(0, 255, 255, 0.1);
            border-radius: 10px;
            border: 1px solid #00f2ff;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
        }

        .difficulty-selector {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ffffff;
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
        }
        #difficulty {
            color: rgb(224, 43, 224);
            background: #0f0c29;
        }
        label {
            color: aqua;
        }

        select, button {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(45deg, #ff00ff, #00f2ff);
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 30px rgba(255, 0, 255, 0.3);
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }

        select {
            background: linear-gradient(45deg, #00f2ff, #ff00ff);
        }

        button:hover, select:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(0, 255, 255, 0.7), 0 0 50px rgba(255, 0, 255, 0.5);
        }

        button:active {
            transform: scale(0.95);
        }

        .game-board {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        #chessCanvas {
            background: transparent;
            border-radius: 12px;
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.6), 0 0 60px rgba(255, 0, 255, 0.4);
            max-width: 90vw;
            max-height: 90vw;
            touch-action: manipulation;
            border: 2px solid #00f2ff;
        }

        .game-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 500px;
            margin-top: 20px;
            padding: 15px;
            background: rgba(0, 255, 255, 0.1);
            border-radius: 10px;
            border: 1px solid #00f2ff;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
        }

        .player-turn {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            font-size: 1.2rem;
            color: #00f2ff;
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
        }

        .turn-indicator {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #ff00ff;
            box-shadow: 0 0 15px #ff00ff;
            transition: all 0.3s ease;
        }

        .turn-indicator.white {
            background: #00f2ff;
            box-shadow: 0 0 15px #00f2ff;
        }

        .turn-indicator.black {
            background: #ff00ff;
            box-shadow: 0 0 15px #ff00ff;
        }

        .moves-list {
            margin-top: 20px;
            background: rgba(0, 255, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            max-height: 200px;
            overflow-y: auto;
            width: 100%;
            max-width: 500px;
            border: 1px solid #00f2ff;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
        }

        .moves-list h3 {
            margin-bottom: 10px;
            font-size: 1.3rem;
            color: #00f2ff;
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
        }

        .move-history {
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            color: #ffffff;
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
        }

        .status-message {
            margin-top: 15px;
            padding: 10px;
            border-radius: 8px;
            background: rgba(255, 0, 255, 0.3);
            text-align: center;
            font-weight: 600;
            display: none;
            color: #ffffff;
            box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
        }

        .thinking-indicator {
            display: none;
            margin-top: 10px;
            font-style: italic;
            color: #00f2ff;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }

        #pauseModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        #pauseModal .modal-content {
            background: rgba(10,10,30,0.7);
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            border: 2px solid #00f2ff;
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
        }

        #pauseModal h2 {
            color: #00f2ff;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
            margin-bottom: 20px;
        }

        .music-control {
            position: fixed;
            top: 20px;
            right: 20px;
            font-size: 24px;
            background: linear-gradient(45deg, #ff00ff, #00f2ff);
            padding: 10px;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
            z-index: 1000;
        }

        .music-control:hover {
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
        }

        @media (max-width: 768px) {
            .game-info {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            button, select {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .header h1 {
                font-size: 2.2rem;
            }

            .controls-panel {
                flex-direction: column;
                align-items: center;
            }

            .music-control {
                top: 10px;
                right: 10px;
                font-size: 20px;
                padding: 8px;
            }
        }

        @media (max-width: 480px) {
            .game-container {
                padding: 20px;
            }

            .header h1 {
                font-size: 1.8rem;
            }

            .header p {
                font-size: 1rem;
            }

            .player-turn {
                font-size: 1rem;
            }
        }

        .creator-credit {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(9, 177, 223, 0.219);
            border: 2px solid #2f26dc;
            border-radius: 12px;
            padding: 8px 16px;
            color: #ffffff;
            font-family: 'Arial', sans-serif;
            font-size: 12px;
            font-weight: 600;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.428);
            box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3),
                        inset 0 1px 0 rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            z-index: 9999;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .creator-credit:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4),
                        inset 0 1px 0 rgba(255, 255, 255, 0.2);
            border-color: #ef4444;
        }

        .creator-credit::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #dc2626, #ef4444, #f87171, #dc2626);
            border-radius: 14px;
            z-index: -1;
            animation: borderGlow 3s ease-in-out infinite;
        }

        @keyframes borderGlow {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }

        @media (max-width: 640px) {
            .creator-credit {
                bottom: 10px;
                right: 10px;
                font-size: 11px;
                padding: 6px 12px;
            }
        }

        #chessCanvas {
            background: url(/ims/bords.gif) no-repeat center/cover;
        }