/* OLED Theme Variables (Exclusive Theme) */
        :root {
            --bg: #000000;
            --card-bg: rgba(12, 12, 12, 0.85);
            --card-border: rgba(255, 255, 255, 0.12);
            --card-hover: rgba(24, 24, 24, 0.9);
            --text-primary: #ffffff;
            --text-secondary: #a3a3a3;
            --text-muted: #666666;
            --accent: #38bdf8;
            --accent-glow: rgba(56, 189, 248, 0.18);
            --grid-color: rgba(255, 255, 255, 0.03);
            --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
            --font-mono: 'JetBrains Mono', monospace;

            /* Consistent radius scale — only three sizes, used everywhere */
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
            --radius-pill: 999px;

            /* Section rhythm — generous, consistent breathing room */
            --space-section: 3.25rem;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            background-color: var(--bg);
        }

        body {
            background-color: var(--bg);
            color: var(--text-primary);
            font-family: var(--font-sans);
            line-height: 1.6;
            padding: 0 1.5rem;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            -webkit-font-smoothing: antialiased;
            position: relative;
            overflow-x: hidden;
        }

        /* Sub-surface Grid Overlay */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-image: 
                linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
                linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
            background-size: 32px 32px;
            pointer-events: none;
            z-index: -2;
        }

        /* Mouse */
        @media (pointer: fine) {
        body { cursor: none; }
        a, button, [role="button"] { cursor: none; }
        }

        /* Progress Bar */
.read-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent, #38bdf8);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Left Rail */
.left-rail {
  position: fixed;
  left: 3rem;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  z-index: 50;
}

.left-rail button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.left-rail button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.rail-time {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: #888;
  writing-mode: vertical-rl;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .left-rail { display: none; }
}

/* Hero Styles */
.article-hero {
  text-align: center;
  max-width: 760px;
  margin: 3rem auto 2rem auto;
  padding: 0 1rem;
}

.article-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 1rem 0;
  letter-spacing: -0.02em;
}

.article-subtitle {
  font-size: 1.25rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.article-meta {
  font-family: var(--font-mono, monospace);
  color: #888;
  font-size: 0.875rem;
}

/* Main Character CTA - Aligned with OLED Dark Theme */
.blog-main-character {
    position: relative;
    padding: 0.45rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: #ffffff !important;
    background: rgba(56, 189, 248, 0.08); /* Translucent accent tint */
    border: 1px solid rgba(56, 189, 248, 0.4); /* Cyan micro-border */
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Subtle Animated Ambient Glow Behind */
.blog-main-character::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(129, 140, 248, 0.2));
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.25s ease;
}

/* Monospace "Live" Dot Indicator */
.blog-main-character .blog-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
}

/* Hover & Active States */
.blog-main-character:hover {
    transform: translateY(-1px);
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    color: #ffffff !important;
}

.blog-main-character:hover::after {
    opacity: 1;
}

.blog-main-character:active {
    transform: translateY(0) scale(0.98);
}

/* Build Status Card */
.build-status-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  text-align: left;
}

.status-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: var(--accent, #38bdf8);
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent, #38bdf8);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent, #38bdf8);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #cccccc;
}

.status-grid .lbl {
  color: #777;
}

.hero-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 2.5rem 0;
}

/* Core Layout Container */
.article-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
  color: #F5F5F5;
  font-size: 1.1875rem; /* ~19px */
  line-height: 1.9;
}

/* Lead Paragraph */
.article-content > p:first-of-type {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #FFFFFF;
  font-weight: 500;
  margin-bottom: 2rem;
}

.article-content p {
  margin-bottom: 2rem; /* 32px spacing */
}

/* Standout / Callout Sentences */
.article-content blockquote, 
.article-content .highlight-quote {
  border-left: 3px solid var(--accent, #38bdf8);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.5;
}

/* Images Notion-Style */
.article-content img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  margin: 2rem 0 0.5rem 0;
}

.article-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 2rem;
}

.comments-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 3rem;
}

.next-article-card {
  display: block;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  margin: 2.5rem 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.next-article-card:hover {
  border-color: var(--accent, #38bdf8);
  transform: translateY(-2px);
}

        .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background-color: var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, background 0.2s ease, border 0.2s ease;
        }

        .custom-cursor.hover {
        width: 32px;
        height: 32px;
        background: rgba(56, 189, 248, 0.1);
        border: 1px solid var(--accent);
        }

        /* Reading Progress Indicator */
        .scroll-progress-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: transparent;
            z-index: 1000;
        }

        .scroll-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #38bdf8, #818cf8);
            width: 0%;
            transition: width 0.05s ease-out;
        }

        .container {
            max-width: 920px;
            width: 100%;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        /* NAVBAR REFINEMENT */
        header {
            position: sticky;
            top: 1rem;
            z-index: 100;
            padding: 1.25rem 2.25rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(10, 10, 10, 0.75);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--card-border);
            border-radius: 18px;
            margin-top: 1rem;
            margin-bottom: 4rem;
            width: 100%;
        }

        .logo {
            font-weight: 800;
            font-size: 1.35rem;
            color: var(--text-primary);
            text-decoration: none;
            letter-spacing: -0.03em;
            cursor: pointer;
        }

        .logo span { color: var(--accent); }

        .nav-links {
            display: flex;
            gap: 2.25rem;
            align-items: center;
        }

        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.925rem;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .nav-link:hover { color: var(--text-primary); }

        /* Command Palette Trigger */
        .cmd-hint {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            padding: 0.4rem 0.85rem;
            border-radius: 8px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            font-weight: 400;
            margin-left: 0.5rem;
        }

        .cmd-hint:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-glow);
        }

        /* Section Layout & Spacing */
        .section-block {
            margin-bottom: var(--space-section);
        }

        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        

        /* Typography */
        h1 {
            font-size: 3rem;
            font-weight: 800;
            letter-spacing: -0.04em;
            margin-bottom: 0.85rem;
            line-height: 1.15;
            background: linear-gradient(180deg, #FFFFFF 0%, #A3A3A3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1.75rem;
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .meta-text {
            font-weight: 300;
            font-size: 0.8rem;
            color: var(--text-muted);
            font-family: var(--font-mono);
        }

        /* Hero */
        .hero {
            margin-bottom: var(--space-section);
        }

        .status-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 0.45rem 1rem;
            border-radius: 30px;
            font-size: 0.825rem;
            color: var(--text-secondary);
            font-family: var(--font-mono);
            font-weight: 300;
            margin-bottom: 1.5rem;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background-color: #10b981;
            border-radius: 50%;
            box-shadow: 0 0 8px #10b981;
        }

        .typing-container {
            font-family: var(--font-mono);
            font-size: 1.15rem;
            color: var(--accent);
            margin-bottom: 1.5rem;
            min-height: 1.8rem;
            display: flex;
            align-items: center;
        }

        .typing-cursor {
            display: inline-block;
            width: 8px;
            height: 1.2rem;
            background: var(--accent);
            margin-left: 4px;
            animation: blink 0.8s infinite;
        }

        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

        .hero p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 680px;
            line-height: 1.7;
        }

        /* Focus & Personality Cards */
        .now-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-lg);
            padding: 2rem;
            transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
        }

        .now-card:hover {
            border-color: rgba(56, 189, 248, 0.35);
            box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08), 0 12px 32px rgba(0, 0, 0, 0.35);
            transform: translateY(-2px);
        }

        .now-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
        }

        .now-item {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .now-item .label {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 300;
        }

        .now-item .val {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .now-item .sub {
            font-size: 0.8rem;
            color: var(--text-secondary);
            font-weight: 300;
        }

        .human-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .human-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            border-radius: 10px;
            padding: 1rem;
            display: flex;
            align-items: center;
            gap: 0.85rem;
            transition: transform 0.25s ease, border-color 0.25s ease;
        }

        .human-card:hover {
            transform: translateY(-2px);
            border-color: rgba(255, 255, 255, 0.25);
        }

        .human-icon { font-size: 1.3rem; }
        .human-info { display: flex; flex-direction: column; }
        .human-title { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); font-weight: 300; }
        .human-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }

        .now-playing-card {
            grid-column: 1 / -1;
            background: linear-gradient(90deg, rgba(30, 215, 96, 0.08) 0%, rgba(12, 12, 12, 0.5) 100%);
            border: 1px solid rgba(30, 215, 96, 0.25);
            border-radius: 10px;
            padding: 0.85rem 1.25rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            user-select: none;
            transition: border-color 0.2s ease, background 0.2s ease;
            position: relative;
            z-index: 1;
        }

        .now-playing-card:hover {
            border-color: rgba(30, 215, 96, 0.5);
            background: linear-gradient(90deg, rgba(30, 215, 96, 0.12) 0%, rgba(18, 18, 18, 0.6) 100%);
        }

        .play-btn {
            background: #1db954;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            transition: transform 0.2s ease;
        }

        .now-playing-card:hover .play-btn {
            transform: scale(1.08);
        }

        .spotify-equalizer {
            display: flex;
            align-items: flex-end;
            gap: 3px;
            height: 16px;
            width: 16px;
        }

        .eq-bar {
            width: 3px;
            background-color: #1db954;
            border-radius: 99px;
            height: 20%;
            transition: height 0.08s ease;
        }

        #eqBar1 { height: 40%; }
        #eqBar2 { height: 80%; }
        #eqBar3 { height: 50%; }

        .github-stats-inline {
            display: flex;
            gap: 1.75rem;
            margin-top: 1.5rem;
            padding-top: 1.25rem;
            border-top: 1px solid var(--card-border);
            font-family: var(--font-mono);
            font-size: 0.825rem;
            color: var(--text-secondary);
            font-weight: 300;
            flex-wrap: wrap;
        }

        .github-stats-inline span strong {
            color: var(--accent);
            font-weight: 600;
        }

        /* Timeline */
        .timeline-container {
            position: relative;
            padding-left: 2rem;
            margin-left: 0.5rem;
        }

        .timeline-line-bg {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--card-border);
        }

        .timeline-line-progress {
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            background: linear-gradient(180deg, #38bdf8 0%, #818cf8 100%);
            height: 0%;
            transition: height 0.1s ease-out;
            box-shadow: 0 0 8px var(--accent);
        }

        .timeline-event {
            position: relative;
            margin-bottom: 2.75rem;
        }

        .timeline-event:last-child { margin-bottom: 0; }

        .timeline-dot {
            position: absolute;
            left: -2.35rem;
            top: 0.25rem;
            width: 12px;
            height: 12px;
            background: var(--bg);
            border: 2px solid var(--card-border);
            border-radius: 50%;
            transition: all 0.4s ease;
        }

        .timeline-event.active .timeline-dot {
            background: var(--accent);
            border-color: var(--accent);
            box-shadow: 0 0 12px var(--accent);
            animation: pulseDot 2s infinite;
        }

        @keyframes pulseDot {
            0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
            70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
            100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
        }

        .timeline-time {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            color: var(--accent);
            margin-bottom: 0.25rem;
            font-weight: 300;
        }

        .timeline-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
        .timeline-desc { color: var(--text-secondary); font-size: 0.95rem; }

        /* Projects */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .project-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 1.75rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.25);
        }

        .project-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3rem; }
        .project-title { font-size: 1.2rem; font-weight: 700; }
        .project-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; font-weight: 300; }
        .project-status { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
        
        .project-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-muted);
            font-family: var(--font-mono);
            font-weight: 300;
        }

        .project-link { color: var(--accent); text-decoration: none; font-weight: 1000; transition: transform 0.2s ease; display: inline-block; }
        .project-card:hover .project-link { transform: translateX(3px); }

        .progress-container {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }

        .progress-bar-bg {
            flex: 1;
            height: 6px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 999px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%);
            border-radius: 999px;
            width: 0%;
            transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .progress-percentage {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--accent);
            min-width: 35px;
        }

        /* Terminal Build Log */
        .terminal-card {
            background: #000000;
            border: 1px solid var(--card-border);
            border-radius: 14px;
            padding: 1.75rem;
            font-family: var(--font-mono);
        }

        .terminal-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .terminal-btn { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
        .btn-red { background: #ef4444; }
        .btn-yellow { background: #f59e0b; }
        .btn-green { background: #10b981; }

        .terminal-title { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); font-weight: 300; }
        .terminal-prompt { color: var(--accent); font-size: 0.9rem; margin-bottom: 1rem; font-weight: 500; }
        .terminal-list { list-style: none; margin-bottom: 1.25rem; font-size: 0.875rem; color: var(--text-secondary); }
        .terminal-list li { margin-bottom: 0.5rem; display: flex; gap: 0.6rem; align-items: center; }
        .terminal-check { color: #10b981; font-weight: bold; }
        .terminal-blocker { font-size: 0.825rem; color: #f87171; background: rgba(248, 113, 113, 0.08); border-left: 3px solid #f87171; padding: 0.6rem 0.85rem; border-radius: 0 6px 6px 0; }

        /* CMS Writing Cards & Comments */
        .articles-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }

        .article-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-top: 0; /* Changed from 50px to 0 */
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

        .article-card:hover {
            border-color: var(--accent);
        }

        .article-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .article-title { font-weight: 700; font-size: 1.15rem; }

        .article-body-text {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .giscus-wrapper {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--card-border);
        }

        /* Ambient Cursor Glow Overlay */
        .cursor-glow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none;
            z-index: 0;
            background: radial-gradient(
                600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(56, 189, 248, 0.12),
                rgba(0, 0, 0, 0) 80%
            );
            transition: background 0.05s ease;
        }

        /* Modern Two-Column Split Footer */
footer {
    width: 100%;
    padding: 2.5rem 0;
    margin-top: auto;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
}

.footer-status .status-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive adjustment for small screens */
@media (max-width: 640px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Blog Navigation Button */
.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent, #38bdf8);
    background: var(--accent-glow, rgba(56, 189, 248, 0.12));
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-sm, 8px);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.blog-btn:hover {
    background: var(--accent, #38bdf8);
    color: #000000;
    border-color: var(--accent, #38bdf8);
    box-shadow: 0 0 12px var(--accent-glow, rgba(56, 189, 248, 0.35));
    transform: translateY(-1px);
}

        .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
        footer a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s ease; }
        footer a:hover { color: var(--accent); }

        /* Command Palette Modal */
        .cmd-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 2000;
            justify-content: center;
            align-items: flex-start;
            padding-top: 12vh;
        }

        .cmd-overlay.active { display: flex; }

        .cmd-box {
            background: #0a0a0a;
            border: 1px solid var(--card-border);
            border-radius: 16px;
            width: 100%;
            max-width: 600px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
            margin: 0 1rem;
        }

        .cmd-input {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 1px solid var(--card-border);
            padding: 1.25rem;
            color: var(--text-primary);
            font-family: var(--font-sans);
            font-size: 1.05rem;
            outline: none;
        }

        .cmd-list { list-style: none; max-height: 340px; overflow-y: auto; padding: 0.5rem; }

        .cmd-item {
            padding: 0.85rem 1.1rem;
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-secondary);
            font-size: 0.925rem;
            transition: all 0.15s ease;
        }

        .cmd-item:hover, .cmd-item.selected {
            background: var(--accent-glow);
            color: var(--accent);
        }

        .cmd-item-category { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); font-weight: 300; }

        .key-toast {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: rgba(18, 18, 18, 0.9);
            border: 1px solid var(--card-border);
            color: var(--accent);
            font-family: var(--font-mono);
            font-size: 0.8rem;
            padding: 0.6rem 1.1rem;
            border-radius: 8px;
            display: none;
            z-index: 1500;
            backdrop-filter: blur(8px);
            font-weight: 300;
        }

        @media (max-width: 640px) {
            header { padding: 1rem 1.25rem; }
            .nav-links { gap: 1rem; }
            h1 { font-size: 2.25rem; }
            footer { flex-direction: column; text-align: center; }
            .section-block, .hero { margin-bottom: 2.75rem; }
        }

        /* Hide custom cursor on mobile / touch devices */
        @media (pointer: coarse), (hover: none) {
        .custom-cursor, 
        #cursor, 
        #cursorGlow {
            display: none !important;
        }

        body, button, a, input {
            cursor: auto !important;
        }
        }

        /* Force Native System Cursor Everywhere */
    *, *::before, *::after {
        cursor: auto !important;
    }

    a, button, input, [role="button"], .interactive {
        cursor: pointer !important;
    }

    /* Radial Gradient Background Tracker */
    .mouse-gradient-tracker {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        pointer-events: none;
        z-index: 0;
        background: radial-gradient(
            600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(56, 189, 248, 0.08),
            transparent 80%
        );
        transition: background 0.05s ease-out;
    }

    /* Keep main content above the background gradient */
    .container, main, header, footer {
        position: relative;
        z-index: 1;
    }

    /* Mobile Responsive Padding & Margin Guard */
@media (max-width: 640px) {
    /* Prevent the main layout container from touching screen edges */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.25rem !important;  /* 20px padding on the left */
        padding-right: 1.25rem !important; /* 20px padding on the right */
        box-sizing: border-box !important;
    }

    /* Ensure body has zero side overflow */
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    /* Keep individual card sections inset with consistent border-box bounds */
    .now-card,
    .article-card,
    .project-card,
    .terminal-card {
        box-sizing: border-box !important;
        width: 100% !important;
    }
}

/* Mobile Responsive Padding & Margin Guard */
@media (max-width: 640px) {
    /* Prevent the main layout container from touching screen edges */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.25rem !important;  /* 20px padding on the left */
        padding-right: 1.25rem !important; /* 20px padding on the right */
        box-sizing: border-box !important;
    }

    /* Ensure body has zero side overflow */
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    /* Keep individual card sections inset with consistent border-box bounds */
    .now-card,
    .article-card,
    .project-card,
    .terminal-card {
        box-sizing: border-box !important;
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    /* Navbar Container Adjustment */
    header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.6rem 0.85rem !important;
        gap: 0.5rem !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* Prevent Logo & Links from Squishing Together */
    header .logo {
        font-size: 1.1rem !important;
        margin-right: 0.5rem !important;
        flex-shrink: 0 !important;
    }

    /* Nav Links Wrapper */
    .nav-links {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important; /* Proper spacing between items */
    }

    .nav-links a {
        font-size: 0.85rem !important; /* Slightly smaller text for mobile screens */
    }

    /* Hide the Ctrl+K hint on touch devices to save space */
    .cmd-hint,
    #cmdTrigger {
        display: none !important;
    }
}

.site-age-card {
    margin-top: 1.5rem !important;    /* Reduces the massive gap above */
    margin-bottom: 2.5rem !important; /* Adds breathing room before Journey & Milestones */
}

/* Card Layout Modernization */
.article-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 1.5rem 1.75rem !important;
    margin-top: 1rem !important; /* Ensures no large gap above cards */
    margin-bottom: 0rem !important; /* Controls spacing between cards */
    text-decoration: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}

.article-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Metadata Bar (Date & Read Time above Title) */
.article-card .card-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.8rem !important;
    color: #38bdf8 !important;
    white-space: nowrap !important;
    overflow: hidden !important; /* Prevents overflow past the card edges */
}

/* Reduce category font size specifically so it fits on mobile */
@media (max-width: 640px) {
    .article-card .card-meta {
        font-size: 0.7rem !important; /* Scale down meta text on mobile screens */
        gap: 0.3rem !important;
    }
}

/* Card Title Stacked Cleanly */
.article-card .card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
}

/* Subtitle Description */
.article-card .card-subtitle {
    color: #888888 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .article-card {
        padding: 1.25rem 1.25rem !important;
    }

    .article-card .card-title {
        font-size: 1.15rem !important;
    }
}

/* Remove boxed layout for the post header */
.post-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 2.5rem 0 !important;
}

/* Metadata Stacked Cleanly Above Title */
.post-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.8rem !important;
    color: #38bdf8 !important;
    margin-bottom: 0.75rem !important;
    white-space: nowrap !important;
}

/* Fluid Title Sizing */
.post-title {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
    margin: 0 !important;
}

/* Search Modal Backdrop */
.search-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

/* Search Modal Container */
.search-modal {
    background: #0f0f12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 90%;
    max-width: 580px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.close-btn {
    background: transparent;
    border: none;
    color: #71717a;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
}

.close-btn:hover {
    color: #ffffff;
}
/* ============================================
   Extended Live Dashboard Widgets
   ============================================ */

/* --- Activity Heatmap --- */
.heatmap-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-top: 1.5rem;
    overflow-x: auto;
}

.heatmap-container h3 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.heatmap-grid {
    display: grid;
    grid-template-rows: repeat(7, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 13px;
    gap: 3px;
    width: max-content;
}

.heatmap-cell {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.15s ease, outline 0.15s ease;
}

.heatmap-cell:hover {
    transform: scale(1.25);
    outline: 1px solid var(--accent);
}

.heatmap-cell.level-future { background: transparent; border-color: transparent; }
.heatmap-cell.level-0 { background: rgba(255, 255, 255, 0.05); }
.heatmap-cell.level-1 { background: rgba(56, 189, 248, 0.25); }
.heatmap-cell.level-2 { background: rgba(56, 189, 248, 0.55); }
.heatmap-cell.level-3 { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.heatmap-legend .heatmap-cell { width: 11px; height: 11px; }

/* --- Dashboard Grid (shared wrapper for the widget cards below) --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.dash-card { padding: 1.5rem; }

/* --- Reading Progress --- */
.reading-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.reading-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 0.5rem;
}

.reading-percent { color: var(--accent); font-weight: 600; }

/* --- Learning Roadmap --- */
.roadmap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.roadmap-list li { display: flex; align-items: center; gap: 0.6rem; }
.roadmap-icon { font-family: var(--font-mono); width: 1rem; text-align: center; color: var(--text-muted); }
.roadmap-list li.done { color: var(--text-primary); }
.roadmap-list li.done .roadmap-icon { color: #10b981; }
.roadmap-list li.current { color: var(--accent); font-weight: 600; }
.roadmap-list li.current .roadmap-icon { color: var(--accent); }

/* --- Current Goals --- */
.goals-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.goals-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.goal-box {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid var(--card-border);
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.goals-list li.checked { color: var(--text-muted); text-decoration: line-through; }
.goals-list li.checked .goal-box { background: var(--accent); border-color: var(--accent); }
.goals-list li.checked .goal-box::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #000;
}

/* --- Today I Learned / Thought quote cards --- */
.til-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* --- Dev Environment --- */
.dev-env-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.dev-env-grid > div { display: flex; flex-direction: column; gap: 0.15rem; }
.dev-env-grid .lbl {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.dev-env-grid .v { font-size: 0.9rem; color: var(--text-primary); font-weight: 600; }

/* --- Live Status --- */
.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-glow);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.status-emoji { font-size: 0.7rem; }

/* --- Stats Counter --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
}

.stat-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Tech Stack Cloud --- */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-cloud span {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tech-cloud span:hover {
    transform: scale(1.12);
    color: var(--accent);
    border-color: var(--accent);
}

/* --- Achievements --- */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    font-size: 0.85rem;
}

.achievement.unlocked { color: var(--text-primary); }
.achievement.locked { color: var(--text-muted); opacity: 0.6; }
.ach-icon { font-size: 1.1rem; }

/* --- Random Project Button --- */
.random-project-btn {
    font-family: var(--font-mono);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.random-project-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
}

@media (max-width: 640px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .heatmap-grid { grid-auto-columns: 10px; }
    .heatmap-cell { width: 10px; height: 10px; }
}

/* ============================================
   Round 2: Mission Control + Build Notes
   ============================================ */

/* --- Mission Control --- */
.mission-control-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    font-family: var(--font-mono);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mission-control-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.mc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    flex-wrap: wrap;
}

.mc-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.mc-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mc-active { color: var(--accent); }
.mc-status-ok { color: #10b981; }

.mc-divider {
    height: 1px;
    background: var(--card-border);
    width: 100%;
}

/* --- Decision Log --- */
.decision-entry { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.5rem 0; }
.decision-date { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.05em; }
.decision-title { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.decision-reason { font-size: 0.8rem; color: var(--text-secondary); }
.decision-divider { height: 1px; background: var(--card-border); margin: 0.5rem 0; }

/* --- Build Philosophy --- */
.philosophy-list {
    list-style: none;
    counter-reset: rule;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.philosophy-list li { counter-increment: rule; display: flex; gap: 0.75rem; align-items: baseline; }
.philosophy-list li::before {
    content: counter(rule, decimal-leading-zero) '.';
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- Personal API --- */
.api-json {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #a3e635;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem;
    white-space: pre-wrap;
    line-height: 1.6;
    overflow-x: auto;
}

/* --- Currently Breaking --- */
.breaking-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.breaking-list li { color: #f87171; }

/* --- Digital Garden --- */
.garden-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.garden-tags span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--card-border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* --- Command Palette Easter Egg Output --- */
.cmd-easter-egg {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    padding: 1rem;
    white-space: pre-wrap;
    line-height: 1.7;
}

/* --- Hidden Dev Mode Overlay --- */
.dev-mode-overlay {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 999;
    background: rgba(5, 5, 5, 0.92);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 0 20px var(--accent-glow);
    pointer-events: none;
}

.dev-mode-overlay.active { display: flex; }
.dev-mode-overlay .dm-row { display: flex; justify-content: space-between; gap: 1.5rem; }
.dev-mode-overlay .dm-row span:first-child { color: var(--text-muted); }

.mission-control-card {
    background: var(--card-bg, rgba(12, 12, 12, 0.85));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    
    /* Forces 3 equal columns across 2 rows */
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem 1.5rem; /* 2rem row gap, 1.5rem column gap */
}
@media (max-width: 640px) {
    .mission-control-card {
        grid-template-columns: repeat(2, 1fr); /* 2 columns across */
        gap: 1.25rem 1rem;
        padding: 1.25rem 1.25rem;
    }

    /* Make items with longer titles (like CURRENT ARTICLE) span both columns */
    .mc-item:nth-child(2) {
        grid-column: span 2;
    }
}

.mc-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mc-label {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    color: var(--text-muted, #666666);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.mc-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mc-active {
    color: var(--accent, #38bdf8);
}

.mc-status-ok {
    color: #10b981;
}

.heatmap-grid {
    display: grid;
    grid-template-rows: repeat(7, 12px); /* 7 rows for days of the week */
    grid-auto-flow: column;
    gap: 4px;
    margin: 1rem 0;
    overflow-x: auto;
}

.heatmap-grid .square {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.05); /* Default / 0 commits */
    transition: background-color 0.2s ease;
}

/* Activity Level Colors */
.heatmap-grid .square.level-0 { background-color: rgba(255, 255, 255, 0.05); }
.heatmap-grid .square.level-1 { background-color: rgba(56, 189, 248, 0.3); }  /* Low */
.heatmap-grid .square.level-2 { background-color: rgba(56, 189, 248, 0.65); } /* Medium */
.heatmap-grid .square.level-3 { background-color: rgba(56, 189, 248, 1); }    /* High */

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #666;
}

.heatmap-legend .square {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* Activity Section Container */
.activity-card {
    background: var(--card-bg, rgba(12, 12, 12, 0.85));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.activity-subtitle {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    color: #666;
}

/* Horizontal Scroll Wrapper for Responsiveness */
/* Container wrapper */
.heatmap-wrapper {
    width: 100%;
    margin: 1.25rem 0;
    display: flex;
    justify-content: center; /* Horizontally centers the compact block */
    overflow-x: auto;
    scrollbar-width: none;
}

.heatmap-wrapper::-webkit-scrollbar {
    display: none;
}

/* Compact Grid Layout */
.heatmap-grid {
    display: grid;
    grid-template-rows: repeat(7, 13px);
    grid-auto-flow: column;
    grid-auto-columns: 13px;
    gap: 4px; /* Tight, consistent gap */
    width: max-content;
}

/* Individual Squares */
.heatmap-grid .square {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.heatmap-grid .square:hover,
.heatmap-grid .square:focus-visible {
    transform: scale(1.3);
    z-index: 10;
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
    outline: none;
}

/* Mobile Adjustment */
@media (max-width: 640px) {
    .heatmap-wrapper {
        justify-content: flex-start; /* Switch back to flex-start on small mobile so users can swipe naturally */
    }
}

/* Footer Layout */
.heatmap-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Legend Styling */
.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 6px;
}

.heatmap-legend span {
    font-size: 0.75rem;
}

/* Legend Square Dimensions */
.heatmap-legend .square {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* Match Activity Levels */
.square.level-0 { 
    background-color: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.03); 
}
.square.level-1 { 
    background-color: rgba(56, 189, 248, 0.3); 
    border: 1px solid rgba(56, 189, 248, 0.35); 
}
.square.level-2 { 
    background-color: rgba(56, 189, 248, 0.65); 
    border: 1px solid rgba(56, 189, 248, 0.7); 
}
.square.level-3 { 
    background-color: #38bdf8; 
    border: 1px solid #38bdf8; 
    box-shadow: 0 0 4px rgba(56, 189, 248, 0.5); 
}

/* Card Container */
.project-card {
    background-color: #0b0c0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden; /* Clips browser bar flush to top rounded corners */
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.project-card:hover {
    border-color: rgba(56, 189, 248, 0.25);
}

/* Integrated Browser Header Bar */
.browser-bar {
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* macOS Window Control Dots */
.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.window-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.window-dots .dot.red { background-color: #ff5f56; }
.window-dots .dot.yellow { background-color: #ffbd2e; }
.window-dots .dot.green { background-color: #27c93f; }

/* URL / Address Bar Box */
.address-bar {
    flex-grow: 1;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    /* Subtle inner shadow for inset depth */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2); 
}

.lock-icon {
    width: 11px;
    height: 11px;
    stroke: #38bdf8;
    opacity: 0.8;
}

/* Content Area inside Card */
.card-content {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}
/* Title with a vibrant hover transition */
.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f3f4f6;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.project-card:hover .project-title {
    color: #ffffff;
}

/* Subtitle with subtle badge style */
.project-subtitle {
    font-size: 0.825rem;
    color: #38bdf8; /* Highlight accent */
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    width: fit-content;
    font-weight: 500;
}

/* Description text hierarchy */
.project-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Progress Track */
.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.progress-track {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

/* Animated Gradient Fill */
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%);
    border-radius: 9999px;
    position: relative;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulsing light effect across progress bar */
.project-card:hover .progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

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

.progress-text {
    font-family: monospace;
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 600;
}

/* Footer Layout */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Timestamp with Live Indicator Dot */
.meta-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-text::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e; /* Active status green */
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* Interactive Link with Arrow Slide */
.project-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.project-link span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.project-card:hover .project-link span {
    transform: translateX(4px);
    color: #7dd3fc;
}

.category-filters {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;   
    margin-bottom: 2rem; 
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
}
