:root {
    --bias-card-hover: rgba(0, 240, 255, 0.1);
}

.bias-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bias-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--cyan-glow);
    border-color: var(--text-primary);
    background: var(--bias-card-hover);
}

.bias-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.bias-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Modal Styling Overrides */
.modal-content {
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(5px);
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid var(--border-glass);
}

.modal-title {
    color: var(--text-primary);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.demo-box {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-left: 4px solid var(--text-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.ref-box {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ref-box a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-primary);
}

.ref-box a:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* Simulation Specifics */
.simulation-option {
    text-align: left;
    white-space: normal;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

.simulation-option:hover {
    background: var(--text-primary);
    color: #000;
    box-shadow: 0 0 10px var(--cyan-glow);
}

.feedback-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1rem;
    color: #e0e0e0;
}

.feedback-text {
    font-size: 1rem;
    line-height: 1.5;
}