/* ==========================================
   CYBERSTUDY DESIGN SYSTEM & STYLESHEET
   Clean, Elegant, Light Minimalist Theme
   ========================================== */

/* Variables & Theme */
:root {
    /* Sleek Dark Theme Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;

    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: #475569;
    --glass-highlight: rgba(255, 255, 255, 0.1);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.15);
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.15);
    --accent-green: #10b981;
    --accent-green-glow: rgba(16, 185, 129, 0.15);
    --accent-red: #ef4444;
    --accent-red-glow: rgba(239, 68, 68, 0.15);
    --accent-orange: #f59e0b;
    --accent-orange-glow: rgba(245, 158, 11, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-neon: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Scrollbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    height: 100vh;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* App Layout */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* We removed glow blobs, but just in case they exist in HTML, hide them */
.bg-glow {
    display: none !important;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 24px;
    flex-shrink: 0;
}

.sidebar-header {
    margin-bottom: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo i {
    color: var(--accent-blue);
    font-size: 24px;
}

.subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 600;
}

/* User Stats Box */
.user-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-box {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 700;
}

.stat-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-blue);
}

#user-rank {
    color: var(--accent-purple);
}

/* Sidebar Navigation Items */
.chapter-nav {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 4px;
}

#chapter-list {
    list-style: none;
}

.chapter-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.chapter-item:hover:not(.locked) {
    background: var(--bg-tertiary);
}

.chapter-item.active {
    background: var(--accent-blue-glow);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.chapter-item.locked {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
}

.chapter-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 12px;
    width: 20px;
}

.active .chapter-num {
    color: var(--accent-blue);
}

.chapter-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.active .chapter-name {
    color: var(--accent-blue);
    font-weight: 700;
}

.indicator {
    font-size: 11px;
    color: var(--text-muted);
}

.active .indicator {
    color: var(--accent-blue);
}

.sidebar-footer {
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    background: var(--bg-primary);
}

/* Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.header-info .current-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    font-weight: 700;
}

.header-info h1 {
    font-size: 24px;
    font-weight: 800;
    margin-top: 6px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.chapter-progress-container {
    width: 250px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-blue);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* View Container */
.view-container {
    padding: 40px;
    flex-grow: 1;
}

/* Chapter Grid */
.chapter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    /* narrowed for elegance */
    margin: 0 auto;
}

/* Game Card Base */
.game-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-normal);
}

.game-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.game-header {
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
}

.game-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 20px;
}

.game-title {
    flex-grow: 1;
}

.game-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.game-title p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}

.game-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.game-badge.completed {
    background: var(--accent-green-glow);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.game-body {
    padding: 30px;
}

/* ==========================================================================
   DRAG AND DROP COMMON
   ========================================================================== */
.concepts-container,
.threat-zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.concept-dropzone,
.threat-dropzone,
.top-dropzone {
    background: var(--bg-tertiary);
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 20px;
    min-height: 180px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.concept-dropzone.drag-over,
.threat-dropzone.drag-over,
.top-dropzone.drag-over {
    border-color: var(--accent-blue);
    background: var(--accent-blue-glow);
    transform: translateY(-2px);
}

.concept-dropzone.success-zone,
.threat-dropzone.success-zone {
    border-color: var(--accent-green);
    background: var(--accent-green-glow);
}

.dropzone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.dropzone-header i {
    font-size: 18px;
    color: var(--accent-blue);
}

.dropzone-header h4 {
    font-size: 15px;
    font-weight: 700;
}

.turkish-lbl {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.concept-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 15px;
}

.dropped-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.scenarios-source {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.source-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 700;
}

.draggable-scenarios {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.scenario-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: grab;
    user-select: none;
    transition: var(--transition-fast);
    max-width: calc(50% - 6px);
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.scenario-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.scenario-card:active {
    cursor: grabbing;
}

.scenario-card i {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 3px;
}

/* Colors for matched cards */
.correct-possession,
.correct-authenticity,
.correct-utility,
.correct-match {
    cursor: default;
    box-shadow: none;
}

.correct-possession {
    background: var(--accent-blue-glow);
    border-color: var(--accent-blue);
}

.correct-authenticity {
    background: var(--accent-purple-glow);
    border-color: var(--accent-purple);
}

.correct-utility {
    background: var(--accent-green-glow);
    border-color: var(--accent-green);
}

.dragging {
    opacity: 0.5;
    border-color: var(--accent-blue);
    transform: scale(0.98);
}

/* ==========================================================================
   MODULE 2: ROLES GAME
   ========================================================================== */
.roles-game {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 800px) {
    .roles-game {
        grid-template-columns: 1fr;
    }
}

.task-dispenser {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.dispenser-header {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.active-task-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    animation: scaleIn 0.3s ease;
}

.active-task-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.active-task-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.dispenser-footer {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

#roles-remaining {
    font-weight: 700;
    color: var(--text-primary);
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.role-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.role-btn:hover {
    border-color: var(--accent-blue);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.role-btn:active {
    transform: scale(0.98);
}

.role-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.role-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* ==========================================================================
   MODULE 3: LAB GAME (General UI forms)
   ========================================================================== */
.lab-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
}

.lab-step-indicator {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.lab-step-indicator.active {
    background: var(--bg-secondary);
    color: var(--accent-blue);
    border: 1px solid var(--glass-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.lab-step-indicator.completed {
    color: var(--accent-green);
}

.lab-step-indicator.completed .step-num {
    background: var(--accent-green);
    color: white;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.active .step-num {
    background: var(--accent-blue);
    color: white;
}

.lab-workspace {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.lab-step-panel {
    display: none;
    padding: 24px;
    animation: fadeIn 0.4s ease;
    height: 100%;
}

.lab-step-panel.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.panel-instruction {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent-blue);
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.panel-instruction i {
    color: var(--accent-blue);
    font-size: 16px;
    margin-top: 2px;
}

/* Lab 1 (MAC) */
.mac-game-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.devices-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 260px;
}

.device-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.draggable-mac {
    cursor: grab;
    border-color: #fca5a5;
}

.device-card i {
    font-size: 24px;
}

.text-danger {
    color: var(--accent-red);
}

.text-success {
    color: var(--accent-green);
}

.device-info {
    display: flex;
    flex-direction: column;
}

.device-name {
    font-weight: 700;
    font-size: 14px;
}

.device-mac {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.firewall-dropzone {
    width: 250px;
    height: 150px;
    border: 2px dashed var(--accent-red);
    border-radius: var(--radius-md);
    background: var(--accent-red-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: var(--transition-normal);
    text-align: center;
    padding: 15px;
    color: var(--accent-red);
    font-weight: 600;
}

.firewall-dropzone.drag-over {
    border-color: var(--accent-red);
    background: #fee2e2;
}

.firewall-dropzone.success-blocked {
    border-color: var(--accent-green);
    background: #ecfdf5;
    border-style: solid;
}

/* Folders */
.folders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.folder-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.folder-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.folder-card i {
    font-size: 36px;
    color: var(--accent-orange);
}

.folder-name {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    word-break: break-all;
}

.secret-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent-red);
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 4px 0;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.folder-card.clicked-success {
    border-color: var(--accent-green);
    background: #ecfdf5;
}

.folder-card.clicked-success .secret-tag {
    transform: translateY(0);
    background: var(--accent-green);
}

/* Buttons & Inputs */
.modern-select {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    min-width: 180px;
}

.action-btn {
    background: var(--accent-blue);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.action-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.4);
}

.admin-config-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 450px;
    margin: 15px auto 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.config-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.config-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Toggles */
.toggle-switch-container {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-input {
    display: none;
}

.toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 34px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-label::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition-fast);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked+.toggle-label {
    background-color: var(--accent-blue);
}

.toggle-input:checked+.toggle-label::before {
    transform: translateX(24px);
}

.toggle-status-txt {
    font-size: 12px;
    font-weight: 700;
    width: 45px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.toggle-status-txt.active-txt {
    color: var(--accent-blue);
}

/* Authority Cards */
.authority-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.authority-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.authority-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.authority-card.clicked-success {
    border-color: var(--accent-green);
    background: #ecfdf5;
}

/* ==========================================================================
   CHAPTER 2 & 3: NETWORK SIMULATOR & NEW STYLES
   ========================================================================== */
.network-sim-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.sim-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.sim-node i {
    font-size: 42px;
    color: var(--accent-blue);
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.server-node i {
    color: var(--accent-green);
}

.sim-path {
    flex-grow: 1;
    height: 4px;
    background: #cbd5e1;
    margin: 0 20px;
    position: relative;
    border-radius: 2px;
}

.data-packet {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: white;
    background: var(--accent-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.4);
    transition: left 2s linear, opacity 0.3s, background 0.3s;
    z-index: 3;
}

.attack-animation-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 4;
}

.sim-mission-panel {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
}

.attack-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.attack-tool-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.attack-tool-btn:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Linux / Motivation */
.dual-game {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.linux-sandbox-panel,
.motivations-panel {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.linux-sandbox-panel h4,
.motivations-panel h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 16px;
}

.sandbox-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 10px;
    position: relative;
    flex-grow: 1;
}

.linux-app-space {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px dashed #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    background: var(--bg-secondary);
    transition: var(--transition-normal);
}

.linux-app-space i:not(.virus-icon) {
    font-size: 28px;
    color: var(--accent-blue);
}

.linux-app-space span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
}

.virus-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 28px !important;
    color: var(--accent-red);
    opacity: 0;
    transition: opacity 0.3s;
}

.linux-app-space.infected {
    border-color: var(--accent-red);
    background: #fee2e2;
}

.linux-app-space.infected .virus-icon {
    opacity: 1;
    animation: shake 0.5s infinite alternate;
}

.isolation-wall {
    height: 120px;
    width: 4px;
    background: var(--accent-green);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.isolation-wall span {
    position: absolute;
    top: -30px;
    white-space: nowrap;
    font-size: 9px;
    color: var(--accent-green);
    text-transform: uppercase;
    font-weight: 800;
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid var(--accent-green);
}

.motivation-task {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-orange);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
}

.motivation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mot-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mot-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-2px);
}

/* ==========================================================================
   CHAPTER 3: TOPOLOGY & MAPPING
   ========================================================================== */

/* Topology Builder */
.topology-builder {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.topo-canvas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    min-height: 200px;
}

.topo-dropzone {
    width: 140px;
    height: 140px;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-secondary);
    transition: var(--transition-fast);
}

.topo-dropzone.drag-over {
    border-color: var(--accent-blue);
    background: var(--accent-blue-glow);
}

.topo-dropzone .dz-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.topo-items-pool {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.topo-item {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    cursor: grab;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.topo-item:active {
    cursor: grabbing;
}

.topo-item i {
    font-size: 18px;
    color: var(--accent-blue);
}

.dropped-topo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
}

.dropped-topo i {
    font-size: 32px;
    color: var(--accent-blue);
}

.dropped-topo span {
    font-size: 12px;
    font-weight: 700;
}

/* Network Mapping Terminal */
.mapping-sim {
    display: flex;
    gap: 20px;
}

.mapping-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.map-step-card.selected {
    border-color: var(--accent-blue);
    background: var(--accent-blue-glow);
}

.terminal-window {
    flex: 1.5;
    background: #1e293b;
    border-radius: var(--radius-md);
    padding: 15px;
    font-family: 'JetBrains Mono', monospace;
    color: #34d399;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.term-header {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.term-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.term-btn.red {
    background: #ef4444;
}

.term-btn.yellow {
    background: #f59e0b;
}

.term-btn.green {
    background: #10b981;
}

.term-body {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.term-line {
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 420px;
    padding: 40px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-blue-glow);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px auto;
}

.modal-box h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-score-details {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 24px;
}

/* Animations */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-4px);
    }

    40%,
    80% {
        transform: translateX(4px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   CHAPTER 4 SPECIFIC STYLES
   ========================================== */

/* Vuln Game */
.vuln-board {
    display: flex;
    gap: 20px;
}

.vuln-configs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.config-block {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    box-shadow: var(--card-shadow);
}

.config-block .vuln-dropzone {
    margin-top: 10px;
    min-height: 40px;
    border: 2px dashed var(--glass-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.config-block .vuln-dropzone.drag-over {
    border-color: var(--accent-blue);
    background: rgba(43, 90, 237, 0.05);
}

.vuln-pool {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Defense Game */
.defense-net {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
}

.def-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.def-status.danger {
    background: rgba(235, 59, 90, 0.1);
    color: var(--accent-red);
}

.def-status.safe {
    background: rgba(32, 191, 107, 0.1);
    color: var(--accent-green);
}

.def-node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--bg-secondary);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    margin: 0 15px;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.def-node.active-def {
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(32, 191, 107, 0.2);
}

.def-node i {
    font-size: 28px;
    margin-bottom: 8px;
}

.defense-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.def-btn {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.3s;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--card-shadow);
}

.def-btn i {
    color: var(--accent-blue);
}

.def-btn:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.def-btn.activated {
    background: rgba(32, 191, 107, 0.05);
    border-color: var(--accent-green);
}

.def-btn.activated i {
    color: var(--accent-green);
}

/* Spoofing Game */
.spoof-arena {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    box-shadow: var(--card-shadow);
}

.spoof-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    position: relative;
    z-index: 2;
}

.spoof-node i {
    font-size: 40px;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: var(--bg-secondary);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
}

.spoof-node.victim i {
    color: var(--accent-purple);
}

.spoof-node.target i {
    color: var(--accent-blue);
}

.spoof-node.attacker i {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.spoof-node.disabled {
    opacity: 0.4;
    filter: grayscale(1);
}

.spoof-path {
    flex: 1;
    height: 4px;
    background: var(--glass-border);
    position: relative;
    margin: 0 15px;
}

.spoof-msg {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.spoof-controls {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ==========================================
   CHAPTER 5 SPECIFIC STYLES
   ========================================== */

/* DDoS Game */
.ddos-arena {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.ddos-side {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--card-shadow);
}

.ddos-botnet {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    min-height: 80px;
}

.bot-pc {
    color: var(--accent-purple);
    font-size: 24px;
    transition: transform 0.1s;
}

.bot-pc.firing {
    color: var(--accent-red);
    transform: scale(1.2);
}

.server-target {
    width: 100px;
    height: 100px;
    margin: 20px auto;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--accent-green);
    position: relative;
    transition: all 0.3s;
}

.server-target.stressed {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    animation: shake 0.5s infinite;
}

.server-target.down {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(225, 29, 72, 0.1);
}

/* Spoofing Animation Specifics */
.spoof-anim-box {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
    position: relative;
}

.packet-anim {
    position: absolute;
    font-size: 20px;
    color: var(--accent-red);
    opacity: 0;
    transition: all 1s linear;
}

/* ==========================================
   CHAPTER 6 SPECIFIC CUSTOM STYLES
   ========================================== */
.malware-item,
.pipeline-item,
.hexad-item,
.cycle-item {
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    user-select: none;
}

.malware-item:hover,
.pipeline-item:hover,
.hexad-item:hover,
.cycle-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue) !important;
}

.malware-item:active,
.pipeline-item:active,
.hexad-item:active,
.cycle-item:active {
    cursor: grabbing;
}

.pipeline-slot,
.malware-dropzone-box,
.hexad-zone,
.cycle-slot {
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#risk-trust-slider {
    -webkit-appearance: none;
    appearance: none;
    background: var(--bg-tertiary);
    height: 8px;
    border-radius: 4px;
    outline: none;
    border: 1px solid var(--glass-border);
}

#risk-trust-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    border: 2px solid var(--text-primary);
    transition: transform 0.1s ease;
}

#risk-trust-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* ==========================================
   CHAPTER 7 SPECIFIC CUSTOM STYLES
   ========================================== */
.threat-cc-item,
.mitigate-item,
.ir-item {
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    user-select: none;
}

.threat-cc-item:hover,
.mitigate-item:hover,
.ir-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue) !important;
}

.threat-cc-item:active,
.mitigate-item:active,
.ir-item:active {
    cursor: grabbing;
}

.threat-cc-zone,
.mitigate-zone,
.ir-slot {
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ir-sim-node {
    z-index: 2;
    transition: color 0.3s ease;
}

/* ==========================================
   CHAPTER 8 SPECIFIC CUSTOM STYLES
   ========================================== */
.crime-item,
.mal-analys-item,
.phishing-item,
.malware9-item {
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    user-select: none;
}

.crime-item:hover,
.mal-analys-item:hover,
.phishing-item:hover,
.malware9-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue) !important;
}

.crime-item:active,
.mal-analys-item:active,
.phishing-item:active,
.malware9-item:active {
    cursor: grabbing;
}

.crime-zone,
.mal-analys-zone,
.phishing-zone,
.malware9-zone {
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* ==========================================
   CHAPTER 9 SPECIFIC CUSTOM STYLES
   ========================================== */
.mock-popups-container {
    position: relative;
    width: 100%;
    height: 320px;
    background: #090d16;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.mock-popup-window {
    position: absolute;
    width: 260px;
    background: #1e293b;
    border: 2px solid var(--accent-red);
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 10;
}

.mock-popup-header {
    background: var(--accent-red);
    color: #fff;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: bold;
}

.mock-popup-body {
    padding: 12px;
    font-size: 11px;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.4;
    background: #111827;
}

.mock-regedit {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: 300px;
    background: #111827;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.reg-tree {
    background: #1e293b;
    border-right: 1px solid var(--glass-border);
    padding: 12px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.reg-tree-node {
    padding: 6px 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reg-tree-node:hover,
.reg-tree-node.selected {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.reg-values {
    padding: 15px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.reg-value-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 2fr 40px;
    padding: 8px;
    border-bottom: 1px solid #374151;
    align-items: center;
    gap: 10px;
}

.reg-value-row.reg-value-header {
    font-weight: bold;
    border-bottom: 2px solid var(--glass-border);
    color: var(--text-muted);
}

.reg-value-row .delete-btn {
    background: none;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 13px;
    transition: transform 0.2s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reg-value-row .delete-btn:hover {
    transform: scale(1.2);
}

.dropped-phishing,
.dropped-malware9 {
    min-height: 40px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Chapter 11 Custom Element Smooth Updates */
#ch11-law-quiz select.modern-select {
    cursor: pointer;
    background-color: var(--bg-primary);
    border-color: var(--glass-border);
    color: var(--text-primary);
    padding: 10px;
    border-radius: var(--radius-sm);
}

#ch11-law-quiz select.modern-select:focus {
    border-color: var(--accent-blue);
}

.ch11-op-btn {
    transition: all 0.2s ease-in-out;
}

.ch11-op-btn:hover:not(:disabled) {
    transform: scale(1.03);
    filter: brightness(1.2);
}

/* Chapter 12 Custom Alignment Improvements */
#ch12-principles-list select.modern-select {
    cursor: pointer;
    background-color: var(--bg-primary);
    border-color: var(--glass-border);
    color: var(--text-primary);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

#ch12-principles-list select.modern-select:focus {
    border-color: var(--accent-blue);
}

.ch12-strat-verify-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ch12-strat-verify-btn:hover:not(:disabled) {
    border-color: var(--accent-purple) !important;
    background: var(--accent-purple-glow) !important;
    color: var(--accent-purple) !important;
    transform: translateY(-1px);
}

/* Linux Terminal Simulation Style Overrides */
.terminal-window {
    background: #090d16;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
}

.term-body::-webkit-scrollbar {
    width: 4px;
}

.term-body::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 2px;
}

#ch14-cmd-input::placeholder {
    color: #1e293b;
    font-style: italic;
}