    :root {
            --primary: #6366f1;
            --primary-hover: #4f46e5;
            --success: #10b981;
            --error: #ef4444;
            --timer-red: #dc2626;
            --timer-red-light: #fef2f2;
            --timer-red-border: #fca5a5;
            --bg-gradient: linear-gradient(135deg, #f8fafc 100%, #e2e8f0 0%);
            --card-bg: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #cbd5e1;
            --radius: 12px;
        }

        html, body {
            min-height: 100vh;
            margin: 0;
            padding: 0;
            background: var(--bg-gradient);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            color: var(--text-main);
            display: flex;
            flex-direction: column;
            scroll-behavior: smooth;
        }

        #main-content-wrapper {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            width: 100vw;
            box-sizing: border-box;
        }

        /* Fixed Header Styles */
        .Navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 65px;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding: 0 1.5rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            box-sizing: border-box;
        }

        .gradient-effect {
            font-size: 17px;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 1px;
            background: linear-gradient(to right, #38bdf8, #818cf8, #34d399, #38bdf8);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientScroll 3s linear infinite;
        }

        @keyframes gradientScroll {
            to { background-position: 200% center; }
        }

        .nav-right-cluster {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .score-badge {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #38bdf8;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .status-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #cbd5e1;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .status-pulse {
            width: 10px;
            height: 10px;
            background-color: #34d399;
            border-radius: 50%;
            box-shadow: 0 0 8px #34d399;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(0.95); opacity: 0.8; }
            50% { transform: scale(1.2); opacity: 1; }
            100% { transform: scale(0.95); opacity: 0.8; }
        }

        /* Main Container */
        .main-container {
            margin-top: 80px;
            margin-bottom: 70px;
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 12px;
            box-sizing: border-box;
        }

        .dashboard-stack {
            display: flex;
            flex-direction: column;
            gap: 14px;
            width: 100%;
            max-width: 750px;
            box-sizing: border-box;
        }

        /* Accordion Panel Styles */
        .accordion-panel {
            background: var(--card-bg);
            border: 2px solid var(--border);
            border-radius: var(--radius);
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .accordion-header {
            padding: 16px 20px;
            font-size: 0.95rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--primary);
            background: #f8fafc;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid transparent;
            cursor: pointer;
            user-select: none;
        }

        .accordion-panel.active .accordion-header {
            border-bottom: 1px solid var(--border);
            background: #f1f5f9;
        }

        .accordion-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0 20px;
            background: var(--card-bg);
        }

        .accordion-panel.active .accordion-body {
            max-height: 2000px;
            padding: 20px;
            overflow: visible;
        }

        .panel-text {
            font-size: 1.05rem;
            line-height: 1.6;
            color: var(--text-main);
            margin: 0;
            font-weight: 600;
        }

        /* Math Whiteboard Step Cards */
        .whiteboard-step {
            background: #f8fafc;
            border-left: 4px solid var(--primary);
            border-top: 1px solid var(--border);
            border-right: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            border-radius: 0 8px 8px 0;
            padding: 12px 16px;
            margin-bottom: 10px;
        }

        .step-title {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-muted);
            margin-bottom: 4px;
            font-weight: 700;
        }

        .math-formula {
            font-family: 'Courier New', Courier, monospace;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            padding: 8px 12px;
            border-radius: 6px;
            font-weight: 700;
            color: #0f172a;
            display: inline-block;
            margin: 4px 0;
        }

        /* Question UI Controls */
        .timer-badge {
            background: var(--timer-red-light);
            color: var(--timer-red);
            font-size: 0.85rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid var(--timer-red-border);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .timer-container {
            width: 100%;
            height: 12px;
            background: #e2e8f0;
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 16px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
        }

        .timer-bar {
            height: 100%;
            width: 100%;
            background: linear-gradient(90deg, #dc2626, #ef4444);
            border-radius: 6px;
            transition: width linear 1s;
        }

        .options-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 12px;
        }

        .option-btn {
            background: #f8fafc;
            border: 2px solid var(--border);
            border-radius: 10px;
            padding: 14px 16px;
            font-size: 1.05rem;
            font-weight: 700;
            cursor: pointer;
            text-align: left;
            transition: all 0.2s;
            color: var(--text-main);
        }

        .option-btn:hover:not(:disabled) {
            background: #eef2ff;
            border-color: var(--primary);
        }

        .option-btn.correct {
            background: #ecfdf5 !important;
            border-color: var(--success) !important;
            color: #065f46;
        }

        .option-btn.incorrect {
            background: #fef2f2 !important;
            border-color: var(--error) !important;
            color: #991b1b;
        }

        /* Static Footer */
        .site-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1.5rem;
            font-size: 12px;
            color: #94a3b8;
            background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
            border-top: 1px solid #1e293b;
            z-index: 1000;
            box-sizing: border-box;
        }

        .nav-controls {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .control-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .control-btn:hover {
            background: var(--primary-hover);
        }

        .control-btn.secondary {
            background: #475569;
        }
        .control-btn.secondary:hover {
            background: #334155;
        }

        @media(max-width: 600px) {
            .options-container {
                grid-template-columns: 1fr;
            }
            .Navbar {
                padding: 0 1rem;
            }
            .gradient-effect {
                font-size: 14px;
            }
        }