/* Main Background*/
:root{
  --bg-dark:#1e1e2e;
  --text-dark:#cdd6f4;
  --bg-light:#FFFFFF;
  --text-light:#333333;
  --accent:#89b4fa;
  --mono:'Inter', -apple-system, sans-serif;
  --bg-primary: #f6f8fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f2f5;
    --bg-hover: #e8ecf1;
    --bg-active: #dde1e6;
    
    --text-primary: #24292f;
    --text-secondary: #57606a;
    --text-muted: #8b949e;
    
    --border-color: #d0d7de;
    --border-hover: #8b949e;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}
* {margin: 0; padding: 0;box-sizing: border-box;}

html,body {
    background: var(--bg-dark);
    font-family: var(mono);
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    padding: 24px;
    color: var(--text-dark);
}
/* Window base */
.vscode-window {
    max-width: 100%;
    max-height: 100%;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid #313244;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    align-self: center;
    align-items: center;
    justify-content: center;
}

.title-bar {
    background: var(--bg-dark);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #313244;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    }
.red { background: #f38ba8; }
.yellow { background: #f9e2af; }
.green { background: #a6e3a1; }

.window-title {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 8px;
    letter-spacing: 0.3px;
    justify-content: center;
    align-items: center;
}

.window-title span {
    color: var(--accent);
}


.main-layout {
    display: flex;
    height: 500px
}
/* Sidebar */
.sidebar {
    width: 220px;
    background: var(--bg-dark);
    padding: 16px 0 16px 16px;
    border-right: 1px solid #313244;
    flex-shrink: 0;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dark);
    font-weight: 600;
    padding: 4px 8px;
}

.sidebar-item {
    padding: 5px 8px;
    font-size: 0.85rem;
    color: #a6adc8;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.sidebar-item:hover {
    background: #313244;
    color: var(--text-dark);
}

.sidebar-item.active {
    background: #313244;
    color: #89b4fa;
}

.sidebar-item .icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: #313244;
    margin: 10px 8px;
}

main.terminal-wrap{padding:20px;}
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 32px 32px 32px;
    min-height: 100%;

}
.right-c{
    display: flex;
    justify-content: flex-end;
    margin: 20px;
}
.r-box{
    border: 2px solid #313244;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    background-color: #181825,0.8;
    box-shadow:rgba(20, 102, 255, 0.1)
}

.cursor{display:inline-block;width:8px;height:18px;background:var(--text-dark);margin-left:6px;vertical-align:middle;animation:blink 1s steps(2) infinite;}
@keyframes blink{50%{opacity:0}}
.matrix{position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen;opacity:0.25;font-family:var(--mono);color:var(--text-dark);font-size:12px;white-space:nowrap; max-width: fit-content; max-height: fit-content;}
.panel{word-wrap:break-word;overflow-wrap:break-word; height: 500; width: 500;}
.line{word-break:break-word; align-items: center;}
.small p{margin:2px 0;}

/* Project Cards */
.projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 16px;
    }

.project-card {
    background: #181825;
    border: 1px solid #313244;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s;
    }

.project-card:hover {
    border-color: #89b4fa;
    background: #1e1e3a;
    }

.project-card h3 {
    color: #cdd6f4;
    font-size: 1rem;
    font-weight: 600;
}

.project-card p {
    color: #6c7086;
    font-size: 0.8rem;
    margin-top: 4px;
}

.project-card .lang {
    display: inline-block;
    margin-top: 8px;
            font-size: 0.65rem;
    color: #a6adc8;
            background: #313244;
    padding: 2px 10px;
    border-radius: 12px;
}
.tech-badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.tech-badges span{
  font-size:11px;
  padding:2px 6px;
  border-radius:4px;
  background:rgba(118, 20, 255, 0.1);
}
        /* --- STATUS BAR --- */
.status-bar {
    background: #181825;
    padding: 6px 18px;
            display: flex;
            justify-content: space-between;
    align-items: center;
    border-top: 1px solid #313244;
    font-size: 0.7rem;
    color: #6c7086;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.status-bar .left,
.status-bar .right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-bar .status-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-bar .status-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-bar .status-item .dot.green { background: #a6e3a1; }
.status-bar .status-item .dot.blue { background: #89b4fa; }

.status-bar .branch {
    color: #89b4fa;
    font-weight: 500;
}

/* Loading animation */
.loading{
  display:inline-block;
  width:20px;
  height:20px;
  border:3px solid #89b4fa;
  border-radius:50%;
  border-top-color:var(--text-dark);
  animation:spin 1s ease-in-out infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.breadcrumb{padding:8px 0;font-size:11px;color:rgba(20, 177, 255, 0.6);}
.breadcrumb a{color:rgba(20, 149, 255, 0.8);}
.breadcrumb span{margin:0 4px;}

/* Mobile Hamburger Menu */
.hamburger{display:none;flex-direction:column;cursor:pointer;padding:8px;}
.hamburger span{width:20px;height:2px;background:var(--text-dark);margin:2px 0;transition:0.3s;}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(7px,-6px);}

/* Smooth Scrolling */
html{scroll-behavior:smooth;}

/* Image Lazy Loading */
img[data-src]{opacity:0;transition:opacity 0.3s;}
img[data-src].loaded{opacity:1;}

/* Loading States */
.loading-skeleton{background:linear-gradient(90deg,rgba(118, 20, 255, 0.1) 25%,rgba(118, 20, 255, 0.2) 50%,rgba(118, 20, 255, 0.1) 75%);background-size:200% 100%;animation:loading 1.5s infinite;}
@keyframes loading{0%{background-position:200% 0;}100%{background-position:-200% 0;}}
.panel{padding:12px;border-radius:6px;margin-bottom:10px;background:rgba(0,0,0,0.06);border:1px solid rgba(57,255,20,0.03);}
.line{white-space:pre-wrap;font-size:14px;line-height:1.45;color:var(--text-dark);}
.small{font-size:12px;color:#89b4fa,0.6}
.button{display:inline-block;margin-top:8px;padding:6px 12px;border:1px solid var(--text-dark);border-radius:4px;color:var(--text-dark);transition:0.2s;cursor:pointer;}
.button:hover{background:rgba(20, 102, 255, 0.1);}
.demo-container{background:rgba(0,0,0,0.1);border-radius:8px;padding:16px;margin:12px 0;}
.demo-title{font-size:14px;font-weight:bold;margin-bottom:8px;}
.code-demo{width:100%;height:300px;border:1px solid rgba(118, 20, 255, 0.1);border-radius:4px;}
.terminal-sim{background:rgba(0,0,0,0.8);padding:12px;border-radius:6px;font-family:var(--mono);font-size:12px;}
.terminal-sim .prompt{color:var(--text-dark);}
.terminal-sim .output{color:#89b4fa,0.8;margin:4px 0;}
.status-indicator{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;}
.status-online{background:#00ff00;}
.status-offline{background:#ff0000;}
.status-building{background:#ffaa00;animation:pulse 1s infinite;}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:0.5;}}

.cloud {
            position: relative;
            width: 780px;
            max-width: 100%;
            min-height: 480px;
            padding: 50px 40px;
            background: radial-gradient(ellipse at center, #141c2b 0%, #0b0f1a 80%);
            border-radius: 60px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 80px rgba(88, 130, 255, 0.03);
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 12px 22px;
        }

        /* --- Individual Word Items --- */
        .word {
            display: inline-block;
            color: #b8c7ff;
            font-weight: 600;
            letter-spacing: -0.02em;
            white-space: nowrap;
            cursor: default;
            transition: color 0.2s, transform 0.2s;
            animation: floatCloud 10s ease-in-out infinite alternate;
            text-shadow: 0 0 20px rgba(88, 130, 255, 0.08);
            padding: 4px 6px;
        }

        /* Different sizes & weights for visual hierarchy */
        .word--xl { font-size: 2.8rem; font-weight: 900; color: #ffffff; }
        .word--lg { font-size: 2.0rem; font-weight: 700; }
        .word--md { font-size: 1.4rem; font-weight: 600; }
        .word--sm { font-size: 1.0rem; font-weight: 400; opacity: 0.8; }
        .word--xs { font-size: 0.75rem; font-weight: 400; opacity: 0.5; letter-spacing: 0.02em; }

        /* --- Floating Animation (each word gets unique timing) --- */
        @keyframes floatCloud {
            0%   { transform: translate(0, 0) scale(1); }
            33%  { transform: translate(12px, -16px) scale(1.03); }
            66%  { transform: translate(-10px, 14px) scale(0.97); }
            100% { transform: translate(6px, -6px) scale(1.01); }
        }

        /* Staggered delays for organic feel */
        .word:nth-child(1)  { animation-duration: 11s; animation-delay: 0.0s; }
        .word:nth-child(2)  { animation-duration: 13s; animation-delay: 0.4s; }
        .word:nth-child(3)  { animation-duration: 10s; animation-delay: 0.9s; }
        .word:nth-child(4)  { animation-duration: 14s; animation-delay: 1.3s; }
        .word:nth-child(5)  { animation-duration: 12s; animation-delay: 0.2s; }
        .word:nth-child(6)  { animation-duration: 15s; animation-delay: 1.8s; }
        .word:nth-child(7)  { animation-duration: 11s; animation-delay: 0.7s; }
        .word:nth-child(8)  { animation-duration: 13s; animation-delay: 2.1s; }
        .word:nth-child(9)  { animation-duration: 12s; animation-delay: 0.5s; }
        .word:nth-child(10) { animation-duration: 14s; animation-delay: 1.5s; }
        .word:nth-child(11) { animation-duration: 10s; animation-delay: 0.3s; }
        .word:nth-child(12) { animation-duration: 13s; animation-delay: 1.1s; }

        /* --- Hover Effect: brighten & scale --- */
        .word:hover {
            color: #a6c1ff;
            text-shadow: 0 0 30px rgba(88, 130, 255, 0.3);
            animation-play-state: paused;
            transform: scale(1.1) !important;
            z-index: 10;
        }

        /* --- Responsive --- */
        @media (max-width: 640px) {
            .cloud { padding: 30px 20px; gap: 8px 14px; }
            .word--xl { font-size: 2.0rem; }
            .word--lg { font-size: 1.5rem; }
            .word--md { font-size: 1.1rem; }
            .word--sm { font-size: 0.85rem; }
            .word--xs { font-size: 0.65rem; }
        }

        @media (max-width: 420px) {
            .cloud { padding: 20px 14px; gap: 6px 10px; border-radius: 30px; }
            .word--xl { font-size: 1.5rem; }
            .word--lg { font-size: 1.2rem; }
            .word--md { font-size: 0.95rem; }
            .word--sm { font-size: 0.75rem; }
            .word--xs { font-size: 0.55rem; }
        }
.search-container{padding:12px;margin-bottom:10px;background:rgba(0,0,0,0.1);border-radius:6px;}
.search-input{width:100%;padding:8px;background:rgba(0,0,0,0.2);border:1px solid rgba(118, 20, 255, 0.1);border-radius:4px;color:var(--text-dark);font-family:var(--mono);font-size:12px;}
.filter-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;}
.filter-btn{padding:4px 8px;font-size:10px;border:1px solid rgba(118, 20, 255, 0.1);background:rgba(0,0,0,0.1);color:var(--text-dark);border-radius:3px;cursor:pointer;transition:0.2s;}
.filter-btn.active,.filter-btn:hover{background:rgba(118, 20, 255, 0.1);}
html{scroll-behavior:smooth;}

 .timeline-header {
            margin-bottom: 24px;
        }

        .timeline-header h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: #cdd6f4;
        }

        .timeline-header .sub {
            color: #6c7086;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 4px;
        }

        .timeline-header .sub .branch-badge {
            background: #313244;
            padding: 2px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            color: #89b4fa;
            border: 1px solid #45475a;
        }

        /* --- Git Graph --- */
        .git-timeline {
            position: relative;
            padding-left: 32px;
            border-left: 2px solid #313244;
            margin-left: 8px;
        }

        .git-commit {
            position: relative;
            padding: 12px 0 12px 20px;
            border-bottom: 1px solid #2a2a3e;
            transition: background 0.15s;
            border-radius: 4px;
        }

        .git-commit:hover {
            background: #31324420;
        }

        /* Commit dot */
        .git-commit::before {
            content: '';
            position: absolute;
            left: -38px;
            top: 16px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #89b4fa;
            border: 2px solid #1e1e2e;
            box-shadow: 0 0 0 2px #89b4fa;
        }

        /* Branch lines (decorations) */
        .git-commit::after {
            content: '';
            position: absolute;
            left: -28px;
            top: 30px;
            width: 20px;
            height: 2px;
            background: #45475a;
        }

        /* Different commit types */
        .git-commit--feature::before { background: #a6e3a1; box-shadow: 0 0 0 2px #a6e3a1; }
        .git-commit--fix::before { background: #f38ba8; box-shadow: 0 0 0 2px #f38ba8; }
        .git-commit--docs::before { background: #89b4fa; box-shadow: 0 0 0 2px #89b4fa; }
        .git-commit--merge::before { background: #cba6f7; box-shadow: 0 0 0 2px #cba6f7; }

        .commit-hash {
            color: #89b4fa;
            font-family: 'Courier New', monospace;
            font-size: 0.75rem;
            background: #313244;
            padding: 1px 8px;
            border-radius: 4px;
            display: inline-block;
            margin-right: 8px;
        }

        .commit-message {
            color: #cdd6f4;
            font-weight: 500;
            font-size: 0.95rem;
        }

        .commit-message .emoji {
            margin-right: 6px;
        }

        .commit-meta {
            color: #6c7086;
            font-size: 0.75rem;
            margin-top: 4px;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .commit-meta .author {
            color: #a6adc8;
            font-size: 0.95rem;
        }

        .commit-meta .date {
            color: #6c7086;
        }

        .commit-meta .tag {
            background: #313244;
            padding: 0 8px;
            border-radius: 12px;
            font-size: 0.65rem;
            color: #f9e2af;
            border: 1px solid #45475a;
}
/* LIGHT THEME*/
/* ============================================================
   VS CODE PORTFOLIO — LIGHT THEME (Colors Preserved)
   ============================================================ */

/* --- Window Base --- */
body.light-theme .vscode-window {
    max-width: 100%;
    max-height: 100%;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    align-self: center;
    align-items: center;
    justify-content: center;
}

/* --- Title Bar --- */
body.light-theme .title-bar {
    background: var(--bg-tertiary);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

body.light-theme .window-controls {
    display: flex;
    gap: 8px;
}

body.light-theme .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

body.light-theme .red {
    background: #f38ba8;
}
body.light-theme .yellow {
    background: #f9e2af;
}
body.light-theme .green {
    background: #a6e3a1;
}

body.light-theme .window-title {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 8px;
    letter-spacing: 0.3px;
    justify-content: center;
    align-items: center;
}

body.light-theme .window-title span {
    color: var(--accent);
}

body.light-theme .main-layout {
    display: flex;
    height: 500px;
}

body.light-theme .sidebar {
    width: 220px;
    background: var(--bg-tertiary);
    padding: 16px 0 16px 16px;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
}

body.light-theme .sidebar-section {
    margin-bottom: 20px;
}

body.light-theme .sidebar-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    font-weight: 600;
    padding: 4px 8px;
}

.body.light-theme -item {
    padding: 5px 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

body.light-theme .sidebar-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

body.light-theme .sidebar-item.active {
    background: var(--bg-active);
    color: var(--accent);
}

 body.light-theme.sidebar-item .icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

body.light-theme .sidebar-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 8px;
}

/* --- Content --- */
body.light-theme main.terminal-wrap {
    padding: 20px;
}

body.light-theme .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 32px 32px 32px;
    min-height: 100%;
}

body.light-theme .right-c {
    display: flex;
    justify-content: flex-end;
    margin: 20px;
}

 body.light-theme .r-box {
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}

/* --- Cursor --- */
body.light-theme .cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--text-primary);
    margin-left: 6px;
    vertical-align: middle;
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- Matrix Background --- */
body.light-theme .matrix {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.25;
    font-family: var(--mono);
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
    max-width: fit-content;
    max-height: fit-content;
}

/* --- Panels --- */
body.light-theme .panel {
    word-wrap: break-word;
    overflow-wrap: break-word;
    height: 500;
    width: 500;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
}

body.light-theme .line {
    word-break: break-word;
    align-items: center;
    color: var(--text-primary);
}

body.light-theme .small p {
    margin: 2px 0;
}

/* --- Project Cards --- */
body.light-theme .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

body.light-theme .project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

body.light-theme .project-card:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

body.light-theme .project-card h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

body.light-theme .project-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 4px;
}

body.light-theme .project-card .lang {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.65rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* --- Tech Badges --- */
body.light-theme .tech-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

body.light-theme .tech-badges span {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(137, 180, 250, 0.15);
    color: var(--text-secondary);
}

/* --- Status Bar --- */
body.light-theme .status-bar {
    background: var(--bg-tertiary);
    padding: 6px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 6px 16px;
}

body.light-theme .status-bar .left,
body.light-theme .status-bar .right {
    display: flex;
    align-items: center;
    gap: 16px;
}

body.light-theme .status-bar .status-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

 body.light-theme .status-bar .status-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

body.light-theme .status-bar .status-item .dot.green {
    background: #a6e3a1;
}
body.light-theme .status-bar .status-item .dot.blue {
    background: var(--accent);
}

body.light-theme .status-bar .branch {
    color: var(--accent);
    font-weight: 500;
}

/* --- Loading Animation --- */
body.light-theme .loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    border-top-color: var(--text-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Breadcrumb --- */
body.light-theme .breadcrumb {
    padding: 8px 0;
    font-size: 11px;
    color: rgba(137, 180, 250, 0.6);
}

body.light-theme .breadcrumb a {
    color: var(--accent);
}

body.light-theme .breadcrumb span {
    margin: 0 4px;
}

/* --- Mobile Hamburger Menu --- */
body.light-theme .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

body.light-theme .hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: 0.3s;
}

body.light-theme .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
body.light-theme .hamburger.active span:nth-child(2) {
    opacity: 0;
}
body.light-theme .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* --- Smooth Scrolling --- */
body.light-theme html {
    scroll-behavior: smooth;
}

body.light-theme .loading-skeleton {
    background: linear-gradient(90deg, rgba(137, 180, 250, 0.1) 25%, rgba(137, 180, 250, 0.2) 50%, rgba(137, 180, 250, 0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* --- Panel Override --- */
body.light-theme .panel {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    background: rgba(155, 123, 123, 0.02);
    border: 1px solid var(--border-color);
  
}

body.light-theme .line {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-primary);
}

body.light-theme .small {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Buttons --- */
body.light-theme .button {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    transition: 0.2s;
    cursor: pointer;
    background: var(--bg-secondary);
}

body.light-theme .button:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

/* --- Demo Container --- */
body.light-theme .demo-container {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    border: 1px solid var(--border-color);
}

body.light-theme .demo-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-primary);
}

body.light-theme .code-demo {
    width: 100%;
    height: 300px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* --- Terminal Simulation --- */
body.light-theme .terminal-sim {
    background: var(--bg-tertiary);
    padding: 12px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 12px;
    border: 1px solid var(--border-color);
}

body.light-theme .terminal-sim .prompt {
    color: #a6e3a1;
}

body.light-theme .terminal-sim .output {
    color: var(--text-secondary);
    margin: 4px 0;
}

/* --- Status Indicators --- */
body.light-theme .status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

body.light-theme .status-online {
    background: #a6e3a1;
}
body.light-theme .status-offline {
    background: #f38ba8;
}
body.light-theme .status-building {
    background: #f9e2af;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* --- Search Container --- */
body.light-theme .search-container {
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

body.light-theme .search-input {
    width: 100%;
    padding: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--mono);
    font-size: 12px;
}

body.light-theme .search-input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(137, 180, 250, 0.15);
}

/* --- Filter Buttons --- */
body.light-theme .filter-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

body.light-theme .filter-btn {
    padding: 4px 8px;
    font-size: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 3px;
    cursor: pointer;
    transition: 0.2s;
}

body.light-theme .filter-btn.active,
body.light-theme .filter-btn:hover {
    background: var(--bg-active);
    border-color: var(--accent);
    color: var(--accent);
}

body.light-theme .timeline-header {
    margin-bottom: 24px;
    color: var(--text-primary)
}

body.light-theme .timeline-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}
body.light-theme .header h1 {
    color: #24292f;
}

body.light-theme .header .subhead {
    color: #57606a;
}

body.light-theme .header .subhead .h5 {
    color: #57606a;
    background: #f0f2f5;
    border-color: #d0d7de;
}

body.light-theme .timeline-header .sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

body.light-theme .timeline-header .sub .branch-badge {
    background: var(--bg-tertiary);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--accent);
    border: 1px solid var(--border-color);
}

/* --- Git Graph --- */
body.light-theme .git-timeline {
    position: relative;
    padding-left: 32px;
    border-left: 2px solid var(--border-color);
    margin-left: 8px;
}

body.light-theme .git-commit {
    position: relative;
    padding: 12px 0 12px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
    border-radius: 4px;
}

body.light-theme .git-commit:hover {
    background: rgba(137, 180, 250, 0.05);
}

/* Commit dot */
body.light-theme .git-commit::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 16px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 0 2px var(--accent);
}

/* Branch lines */
body.light-theme .git-commit::after {
    content: '';
    position: absolute;
    left: -28px;
    top: 30px;
    width: 20px;
    height: 2px;
    background: var(--border-color);
}

/* Different commit types (colors preserved) */
body.light-theme .git-commit--feature::before {
    background: #a6e3a1;
    box-shadow: 0 0 0 2px #a6e3a1;
}
body.light-theme .git-commit--fix::before {
    background: #f38ba8;
    box-shadow: 0 0 0 2px #f38ba8;
}
body.light-theme .git-commit--docs::before {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}
body.light-theme .git-commit--merge::before {
    background: #cba6f7;
    box-shadow: 0 0 0 2px #cba6f7;
}

body.light-theme .commit-hash {
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    background: var(--bg-tertiary);
    padding: 1px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    border: 1px solid var(--border-color);
}

body.light-theme .commit-message {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

body.light-theme .commit-message .emoji {
    margin-right: 6px;
}

body.light-theme .commit-meta {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.light-theme .commit-meta .author {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

body.light-theme .commit-meta .date {
    color: var(--text-muted);
}

body.light-theme .commit-meta .tag {
    background: var(--bg-tertiary);
    padding: 0 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* --- Responsive Design --- */

/* Tablets */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
        height: auto;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 10px 14px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    .sidebar-section {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 8px;
        margin-bottom: 0;
    }

    .sidebar-divider {
        display: none;
    }

    .content {
        padding: 18px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .git-timeline {
        padding-left: 24px;
    }

    .git-commit::before {
        left: -30px;
        width: 12px;
        height: 12px;
    }

    .git-commit::after {
        left: -22px;
        width: 14px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    html,
    body {
        padding: 12px;
    }

    .vscode-window {
        border-radius: 8px;
    }

    .title-bar {
        padding: 6px 12px;
    }

    .window-title {
        font-size: 0.7rem;
    }

    .sidebar {
        padding: 6px 10px;
        gap: 2px 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-label {
        display: none;
    }

    .sidebar-item {
        font-size: 0.7rem;
        padding: 3px 6px;
        white-space: nowrap;
    }

    .sidebar-item .icon {
        font-size: 0.7rem;
        width: 14px;
    }

    .content {
        padding: 12px 14px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .git-timeline {
        padding-left: 18px;
    }

    .git-commit {
        padding: 8px 0 8px 12px;
    }

    .git-commit::before {
        left: -24px;
        width: 10px;
        height: 10px;
        top: 12px;
    }

    .git-commit::after {
        left: -16px;
        width: 10px;
        top: 22px;
    }

    .commit-hash {
        font-size: 0.65rem;
        padding: 0 6px;
    }

    .commit-message {
        font-size: 0.85rem;
    }

    .commit-meta {
        font-size: 0.65rem;
    }

    .status-bar {
        padding: 4px 10px;
        font-size: 0.6rem;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .status-bar .left,
    .status-bar .right {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .right-c {
        margin: 10px;
    }

    .r-box {
        width: 100%;
        padding: 15px;
    }

    .panel {
        height: auto;
        width: auto;
    }
}

/* Very small phones */
@media (max-width: 420px) {
    .title-bar {
        padding: 4px 8px;
    }

    .window-title {
        font-size: 0.6rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .window-controls {
        gap: 4px;
    }

    .content {
        padding: 8px 10px;
    }

    .sidebar-item {
        font-size: 0.6rem;
        padding: 2px 5px;
    }

    .project-card {
        padding: 10px 12px;
    }

    .project-card h3 {
        font-size: 0.85rem;
    }

    .commit-hash {
        font-size: 0.55rem;
        padding: 0 4px;
        margin-right: 4px;
    }

    .commit-message {
        font-size: 0.75rem;
    }

    .commit-meta {
        font-size: 0.55rem;
        gap: 6px;
    }
}

/* --- Touch Device Optimizations --- */
@media (hover: none) and (pointer: coarse) {
    .sidebar-item,
    .project-card,
    .filter-btn {
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .project-card:hover {
        transform: none;
        border-color: var(--border-color);
    }

    .project-card:active {
        transform: scale(0.97);
        border-color: var(--accent);
    }

    .sidebar-item:active {
        background: var(--bg-active);
        color: var(--accent);
    }
}

/* --- High DPI Displays --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .terminal-sim,
    .commit-hash,
    .status-bar {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* --- Print Styles --- */
@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    .vscode-window {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .sidebar {
        background: #f5f5f5;
        border-right: 1px solid #ccc;
    }

    .project-card {
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .status-bar {
        background: #f5f5f5;
        border-top: 1px solid #ccc;
    }
}
.body.light-theme .h1,.h2,.h3,.h4,.p,.strong{
  color:var(--text-light)
}
