/* ═══════════════════════════════════════════════════════
   KALI_OS v3.2 — Complete Design System
   ═══════════════════════════════════════════════════════ */

:root {
    --kali-bg: #0A0A0C;
    --kali-surface: #121216;
    --kali-surface-light: #1A1A22;
    --kali-blue: #367BF0;
    --kali-blue-light: #81D0F8;
    --kali-blue-glow: rgba(54, 123, 240, 0.35);
    --kali-green: #00E639;
    --kali-red: #FF5555;
    --kali-orange: #FFB86C;
    --kali-border: rgba(255, 255, 255, 0.08);
    --kali-glass: rgba(18, 18, 22, 0.88);
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    --panel-h: 28px;
    --task-h: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
    user-select: none;
}

/* ── Body & Wallpaper ──────────────────────────────── */
body {
    background-color: var(--kali-bg);
    background-image: url('../../kali.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #E5E2E1;
    font-family: var(--font-sans);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

/* Subtle vignette over wallpaper */
.desktop-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Matrix rain canvas — very subtle over wallpaper */
#matrix-canvas {
    position: fixed;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    pointer-events: none;
}

/* CRT scanlines */
.scanline {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    z-index: 9999;
    pointer-events: none;
}

/* ── Right-Click Context Menu ───────────────────────── */
.ctx-menu {
    display: none;
    position: fixed;
    min-width: 200px;
    background: rgba(14, 14, 18, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6);
    padding: 6px 0;
    z-index: 9200;
    animation: dropOpen 0.1s ease-out;
}

.ctx-menu.show { display: block; }

.ctx-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    font-size: 11px;
    color: #ccc;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
    font-family: var(--font-sans);
}

.ctx-item:hover {
    background: rgba(54, 123, 240, 0.15);
    color: #fff;
}

.ctx-item i, .ctx-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ctx-item .ctx-label { flex: 1; }

.ctx-item .ctx-shortcut {
    font-size: 9px;
    color: #555;
    font-family: var(--font-mono);
}

.ctx-sep {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 8px;
}

/* ── Login Screen ──────────────────────────────────── */
#login-screen {
    position: fixed;
    inset: 0;
    background: #0d0d0f;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

.login-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 2px solid rgba(255,255,255,0.1);
    background: #1a1a1e;
}

.login-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-box {
    width: 280px;
    text-align: center;
    font-family: var(--font-mono);
}

.login-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 14px;
    color: #fff;
    font-size: 12px;
    font-family: var(--font-mono);
    margin-bottom: 10px;
    text-align: center;
    outline: none;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.login-input:focus {
    border-color: var(--kali-blue);
}

.login-btn {
    width: 100%;
    background: var(--kali-blue);
    color: #fff;
    padding: 10px;
    font-weight: 700;
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.login-btn:hover {
    background: #4a8df8;
    box-shadow: 0 0 20px var(--kali-blue-glow);
}

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

/* ── Top Panel (XFCE-style) ────────────────────────── */
.top-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--panel-h);
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(12px);
}

.panel-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kali-logo {
    color: var(--kali-blue);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-family: var(--font-mono);
    text-shadow: 0 0 8px rgba(54, 123, 240, 0.4);
}

.menu-btn {
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.15s;
    font-size: 11px;
}

.menu-btn:hover {
    color: #fff;
}

/* ── Panel Dropdown Menus ────────────────────────────── */
.menu-btn {
    position: relative;
}

.menu-btn.open {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(var(--panel-h) + 2px);
    left: 0;
    min-width: 280px;
    background: rgba(14, 14, 18, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
    padding: 6px 0;
    z-index: 5100;
    animation: dropOpen 0.12s ease-out;
}

.dropdown.show {
    display: block;
}

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

/* User banner at top of Applications menu */
.drop-user-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 4px;
}

.drop-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(54, 123, 240, 0.4);
    overflow: hidden;
    flex-shrink: 0;
}

.drop-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drop-user-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.drop-user-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
}

.drop-user-host {
    font-size: 9px;
    color: var(--kali-blue);
    font-family: var(--font-mono);
}

.drop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    font-size: 11px;
    color: #ccc;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
    font-family: var(--font-sans);
}

.drop-item:hover {
    background: rgba(54, 123, 240, 0.15);
    color: #fff;
}

.drop-item i, .drop-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.drop-item .drop-label {
    flex: 1;
}

.drop-item .drop-shortcut {
    font-size: 9px;
    color: #555;
    font-family: var(--font-mono);
}

.drop-item .drop-arrow {
    font-size: 10px;
    color: #555;
    font-family: var(--font-mono);
}

.drop-sep {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 8px;
}

.drop-heading {
    padding: 5px 16px 3px;
    font-size: 9px;
    color: #555;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.sys-tray {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
}

.sys-tray a {
    color: #888;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.sys-tray a:hover {
    color: #fff;
}

/* ── Desktop Area ──────────────────────────────────── */
#desktop-area {
    position: fixed;
    top: var(--panel-h);
    bottom: var(--task-h);
    left: 0;
    right: 0;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

/* ── Desktop Icons ─────────────────────────────────── */
.desktop-icons {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    grid-template-columns: repeat(2, 80px);
    grid-auto-rows: min-content;
    gap: 12px 24px;
    z-index: 20;
}

.icon {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    padding: 10px 6px;
    transition: background 0.15s;
    border: 1px solid transparent;
    cursor: pointer;
}

.icon:hover {
    background: rgba(255, 255, 255, 0.08);
}

.icon:active {
    background: rgba(54, 123, 240, 0.15);
    border-color: rgba(54, 123, 240, 0.3);
}

.icon i {
    color: #ccc;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}

.icon span {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.9);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Window Manager ────────────────────────────────── */
.window {
    position: absolute;
    background: var(--kali-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--kali-border);
    border-radius: 8px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.03) inset;
    display: none;
    flex-direction: column;
    overflow: hidden;
    min-width: 320px;
    min-height: 200px;
    height: auto !important;
    max-height: calc(100vh - 120px);
    transition: box-shadow 0.2s;
    animation: windowOpen 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes windowOpen {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.window.active {
    border-color: rgba(54, 123, 240, 0.4);
    box-shadow:
        0 12px 48px rgba(0,0,0,0.6),
        0 0 0 1px rgba(54, 123, 240, 0.15) inset,
        0 0 30px rgba(54, 123, 240, 0.06);
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0;
}

.window-header {
    height: 32px;
    min-height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    cursor: grab;
}

.window-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.window-header:active {
    cursor: grabbing;
}

.window-title {
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 600;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.window-ctrls {
    display: flex;
    gap: 7px;
}

.win-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: filter 0.15s;
}

.win-btn:hover {
    filter: brightness(1.3);
}

.btn-close { background: #FF5F57; }
.btn-min   { background: #FEBC2E; }
.btn-max   { background: #28C840; }

.window-content {
    flex: 1;
    overflow: auto;
}

/* Scrollbar styling */
.window-content::-webkit-scrollbar { width: 6px; }
.window-content::-webkit-scrollbar-track { background: transparent; }
.window-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

/* ── Taskbar ───────────────────────────────────────── */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--task-h);
    background: rgba(0, 0, 0, 0.92);
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 5000;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
    backdrop-filter: blur(12px);
}

.task-item {
    height: 30px;
    min-width: 120px;
    max-width: 180px;
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
    font-size: 11px;
    color: #999;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
    overflow: hidden;
}

.task-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-item:hover {
    background: rgba(255,255,255,0.08);
    color: #ccc;
}

.task-item.active {
    background: rgba(54, 123, 240, 0.12);
    border-bottom: 2px solid var(--kali-blue);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(54, 123, 240, 0.15);
}

/* ── Dossier (whoami.txt) ──────────────────────────── */
.dossier-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 20px;
}

.dossier-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dossier-pic {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(54, 123, 240, 0.4);
    padding: 3px;
    background: #0a0a0c;
    box-shadow: 0 0 20px rgba(54, 123, 240, 0.15);
    transition: box-shadow 0.3s ease;
}

.dossier-pic:hover {
    box-shadow: 0 0 30px rgba(54, 123, 240, 0.3);
}

.dossier-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.8) contrast(1.1);
}

.dossier-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    letter-spacing: -0.5px;
}

/* Badges */
.stat-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-cyan {
    background: rgba(54, 123, 240, 0.12);
    color: var(--kali-blue);
    border: 1px solid rgba(54, 123, 240, 0.25);
}

.badge-green {
    background: rgba(0, 230, 57, 0.1);
    color: var(--kali-green);
    border: 1px solid rgba(0, 230, 57, 0.25);
}

/* ── Project Cards ─────────────────────────────────── */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding: 20px;
}

.project-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.25s;
}

.project-card {
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--kali-blue), var(--kali-blue-light), var(--kali-blue), transparent);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
    animation: cardScan 1.2s ease-in-out;
}

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

.project-card:hover {
    border-color: rgba(54, 123, 240, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(54, 123, 240, 0.08);
}

.project-card:hover .p-thumb img {
    transform: scale(1.05);
}

.p-thumb {
    height: 150px;
    background: #0a0a10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.p-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,16,0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.p-thumb img {
    transition: transform 0.35s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-body { padding: 14px; }
.p-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: #fff; }
.p-desc { font-size: 11px; color: #888; line-height: 1.5; margin-bottom: 12px; }

/* ── Radar & Stats ─────────────────────────────────── */
.radar-box {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.stats-wrap {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 16px;
    border-radius: 6px;
}

.stat-lab {
    font-size: 9px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.stat-val {
    font-size: 22px;
    font-weight: 700;
    color: var(--kali-blue);
    font-family: var(--font-mono);
}

.prog-bg {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.05);
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--kali-blue), var(--kali-blue-light));
    transition: width 0.5s ease-out;
    border-radius: 2px;
}

/* ── Terminal ──────────────────────────────────────── */
.term-box { background: #0d0d0f; height: 100%; padding: 20px; font-family: var(--font-mono); font-size: 13px; overflow-y: auto; color: #fff; }
.term-row { margin-bottom: 15px; }
.term-prompt { color: var(--kali-blue); font-weight: 700; line-height: 1.4; display: block; }
.term-input-line { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
#term-input { 
    background: transparent; border: none; outline: none; color: #fff; 
    flex: 1; font-family: var(--font-mono); font-size: 13px; 
    caret-color: var(--kali-blue);
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Notifications ─────────────────────────────────── */
#notify-area {
    position: fixed;
    top: 40px;
    right: 16px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    width: 280px;
    background: rgba(18, 18, 22, 0.95);
    border: 1px solid rgba(54, 123, 240, 0.3);
    padding: 12px 14px;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: toastSlide 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
}

@keyframes toastSlide {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ── Contact Form ──────────────────────────────────── */
.contact-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 14px;
    color: #fff;
    font-size: 12px;
    font-family: var(--font-mono);
    outline: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.contact-input:focus {
    border-color: var(--kali-blue);
    background: rgba(54, 123, 240, 0.05);
    box-shadow: 0 0 0 2px rgba(54, 123, 240, 0.1);
}

.contact-input::placeholder {
    color: #666;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--kali-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(54, 123, 240, 0.2);
}

.contact-btn:hover {
    background: #468bf5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(54, 123, 240, 0.3);
}

.contact-btn:disabled {
    background: #444;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.social-link {
    color: #888;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--kali-blue);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ── Mobile Mode ───────────────────────────────────── */
#mobile-mode {
    display: none;
}

@media (max-width: 768px) {
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100% !important;
        position: relative !important;
        -webkit-overflow-scrolling: touch;
    }
    #mobile-mode {
        display: block !important;
        background: var(--kali-bg);
        overflow: visible !important;
    }
    
    .mob-header {
        position: sticky;
        top: 0;
        background: rgba(10, 10, 12, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--kali-border);
        padding: 12px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
    }
    
    .mob-logo {
        color: var(--kali-blue);
        font-weight: 900;
        font-family: var(--font-mono);
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .mob-status {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #888;
        font-size: 11px;
        font-family: var(--font-mono);
    }
    
    .mob-container {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 80px;
    }
    
    .mob-card {
        background: var(--kali-surface);
        border: 1px solid var(--kali-border);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }
    
    .mob-card-header {
        background: rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 10px 14px;
        font-size: 11px;
        font-family: var(--font-mono);
        font-weight: 600;
        color: #aaa;
        display: flex;
        align-items: center;
        gap: 8px;
        text-transform: uppercase;
    }
    
    .mob-card-body {
        padding: 16px;
    }
    
    .mob-avatar {
        width: 60px;
        height: 60px;
        border: 1px solid rgba(54, 123, 240, 0.4);
        padding: 2px;
        background: #0a0a0c;
        object-fit: cover;
    }
    
    .mob-btn {
        display: block;
        width: 100%;
        padding: 12px;
        background: var(--kali-blue);
        color: #fff;
        text-align: center;
        font-size: 11px;
        font-weight: 700;
        font-family: var(--font-mono);
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none;
        border-radius: 4px;
        text-decoration: none;
        margin-bottom: 10px;
    }
    
    .mob-tab-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(10, 10, 12, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--kali-border);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 2000;
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mob-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #666;
        flex: 1;
        height: 100%;
        cursor: pointer;
        transition: color 0.2s;
    }
    
    .mob-tab.active {
        color: var(--kali-blue);
    }
    
    .mob-tab span {
        font-size: 9px;
        font-family: var(--font-mono);
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
}

/* ── Terminal Interactions & Glitches ──────────────── */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch {
    animation: glitch 0.2s infinite;
}

@keyframes flicker {
    0% { opacity: 0.9; }
    5% { opacity: 0.7; }
    10% { opacity: 0.9; }
    15% { opacity: 0.8; }
    20% { opacity: 1; }
    25% { opacity: 0.9; }
    30% { opacity: 1; }
    100% { opacity: 1; }
}

.screen-flicker {
    animation: flicker 0.15s infinite;
}

@keyframes fadeOut {
    from { opacity: 1; filter: brightness(1); }
    to { opacity: 0; filter: brightness(0); }
}

.terminal-fade-out {
    animation: fadeOut 2s forwards ease-in;
}

/* Classified/Hire Panel Styling */
.classified-panel {
    background: rgba(54, 123, 240, 0.05);
    border: 1px solid var(--kali-blue);
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.classified-header {
    background: var(--kali-blue);
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

/* ── Whisker Menu (Start Menu) ──────────────────────── */
.whisker-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9100;
}

.whisker-overlay.show { display: block; }

.whisker-menu {
    position: fixed;
    bottom: var(--task-h);
    left: 0;
    width: 340px;
    max-height: calc(100vh - var(--panel-h) - var(--task-h) - 20px);
    background: rgba(14, 14, 18, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -8px 48px rgba(0,0,0,0.6);
    z-index: 9101;
    display: none;
    flex-direction: column;
    animation: whiskerOpen 0.15s ease-out;
    overflow: hidden;
}

.whisker-menu.show {
    display: flex;
}

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

.whisker-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.whisker-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(54, 123, 240, 0.4);
    overflow: hidden;
    flex-shrink: 0;
}

.whisker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whisker-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
}

.whisker-user-host {
    font-size: 9px;
    color: var(--kali-blue);
    font-family: var(--font-mono);
}

.whisker-search {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.whisker-search input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 12px;
    color: #fff;
    font-size: 11px;
    font-family: var(--font-mono);
    outline: none;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.whisker-search input:focus {
    border-color: var(--kali-blue);
}

.whisker-search input::placeholder {
    color: #555;
}

.whisker-body {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
}

.whisker-body::-webkit-scrollbar { width: 4px; }
.whisker-body::-webkit-scrollbar-track { background: transparent; }
.whisker-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.whisker-cat {
    padding: 5px 16px 3px;
    font-size: 9px;
    color: #555;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.whisker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 11px;
    color: #ccc;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
    font-family: var(--font-sans);
}

.whisker-item:hover {
    background: rgba(54, 123, 240, 0.15);
    color: #fff;
}

.whisker-item i, .whisker-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--kali-blue);
}

.whisker-item .wk-label { flex: 1; }

.whisker-item .wk-badge {
    font-size: 8px;
    color: #555;
    font-family: var(--font-mono);
    background: rgba(255,255,255,0.04);
    padding: 1px 5px;
    border-radius: 2px;
}

.whisker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.whisker-power {
    display: flex;
    gap: 6px;
}

.whisker-power-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
    color: #888;
}

.whisker-power-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.whisker-power-btn i, .whisker-power-btn svg {
    width: 14px;
    height: 14px;
}

.whisker-power-btn.danger:hover {
    background: rgba(255, 85, 85, 0.15);
    color: var(--kali-red);
}

/* ── Window Snap Indicator ───────────────────────────── */
.snap-indicator {
    position: fixed;
    background: rgba(54, 123, 240, 0.12);
    border: 2px dashed rgba(54, 123, 240, 0.4);
    border-radius: 8px;
    z-index: 99;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s, all 0.15s;
}

.snap-indicator.show {
    opacity: 1;
}

/* ── Notification Badge ──────────────────────────────── */
.notify-badge {
    position: relative;
}

.notify-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    width: 6px;
    height: 6px;
    background: var(--kali-red);
    border-radius: 50%;
    border: 1px solid #000;
}

/* ── Accessibility: Reduced Motion ───────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    #matrix-canvas { display: none !important; }
    .scanline { display: none !important; }
    .boot-line { opacity: 1 !important; transform: none !important; }
}

/* ── Footer Status Bar ──────────────────────────────── */

/* ── Cursor: Pointer for Interactive Elements ────────── */
.icon,
.menu-btn,
.task-item,
.drop-item,
.ctx-item,
.whisker-item,
.whisker-power-btn,
.contact-btn,
.mob-btn,
.mob-tab,
.login-btn,
.social-link,
.project-card a,
.project-card {
    cursor: pointer;
}
