      * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: background-color 0.25s ease, color 0.2s ease, border-color 0.2s ease;
        }

        :root {
            --bg-gradient-start: #000000;
            --bg-gradient-end: #ffffff;
            --surface: #fae1dd;
            --surface-light: #f8ad9d;
            --text-main: black;
            --text-muted: black;
            --accent-primary: blue;
            --accent-hover: black;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --border-light: white;
            --shadow-md: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
            --tile-bg: #1e293b;
            --tile-text: #facc15;
            --footer-bg: #f08080;
            --answer-box-bg: white;
            --answer-box-border: #f59e0b;
        }

        body.dark {
            --bg-gradient-start: #0f172a;
            --bg-gradient-end: #020617;
            --surface: #8E8D8A;
            --surface-light: #334155;
            --text-main: #f1f5f9;
            --text-muted: #cbd5e1;
            --border-light: #475569;
            --shadow-md: 0 25px 45px -12px rgba(0, 0, 0, 0.5);
            --tile-bg: #0f172a;
            --tile-text: #facc15;
            --footer-bg: #0f172a;
            --answer-box-bg: #422006;
            --answer-box-border: #f59e0b;
        }

        body {
            background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
            font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Poppins', sans-serif;
            min-height: 100vh;
            padding: 20px;
        }

        .game-tool {
            max-width: 1600px;
            width: 100%;
            margin: 0 auto;
            border-radius: 48px;
            background: white;
            box-shadow: var(--shadow-md);
            overflow: hidden;
            border: 1px solid var(--border-light);
        }

        .tool-header {
            padding: 2rem 2rem;
            background: #f08080;
            border-bottom: 2px solid var(--border-light);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .brand-icon {
            font-size: 2.2rem;
            background: linear-gradient(135deg, var(--accent-primary), #c084fc);
            -webkit-background-clip: text;
            background-clip: text;
            color: blue;
        }
        .brand-text h1 {
            font-size: 1.7rem;
            font-weight: 800;
            letter-spacing: -0.3px;
            color: var(--text-main);
        }
        .brand-text p {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .nav-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .nav-btn {
            background: white;
            border: 1px solid var(--border-light);
            padding: 8px 18px;
            border-radius: 40px;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.85rem;
        }
        .nav-btn.active {
            background: var(--accent-primary);
            color: white;
            border-color: var(--accent-primary);
        }
        .nav-btn:hover {
            background: var(--accent-primary);
            color: white;
            border-color: var(--accent-primary);
        }
        .theme-icon {
            background: var(--border-light);
            border: none;
            padding: 8px 18px;
            border-radius: 40px;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-main);
        }

        .game-arena {
            padding: 2rem 2rem 1.8rem;
        }

        .stats-panel {
            display: flex;
            justify-content: space-between;
            background: var(--surface-light);
            padding: 12px 24px;
            border-radius: 80px;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 12px;
        }
        .stat-card {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
            background: #f08080;
            padding: 6px 18px;
            border-radius: 40px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            color: var(--text-main);
        }
        .stat-card i {
            font-size: 1.3rem;
            color: var(--accent-primary);
        }

        .timer-wrapper {
            text-align: center;
            margin-bottom: 28px;
        }
        .timer-clock {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            background: #f08080;
            padding: 8px 28px;
            border-radius: 60px;
            border: 2px solid var(--accent-primary);
            box-shadow: 0 8px 18px rgba(0,0,0,0.1);
        }
        .timer-clock i {
            font-size: 1.8rem;
            color: var(--accent-primary);
        }
        #timerDisplay {
            font-size: 2.8rem;
            font-weight: 800;
            font-family: 'Fira Mono', monospace;
            letter-spacing: 4px;
            color: var(--text-main);
        }

        .scramble-zone {
            background: var(--surface-light);
            border-radius: 36px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            text-align: center;
            min-height: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .tiles-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 14px;
        }
        .letter-tile {
            background: var(--tile-bg);
            color: var(--tile-text);
            width: 75px;
            height: 75px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.4rem;
            font-weight: 800;
            border-radius: 20px;
            box-shadow: 0 8px 0 rgba(0,0,0,0.3);
            text-transform: uppercase;
        }
        .placeholder-message {
            color: var(--text-muted);
            font-size: 1.3rem;
            font-weight: 500;
            text-align: center;
        }

        .answer-box {
            background: var(--answer-box-bg);
            border: 4px solid var(--answer-box-border);
            border-radius: 60px;
            padding: 18px 24px;
            margin: 15px 0;
            text-align: center;
            animation: pulse 0.5s ease;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        .answer-box strong {
            font-size: 1.8rem;
            letter-spacing: 2px;
            color: var(--accent-primary);
            display: block;
            margin-top: 8px;
        }
        .answer-box i {
            font-size: 1.8rem;
            margin-right: 10px;
            color: var(--warning);
        }
        @keyframes pulse {
            0% { transform: scale(0.96); opacity: 0.8; }
            100% { transform: scale(1); opacity: 1; }
        }

        .start-game-container {
            text-align: center;
            margin-bottom: 28px;
        }
        .btn-start {
            background: linear-gradient(135deg, var(--success), #059669);
            border: none;
            padding: 20px 50px;
            font-size: 1.8rem;
            font-weight: 800;
            border-radius: 80px;
            color: white;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 12px 25px rgba(0,0,0,0.3);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn-start:hover {
            transform: scale(1.02);
            box-shadow: 0 18px 35px rgba(0,0,0,0.4);
        }
        .btn-start:active {
            transform: scale(0.98);
        }
        .btn-start.hidden-start {
            display: none;
        }

        .action-group {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 24px;
        }
        .guess-input {
            flex: 2;
            padding: 14px 20px;
            font-size: 1.1rem;
            border: 2px solid var(--border-light);
            border-radius: 60px;
            background: var(--surface);
            color: var(--text-main);
            font-weight: 500;
            outline: none;
        }
        .guess-input:focus {
            border-color: var(--accent-primary);
        }
        .btn {
            padding: 12px 26px;
            border-radius: 60px;
            border: none;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        .btn-primary { background: var(--accent-primary); color: white; }
        .btn-primary:hover { background: var(--accent-hover); transform: scale(0.97);}
        .btn-warning { background: var(--warning); color: white; }
        .btn-info { background: #3b82f6; color: white; }
        .btn-danger { background: #ef4444; color: white; }
        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        
        .message-board {
            background: var(--surface-light);
            border-radius: 32px;
            padding: 14px 20px;
            margin: 15px 0;
            text-align: center;
            font-weight: 500;
            min-height: 80px;
        }

        .info-section {
            background: var(--surface);
            border-top: 1px solid var(--border-light);
            padding: 0rem 2rem;
            display: none;
        }
        .info-card {
            padding: 1.2rem 0;
            border-bottom: 1px solid var(--border-light);
        }
        .info-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-main);
        }
        .faq-item {
            margin-bottom: 1rem;
            border-left: 3px solid var(--accent-primary);
            padding-left: 1rem;
        }
        .faq-question {
            font-weight: 700;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            color: var(--text-main);
        }
        .faq-answer {
            margin-top: 6px;
            color: var(--text-muted);
            font-size: 0.9rem;
            display: none;
        }
        .faq-answer.show { display: block; }

        .pro-footer {
            background: var(--footer-bg);
            padding: 1.3rem 2rem;
            text-align: center;
            border-top: 1px solid var(--border-light);
            color: var(--text-muted);
            font-size: 0.8rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 12px;
        }

        @media (max-width: 768px) {
            .letter-tile { width: 55px; height: 55px; font-size: 1.8rem;}
            .btn { padding: 8px 16px; font-size: 0.8rem;}
            .tool-header { flex-direction: column; align-items: stretch; text-align: center;}
            .stats-panel { justify-content: center;}
            .timer-clock #timerDisplay { font-size: 2rem;}
            .btn-start { padding: 14px 35px; font-size: 1.3rem;}
            .answer-box strong { font-size: 1.2rem; }
        }