/* ===== CSS Custom Properties ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111827;
    --bg-tertiary: #1e293b;
    --accent-cyan: #06b6d4;
    --accent-cyan-glow: rgba(6, 182, 212, 0.3);
    --accent-purple: #a855f7;
    --accent-purple-glow: rgba(168, 85, 247, 0.3);
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-pink: #ec4899;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --window-bg: rgba(15, 23, 42, 0.85);
    --window-border: rgba(6, 182, 212, 0.15);
    --taskbar-bg: rgba(10, 10, 15, 0.9);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-window: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(6, 182, 212, 0.05);
    --shadow-taskbar: 0 -4px 30px rgba(0, 0, 0, 0.4);
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-ui);
    background: var(--bg-primary);
    color: var(--text-primary);
    user-select: none;
    -webkit-user-select: none;
}

.hidden { display: none !important; }

::selection {
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ===== Boot Screen ===== */
#boot-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease;
}

#boot-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

#boot-content {
    width: min(700px, 90vw);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-green);
}

#boot-text {
    min-height: 260px;
    white-space: pre-wrap;
    line-height: 1.6;
    margin-bottom: 20px;
}

#boot-text .cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--accent-green);
    animation: blink 0.8s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

#boot-progress-container {
    width: 100%;
    height: 3px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

#boot-progress-container.visible { opacity: 1; }

#boot-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--accent-green);
}

#boot-status {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

#boot-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: 1;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ===== Desktop ===== */
#desktop {
    position: fixed;
    inset: 0;
    bottom: 48px;
    background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 40%, #0c1220 100%);
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== Desktop Icons ===== */
#desktop-icons {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px;
    height: calc(100vh - 48px);
    align-content: flex-start;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    gap: 6px;
    padding: 8px 4px;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.06);
}

.desktop-icon:active {
    background: rgba(6, 182, 212, 0.1);
    transform: scale(0.95);
}

.desktop-icon.selected {
    background: rgba(6, 182, 212, 0.12);
    outline: 1px solid rgba(6, 182, 212, 0.3);
}

.desktop-icon .icon {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.desktop-icon .label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    line-height: 1.2;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Window System ===== */
.window {
    position: absolute;
    min-width: 380px;
    min-height: 280px;
    background: var(--window-bg);
    border: 1px solid var(--window-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-window);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: windowOpen 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: box-shadow var(--transition-fast);
}

.window.focused {
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: var(--shadow-window), 0 0 0 1px rgba(6, 182, 212, 0.1);
}

.window.closing {
    animation: windowClose 0.2s ease forwards;
}

.window.minimizing {
    animation: windowMinimize 0.3s ease forwards;
}

.window.maximized {
    border-radius: 0;
    transition: all 0.25s ease;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes windowClose {
    to {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
}

@keyframes windowMinimize {
    to {
        opacity: 0;
        transform: scale(0.5) translateY(100px);
    }
}

/* Window Title Bar */
.title-bar {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 12px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--glass-border);
    cursor: default;
    flex-shrink: 0;
}

.title-bar .window-icon {
    font-size: 14px;
    margin-right: 8px;
}

.title-bar .window-title {
    flex: 1;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.focused .title-bar .window-title {
    color: var(--text-primary);
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-left: 8px;
}

.window-controls button {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: all var(--transition-fast);
    position: relative;
}

.window-controls .btn-close {
    background: var(--accent-red);
}

.window-controls .btn-minimize {
    background: var(--accent-orange);
}

.window-controls .btn-maximize {
    background: var(--accent-green);
}

.window-controls button:hover {
    filter: brightness(1.2);
    transform: scale(1.15);
}

.window-controls button::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: rgba(0,0,0,0.6);
    font-weight: bold;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.window-controls button:hover::after {
    opacity: 1;
}

.btn-close::after { content: '×'; font-size: 11px; }
.btn-minimize::after { content: '−'; }
.btn-maximize::after { content: '+'; }

/* Window Content */
.window-content {
    flex: 1;
    overflow: auto;
    padding: 20px;
    position: relative;
}

/* Resize Handle */
.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
}

.resize-handle::before {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    opacity: 0.4;
}

/* ===== Taskbar ===== */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--taskbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 8px;
    z-index: 9000;
    box-shadow: var(--shadow-taskbar);
}

#start-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

#start-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

#start-btn:active,
#start-btn.active {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.start-icon {
    font-size: 18px;
    color: var(--accent-cyan);
}

#taskbar-divider {
    width: 1px;
    height: 24px;
    background: var(--glass-border);
    margin: 0 8px;
}

#running-apps {
    flex: 1;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 0 4px;
}

.taskbar-app {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 12px;
    white-space: nowrap;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.taskbar-app:hover {
    background: rgba(255, 255, 255, 0.08);
}

.taskbar-app.active {
    background: rgba(6, 182, 212, 0.1);
    color: var(--text-primary);
    border-bottom-color: var(--accent-cyan);
}

.taskbar-app.minimized {
    opacity: 0.5;
}

.taskbar-app .app-icon {
    font-size: 14px;
}

#system-tray {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
    margin-left: auto;
}

#clock {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ===== Start Menu ===== */
#start-menu {
    position: fixed;
    bottom: 56px;
    left: 8px;
    width: 300px;
    background: var(--window-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--window-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 9500;
    overflow: hidden;
    animation: startMenuOpen 0.2s ease;
}

@keyframes startMenuOpen {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#start-menu-header {
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.start-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.start-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.start-user-name {
    font-weight: 600;
    font-size: 14px;
}

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

#start-menu-apps {
    padding: 8px;
    max-height: 340px;
    overflow-y: auto;
}

.start-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 13px;
}

.start-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.start-menu-item .item-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.start-menu-item .item-info {
    flex: 1;
}

.start-menu-item .item-name {
    font-weight: 500;
}

.start-menu-item .item-desc {
    font-size: 10.5px;
    color: var(--text-muted);
}

#start-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--glass-border);
    font-size: 11px;
    color: var(--text-muted);
}

#start-menu-shutdown {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-family: var(--font-ui);
}

#start-menu-shutdown:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

/* ===== Context Menu ===== */
#context-menu {
    position: fixed;
    min-width: 200px;
    background: var(--window-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--window-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 9800;
    padding: 6px;
    animation: contextOpen 0.12s ease;
}

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

.context-item {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12.5px;
    transition: background var(--transition-fast);
}

.context-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
}

.context-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 4px 8px;
}

/* ===== Terminal App ===== */
.terminal-container {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: var(--accent-green);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 4px;
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-output .line { margin-bottom: 1px; }
.terminal-output .line.command { color: var(--text-primary); }
.terminal-output .line.info { color: var(--accent-cyan); }
.terminal-output .line.success { color: var(--accent-green); }
.terminal-output .line.error { color: var(--accent-red); }
.terminal-output .line.warning { color: var(--accent-orange); }
.terminal-output .line.muted { color: var(--text-muted); }
.terminal-output .line.highlight { color: var(--accent-purple); }
.terminal-output .line.pink { color: var(--accent-pink); }

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    padding-top: 4px;
}

.terminal-prompt {
    color: var(--accent-cyan);
    white-space: nowrap;
    font-weight: 500;
}

.terminal-prompt .user { color: var(--accent-green); }
.terminal-prompt .at { color: var(--text-muted); }
.terminal-prompt .host { color: var(--accent-purple); }
.terminal-prompt .path { color: var(--accent-cyan); }
.terminal-prompt .symbol { color: var(--accent-pink); }

.terminal-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 13px;
    outline: none;
    caret-color: var(--accent-green);
    margin-left: 8px;
}

.neofetch-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.neofetch-ascii {
    color: var(--accent-cyan);
    white-space: pre;
    font-size: 11px;
    line-height: 1.3;
}

.neofetch-info { font-size: 12.5px; }
.neofetch-info .label { color: var(--accent-cyan); font-weight: 700; }
.neofetch-info .separator { color: var(--text-muted); }

.neofetch-colors {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.neofetch-colors span {
    display: inline-block;
    width: 24px;
    height: 12px;
    border-radius: 2px;
}

/* ===== About App ===== */
.about-container {
    text-align: center;
}

.about-header {
    padding: 30px 20px 20px;
}

.about-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 0 30px var(--accent-cyan-glow);
}

.about-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-title {
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.about-location {
    color: var(--text-muted);
    font-size: 12.5px;
}

.about-bio {
    padding: 0 24px 20px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--glass-border);
    margin: 0 20px 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-stat {
    background: var(--bg-secondary);
    padding: 16px 10px;
    text-align: center;
}

.about-stat .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

.about-stat .stat-label {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 20px 24px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
}

.about-link:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* ===== Experience App ===== */
.experience-container {
    padding: 4px 0;
}

.exp-item {
    position: relative;
    padding: 0 0 24px 28px;
    border-left: 2px solid rgba(6, 182, 212, 0.2);
    margin-left: 12px;
}

.exp-item:last-child { padding-bottom: 0; }

.exp-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
    border: 2px solid var(--bg-secondary);
}

.exp-item.current::before {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px var(--accent-cyan-glow); }
    50% { box-shadow: 0 0 20px var(--accent-cyan-glow), 0 0 30px var(--accent-cyan-glow); }
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.exp-role {
    font-weight: 600;
    font-size: 14px;
}

.exp-date {
    font-size: 11.5px;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    white-space: nowrap;
}

.exp-company {
    font-size: 13px;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 4px;
}

.exp-location {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.exp-details {
    list-style: none;
    padding: 0;
}

.exp-details li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 5px;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.exp-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* ===== Skills App ===== */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-category {
    padding: 0;
}

.skill-category-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-cyan-glow), transparent);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.skill-tag .skill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.skill-tag .skill-dot.cloud { background: var(--accent-cyan); }
.skill-tag .skill-dot.backend { background: var(--accent-purple); }
.skill-tag .skill-dot.frontend { background: var(--accent-green); }
.skill-tag .skill-dot.ai { background: var(--accent-pink); }
.skill-tag .skill-dot.tools { background: var(--accent-orange); }

/* ===== Projects App ===== */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card {
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.04);
    transform: translateY(-2px);
}

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

.project-title .project-icon {
    font-size: 18px;
}

.project-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech span {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 500;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* ===== Contact App ===== */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.contact-item:hover {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.06);
    transform: translateX(4px);
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-icon.email { background: rgba(6, 182, 212, 0.12); }
.contact-icon.phone { background: rgba(16, 185, 129, 0.12); }
.contact-icon.github { background: rgba(168, 85, 247, 0.12); }
.contact-icon.linkedin { background: rgba(59, 130, 246, 0.12); }

.contact-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 13.5px;
    font-weight: 500;
}

/* ===== Education App ===== */
.education-container {
    padding: 10px 0;
}

.edu-card {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 16px;
}

.edu-card:last-child { margin-bottom: 0; }

.edu-degree {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.edu-school {
    font-size: 13px;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 4px;
}

.edu-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.edu-gpa {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-weight: 600;
}

.edu-coursework {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.edu-coursework strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== Certifications ===== */
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.2);
    font-size: 13px;
    font-weight: 500;
    margin-top: 16px;
}

.cert-badge .cert-icon {
    font-size: 16px;
}

/* ===== Snake Game ===== */
.snake-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.snake-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: var(--font-mono);
    font-size: 13px;
}

.snake-score { color: var(--accent-green); }
.snake-high-score { color: var(--accent-orange); }

#snake-canvas {
    border: 1px solid var(--window-border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.3);
}

.snake-controls {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
}

.snake-controls kbd {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}

.snake-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-sm);
    gap: 12px;
    z-index: 5;
}

.snake-overlay-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.snake-overlay-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.snake-btn {
    padding: 8px 24px;
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.snake-btn:hover {
    background: rgba(6, 182, 212, 0.2);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

/* ===== Notifications ===== */
#notification-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.notification {
    min-width: 280px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--window-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--window-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    animation: notifIn 0.3s ease;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.notification:hover {
    border-color: rgba(6, 182, 212, 0.3);
}

.notification.fade-out {
    animation: notifOut 0.3s ease forwards;
}

.notification-title {
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notification-body {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@keyframes notifIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes notifOut {
    to { opacity: 0; transform: translateX(40px); }
}

/* ===== Wallpaper Variations ===== */
#desktop.wallpaper-0 {
    background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 40%, #0c1220 100%);
}

#desktop.wallpaper-1 {
    background: linear-gradient(135deg, #0a001a 0%, #1a0025 40%, #0d0020 100%);
}

#desktop.wallpaper-2 {
    background: linear-gradient(135deg, #001a0a 0%, #001f12 40%, #001a0d 100%);
}

#desktop.wallpaper-3 {
    background: linear-gradient(135deg, #1a0a00 0%, #1f1200 40%, #1a0d00 100%);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    #desktop-icons {
        padding: 12px;
        gap: 4px;
    }

    .desktop-icon {
        width: 76px;
        height: 76px;
    }

    .desktop-icon .icon { font-size: 26px; }
    .desktop-icon .label { font-size: 10px; }

    .window {
        min-width: 300px;
        min-height: 220px;
    }

    #start-menu { width: 260px; }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .neofetch-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .desktop-icon {
        width: 64px;
        height: 64px;
    }

    .desktop-icon .icon { font-size: 22px; }

    .start-text { display: none; }
}
