/* ============================================
   GENESIS ADVANCED SIMULATIONS
   Interactive Business Learning System
   ============================================ */

/* ============================================
   1. SLIDERS - Cause & Effect Controls
   ============================================ */

.slider-simulation {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
}

.slider-simulation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.slider-simulation-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.slider-simulation-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.slider-simulation-subtitle {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 4px 0 0;
}

.slider-controls {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.slider-control {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b5cf6;
}

.slider-input {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #334155;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    transition: transform 0.2s;
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-effects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.effect-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.effect-card.positive {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.effect-card.negative {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.effect-card.warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.effect-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.effect-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 4px;
}

.effect-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.effect-card.positive .effect-value { color: #22c55e; }
.effect-card.negative .effect-value { color: #ef4444; }
.effect-card.warning .effect-value { color: #f59e0b; }

.slider-warning {
    margin-top: 20px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    border-radius: 10px;
    display: none;
}

.slider-warning.show {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: shake 0.3s ease;
}

.slider-warning-icon { font-size: 1.5rem; }
.slider-warning-text { color: #fca5a5; font-size: 0.95rem; }

/* ============================================
   2. MULTI-STEP SCENARIOS
   ============================================ */

.scenario-game {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
}

.scenario-game-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.scenario-game-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.scenario-game-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.scenario-progress {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.scenario-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
    transition: all 0.3s;
}

.scenario-step-dot.active { background: #f59e0b; transform: scale(1.2); }
.scenario-step-dot.completed { background: #22c55e; }

.scenario-situation {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.scenario-context {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scenario-context span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

.scenario-prompt {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.scenario-choices-grid {
    display: grid;
    gap: 12px;
}

.scenario-choice-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.scenario-choice-card:hover {
    border-color: #f59e0b;
    transform: translateX(4px);
}

.scenario-choice-card.selected {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.choice-title {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.choice-letter {
    width: 28px;
    height: 28px;
    background: #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.scenario-choice-card.selected .choice-letter {
    background: #f59e0b;
}

.choice-description {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.scenario-result {
    display: none;
    margin-top: 24px;
    animation: slideIn 0.3s ease;
}

.scenario-result.show { display: block; }

.result-immediate, .result-delayed {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.result-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-immediate .result-label { color: #22c55e; }
.result-delayed .result-label { color: #f59e0b; }

.result-text {
    font-size: 1rem;
    line-height: 1.6;
}

.scenario-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.scenario-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* ============================================
   3. DRAG-AND-DROP BUILDERS
   ============================================ */

.builder-exercise {
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
}

.builder-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.builder-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.builder-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.builder-subtitle {
    font-size: 0.9rem;
    color: #7dd3fc;
    margin: 4px 0 0;
}

.builder-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

.builder-palette {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.palette-title {
    font-size: 0.85rem;
    color: #7dd3fc;
    margin-bottom: 12px;
    font-weight: 600;
}

.palette-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.palette-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed #0ea5e9;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: grab;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.palette-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-style: solid;
}

.palette-item.dragging {
    opacity: 0.5;
}

.palette-item.used {
    opacity: 0.3;
    cursor: not-allowed;
}

.builder-canvas {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    min-height: 300px;
}

.canvas-title {
    font-size: 0.85rem;
    color: #7dd3fc;
    margin-bottom: 16px;
    font-weight: 600;
}

.canvas-dropzones {
    display: grid;
    gap: 12px;
}

.dropzone {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed #334155;
    border-radius: 10px;
    padding: 16px;
    min-height: 60px;
    transition: all 0.2s;
}

.dropzone-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.dropzone.drag-over {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
}

.dropzone.filled {
    border-style: solid;
    border-color: #22c55e;
}

.dropped-item {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dropped-item .remove-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    font-size: 1.1rem;
}

.dropped-item .remove-btn:hover { opacity: 1; }

.builder-feedback {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    display: none;
}

.builder-feedback.show { display: block; animation: slideIn 0.3s ease; }

.builder-feedback.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
}

.builder-feedback.warning {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
}

.feedback-title {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-text {
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* ============================================
   4. WHAT-IF TOGGLES
   ============================================ */

.whatif-comparison {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
}

.whatif-header {
    text-align: center;
    margin-bottom: 24px;
}

.whatif-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.whatif-subtitle {
    color: #e0e7ff;
    font-size: 0.95rem;
}

.whatif-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.toggle-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    padding: 6px;
    display: flex;
}

.toggle-option {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.toggle-option.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.whatif-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.whatif-path {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    opacity: 0.5;
    transition: all 0.3s;
}

.whatif-path.active {
    opacity: 1;
    border: 2px solid #6366f1;
}

.path-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.path-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.path-a .path-icon { background: #22c55e; }
.path-b .path-icon { background: #f59e0b; }

.path-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.path-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-point {
    display: flex;
    gap: 12px;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6366f1;
    margin-top: 6px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-time {
    font-size: 0.8rem;
    color: #c7d2fe;
    margin-bottom: 4px;
}

.timeline-event {
    font-size: 0.95rem;
    line-height: 1.5;
}

.path-outcome {
    margin-top: 20px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 10px;
}

.outcome-label {
    font-size: 0.8rem;
    color: #c7d2fe;
    margin-bottom: 8px;
}

.outcome-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.outcome-metric {
    text-align: center;
}

.metric-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.metric-label {
    font-size: 0.8rem;
    color: #c7d2fe;
}

/* ============================================
   5. CONSTRAINT PUZZLES
   ============================================ */

.constraint-puzzle {
    background: linear-gradient(135deg, #14532d 0%, #166534 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
}

.puzzle-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.puzzle-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.puzzle-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.puzzle-constraint {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.constraint-icon { font-size: 2rem; }

.constraint-text {
    flex: 1;
}

.constraint-label {
    font-size: 0.85rem;
    color: #86efac;
    margin-bottom: 4px;
}

.constraint-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.puzzle-budget-bar {
    margin-bottom: 24px;
}

.budget-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.budget-label { font-size: 0.9rem; color: #86efac; }

.budget-remaining {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.budget-remaining.over { color: #ef4444; }

.budget-bar {
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.budget-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.budget-fill.over {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.puzzle-options {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.puzzle-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.puzzle-option:hover {
    border-color: #22c55e;
}

.puzzle-option.selected {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.option-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #64748b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.puzzle-option.selected .option-checkbox {
    background: #22c55e;
    border-color: #22c55e;
}

.option-checkbox::after {
    content: '✓';
    color: white;
    font-weight: 700;
    opacity: 0;
}

.puzzle-option.selected .option-checkbox::after {
    opacity: 1;
}

.option-content { flex: 1; }

.option-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.option-impact {
    font-size: 0.85rem;
    color: #86efac;
}

.option-cost {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.puzzle-result {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
}

.result-score {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.result-rating {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.result-analysis {
    font-size: 0.95rem;
    color: #86efac;
    line-height: 1.6;
}

/* ============================================
   6. TIMED DECISIONS
   ============================================ */

.timed-decision {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.timed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.timed-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timed-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.timed-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
}

.timer-icon { font-size: 1.25rem; }

.timer-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.timer-value.urgent {
    color: #fca5a5;
    animation: pulse 0.5s infinite;
}

.timed-scenario {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.incomplete-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #fca5a5;
    margin-bottom: 12px;
}

.timed-prompt {
    font-size: 1.1rem;
    line-height: 1.7;
}

.timed-choices {
    display: grid;
    gap: 12px;
}

.timed-choice {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.timed-choice:hover {
    border-color: #fca5a5;
    transform: translateX(4px);
}

.timed-choice.selected {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
}

.timed-choice.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.timed-result {
    display: none;
    margin-top: 24px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.timed-result.show { display: block; animation: slideIn 0.3s ease; }

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.result-icon { font-size: 2rem; }

.result-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.result-explanation {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fecaca;
}

.time-expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
}

.time-expired-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.expired-icon { font-size: 4rem; margin-bottom: 16px; }
.expired-text { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.expired-lesson { color: #fca5a5; text-align: center; max-width: 300px; }

/* ============================================
   7. FORECASTING GAMES
   ============================================ */

.forecast-game {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
}

.forecast-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.forecast-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.forecast-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.forecast-context {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.context-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.context-metric {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.context-metric-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
}

.context-metric-label {
    font-size: 0.8rem;
    color: #bfdbfe;
}

.forecast-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.forecast-input-section {
    margin-bottom: 24px;
}

.forecast-slider-container {
    margin-bottom: 16px;
}

.forecast-slider {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #334155;
    outline: none;
    -webkit-appearance: none;
}

.forecast-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.forecast-value-display {
    text-align: center;
    margin-bottom: 16px;
}

.your-prediction {
    font-size: 0.9rem;
    color: #bfdbfe;
    margin-bottom: 4px;
}

.prediction-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #60a5fa;
}

.lock-prediction-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.lock-prediction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.lock-prediction-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.forecast-reveal {
    display: none;
    animation: slideIn 0.3s ease;
}

.forecast-reveal.show { display: block; }

.reveal-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.comparison-card {
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.comparison-card.prediction {
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid #3b82f6;
}

.comparison-card.actual {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid #22c55e;
}

.comparison-label {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.comparison-card.prediction .comparison-label { color: #93c5fd; }
.comparison-card.actual .comparison-label { color: #86efac; }

.comparison-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.comparison-card.prediction .comparison-value { color: #60a5fa; }
.comparison-card.actual .comparison-value { color: #22c55e; }

.accuracy-meter {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.accuracy-label {
    font-size: 0.9rem;
    color: #bfdbfe;
    margin-bottom: 8px;
}

.accuracy-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.accuracy-value.excellent { color: #22c55e; }
.accuracy-value.good { color: #84cc16; }
.accuracy-value.fair { color: #f59e0b; }
.accuracy-value.poor { color: #ef4444; }

.accuracy-insight {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* ============================================
   8. PATTERN RECOGNITION
   ============================================ */

.pattern-drill {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 100%);
    border-radius: 20px;
    padding: 32px;
    margin: 40px 0;
    color: white;
}

.pattern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pattern-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pattern-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pattern-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.pattern-score {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
}

.score-label { font-size: 0.85rem; color: #c4b5fd; }

.score-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #a855f7;
}

.pattern-data {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.data-title {
    font-size: 0.9rem;
    color: #e0e7ff;
    margin-bottom: 16px;
}

.metrics-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.metric-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.metric-box-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.metric-box-label {
    font-size: 0.75rem;
    color: #e0e7ff;
    margin-top: 4px;
}

.trend-indicator {
    font-size: 0.8rem;
    margin-top: 4px;
}

.trend-indicator.up { color: #22c55e; }
.trend-indicator.down { color: #ef4444; }
.trend-indicator.flat { color: #94a3b8; }

.pattern-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pattern-answers {
    display: grid;
    gap: 10px;
}

.pattern-answer {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #4c1d95;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.pattern-answer:hover {
    border-color: #a855f7;
}

.pattern-answer.selected {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.2);
}

.pattern-answer.correct {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
}

.pattern-answer.incorrect {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .slider-simulation, .scenario-game, .builder-exercise,
    .whatif-comparison, .constraint-puzzle, .timed-decision,
    .forecast-game, .pattern-drill {
        padding: 24px 20px;
    }
    
    .builder-layout {
        grid-template-columns: 1fr;
    }
    
    .whatif-paths {
        grid-template-columns: 1fr;
    }
    
    .reveal-comparison {
        grid-template-columns: 1fr;
    }
    
    .slider-effects {
        grid-template-columns: repeat(2, 1fr);
    }
}

