:root {
    /* Exact Kali Linux Color Palette */
    --kali-blue: #367bf0;
    --kali-green: #00ff41;
    --kali-red: #ff3e3e;
    --kali-orange: #ff9500;
    --kali-yellow: #ffd500;

    /* Dark Theme Colors */
    --kali-dark: #0a0e14;
    --kali-darker: #070a0f;
    --panel-bg: rgba(26, 29, 35, 0.95);
    --window-bg: #1e2228;
    --titlebar-bg: #2d3139;
    --border-color: #3a3f4b;

    /* Text Colors */
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-green: #00ff41;

    /* Wallpaper Gradient */
    --wallpaper-base: #0a0e17;
    --wallpaper-blue: #1e3a5f;
    --wallpaper-purple: #2a1b4d;

    /* Fonts */
    --font-mono: 'Roboto Mono', 'Courier New', Consolas, monospace;
    --font-ui: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-panel: 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-window: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-icon: 0 2px 8px rgba(0, 0, 0, 0.9);
    --glow-blue: 0 0 20px rgba(54, 123, 240, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-ui);
    background: var(--kali-dark);
    color: var(--text-primary);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: fixed;
}



.gnome-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(54, 123, 240, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    z-index: 10000;
    box-shadow: var(--shadow-panel);
    font-size: 13px;
    font-weight: 400;
}

.panel-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activities-button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.activities-button:hover {
    background: rgba(54, 123, 240, 0.2);
    color: white;
}

.activities-button:active {
    background: rgba(54, 123, 240, 0.3);
}

/* Kali Menu & Panel Buttons */
.kali-menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

.kali-logo-btn {
    background: transparent;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.kali-logo-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.kali-menu-dropdown {
    position: absolute;
    top: 38px;
    left: 0;
    width: 280px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    display: none;
    z-index: 10000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.kali-menu-dropdown.show {
    display: block;
}

.menu-header {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #367bf0;
    color: white;
}

.menu-item i {
    width: 16px;
    height: 16px;
}

.menu-separator {
    height: 1px;
    background: #333;
    margin: 6px 0;
}

.menu-item.highlight {
    color: #367bf0;
    font-weight: 500;
}

.menu-item.highlight:hover {
    color: white;
}

.firefox-btn {
    background: transparent;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin-left: 4px;
}

.firefox-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.app-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.app-menu:hover {
    background: rgba(255, 255, 255, 0.05);
}

.app-menu-icon {
    font-size: 15px;
    color: var(--text-secondary);
}

.app-menu-name {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 400;
}

.panel-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.panel-clock {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 12px;
    letter-spacing: 0.3px;
}

.panel-right {
    display: flex;
    align-items: center;
}

.system-tray {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tray-icon {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
}

.tray-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.power-icon {
    font-size: 17px;
    font-weight: bold;
}

/* ========================================
   DESKTOP & WALLPAPER
   ======================================== */

.desktop {
    position: fixed;
    top: 34px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.wallpaper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url('../kali-wallpaper.png') center/cover no-repeat,
        linear-gradient(135deg, #0a0e14 0%, #1a1f2e 100%);
    z-index: 0;
}

.wallpaper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

/* Matrix Rain Effect */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

/* ========================================
   DESKTOP ICONS
   ======================================== */

.desktop-icons-grid {
    position: relative;
    z-index: 2;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(2, 110px);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 20px;
    align-content: start;
}

.desktop-icon {
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 14px 8px;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
    position: relative;
}

.desktop-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(54, 123, 240, 0);
    border-radius: 10px;
    transition: all 0.25s ease;
    z-index: -1;
}

.desktop-icon:hover::before,
.desktop-icon:focus::before {
    background: rgba(54, 123, 240, 0.15);
    box-shadow: var(--glow-blue);
}

.desktop-icon:active {
    transform: scale(0.96);
}

.icon-graphic {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.25s ease;
    filter: drop-shadow(var(--shadow-icon));
}

.desktop-icon:hover .icon-graphic {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(54, 123, 240, 0.5));
}

/* Lucide icon styling */
.icon-lucide {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 2;
}

/* Gradient backgrounds matching reference repo */
.icon-blue {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.icon-amber {
    background: linear-gradient(135deg, #4a90e2 0%, #2563eb 50%, #1e40af 100%);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.icon-amber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 12px;
    pointer-events: none;
}

.icon-purple {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
}

.icon-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.icon-gray {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.icon-rose {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

.icon-graphic svg,
.icon-graphic img {
    width: 100%;
    height: 100%;
    display: block;
}

.icon-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
}

/* ========================================
   WINDOWS (GNOME Style)
   ======================================== */

.windows-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.gnome-window {
    position: absolute;
    min-width: 480px;
    min-height: 360px;
    background: var(--window-bg);
    border-radius: 12px 12px 0 0;
    box-shadow: var(--shadow-window);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gnome-window.focused {
    box-shadow:
        var(--shadow-window),
        0 0 0 1px rgba(54, 123, 240, 0.3);
}

.gnome-window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0;
}

.gnome-window.minimized {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
}

.window-titlebar {
    background: var(--titlebar-bg);
    height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
    cursor: move;
    user-select: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.window-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.window-controls {
    display: flex;
    gap: 10px;
}

.window-btn {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.window-btn .btn-icon {
    display: block;
    margin-top: -2px;
}

.window-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.minimize-btn:hover {
    background: var(--kali-yellow);
    color: var(--kali-dark);
}

.maximize-btn:hover {
    background: var(--kali-orange);
    color: var(--kali-dark);
}

.close-btn:hover {
    background: var(--kali-red);
    color: white;
}

.window-content {
    flex: 1;
    overflow: auto;
    background: var(--window-bg);
}



.window-resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    cursor: nwse-resize;
    z-index: 10;
}

/* ========================================
   TERMINAL WINDOW
   ======================================== */

.terminal-window {
    background: var(--kali-darker);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-green);
    height: 100%;
    overflow-y: auto;
}

.terminal-output {
    margin-bottom: 12px;
}

.terminal-line {
    margin-bottom: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terminal-prompt {
    color: var(--kali-blue);
    font-weight: 700;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-green);
    font-family: var(--font-mono);
    font-size: 14px;
    caret-color: var(--text-green);
}

.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background: var(--text-green);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-window {
    padding: 28px 32px;
    color: var(--text-secondary);
}

.content-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--kali-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(54, 123, 240, 0.3);
}

.content-section {
    margin-bottom: 28px;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 20px;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 14px;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.content-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--kali-blue);
    font-weight: bold;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.project-card {
    background: rgba(26, 29, 35, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.project-card:hover {
    border-color: var(--kali-blue);
    box-shadow: var(--glow-blue);
    transform: translateY(-4px);
}

.project-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--kali-blue);
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    background: rgba(54, 123, 240, 0.15);
    color: #4a8fff;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-family: var(--font-mono);
    font-weight: 500;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.skill-item {
    background: rgba(26, 29, 35, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.25s ease;
}

.skill-item:hover {
    border-color: var(--kali-blue);
    box-shadow: 0 0 16px rgba(54, 123, 240, 0.2);
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 14px;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--kali-blue), #4a8fff);
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* ========================================
   GNOME DOCK
   ======================================== */

.gnome-dock {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.dock-container {
    background: rgba(26, 29, 35, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(54, 123, 240, 0.25);
    border-radius: 14px;
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dock-app {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(54, 123, 240, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-size: 24px;
}

.dock-app:hover {
    background: rgba(54, 123, 240, 0.25);
    transform: translateY(-6px);
}

.dock-app.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 28px;
    height: 3px;
    background: var(--kali-blue);
    border-radius: 2px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .desktop-icons-grid {
        grid-template-columns: repeat(auto-fill, 90px);
        gap: 20px 16px;
        padding: 20px 16px;
    }

    .desktop-icon {
        width: 90px;
        padding: 10px 6px;
    }

    .icon-graphic {
        width: 56px;
        height: 56px;
    }

    .icon-label {
        font-size: 12px;
    }

    .gnome-window {
        min-width: 320px;
        width: 95vw !important;
        max-width: 95vw;
    }

    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .content-window {
        padding: 20px 18px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gnome-window {
    animation: windowOpen 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   NEW KALI MENU (GNOME 46 STYLE)
   ======================================== */

.kali-menu-dropdown {
    position: absolute;
    top: 38px;
    left: 4px;
    width: 640px;
    /* Wider for 2 cols */
    height: 480px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 10000;
    overflow: hidden;
    padding: 0;
    /* Reset padding for grid */
}

.kali-menu-grid {
    display: flex;
    height: 100%;
}

/* LEFT SIDEBAR: Categories */
.menu-categories {
    width: 240px;
    background: #161616;
    /* Slightly darker */
    overflow-y: auto;
    padding: 8px 0;
    border-right: 1px solid #333;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.1s;
}

.category-item:hover,
.category-item.active {
    background: #333;
    color: white;
}

.cat-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* RIGHT CONTENT: Apps */
.menu-apps {
    flex: 1;
    background: #1e1e1e;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
    color: #eee;
    font-size: 13px;
}

.app-item:hover {
    /* Kali blue selection */
    background: #367bf0;
    color: white;
}

.app-icon-box {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* Optional background for icon */
}

.terminal-box {
    color: #ccc;
}

.root-box {
    color: #ff3e3e;
}

.folder-box {
    color: #367bf0;
}

.text-box {
    color: #fff;
}

.browser-box {
    color: #367bf0;
}

.app-icon-box svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   FILE MANAGER (THUNAR STYLE)
   ======================================== */

.file-manager-container {
    display: flex;
    height: 100%;
    background: #1e2228;
    color: #e6edf3;
}

.thunar-sidebar {
    width: 180px;
    background: #16191d;
    border-right: 1px solid #2d3139;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.thunar-place {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 13px;
    color: #aeb5bc;
    cursor: pointer;
    transition: background 0.1s;
}

.thunar-place:hover,
.thunar-place.active {
    background: rgba(54, 123, 240, 0.2);
    color: white;
}

.thunar-place svg {
    width: 16px;
    height: 16px;
}

.thunar-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.thunar-toolbar {
    height: 40px;
    border-bottom: 1px solid #2d3139;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 12px;
}

.thunar-path-bar {
    flex: 1;
    background: #121418;
    border: 1px solid #2d3139;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #8b949e;
    font-family: var(--font-mono);
}

.thunar-grid {
    flex: 1;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 16px;
    align-content: start;
    overflow-y: auto;
}

.thunar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
}

.thunar-item:hover {
    background: rgba(54, 123, 240, 0.2);
}

.thunar-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.thunar-icon img,
.thunar-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.thunar-label {
    font-size: 12px;
    text-align: center;
    color: #e6edf3;
    word-break: break-all;

    /* Projects Detailed View */
    .project-window h2 {
        border-bottom: 2px solid #333;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .projects-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .project-card-detailed {
        background: rgba(30, 30, 30, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 20px;
        transition: transform 0.2s, background 0.2s;
    }

    .project-card-detailed:hover {
        background: rgba(40, 40, 40, 0.8);
        transform: translateY(-2px);
        border-color: #367bf0;
    }

    .project-header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 8px;
    }

    .project-title {
        font-size: 1.2rem;
        font-weight: bold;
        color: #367bf0;
        /* Kali Blue */
    }

    .project-period {
        font-size: 0.9rem;
        color: #888;
    }

    .project-tech {
        font-size: 0.9rem;
        color: #00ff41;
        /* Kali Green */
        font-family: 'Roboto Mono', monospace;
        margin-bottom: 12px;
    }

    .project-desc {
        font-size: 0.95rem;
        color: #ddd;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .project-features {
        list-style: disc;
        margin-left: 20px;
        color: #bbb;
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .project-features li {
        margin-bottom: 4px;
    }

    .project-achievements {
        font-size: 0.9rem;
        color: #fff;
        background: rgba(54, 123, 240, 0.1);
        padding: 8px 12px;
        border-left: 3px solid #367bf0;
        margin-bottom: 16px;
    }

    .project-btn {
        background: #367bf0;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        transition: background 0.2s;
    }

    .project-btn:hover {
        background: #2b63c1;
    }
}

/* Bootloader Styles */
#bootloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    padding: 20px;
    overflow: hidden;
    color: #ccc;
    display: block;
    /* Overriding previous flex/center */
}

.boot-log {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Keep text at bottom like real scroll */
}

.log-line {
    margin-bottom: 2px;
    white-space: pre-wrap;
}

.log-ok {
    color: #00ff41;
    font-weight: bold;
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */
@media (max-width: 768px) {

    /* Adjust Desktop Icons */
    .desktop-icons-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        grid-template-rows: auto;
        padding: 20px 10px;
        gap: 15px;
        align-content: start;
        grid-auto-flow: row;
        /* Allow normal flow on mobile */
    }

    .desktop-icon {
        width: 90px;
        padding: 8px 4px;
    }

    /* Override inline styles for images */
    .desktop-icon img {
        width: 48px !important;
        height: 48px !important;
    }

    .icon-graphic {
        width: 48px;
        height: 48px;
    }

    .icon-lucide {
        width: 24px;
        height: 24px;
    }

    .icon-label {
        font-size: 11px;
    }

    /* Force Windows to Fullscreen on Mobile */
    .gnome-window {
        min-width: 0 !important;
        min-height: 0 !important;
        width: 100% !important;
        height: calc(100% - 34px) !important;
        /* Subtract panel height */
        top: 34px !important;
        left: 0 !important;
        border-radius: 0;
        margin: 0 !important;
        transform: none !important;
    }

    /* Hide resize handles on mobile */
    .window-resize-handle {
        display: none;
    }

    /* Adjust Terminal Font Size */
    .terminal-window {
        font-size: 12px;
        padding: 10px;
    }

    /* Panel Adjustments */
    .gnome-panel {
        padding: 0 4px;
    }

    .panel-clock {
        font-size: 10px;
        padding: 0 2px;
        display: none;
        /* Often too small for clock on very small screens, or keep it if minimal */
    }

    /* Show clock only if enough space */
    @media (min-width: 360px) {
        .panel-clock {
            display: block;
        }
    }

    .window-title {
        font-size: 12px;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Adjust Browser Window Content */
    .browser-tabs {
        overflow-x: auto;
    }

    .browser-tab {
        padding: 6px 10px;
        min-width: 100px;
    }

    .browser-url {
        font-size: 11px;
    }
}