        :root {
            --bg: var(--mv-bg);
            --bg-elevated: var(--mv-text-inverse);
            --bg-primary: var(--mv-bg);
            --bg-secondary: var(--mv-text-inverse);
            --bg-card: var(--mv-elev-1);
            --border: var(--mv-border-soft); --text: var(--mv-text);
            --text-secondary: var(--mv-text-3); --text-muted: var(--mv-text-2);
            --accent: var(--mv-accent);
            --accent-1: var(--mv-accent);
            --accent-2: var(--mv-accent-soft);
            --accent-3: var(--mv-accent);
            --success: var(--mv-success);
            --warning: var(--mv-warning);
            --danger: var(--mv-danger);
            --purple: var(--mv-accent);
            --gradient-1: linear-gradient(135deg, var(--mv-accent), var(--mv-accent-soft));
            --gradient-2: linear-gradient(135deg, var(--mv-accent), var(--mv-accent));
            --glass: rgba(255, 255, 255, 0.05);
            --memory-color: var(--mv-accent);
            --attention-color: var(--mv-warning);
            --logic-color: var(--mv-accent);
            --endurance-color: var(--mv-success);
            --font-display: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            --font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;}

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

        html[lang], html[lang] body {
            background: var(--mv-bg) !important;
            background-image: none !important;
            background-attachment: initial !important;}
        body {
            font-family: var(--font-body);
            color: var(--text);
            min-height: 100vh;
            line-height: 1.6;
            overflow-x: hidden;}

        /* ========================================
           AMBIENT BACKGROUND
           ======================================== */
        .ambient-bg {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;}

        .glow-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            animation: orbFloat 20s infinite ease-in-out;}

        @keyframes orbFloat {
            0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15;}
            33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.25;}
            66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.2;}
        }

        .zen-circles {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;}

        .zen-circle {
            position: absolute;
            border: 1px solid rgba(110, 193, 255, 0.1);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: breathe 8s ease-in-out infinite;}

        @keyframes breathe {
            0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3;}
            50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.5;}
        }

        .floating-particles {
            position: absolute;
            inset: 0;}

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(110, 193, 255, 0.4);
            border-radius: 50%;
            animation: floatUp 15s infinite linear;}

        @keyframes floatUp {
            0% { transform: translateY(100vh) scale(0); opacity: 0;}
            10% { opacity: 1;}
            90% { opacity: 1;}
            100% { transform: translateY(-100vh) scale(1); opacity: 0;}
        }

        /* ========================================
           PROGRESS BAR (FIXED TOP)
           ======================================== */
        .progress-header {
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            z-index: 999;
            background: rgba(10, 22, 40, 0.95);
            border-bottom: 1px solid var(--border);
            padding: 20px 30px;
            opacity: 0;
            transform: translateY(-100%);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);}

        .progress-header.visible {
            opacity: 1;
            transform: translateY(0);}

        .progress-content {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 25px;}

        .category-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 700;
            min-width: 140px;
            justify-content: center;
            transition: all 0.4s ease;}

        .category-indicator.memory { background: rgba(236, 72, 153, 0.2); color: var(--memory-color); border: 1px solid rgba(236, 72, 153, 0.3);}
        .category-indicator.attention { background: rgba(245, 158, 11, 0.2); color: var(--attention-color); border: 1px solid rgba(245, 158, 11, 0.3);}
        .category-indicator.logic { background: rgba(99, 102, 241, 0.2); color: var(--logic-color); border: 1px solid rgba(99, 102, 241, 0.3);}
        .category-indicator.endurance { background: rgba(16, 185, 129, 0.2); color: var(--endurance-color); border: 1px solid rgba(16, 185, 129, 0.3);}

        .progress-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;}

        .progress-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);}

        .progress-track {
            height: 12px;
            background: var(--mv-elev-3);
            border-radius: 20px;
            overflow: hidden;
            position: relative;}

        .progress-fill {
            height: 100%;
            border-radius: 20px;
            transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;}

        .progress-fill.memory { background: linear-gradient(90deg, var(--mv-accent), #f472b6);}
        .progress-fill.attention { background: linear-gradient(90deg, var(--mv-warning), var(--mv-warning));}
        .progress-fill.logic { background: linear-gradient(90deg, var(--mv-accent), var(--mv-accent));}
        .progress-fill.endurance { background: linear-gradient(90deg, var(--mv-success), var(--mv-success));}

        .progress-fill::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, var(--mv-elev-4), transparent);
            animation: shimmer 2s infinite;}

        @keyframes shimmer {
            0% { transform: translateX(-100%);}
            100% { transform: translateX(100%);}
        }

        .progress-segments {
            position: absolute;
            inset: 0;
            display: flex;}

        .progress-segment {
            flex: 1;
            border-right: 2px solid rgba(10, 22, 40, 0.5);}

        .progress-segment:last-child {
            border-right: none;}

        .progress-stats {
            display: flex;
            align-items: center;
            gap: 20px;}

        .progress-counter {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);}

        .progress-counter span {
            color: var(--text-muted);
            font-weight: 400;}

        .pause-btn {
            padding: 10px 20px;
            background: var(--glass);
            border: 1px solid var(--border);
            border-radius: 12px;
            color: var(--text);
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;}

        .pause-btn:hover {
            background: var(--mv-elev-4);
            border-color: var(--accent-1);}

        /* ========================================
           MAIN CONTAINER
           ======================================== */
        .main-container {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            padding-top: 70px;}

        .screen {
            display: none;
            animation: fadeSlide 0.6s ease;}

        .screen.active {
            display: block;}

        @keyframes fadeSlide {
            from { opacity: 0; transform: translateY(30px);}
            to { opacity: 1; transform: translateY(0);}
        }

        /* ========================================
           WELCOME SCREEN
           ======================================== */
        .welcome-screen {
            min-height: calc(100vh - 70px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 60px 30px;}

        /* ============================================
           NEURAL COSMOS — Welcome Screen
           ============================================ */
        .welcome-card {
            max-width: 100%;
            width: 100%;
            padding: 0;
            text-align: center;}

        .nc-cosmos {
            position: relative;
            min-height: 70vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 80px 32px 48px;
            overflow: hidden;}

        .nc-canvas { position: absolute; inset: 0; z-index: 0;}

        .nc-nebula {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            pointer-events: none;
            animation: ncNebula 20s ease-in-out infinite;}
        .nc-neb-1 { width: 600px; height: 600px; top: -20%; right: -15%; background: radial-gradient(circle, rgba(110,193,255,0.15), transparent 70%);}
        .nc-neb-2 { width: 500px; height: 500px; bottom: -15%; left: -10%; background: radial-gradient(circle, rgba(99,102,241,0.12), transparent 70%); animation-delay: -7s; animation-direction: reverse;}
        .nc-neb-3 { width: 350px; height: 350px; top: 30%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(236,72,153,0.08), transparent 70%); animation-delay: -3s;}
        @keyframes ncNebula { 0%,100% { transform: scale(1); opacity: 1;} 50% { transform: scale(1.2); opacity: 0.7;} }

        .nc-ring {
            position: absolute;
            border-radius: 50%;
            border: 1px solid rgba(110,193,255,0.06);
            pointer-events: none;
            animation: ncRingSpin 60s linear infinite;}
        .nc-ring-1 { width: 500px; height: 500px; top: 50%; left: 50%; transform: translate(-50%,-50%);}
        .nc-ring-2 { width: 700px; height: 700px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-direction: reverse; animation-duration: 90s; border-style: dashed; border-color: rgba(99,102,241,0.04);}
        .nc-ring-3 { width: 900px; height: 900px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 120s; border-color: rgba(110,193,255,0.03);}
        @keyframes ncRingSpin { to { transform: translate(-50%,-50%) rotate(360deg);} }

        .nc-ring-dot {
            position: absolute;
            width: 6px; height: 6px;
            border-radius: 50%;
            background: var(--accent-1);
            box-shadow: 0 0 12px var(--accent-1), 0 0 4px var(--accent-1);}
        .nc-ring-1 .nc-ring-dot { top: 0; left: 50%; transform: translate(-50%,-50%);}
        .nc-ring-2 .nc-ring-dot { bottom: 0; left: 50%; transform: translate(-50%,50%); background: var(--logic-color); box-shadow: 0 0 12px var(--logic-color);}

        .nc-core {
            position: relative;
            z-index: 2;
            width: 130px; height: 130px;
            margin-bottom: 40px;}
        .nc-core-glow {
            position: absolute; inset: -20px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(110,193,255,0.25), transparent 70%);
            animation: ncCoreGlow 3s ease-in-out infinite;}
        @keyframes ncCoreGlow { 0%,100% { transform: scale(1); opacity: 0.8;} 50% { transform: scale(1.15); opacity: 1;} }

        .nc-core-shape {
            position: relative;
            width: 100%; height: 100%;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(110,193,255,0.15), rgba(99,102,241,0.1));
            border: 2px solid rgba(110,193,255,0.2);
            display: flex; align-items: center; justify-content: center;}
        .nc-core-shape i {
            font-size: 3rem; color: var(--mv-text);}
        .nc-core-orbit {
            position: absolute; inset: -12px;
            border-radius: 50%;
            border: 1px dashed rgba(110,193,255,0.15);
            animation: ncRingSpin 8s linear infinite;}
        .nc-core-orbit::before {
            content: '';
            position: absolute; top: -4px; left: 50%;
            width: 8px; height: 8px;
            border-radius: 50%;
            background: var(--memory-color);
            box-shadow: 0 0 10px var(--memory-color);
            transform: translateX(-50%);}
        .nc-core-orbit::after {
            content: '';
            position: absolute; bottom: -4px; left: 50%;
            width: 8px; height: 8px;
            border-radius: 50%;
            background: var(--endurance-color);
            box-shadow: 0 0 10px var(--endurance-color);
            transform: translateX(-50%);}

        .nc-tag {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 7px 20px; border-radius: 50px;
            background: rgba(110,193,255,0.06);
            border: 1px solid rgba(110,193,255,0.12);
            color: var(--accent-1);
            font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
            margin-bottom: 24px;
            position: relative; z-index: 2;}
        .nc-tag i { font-size: 0.65rem;}

        .nc-title {
            font-size: clamp(2.2rem, 5.5vw, 3.6rem);
            font-weight: 900;
            color: var(--mv-text);
            line-height: 1.1;
            margin-bottom: 20px;
            position: relative; z-index: 2;}
        .nc-title-grad {
            display: block;
            animation: ncGradShift 6s ease-in-out infinite; color: var(--mv-text);}
        @keyframes ncGradShift { 0%,100% { background-position: 0% center;} 50% { background-position: 200% center;} }

        .nc-desc {
            font-size: 1.1rem; color: var(--mv-accent);
            line-height: 1.75;
            max-width: 500px;
            margin: 0 auto 44px;
            position: relative; z-index: 2;}

        .nc-metrics {
            display: flex; gap: 1px;
            background: var(--mv-elev-2);
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 48px;
            position: relative; z-index: 2;}
        .nc-metric {
            flex: 1;
            padding: 20px 28px;
            background: rgba(10,22,40,0.6);
            text-align: center;
            transition: background 0.3s;}
        .nc-metric:hover { background: rgba(110,193,255,0.05);}
        .nc-metric-val {
            font-size: 2rem; font-weight: 900; color: var(--mv-text);
            line-height: 1;}
        .nc-metric-label {
            font-size: 0.68rem; color: var(--text-muted);
            text-transform: uppercase; margin-top: 6px;}

        /* Category orbit cards */
        .nc-categories {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            width: 100%;
            max-width: 800px;
            margin-bottom: 48px;
            position: relative; z-index: 2;}
        @media (max-width: 768px) { .nc-categories { grid-template-columns: repeat(2, 1fr);} }
        @media (max-width: 420px) { .nc-categories { grid-template-columns: 1fr 1fr; gap: 12px;} }

        .nc-cat {
            position: relative;
            padding: 28px 16px 24px;
            border-radius: 20px;
            background: var(--mv-elev-1);
            border: 1px solid var(--mv-border-soft);
            transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
            overflow: hidden;}
        .nc-cat::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0; height: 3px;
            border-radius: 20px 20px 0 0;
            opacity: 0.6;
            transition: opacity 0.3s;}
        .nc-cat:hover { border-color: rgba(110,193,255,0.15);}
        .nc-cat:hover::before { opacity: 1;}

        .nc-cat.memory::before { background: linear-gradient(90deg, var(--memory-color), transparent);}
        .nc-cat.attention::before { background: linear-gradient(90deg, var(--attention-color), transparent);}
        .nc-cat.logic::before { background: linear-gradient(90deg, var(--logic-color), transparent);}
        .nc-cat.endurance::before { background: linear-gradient(90deg, var(--endurance-color), transparent);}

        .nc-cat:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.3);}

        .nc-cat-icon {
            width: 52px; height: 52px;
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 16px;
            font-size: 1.3rem;
            position: relative;}
        .nc-cat-icon::after {
            content: '';
            position: absolute; inset: 0;
            border-radius: 16px;
            opacity: 0;
            transition: opacity 0.4s, transform 0.4s;
            transform: scale(0.8);}
        .nc-cat:hover .nc-cat-icon::after { opacity: 1; filter: blur(12px);}

        .nc-cat.memory .nc-cat-icon { background: rgba(236,72,153,0.12); color: var(--memory-color);}
        .nc-cat.memory .nc-cat-icon::after { background: rgba(236,72,153,0.2);}
        .nc-cat.attention .nc-cat-icon { background: rgba(245,158,11,0.12); color: var(--attention-color);}
        .nc-cat.attention .nc-cat-icon::after { background: rgba(245,158,11,0.2);}
        .nc-cat.logic .nc-cat-icon { background: rgba(99,102,241,0.12); color: var(--logic-color);}
        .nc-cat.logic .nc-cat-icon::after { background: rgba(99,102,241,0.2);}
        .nc-cat.endurance .nc-cat-icon { background: rgba(16,185,129,0.12); color: var(--endurance-color);}
        .nc-cat.endurance .nc-cat-icon::after { background: rgba(16,185,129,0.2);}

        .nc-cat-name { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px;}
        .nc-cat-count { font-size: 0.75rem; color: var(--text-muted);}
        .nc-cat-bar {
            margin-top: 14px; height: 3px; border-radius: 2px;
            background: var(--mv-elev-2);
            overflow: hidden;}
        .nc-cat-bar-fill {
            height: 100%; border-radius: 2px;
            width: 0%;
            transition: width 1.5s cubic-bezier(0.23,1,0.32,1);}
        .nc-cat.memory .nc-cat-bar-fill { background: var(--memory-color);}
        .nc-cat.attention .nc-cat-bar-fill { background: var(--attention-color);}
        .nc-cat.logic .nc-cat-bar-fill { background: var(--logic-color);}
        .nc-cat.endurance .nc-cat-bar-fill { background: var(--endurance-color);}
        .nc-cat.visible .nc-cat-bar-fill { width: 100%;}

        .nc-launch {
            position: relative; z-index: 2;
            display: inline-flex; align-items: center; gap: 14px;
            padding: 18px 48px;
            border: none; border-radius: 50px;
            font-size: 1.1rem; font-weight: 800;
            color: var(--mv-text-inverse); cursor: pointer;
            background: linear-gradient(135deg, var(--mv-accent), var(--mv-accent-soft));
            box-shadow: var(--mv-glow);
            transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
            font-family: inherit;}
        .nc-launch:hover {
            box-shadow: var(--mv-glow);}
        .nc-launch i { font-size: 0.9rem;}

        .nc-note {
            margin-top: 20px; padding: 14px 22px;
            background: rgba(245,158,11,0.06);
            border: 1px solid rgba(245,158,11,0.12);
            border-radius: 14px; color: var(--mv-warning);
            font-size: 0.82rem; text-align: left;
            display: flex; align-items: flex-start; gap: 10px;
            max-width: 480px; margin-left: auto; margin-right: auto;
            position: relative; z-index: 2;}
        .nc-note a { color: var(--accent-1);}

        /* Welcome actions kept for empty state */
        .welcome-actions {
            padding: 36px 48px 44px;
            position: relative; z-index: 1;}
        .welcome-actions .btn { min-width: 260px;}

        /* Hide old classes if still referenced */
        .welcome-hero, .welcome-icon, .welcome-title, .welcome-subtitle,
        .test-info-grid, .info-card, .wk-badge, .wk-stats { display: none;}
        .nc-cosmos ~ .test-info-grid,
        .nc-cosmos ~ .welcome-actions { display: none;}

        .btn {
            padding: 16px 40px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            border: none;}

        .btn-primary {
            background: var(--gradient-1);
            color: var(--mv-text-inverse);}

        .btn-primary:hover {}

        .btn-secondary {
            background: var(--glass);
            color: var(--text);
            border: 1px solid var(--border);}

        .btn-secondary:hover {
            background: var(--mv-elev-4);}

        /* ========================================
           TEST SCREEN
           ======================================== */
        .test-screen {
            padding: 140px 30px 60px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;}

        .test-card {
            max-width: 900px;
            width: 100%; background: var(--mv-elev-3);
            border: 1px solid var(--border);
            border-radius: 35px;
            padding: 50px;}

        .test-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 15px;}

        .test-category-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 0.95rem;}

        .test-category-badge.memory { background: rgba(236, 72, 153, 0.2); color: var(--memory-color);}
        .test-category-badge.attention { background: rgba(245, 158, 11, 0.2); color: var(--attention-color);}
        .test-category-badge.logic { background: rgba(99, 102, 241, 0.2); color: var(--logic-color);}
        .test-category-badge.endurance { background: rgba(16, 185, 129, 0.2); color: var(--endurance-color);}

        .test-number {
            color: var(--text-secondary);
            font-size: 0.95rem;}

        .test-timer {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: var(--mv-elev-3);
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text);
            transition: all 0.3s ease;}

        .test-timer.warning {
            background: rgba(239, 68, 68, 0.2);
            color: var(--danger);
            animation: pulse 0.5s infinite;}

        @keyframes pulse {
            0%, 100% { transform: scale(1);}
            50% { transform: scale(1.05);}
        }

        .question-section {
            text-align: center;
            margin-bottom: 40px;}

        .question-text {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 30px;
            color: var(--text);}

        .visual-display {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-bottom: 20px;}

        .visual-box {
            width: 70px;
            height: 70px;
            background: var(--mv-elev-3);
            border: 2px solid var(--border);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text);
            transition: all 0.3s ease;}

        .visual-box.operator {
            background: transparent;
            border: none;
            width: 40px;
            font-size: 1.5rem;
            color: var(--accent-1);}

        .visual-box.highlight {
            background: linear-gradient(135deg, rgba(110, 193, 255, 0.2), rgba(168, 85, 247, 0.2));
            border-color: var(--accent-1);
            color: var(--accent-1);
            animation: glowPulse 2s infinite;}

        @keyframes glowPulse {
            0%, 100% { box-shadow: var(--mv-glow);}
            50% { box-shadow: var(--mv-glow);}
        }

        .answers-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 40px;}

        @media (max-width: 600px) {
            .answers-grid { grid-template-columns: 1fr;}
        }

        .answer-option {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 25px;
            background: var(--mv-elev-1);
            border: 2px solid var(--border);
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;}

        .answer-option:hover {
            background: var(--mv-elev-3);
            border-color: var(--accent-1);}

        .answer-option.selected {
            background: linear-gradient(135deg, rgba(110, 193, 255, 0.2), rgba(168, 85, 247, 0.15));
            border-color: var(--accent-1);
            box-shadow: var(--mv-glow);}

        .answer-letter {
            width: 50px;
            height: 50px;
            background: var(--mv-elev-3);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.2rem;
            color: var(--accent-1);
            flex-shrink: 0;}

        .answer-option.selected .answer-letter {
            background: var(--gradient-1);
            color: var(--mv-text-inverse);}

        .answer-text {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text);}

        /* Optiunile cu imagine folosesc acelasi rand ca cele text: litera pe
           stanga, continutul pe dreapta, acelasi padding. Imaginea e vizibila,
           iar cardul creste doar cat trebuie ca sa o incapa (nu se umfla ca
           inainte, cand imaginea mergea la 150px pe coloana). */
        .answer-option.has-image .answer-text {
            display: flex;
            align-items: center;
            line-height: 0;}

        .answer-image {
            display: block;
            max-width: 100%;
            max-height: 120px;
            object-fit: contain;
            border-radius: 10px;
            transition: transform 0.3s ease;}

        .answer-option:hover .answer-image {}

        .test-navigation {
            display: flex;
            justify-content: space-between;
            gap: 20px;}

        .nav-btn {
            padding: 16px 32px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            border: none;}

        .nav-btn.prev {
            background: var(--glass);
            color: var(--text);
            border: 1px solid var(--border);}

        .nav-btn.prev:hover:not(:disabled) {
            background: var(--mv-elev-4);}

        .nav-btn.prev:disabled {
            opacity: 0.3;
            cursor: not-allowed;}

        .nav-btn.next {
            background: var(--gradient-1);
            color: var(--mv-text-inverse);}

        .nav-btn.next:hover {}

        /* ========================================
           CHECKPOINT SCREENS
           ======================================== */
        .checkpoint-screen {
            min-height: calc(100vh - 70px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 60px 30px;}

        .checkpoint-card {
            max-width: 600px; background: var(--mv-elev-3);
            border: 1px solid var(--border);
            border-radius: 35px;
            padding: 50px;
            text-align: center;}

        .checkpoint-icon {
            width: 100px;
            height: 100px;
            margin: 0 auto 25px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;}

        .checkpoint-icon.memory { background: rgba(236, 72, 153, 0.2); color: var(--memory-color);}
        .checkpoint-icon.attention { background: rgba(245, 158, 11, 0.2); color: var(--attention-color);}
        .checkpoint-icon.logic { background: rgba(99, 102, 241, 0.2); color: var(--logic-color);}
        .checkpoint-icon.endurance { background: rgba(16, 185, 129, 0.2); color: var(--endurance-color);}

        .checkpoint-title {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 15px;
            color: var(--text);}

        .checkpoint-subtitle {
            color: var(--text-secondary);
            margin-bottom: 30px;
            font-size: 1.1rem;}

        .checkpoint-progress {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;}

        .checkpoint-dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--mv-elev-4);}

        .checkpoint-dot.completed {
            background: var(--success);}

        .checkpoint-dot.current {
            background: var(--accent-1);
            animation: pulse 1s infinite;}

        /* ========================================
           RESULTS SCREEN
           ======================================== */
        .results-screen {
            min-height: calc(100vh - 70px);
            padding: 100px 30px 60px;}

        .results-container {
            max-width: 900px;
            margin: 0 auto;}

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

        .results-icon {
            width: 100px;
            height: 100px;
            margin: 0 auto 25px;
            background: var(--gradient-1);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            box-shadow: var(--mv-glow);}

        .results-title {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 10px; color: var(--mv-text);}

        .results-subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;}

        .analysis-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            margin-bottom: 40px;}

        @media (max-width: 900px) {
            .analysis-grid { grid-template-columns: repeat(3, 1fr);}
        }

        @media (max-width: 600px) {
            .analysis-grid { grid-template-columns: repeat(2, 1fr);}
            /* pe telefon imaginea mai mica arata bine; o marim doar pe PC.
               Regula e DUPA cea de baza, ca sa o poata suprascrie. */
            .answer-image { max-height: 72px;}
        }

        .analysis-card {
            background: var(--mv-elev-3);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;}

        .analysis-card:hover {
            border-color: var(--accent-1);}

        .analysis-card.warning { border-color: var(--warning);}
        .analysis-card.alert { border-color: var(--danger);}

        .analysis-icon {
            font-size: 2rem;
            margin-bottom: 10px;}

        .analysis-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text);}

        .analysis-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-transform: uppercase;}

        .analysis-note {
            font-size: 0.75rem;
            color: var(--warning);
            margin-top: 8px;
            padding: 4px 10px;
            background: rgba(245, 158, 11, 0.1);
            border-radius: 10px;}

        .recommendation-card { background: rgba(110, 193, 255, 0.15);
            border: 1px solid rgba(110, 193, 255, 0.3);
            border-radius: 30px;
            padding: 50px;
            text-align: center;}

        .recommendation-card.nutrition { background: rgba(16, 185, 129, 0.15);
            border-color: rgba(16, 185, 129, 0.3);}

        .rec-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: var(--mv-elev-3);
            border-radius: 20px;
            font-size: 0.9rem;
            color: var(--accent-1);
            margin-bottom: 20px;}

        .rec-title {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 15px;
            color: var(--text);}

        .rec-description {
            color: var(--text-secondary);
            margin-bottom: 25px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.7;}

        .rec-indicators {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;}

        .rec-indicator {
            padding: 8px 16px;
            background: var(--mv-elev-3);
            border-radius: 20px;
            font-size: 0.85rem;
            color: var(--text-secondary);}

        .btn-recommendation {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 18px 40px;
            background: var(--gradient-1);
            color: var(--mv-text-inverse);
            border-radius: 20px;
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.3s ease;}

        .recommendation-card.nutrition .btn-recommendation { background: var(--mv-success); color: var(--mv-text-inverse);}

        .btn-recommendation:hover {}

        /* ========================================
           RESPONSIVE - FIT TO SCREEN (NO SCROLL)
           ======================================== */
        
        /* DESKTOP - More compact */
        @media (min-width: 769px) {
            body { overflow: hidden;}
            body.results-active { overflow: auto;}
            
            .welcome-screen {
                min-height: calc(100vh - 70px);
                height: calc(100vh - 70px);
                padding: 20px;}
            
            .welcome-card {
                border-radius: 20px;
                max-width: 750px;}
            
            .welcome-icon {
                width: 70px;
                height: 70px;
                border-radius: 22px;
                font-size: 2rem;
                margin-bottom: 15px;}
            
            .welcome-title {
                font-size: 1.8rem;
                margin-bottom: 8px;}
            
            .welcome-subtitle {
                font-size: 0.95rem;
                margin-bottom: 20px;
                line-height: 1.5;}
            
            .test-info-grid {
                gap: 12px;
                margin-bottom: 20px;}
            
            .info-card {
                padding: 15px 10px;
                border-radius: 15px;}
            
            .info-card-icon { font-size: 1.4rem; margin-bottom: 5px;}
            .info-card-title { font-size: 0.85rem;}
            .info-card-count { font-size: 0.75rem;}
            
            .btn {
                padding: 12px 30px;
                font-size: 0.95rem;}
            
            /* Test Screen Desktop */
            .test-screen {
                padding: 100px 20px 50px;
                min-height: 100vh;}
            
            .test-card {
                padding: 25px 35px;
                border-radius: 25px;
                max-width: 800px;}
            
            .test-header { margin-bottom: 20px;}
            .test-category-badge { padding: 8px 18px; font-size: 0.85rem;}
            .test-timer { padding: 8px 18px; font-size: 0.95rem;}
            
            .question-section { margin-bottom: 20px;}
            .question-text { font-size: 1.3rem; margin-bottom: 15px;}
            
            .visual-box {
                width: 55px;
                height: 55px;
                font-size: 1.4rem;
                border-radius: 14px;}
            
            .answers-grid { gap: 12px; margin-bottom: 20px;}
            .answer-option { padding: 15px 18px; border-radius: 14px;}
            .answer-letter { width: 40px; height: 40px; font-size: 1rem;}
            .answer-text { font-size: 1.1rem;}
            
            .test-navigation { margin-top: 15px;}
            .nav-btn { padding: 12px 25px; font-size: 0.9rem;}
            
            /* Results Desktop */
            .results-screen {
                padding: 90px 20px 20px;
                min-height: 100vh;}
            
            .results-card {
                padding: 25px 35px;
                border-radius: 25px;}
            
            .results-header { margin-bottom: 20px;}
            .results-icon { width: 60px; height: 60px; font-size: 1.8rem; margin-bottom: 12px;}
            .results-title { font-size: 1.6rem; margin-bottom: 5px;}
            .results-subtitle { font-size: 0.9rem; margin-bottom: 15px;}
            
            .analysis-grid { gap: 10px; margin-bottom: 20px;}
            .analysis-card { padding: 15px 10px; border-radius: 14px;}
            .analysis-icon { font-size: 1.3rem; margin-bottom: 5px;}
            .analysis-value { font-size: 1.4rem;}
            .analysis-label { font-size: 0.7rem;}
            
            .recommendation-card { padding: 20px; border-radius: 18px;}
            .rec-title { font-size: 1.3rem;}
            .rec-description { font-size: 0.85rem;}
            .btn-recommendation { padding: 12px 25px; font-size: 0.9rem;}
        }
        
        /* Progress header compact */
        .progress-header {
            top: 60px;
            padding: 12px 20px;}
        
        .progress-content { gap: 15px;}
        .category-indicator { padding: 6px 14px; font-size: 0.8rem; min-width: 110px;}
        .progress-track { height: 8px;}
        .progress-counter { font-size: 0.95rem;}
        .pause-btn { padding: 6px 14px; font-size: 0.8rem;}
        
        /* TABLET */
        @media (max-width: 900px) {
            .test-info-grid { grid-template-columns: repeat(2, 1fr);}
            .analysis-grid { grid-template-columns: repeat(3, 1fr);}
        }
        
        /* MOBILE */
        @media (max-width: 768px) {
            body { overflow-x: hidden;}

            .navbar {
                padding: 10px 15px;
                height: 50px;}

            .progress-header {
                top: 50px;
                padding: 8px 12px;}
            .progress-content {
                flex-wrap: nowrap;
                gap: 10px;
                align-items: center;}

            /* Ascund badge-ul "Test" duplicat - ramane doar in test-card */
            .progress-content > .category-indicator {
                display: none;}

            /* Progress bar e elementul principal - flex grow */
            .progress-wrapper {
                width: auto;
                order: 0;
                flex: 1 1 auto;
                min-width: 0;}

            /* Ascund cele 4 labels Memorie/Atentie/Logica/Rezistenta - aglomerate */
            .progress-labels {
                display: none;}

            .progress-track { height: 8px; border-radius: 12px;}

            .progress-stats {
                gap: 8px;
                flex-shrink: 0;}
            .progress-counter { font-size: 0.85rem; white-space: nowrap;}
            .pause-btn {
                padding: 6px 10px;
                font-size: 0.72rem;
                gap: 4px;
                border-radius: 10px;}
            
            /* Welcome Mobile - Fit to screen */
            .welcome-screen {
                min-height: calc(100vh - 50px);
                min-height: calc(100dvh - 50px);
                padding: 15px 12px;
                padding-top: 60px;}
            
            .welcome-card {
                border-radius: 18px;
                max-height: calc(100vh - 80px);
                max-height: calc(100dvh - 80px);
                overflow-y: auto;}
            
            .welcome-icon {
                width: 50px;
                height: 50px;
                border-radius: 16px;
                font-size: 1.5rem;
                margin-bottom: 10px;}
            
            .welcome-title { font-size: 1.4rem; margin-bottom: 6px;}
            .welcome-subtitle { 
                font-size: 0.85rem; 
                margin-bottom: 15px;
                line-height: 1.4;}
            
            .test-info-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                margin-bottom: 15px;}
            
            .info-card {
                padding: 12px 8px;
                border-radius: 12px;}
            
            .info-card-icon { font-size: 1.2rem; margin-bottom: 4px;}
            .info-card-title { font-size: 0.75rem;}
            .info-card-count { font-size: 0.65rem;}
            
            .btn {
                padding: 12px 24px;
                font-size: 0.9rem;
                border-radius: 12px;}
            
            /* Test Screen Mobile - Fit to screen */
            .test-screen {
                padding: 110px 12px 40px;
                min-height: 100vh;
                min-height: 100dvh;}
            
            .test-card {
                padding: 18px 14px;
                border-radius: 18px;}

            .test-header {
                margin-bottom: 15px;
                gap: 8px;
                flex-wrap: wrap;}
            .test-category-badge {
                padding: 5px 10px;
                font-size: 0.72rem;
                border-radius: 16px;
                gap: 5px;}
            .test-category-badge i { font-size: 0.7rem;}
            .test-timer {
                padding: 5px 10px;
                font-size: 0.8rem;
                gap: 5px;}
            .test-number {
                font-size: 0.78rem;
                flex: 1 1 100%;
                text-align: center;
                order: 99;
                color: var(--text-muted);}
            
            .question-section { margin-bottom: 15px;}
            .question-text { 
                font-size: 1.1rem; 
                margin-bottom: 12px;
                line-height: 1.4;}
            
            .visual-display { gap: 8px; margin-bottom: 10px;}
            .visual-box {
                width: 45px;
                height: 45px;
                font-size: 1.2rem;
                border-radius: 12px;}
            .visual-box.operator { width: 30px; font-size: 1.1rem;}
            
            .answers-grid { 
                grid-template-columns: 1fr;
                gap: 8px;
                margin-bottom: 15px;}
            
            .answer-option { 
                padding: 12px 14px;
                border-radius: 12px;
                gap: 12px;}
            
            .answer-letter { 
                width: 36px; 
                height: 36px; 
                font-size: 0.9rem;
                border-radius: 10px;}
            .answer-text { font-size: 1rem;}
            
            .test-navigation { 
                flex-direction: column;
                gap: 8px;}
            .nav-btn { 
                width: 100%; 
                justify-content: center;
                padding: 12px 20px;
                font-size: 0.9rem;}
            
            /* Results Mobile */
            .results-screen {
                padding: 60px 12px 15px;}
            
            .results-card {
                padding: 20px 15px;
                border-radius: 20px;}
            
            .results-header { margin-bottom: 15px;}
            .results-icon { 
                width: 50px; 
                height: 50px; 
                font-size: 1.5rem; 
                margin-bottom: 10px;
                border-radius: 16px;}
            .results-title { font-size: 1.4rem; margin-bottom: 5px;}
            .results-subtitle { font-size: 0.85rem; margin-bottom: 15px;}
            
            .analysis-grid { 
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                margin-bottom: 15px;}
            
            .analysis-card { 
                padding: 12px 8px;
                border-radius: 12px;}
            .analysis-icon { font-size: 1.1rem; margin-bottom: 4px;}
            .analysis-value { font-size: 1.2rem;}
            .analysis-label { font-size: 0.65rem;}
            .analysis-note { font-size: 0.6rem;}
            
            .recommendation-card { 
                padding: 18px 15px;
                border-radius: 16px;}
            .rec-badge { font-size: 0.7rem; padding: 5px 12px;}
            .rec-title { font-size: 1.2rem;}
            .rec-description { font-size: 0.8rem;}
            .rec-indicators { gap: 6px; margin: 12px 0;}
            .rec-indicator { font-size: 0.7rem; padding: 4px 10px;}
            .btn-recommendation { 
                padding: 12px 20px;
                font-size: 0.85rem;
                border-radius: 12px;}
            
            /* Section Complete Mobile */
            .section-complete {
                padding: 25px 20px;}
            .section-complete h2 { font-size: 1.3rem;}
            .section-complete p { font-size: 0.85rem;}
        }
        
        /* Small phones */
        @media (max-width: 380px) {
            .welcome-hero { padding: 28px 20px 24px;}
            .welcome-actions { padding: 20px 20px 28px;}
            .welcome-icon { width: 42px; height: 42px; font-size: 1.3rem;}
            .welcome-title { font-size: 1.2rem;}
            .welcome-subtitle { font-size: 0.8rem;}
            .info-card { padding: 10px 6px;}
            .info-card-icon { font-size: 1rem;}
            .info-card-title { font-size: 0.7rem;}

            .test-card { padding: 15px 12px;}
            .question-text { font-size: 1rem;}
            .visual-box { width: 40px; height: 40px; font-size: 1rem;}
            .answer-option { padding: 10px 12px;}
            .answer-letter { width: 32px; height: 32px; font-size: 0.85rem;}
            .answer-text { font-size: 0.9rem;}

            /* Pauza devine icon-only */
            .pause-btn {
                padding: 6px 8px;
                width: 36px;
                justify-content: center;}
            .pause-btn .pause-label {
                display: none;}
            .progress-counter { font-size: 0.78rem;}
            .progress-header { padding: 6px 10px;}
        }
        
        /* Hide ambient effects on mobile for performance */
        @media (max-width: 768px) {
            .ambient-bg { display: none;}
            .glow-orb { display: none;}
            .zen-circles { display: none;}
            .floating-particles { display: none;}
        }
        /* ========== WELCOME — INDUSTRIAL TECHNO ========== */
        .ws {
            position: relative;
            min-height: calc(100vh - 70px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 22px 24px;
            overflow: hidden;}
        /* Starfield canvas */
        .starfield-canvas {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;}
        /* Space nebula layers */
        .ws::before {
            display: none;}
        /* Planet images */
        .space-planets {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;}
        .space-planet {
            position: absolute;
            object-fit: contain;
            user-select: none;
            -webkit-user-drag: none;}
        .space-planet.saturn {
            width: 420px;
            top: -8%;
            right: -6%;
            opacity: 0.35;
            filter: brightness(0.8) contrast(1.1);
            animation: planetDrift 40s ease-in-out infinite;}
        .space-planet.earth {
            width: 140px;
            height: 140px;
            bottom: 8%;
            left: 4%;
            opacity: 0.3;
            border-radius: 50%;
            object-fit: cover;
            filter: brightness(0.9) blur(1px);
            animation: planetDrift 30s ease-in-out infinite reverse;}
        .space-planet.jupiter {
            width: 90px;
            height: 90px;
            top: 55%;
            right: 3%;
            opacity: 0.2;
            border-radius: 50%;
            object-fit: cover;
            filter: brightness(0.7) blur(2px);
            animation: planetDrift 35s ease-in-out infinite 5s;}
        @keyframes planetDrift {
            0%, 100% { transform: translate(0, 0);}
            33% { transform: translate(8px, -12px);}
            66% { transform: translate(-5px, 8px);}
        }

        .ws-inner {
            position: relative;
            z-index: 2;
            max-width: 640px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;}

        .ws-tag {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 6px 16px;
            border: 1px solid rgba(110,193,255,0.2);
            border-radius: 3px;
            font-family: var(--font-mono);
            font-size: 0.65rem;
            font-weight: 500;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 32px;
            background: rgba(110,193,255,0.04);}
        .ws-tag-dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: var(--accent);
            animation: wsPulse 2s ease-in-out infinite; color: var(--mv-text-inverse);}
        @keyframes wsPulse {
            0%,100% { opacity: 1; box-shadow: 0 0 6px var(--accent);}
            50% { opacity: 0.3; box-shadow: none;}
        }

        .ws-title {
            font-family: var(--font-display);
            font-size: clamp(1.75rem, 3.2vw + 0.4rem, 2.8rem);
            font-weight: 600;
            line-height: 1.05;
            color: var(--text);
            margin-bottom: 12px;}
        .ws-title-accent {
            display: block;
            color: var(--accent);}

        .ws-desc {
            font-family: var(--font-body);
            font-size: 0.92rem;
            line-height: 1.55;
            color: var(--text-muted);
            max-width: 420px;
            margin-bottom: 20px;}

        /* ========== STATS STRIP — ORBITAL ========== */
        .ws-stats {
            display: flex;
            align-items: center;
            gap: 0;
            margin-bottom: 22px;}
        .ws-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 24px;
            position: relative;}
        .ws-stat-val {
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--text);
            line-height: 1;}
        .ws-stat-label {
            font-family: var(--font-mono);
            font-size: 0.55rem;
            color: var(--text-muted);
            margin-top: 5px;
            text-transform: uppercase;}
        .ws-stat-sep {
            width: 3px; height: 3px;
            border-radius: 50%;
            background: var(--mv-elev-4);
            flex-shrink: 0;}

        /* ========== CELESTIAL BODY CARDS ========== */
        .ws-cats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            width: 100%;
            max-width: 540px;
            margin-bottom: 24px;}
        .ws-cat {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            aspect-ratio: 0.82;
            cursor: default;
            transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);}
        .ws-cat:hover {}
        .ws-cat-shape {
            position: absolute; inset: 0;
            width: 100%; height: 100%;
            z-index: 0;
            overflow: visible;}
        .ws-cat-shape .shape-path {
            transition: all 0.5s cubic-bezier(0.16,1,0.3,1);}
        .ws-cat-shape .shape-glow {
            opacity: 0;
            transition: opacity 0.5s;}
        .ws-cat:hover .ws-cat-shape .shape-glow { opacity: 1;}
        .ws-cat-shape .shape-stars { opacity: 0.4;}

        .ws-cat-icon {
            position: relative; z-index: 2;
            width: 46px; height: 46px;
            margin-bottom: 6px;
            transition: all 0.5s cubic-bezier(0.16,1,0.3,1);}
        .ws-cat:hover .ws-cat-icon {}
        .ws-cat-icon > svg {
            width: 100%; height: 100%;
            transition: filter 0.5s;}
        .ws-cat[data-cat="memory"]:hover .ws-cat-icon > svg {}
        .ws-cat[data-cat="attention"]:hover .ws-cat-icon > svg {}
        .ws-cat[data-cat="logic"]:hover .ws-cat-icon > svg {}
        .ws-cat[data-cat="endurance"]:hover .ws-cat-icon > svg {}

        /* Pulse ring on hover */
        .ws-cat-pulse {
            position: absolute;
            top: 35%; left: 50%;
            width: 50px; height: 50px;
            border-radius: 50%;
            transform: translate(-50%,-50%);
            z-index: 1; pointer-events: none;
            opacity: 0;}
        .ws-cat:hover .ws-cat-pulse { animation: cPulse 1.8s ease-out infinite;}
        .ws-cat[data-cat="memory"] .ws-cat-pulse { border: 1px solid var(--memory-color);}
        .ws-cat[data-cat="attention"] .ws-cat-pulse { border: 1px solid var(--attention-color);}
        .ws-cat[data-cat="logic"] .ws-cat-pulse { border: 1px solid var(--logic-color);}
        .ws-cat[data-cat="endurance"] .ws-cat-pulse { border: 1px solid var(--endurance-color);}
        @keyframes cPulse {
            0% { width: 50px; height: 50px; opacity: 0.5;}
            100% { width: 120px; height: 120px; opacity: 0;}
        }

        .ws-cat-name {
            font-size: 0.82rem; font-weight: 700;
            color: var(--text); position: relative; z-index: 2;
            margin-bottom: 2px;}
        .ws-cat-count {
            font-family: var(--font-mono); font-size: 0.58rem;
            color: var(--text-muted);
            position: relative; z-index: 2;}

        .ws-launch {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 13px 34px;
            border: none;
            border-radius: 3px;
            font-family: var(--font-body);
            font-size: 0.92rem;
            font-weight: 700; color: var(--mv-text-inverse);
            background: var(--accent);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2,0,0,1);}
        .ws-launch:hover {
            box-shadow: var(--mv-glow);}
        .ws-launch:active { transform: translateY(0);}
        .ws-launch svg { transition: transform 0.3s;}
        .ws-launch:hover svg {}

        .ws-note {
            margin-top: 20px;
            font-family: var(--font-mono);
            font-size: 0.7rem;
            color: var(--text-muted);}
        .ws-note a {
            color: var(--accent);
            text-decoration: none;
            border-bottom: 1px solid rgba(110,193,255,0.3);
            transition: border-color 0.2s;}
        .ws-note a:hover { border-color: var(--accent);}

        @keyframes wsReveal {
            from { opacity: 0; transform: translateY(16px);}
            to { opacity: 1; transform: translateY(0);}
        }
        .ws-tag { animation: wsReveal 0.5s ease both 0.1s;}
        .ws-title { animation: wsReveal 0.5s ease both 0.2s;}
        .ws-desc { animation: wsReveal 0.5s ease both 0.3s;}
        .ws-stats { animation: wsReveal 0.5s ease both 0.35s;}
        .ws-cats { animation: wsReveal 0.5s ease both 0.4s;}
        .ws-launch { animation: wsReveal 0.5s ease both 0.5s;}
        .ws-note { animation: wsReveal 0.5s ease both 0.55s;}

        @media (min-width: 769px) {
            .ws { min-height: calc(100vh - 70px); height: calc(100vh - 70px);}
        }
        @media (max-width: 768px) {
            .ws { padding: 24px 16px; min-height: calc(100dvh - 50px);}
            .starfield-canvas { opacity: 0.7;}
            .ws-title { margin-bottom: 14px;}
            .ws-desc { font-size: 0.9rem; margin-bottom: 24px;}
            .ws-stats { margin-bottom: 24px;}
            .ws-stat { padding: 12px 18px;}
            .ws-stat-val { font-size: 1.4rem;}
            .ws-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; max-width: 360px;}
            .ws-cat-icon { width: 50px; height: 50px;}
            .ws-stats { gap: 0;}
            .ws-stat { padding: 0 16px;}
            .ws-stat-val { font-size: 1.5rem;}
            .ws-launch { width: 100%; justify-content: center; padding: 14px 28px;}
            .ws::before { display: none;}
            .space-planets { display: none;}
        }
        @media (max-width: 380px) {
            .ws { padding: 20px 12px;}
            .ws-stat { padding: 10px 12px;}
            .ws-stat-val { font-size: 1.2rem;}
            .ws-cat-name { font-size: 0.72rem;}
        }

        @keyframes shake { 0%,100%{transform: translateX(0);} 20%{transform: translateX(-6px);} 40%{transform: translateX(6px);} 60%{transform: translateX(-4px);} 80%{transform: translateX(4px);} }
        @keyframes pulseWarn { 0%{border-color: rgba(239,68,68,0);} 50%{border-color: rgba(239,68,68,0.5);} 100%{border-color: var(--border);} }

        .question-text { font-family: var(--font-display);}
        .test-category-badge, .category-indicator { font-family: var(--font-mono); font-size: 0.8rem;}

        /* ========== RESULTS — COSMIC MISSION DEBRIEF ========== */
        .results-screen { padding: 90px 20px 40px; min-height: 100vh;}
        .results-container { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center;}

        /* Score Planetary System */
        .r-score { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 36px; animation: wsReveal 0.7s ease both;}
        .r-score-orb { position: relative; width: 180px; height: 180px; margin-bottom: 22px;}
        .r-score-svg { width: 100%; height: 100%;}
        .r-ring-bg { fill: none; stroke: rgba(255,255,255,0.04); stroke-width: 6;}
        .r-ring-outer { fill: none; stroke: rgba(110,193,255,0.08); stroke-width: 1; stroke-dasharray: 4 6;}
        .r-ring-main { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 351.858; stroke-dashoffset: 351.858; transition: stroke-dashoffset 2s cubic-bezier(0.16,1,0.3,1);}
        .r-ring-glow { fill: none; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 351.858; stroke-dashoffset: 351.858; transition: stroke-dashoffset 2s cubic-bezier(0.16,1,0.3,1); opacity: 0.25;}
        .r-orbit1 { fill: none; stroke: rgba(255,255,255,0.04); stroke-width: 0.5;}
        .r-orbit-dot { r: 2.5; opacity: 0.7;}
        .r-orbit-dot.d1 { fill: var(--memory-color);}
        .r-orbit-dot.d2 { fill: var(--logic-color);}
        .r-orbit-dot.d3 { fill: var(--endurance-color);}
        .r-score-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;}
        .r-pct { font-size: 2.8rem; font-weight: 800; color: var(--text); line-height: 1;}
        .r-of { font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; font-family: var(--font-mono);}
        .r-title { font-size: 1.6rem; font-weight: 800; color: var(--text); margin-bottom: 8px;}
        .r-meta { display: flex; align-items: center; gap: 20px;}
        .r-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-muted);}
        .r-meta-icon { width: 22px; height: 22px; flex-shrink: 0;}

        /* Performance - SVG shaped panel */
        .r-perf { position: relative; width: 100%; margin-bottom: 22px; animation: wsReveal 0.7s ease both 0.25s;}
        .r-perf-shape { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); z-index: 0;}
        .r-perf-shape path { transition: all 0.4s;}
        .r-perf-inner { position: relative; z-index: 1; padding: 26px 28px;}
        .r-perf-head { display: flex; align-items: center; gap: 8px; margin-bottom: 20px;}
        .r-perf-head-icon { width: 18px; height: 18px;}
        .r-perf-label { font-size: 0.62rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase;}
        .r-row { display: flex; align-items: center; gap: 14px; padding: 11px 0;}
        .r-row + .r-row { border-top: 1px solid var(--mv-border-soft);}
        .r-row-icon { width: 32px; height: 32px; flex-shrink: 0;}
        .r-row-name { width: 72px; font-size: 0.82rem; font-weight: 600; color: var(--text); flex-shrink: 0;}
        .r-row-track { flex: 1; height: 8px; background: var(--mv-elev-1); border-radius: 4px; overflow: hidden; position: relative;}
        .r-row-fill { height: 100%; border-radius: 4px; width: 0; transition: width 1.5s cubic-bezier(0.16,1,0.3,1); position: relative;}
        .r-row-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--mv-elev-4)); border-radius: 4px;}
        .r-row-fill.memory { background: var(--memory-color);}
        .r-row-fill.attention { background: var(--attention-color);}
        .r-row-fill.logic { background: var(--logic-color);}
        .r-row-fill.endurance { background: var(--endurance-color);}
        .r-row-val { width: 42px; text-align: right; font-size: 0.82rem; font-weight: 700; color: var(--text); flex-shrink: 0; font-family: var(--font-mono);}

        /* Recommendation - SVG shaped */
        .r-rec { position: relative; width: 100%; animation: wsReveal 0.7s ease both 0.45s;}
        .r-rec-shape { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); z-index: 0;}
        .r-rec-inner { position: relative; z-index: 1; padding: 30px 28px; text-align: center;}
        .r-rec-icon { width: 48px; height: 48px; margin: 0 auto 14px;}
        .r-rec-tag { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; margin-bottom: 12px;}
        .r-rec.psych .r-rec-tag { color: var(--accent);}
        .r-rec.nutri .r-rec-tag { color: var(--success);}
        .r-rec-title { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 10px;}
        .r-rec-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 22px; max-width: 400px; margin-left: auto; margin-right: auto;}
        .r-rec-flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px;}
        .r-rec-flag { padding: 5px 12px; background: var(--mv-elev-1); border: 1px solid var(--mv-border-soft); border-radius: 20px; font-size: 0.7rem; color: var(--text-secondary);}
        .r-rec-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: 24px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);}
        .r-rec.psych .r-rec-cta { background: var(--accent); color: var(--mv-text-inverse);}
        .r-rec.nutri .r-rec-cta { background: var(--success); color: var(--mv-text);}
        .r-rec-cta:hover {}
        .r-rec.nutri .r-rec-cta:hover {}
        .r-rec-cta svg { width: 18px; height: 18px;}

        /* Points toast */
        .pts-toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-16px); background: rgba(8,12,22,0.94); border: 1px solid rgba(110,193,255,0.2); padding: 14px 22px; border-radius: 20px; display: flex; align-items: center; gap: 12px; z-index: 10000; opacity: 0; animation: toastIn 0.5s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;}
        @keyframes toastIn { to { opacity: 1; transform: translateX(-50%) translateY(0);} }
        .pts-toast-icon { width: 32px; height: 32px; flex-shrink: 0;}
        .pts-info { display: flex; flex-direction: column;}
        .pts-val { font-size: 1.1rem; font-weight: 800; color: var(--accent); line-height: 1.2;}
        .pts-sub { font-size: 0.68rem; color: var(--text-muted); font-family: var(--font-mono);}

        @media (max-width: 768px) {
            .results-screen { padding: 65px 12px 24px;}
            .r-score-orb { width: 140px; height: 140px;}
            .r-pct { font-size: 2.2rem;}
            .r-title { font-size: 1.3rem;}
            .r-perf-inner, .r-rec-inner { padding: 20px 16px;}
            .r-row-name { width: 58px; font-size: 0.75rem;}
            .r-row-icon { width: 26px; height: 26px;}
            .r-rec-title { font-size: 1.15rem;}
            .pts-toast { top: 55px; padding: 10px 14px;}
        }
        /* Override header.php's main wrapper - teste-iq has its own layout */
        main.container.page {
            padding: 0 !important;
            min-height: 0 !important;
            max-width: none !important;
            margin: 0 !important;
            display: none !important;}
        body { padding-top: 0 !important;}

        /* ===== Modal sesiune salvată — card glass cu stele prin el ===== */
        .iq-session-overlay {
            position: fixed; inset: 0; z-index: 100000;
            display: none; align-items: center; justify-content: center;
            background: radial-gradient(ellipse at center, rgba(4,8,22,0.35), rgba(2,5,16,0.62));
            animation: iqSessFade 0.28s ease;}
        .iq-session-overlay.active { display: flex;}
        @keyframes iqSessFade { from { opacity: 0 ;} to { opacity: 1 ;} }

        .iq-session-card {
            position: relative; width: min(92vw, 440px); padding: 40px 34px 32px;
            border-radius: 26px;
            background: rgba(14, 24, 48, 0.42);
            border: 1px solid rgba(110, 193, 255, 0.38);
            text-align: center; overflow: hidden;
            animation: iqSessPop 0.4s cubic-bezier(0.23,1,0.32,1);}
        @keyframes iqSessPop { from { transform: translateY(18px) scale(0.95); opacity: 0 ;} to { transform: none; opacity: 1 ;} }

        /* stelele de pe card (prin care „vezi") */
        .iq-session-stars { position: absolute; inset: 0; pointer-events: none; z-index: 0;}
        .iq-session-stars span {
            position: absolute; border-radius: 50%; background: var(--mv-text);
            animation: iqSessTwinkle 3.5s ease-in-out infinite;}
        @keyframes iqSessTwinkle { 0%,100% { opacity: 0.25 ;} 50% { opacity: 1 ;} }

        .iq-session-card > *:not(.iq-session-stars) { position: relative; z-index: 1;}

        .iq-session-icon {
            width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%;
            background: radial-gradient(circle at 32% 28%, rgba(139,211,255,0.4), rgba(110,193,255,0.08));
            border: 1px solid rgba(139,211,255,0.45); display: flex; align-items: center; justify-content: center;
            font-size: 27px; color: var(--mv-accent-soft); box-shadow: var(--mv-glow);}
        .iq-session-card h3 { margin: 0 0 12px; font-size: 1.55rem; font-weight: 800; color: var(--mv-text-soft);}
        .iq-session-card p { margin: 0 0 28px; color: var(--mv-accent); font-size: 1rem; line-height: 1.65;}
        .iq-session-card p b { color: var(--mv-accent-soft); font-weight: 800;}
        .iq-session-actions { display: flex; gap: 12px;}
        .iq-sess-btn {
            flex: 1; padding: 14px 18px; border-radius: 15px; font-weight: 700; font-size: 0.95rem;
            cursor: pointer; border: none; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;}
        .iq-sess-btn.primary { background: var(--mv-accent); color: var(--mv-text-inverse);}
        .iq-sess-btn.primary:hover {}
        .iq-sess-btn.ghost { background: var(--mv-elev-2); color: var(--mv-text); border: 1px solid var(--mv-border);}
        .iq-sess-btn.ghost:hover { background: var(--mv-elev-4); border-color: rgba(110,193,255,0.45);}
