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

        body {
            background: linear-gradient(140deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            min-height: 100vh;
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            position: relative;
        }

        
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { 
                transform: translateY(0px) rotate(0deg); 
                opacity: 0.4;
            }
            50% { 
                transform: translateY(-20px) rotate(180deg); 
                opacity: 0.8;
            }
        }

        .game-container {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 30px;
            align-items: start;
            padding: 20px;
            max-width: 1400px;
            width: 100%;
        }

        
        .left-panel {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(16px);
            border-radius: 20px;
            padding: 24px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .glass-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }

        
        .game-title {
            font-family: 'JetBrains Mono', monospace;
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient-shift 3s ease infinite;
            text-align: center;
            margin-bottom: 10px;
            letter-spacing: 2px;
        }

        @keyframes gradient-shift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .info-title {
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .info-value {
            font-size: 2rem;
            color: white;
            font-weight: 800;
            font-family: 'JetBrains Mono', monospace;
        }

       
        .selector-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-top: 12px;
        }

        .selector-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.8);
            padding: 12px 16px;
            border-radius: 12px;
            cursor: pointer;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            backdrop-filter: blur(8px);
        }

        .selector-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .selector-btn.active {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            border-color: rgba(255, 107, 107, 0.5);
            color: white;
            transform: scale(1.02);
        }

        /* Hangman container with neon glow */
        .hangman-container {
            background: rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 280px;
            backdrop-filter: blur(8px);
            position: relative;
            overflow: hidden;
        }

        .hangman-container::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
            border-radius: 20px;
            z-index: -1;
            animation: rotate-border 3s linear infinite;
        }

      
        .hangman-svg {
            width: 220px;
            height: 220px;
        }

        .hangman-part {
            stroke: #ffffff;
            stroke-width: 4;
            fill: none;
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            filter: drop-shadow(0 0 4px #ff6b6b);
        }

        .hangman-part.visible {
            opacity: 1;
            animation: draw-part 0.8s ease-out;
        }

        @keyframes draw-part {
            from { 
                stroke-dasharray: 100;
                stroke-dashoffset: 100;
            }
            to { 
                stroke-dasharray: 100;
                stroke-dashoffset: 0;
            }
        }

        
        .game-area {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        /* Word display */
        .word-display {
            text-align: center;
        }

        .word-letters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 2.8rem;
            font-weight: 800;
            font-family: 'JetBrains Mono', monospace;
            min-height: 80px;
            align-items: center;
        }

        .letter-box {
            width: 60px;
            height: 70px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(8px);
            color: white;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .letter-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .letter-box.revealed {
            background: rgba(72, 219, 251, 0.2);
            border-color: #48dbfb;
            color: #48dbfb;
            transform: scale(1.05);
            animation: letter-reveal 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .letter-box.revealed::before {
            left: 100%;
        }

        @keyframes letter-reveal {
            0% { 
                transform: scale(0) rotate(180deg);
                opacity: 0;
            }
            50% { 
                transform: scale(1.2) rotate(0deg);
                opacity: 1;
            }
            100% { 
                transform: scale(1.05) rotate(0deg);
                opacity: 1;
            }
        }

        /* Category hint */
        .category-hint {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 16px;
            font-weight: 500;
        }

        /* Modern keyboard */
        .keyboard-title {
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            text-align: center;
            margin-bottom: 20px;
            opacity: 0.9;
        }

        .alphabet-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
            gap: 10px;
            max-width: 700px;
            margin: 0 auto;
        }

        .letter-btn {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 14px;
            color: white;
            font-family: 'JetBrains Mono', monospace;
            font-weight: 600;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(8px);
            position: relative;
            overflow: hidden;
        }

        .letter-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
            transform: translate(-50%, -50%);
        }

        .letter-btn:hover::before {
            width: 100px;
            height: 100px;
        }

        .letter-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .letter-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .letter-btn.correct {
            background: linear-gradient(135deg, #48dbfb, #0abde3);
            border-color: #48dbfb;
            animation: correct-pulse 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .letter-btn.incorrect {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            border-color: #ff6b6b;
            animation: incorrect-shake 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes correct-pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); box-shadow: 0 0 20px #48dbfb; }
            100% { transform: scale(1.05); }
        }

        @keyframes incorrect-shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-8px) scale(1.02); }
            75% { transform: translateX(8px) scale(1.02); }
        }

        /* Modern controls */
        .controls {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .control-btn {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: none;
            padding: 16px 28px;
            border-radius: 50px;
            color: white;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            position: relative;
            overflow: hidden;
        }

        .control-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .control-btn:hover::before {
            left: 100%;
        }

        .control-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .control-btn.secondary {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        }

        .control-btn.secondary:hover {
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
        }

        .sound-toggle {
            position: fixed;
            top: 24px;
            right: 24px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            width: 64px;
            height: 64px;
            font-size: 1.8rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            color: white;
            backdrop-filter: blur(16px);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sound-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1) rotate(10deg);
        }

        
        .game-result-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .game-result-content {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 24px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 500px;
            transform: scale(0.8);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .game-result-overlay.show .game-result-content {
            transform: scale(1);
            opacity: 1;
        }

        .result-title {
            font-family: 'JetBrains Mono', monospace;
            font-size: 3rem;
            font-weight: 900;
            margin-bottom: 20px;
            text-shadow: 0 0 20px currentColor;
        }

        .result-title.win {
            background: linear-gradient(135deg, #48dbfb, #0abde3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .result-title.lose {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .result-word {
            font-size: 1.6rem;
            color: #feca57;
            margin: 24px 0;
            font-weight: 700;
        }

        .result-stats {
            margin: 24px 0;
            font-size: 1.3rem;
            color: white;
            font-weight: 600;
        }

        
        .instructions {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(12px);
            color: rgba(255, 255, 255, 0.8);
            padding: 12px 24px;
            border-radius: 50px;
            font-size: 0.85rem;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            max-width: 90%;
            font-weight: 500;
            margin-bottom: 50px;
        }

        /* Responsive design */
        @media (max-width: 1024px) {
            .game-container {
                grid-template-columns: 1fr;
                gap: 24px;
                align-items: center;
            }
            
            .left-panel {
                order: 2;
                max-width: 600px;
                width: 100%;
                margin: 0 auto;
            }
            
            .game-area {
                order: 1;
                width: 100%;
                max-width: 700px;
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .game-title {
                font-size: 2rem;
            }
            
            .word-letters {
                font-size: 2.2rem;
            }
            
            .letter-box {
                width: 50px;
                height: 60px;
            }
            
            .alphabet-grid {
                grid-template-columns: repeat(6, 1fr);
                gap: 8px;
            }
            
            .letter-btn {
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .game-container {
                padding: 16px;
            }
            
            .word-letters {
                font-size: 1.8rem;
                gap: 8px;
            }
            
            .letter-box {
                width: 40px;
                height: 50px;
            }
            
            .alphabet-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 6px;
            }
            
            .letter-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }

        
        .score-animation {
            position: fixed;
            font-size: 2.5rem;
            font-weight: 900;
            font-family: 'JetBrains Mono', monospace;
            background: linear-gradient(135deg, #48dbfb, #0abde3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: score-float 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
            pointer-events: none;
            z-index: 999;
            text-shadow: 0 0 20px rgba(72, 219, 251, 0.5);
        }

        @keyframes score-float {
            0% {
                opacity: 1;
                transform: translateY(0) scale(0.8);
            }
            50% {
                opacity: 1;
                transform: translateY(-30px) scale(1.2);
            }
            100% {
                opacity: 0;
                transform: translateY(-80px) scale(1.5);
            }
        }
    