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

        :root {
            --primary-dark: #FFD700;
            --secondary: #2479cd;
            --success: #06d6a0;
            --danger: #ef476f;
            --warning: #ffd166;
            --active-yellow: #ffcc00;
            --dark: #121212;
            --light: #1e1e1e;
            --gray: #2d2d2d;
            --text: #d5d5d5;
            --text-light: #a0a0a0;
            --card-bg: #1E1E1E;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
            --transition: all 0.3s ease;
            --radius: 12px;
            --card-border: 1px solid rgba(255, 255, 255, 0.05);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            line-height: 1.7;
            color: var(--text);
            background: var(--dark);
            min-height: 100vh;
            background-image: 
                radial-gradient(circle at 15% 50%, rgba(6, 182, 212, 0.03) 0%, transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 25%);
            overflow-x: hidden;
            font-size: 17px;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            padding: 3rem 0 2rem;
        }

        .header h1 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .header p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.7;
            color: var(--text-light);
        }

        .card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 2.5rem;
            border: var(--card-border);
            backdrop-filter: blur(10px);
            margin-left: 64px;
        }

        .card-header {
            padding: 1.5rem 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(0, 0, 0, 0.2);
        }

        .card-header h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            margin: 0;
        }

        .card-body {
            padding: 2rem;
        }

        .alert {
            padding: 1rem;
            border-radius: var(--radius);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: flex-start;
            animation: fadeIn 0.8s ease;
            background: rgba(255, 255, 255, 0.05);
        }

        .alert-icon {
            margin-right: 1rem;
            font-size: 1.5rem;
            flex-shrink: 0;
            color: #1a7ad9;;
        }

        .alert strong {
            font-size: 1.2rem;
            display: block;
            margin-bottom: 0.8rem;
        }

        .instruction-list {
            margin-top: 0.8rem;
            padding-left: 1.5rem;
        }

        .instruction-list li {
            margin-bottom: 0.7rem;
            line-height: 1.6;
            color: var(--text);
        }

        .test-area {
            background: var(--gray);
            border-radius: var(--radius);
            padding: 2rem;
            position: relative;
            overflow: hidden;
            border: var(--card-border);
            box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
        }

        .test-area h3 {
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            color: var(--primary);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1.2rem;
            margin-top: 2rem;
            width: 100%;
        }

        .stat-card {
            background: var(--dark);
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border-left: 4px solid var(--primary);
            border: var(--card-border);
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--secondary);
            opacity: 0.03;
            z-index: 0;
        }

        .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .stat-card h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 0.8rem;
            position: relative;
            z-index: 1;
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 800;
            font-family: 'Fira Code', monospace;
            margin-bottom: 0.25rem;
            position: relative;
            z-index: 1;
        }

        .test-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 2rem;
            justify-content: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.9rem 1.8rem;
            background: #1a7ad9;
            color: white;
            font-weight: 600;
            border-radius: var(--radius);
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            font-size: 1rem;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
            background: #1a7ad9;
        }

        .btn i {
            margin-right: 0.6rem;
        }

        .current-action {
            background: rgba(0, 0, 0, 0.3);
            padding: 1.2rem;
            border-radius: var(--radius);
            margin-top: 2rem;
            text-align: center;
            font-weight: 600;
            min-height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: var(--card-border);
            color: var(--text-light);
            font-style: italic;
            font-size: 1.1rem;

        }

        .action-success {
            color: var(--success);
        }

        .action-warning {
            color: var(--warning);
        }

        .content-section {
            margin-bottom: 2.5rem;
        }

        .content-section h2 {
            font-size: 1.7rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
        }

        .content-section h3 {
            font-size: 1.4rem;
            margin: 1.5rem 0 0.8rem;
        }

        .content-section p {
            margin-bottom: 1.2rem;
            color: var(--text);
            line-height: 1.7;
        }

        .content-section ul, .content-section ol {
            margin-bottom: 1.5rem;
            padding-left: 2rem;
            color: var(--text);
        }

        .content-section li {
            margin-bottom: 0.7rem;
            line-height: 1.7;
        }

        .content-section strong {
            font-weight: 600;
        }

        .faq-item {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
        }

        .faq-question {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.7rem;
        }

        .footer {
            background: var(--dark);
            color: var(--text-light);
            padding: 2.5rem 0;
            margin-top: 4rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            text-align: center;
            font-size: 1rem;
        }

        /* Mouse Visualization Styles */
        .mouse-visualization {
            display: flex;
            justify-content: center;
            margin: 2.5rem 0;
        }

        .mouse-container {
            position: relative;
            width: 280px;
            height: 480px;
        }

        .mouse-body {
            position: absolute;
            width: 240px;
            height: 380px;
            background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
            border-radius: 120px 120px 140px 140px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
            top: 50px;
            left: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }

        .mouse-body::before {
            content: '';
            position: absolute;
            width: 90%;
            height: 90%;
            background: #2a2a2a;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 100px 100px 120px 120px;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
        }

        .mouse-buttons {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .mouse-button-vis {
            position: absolute;
            transition: all 0.1s ease-in-out;
            z-index: 10;
            border: 2px solid transparent;
        }

        .mouse-button-vis.clicked {
            border-color: var(--active-yellow) !important;
            box-shadow: 0 0 15px var(--active-yellow) !important;
        }
        
        #vis-left-button {
            width: 46%;
            height: 120px;
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
            border-radius: 100px 0 0 70px;
            top: 0;
            left: 0;
            border-right: 1px solid rgba(255, 255, 255, 0.05);

        }
        
        #vis-right-button {
            width: 46%;
            height: 120px;
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
            border-radius: 0 100px 70px 0;
            top: 0;
            right: 0;
            border-left: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .mouse-wheel-container {
            position: absolute;
            width: 50px;
            height: 120px;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 20;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
        }

        .scroll-arrow {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 20px;
            transition: all 0.2s ease;
            opacity: 0.7;

        }

        .scroll-arrow.active {
            color: var(--active-yellow);
            text-shadow: 0 0 10px var(--active-yellow);
            opacity: 1;
        }

        .mouse-wheel-area {
            position: relative;
            width: 40px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
        }

#vis-middle-button {
    width: 20px;
    height: 70px;
    background: linear-gradient(to bottom, 
        #2a2a2a 0%, 
        #1a1a1a 30%, 
        #000 70%, 
        #1a1a1a 100%);
    border-radius: 20px; /* Much larger for the pill shape */
    position: absolute; /* Crucial for top/left/transform to work */
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 
        /* Outer shadow for depth */
        0 2px 5px rgba(0, 0, 0, 0.8),
        /* Top inner shadow (darker groove) */
        inset 0 5px 10px rgba(0, 0, 0, 0.9),
        /* Bottom inner highlight */
        inset 0 -5px 8px rgba(255, 255, 255, 0.05);
    
    /* Adds the horizontal "notch" or groove lines */
    background-image: 
        repeating-linear-gradient(to bottom,
            transparent 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 2px,
            transparent 5px
        );
    
    /* Adds the central scroll wheel notch */
    position: relative; /* Needed for the pseudo-element */
}

/* Creates the central tactile notch/divot */
#vis-middle-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    border-radius: 2px;
}
        .side-buttons {
            position: absolute;
            left: -15px;
            top: 140px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        #vis-side-button-1, #vis-side-button-2 {
            width: 20px;
            height: 40px;
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
            border-radius: 6px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
        }

        .right-side-buttons {
            position: absolute;
            right: -15px;
            top: 140px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        #vis-side-button-3, #vis-side-button-4 {
            width: 20px;
            height: 40px;
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
            border-radius: 6px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
        }
        
        .mouse-led {
            position: absolute;
            width: 10px;
            height: 10px;
            background: var(--secondary);
            border-radius: 50%;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 0 0 10px var(--secondary);
            animation: pulse 2s infinite ease-in-out;
            z-index: 10;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 10px var(--secondary); }
            50% { box-shadow: 0 0 20px #4a86ff; }
            100% { box-shadow: 0 0 10px var(--secondary); }
        }
        
        /* Mode selector styles */
        .mouse-mode-selector {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: var(--radius);
        }

        .mode-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .mode-btn {
            padding: 0.7rem 1.5rem;
            background: var(--gray);
            color: var(--text);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius);
            cursor: pointer;
            transition: var(--transition);
        }

        .mode-btn.active {
            background: var(--secondary);
            color: white;
        }

        .mode-btn:hover {
            background: var(--secondary);
            color: white;
        }

        .gaming-hidden {
            display: none;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            body {
                padding: 15px;
                font-size: 16px;
            }
            
            .header h1 {
                font-size: 2.2rem;
            }
            
            .header p {
                font-size: 1.1rem;
            }
            
            .card-body {
                padding: 1.5rem;
            }
            
            .test-area {
                padding: 1.5rem;
            }
            
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .mouse-container {
                transform: scale(0.9);
            }
            
            .content-section h2 {
                font-size: 1.6rem;
            }
        }
        
        @media (max-width: 480px) {
            .header h1 {
                font-size: 1.8rem;
            }
            
            .test-controls {
                flex-direction: column;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }
            
            .mouse-container {
                transform: scale(0.8);
            }
            
            .card-header h2 {
                font-size: 1.5rem;
            }
            
            .content-section h2 {
                font-size: 1.4rem;
            }
            
            .content-section h3 {
                font-size: 1.2rem;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.95em;
    border: 1px solid #ddd; /* outer border */
}

th, td {
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #ddd; /* grid lines */
}

th {
    font-weight: 600;
}
        .emoji {
            font-size: 1.2em;
        }
        .faq-section {
            padding: 20px;
            border-radius: 5px;
            margin-top: 2em;
        }
        .faq-section h2 {
            margin-top: 0;
        }
        @media (max-width: 600px) {
            body {
                padding: 15px;
            }
            table {
                font-size: 0.85em;
            }
            th, td {
                padding: 8px 10px;
            }
        }