/* Lunafitch Tech & Innovation - Cosmic Blueprint Stylesheet */
:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --accent-cyan: #06B6D4;
    --terminal-emerald: #10B981;
    --terminal-amber: #F59E0B;
    --terminal-red: #EF4444;

    --bg-dark: #080C16;
    --bg-dark-secondary: #0F172A;
    --surface-card: #111827;
    --surface-card-hover: #162032;
    --border-color: rgba(79, 70, 229, 0.25);
    --border-light: rgba(255, 255, 255, 0.08);

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-heading: #FFFFFF;

    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

[data-theme="light"] {
    --bg-dark: #F8FAFC;
    --bg-dark-secondary: #EDF2F7;
    --surface-card: #FFFFFF;
    --surface-card-hover: #F1F5F9;
    --border-color: rgba(79, 70, 229, 0.2);
    --border-light: rgba(0, 0, 0, 0.08);
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-heading: #090D16;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-cyan); }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Terminal System Ticker */
.top-terminal-ticker {
    background: #04060B;
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 6px 0;
    color: var(--text-muted);
}
.ticker-inner { display: flex; align-items: center; gap: 14px; }
.ticker-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--terminal-emerald);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}
.terminal-dot {
    width: 6px; height: 6px;
    background: var(--terminal-emerald);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--terminal-emerald);
}
.ticker-content-track {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-sep { color: rgba(255, 255, 255, 0.2); }
.ticker-headline a { color: var(--text-main); font-weight: 600; }
.ticker-headline a:hover { color: var(--accent-cyan); }

/* 2. Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 12, 22, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}
.brand-wrapper { display: flex; align-items: center; }
.site-logo { height: 42px; width: auto; object-fit: contain; }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}
.desktop-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 0;
    position: relative;
}
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--text-heading);
}
.desktop-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.desktop-search-pill {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.desktop-search-pill:hover { border-color: var(--accent-cyan); color: var(--text-main); }

.btn-network-desktop {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(6, 182, 212, 0.18));
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.btn-network-desktop:hover { border-color: var(--accent-cyan); }

.btn-icon {
    width: 36px;
    height: 36px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-icon:hover { border-color: var(--primary); }
.mobile-only { display: none; }

.mobile-cat-chips-bar {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 16px;
    gap: 8px;
    background: #060911;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-cat-chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}
.mobile-cat-chip.active { background: var(--primary); color: #fff; }

/* 3. Tech Stream Nav */
.tech-stream-nav {
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}
.stream-scrollable-track {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
}
.stream-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.08em;
}
.stream-pill {
    font-family: var(--font-mono);
    font-size: 12px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.stream-pill:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* 4. Engineering Radar Hero (62% / 38%) */
.tech-radar-hero-section {
    padding: 30px 0;
}
.tech-radar-grid {
    display: grid;
    grid-template-columns: 62% calc(38% - 24px);
    gap: 24px;
}
.lead-technical-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.terminal-status-header {
    background: #090E1B;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
}
.badge-difficulty {
    color: var(--accent-cyan);
    font-weight: 700;
    background: rgba(6, 182, 212, 0.12);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}
.meta-runtime {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}
.runtime-dot {
    width: 6px; height: 6px;
    background: var(--terminal-emerald);
    border-radius: 50%;
}
.meta-reading { color: var(--text-muted); }

.lead-card-media {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.lead-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lead-card-media:hover .lead-img { transform: scale(1.02); }
.blueprint-overlay-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.1) 0%, rgba(8, 12, 22, 0.85) 100%);
}

.lead-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lead-commit-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.commit-tag {
    color: var(--primary);
    font-weight: 700;
}
.lead-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.35;
    margin-bottom: 10px;
}
.lead-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.lead-footer-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.lead-author-pill {
    font-size: 12px;
    color: var(--text-muted);
}
.btn-read-spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.35);
}
.btn-read-spec:hover { background: var(--primary-hover); color: #fff; }

/* Stack Monitors 3-Deck */
.stack-monitors-deck {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.stack-deck-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 14px;
}
.deck-sublabel {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}
.deck-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
}
.deck-pulse-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--terminal-emerald);
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pulse-dot {
    width: 6px; height: 6px;
    background: var(--terminal-emerald);
    border-radius: 50%;
}
.stack-monitors-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.monitor-card {
    background: #090E1B;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.monitor-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}
.monitor-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
}
.badge-metric {
    background: rgba(16, 185, 129, 0.15);
    color: var(--terminal-emerald);
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 700;
}
.tag-stack { color: var(--accent-cyan); }
.monitor-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}
.monitor-bottom {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

/* 5. Main Feed Layout */
.main-feed-layout {
    display: grid;
    grid-template-columns: 68% calc(32% - 24px);
    gap: 24px;
    padding: 30px 0;
}
.terminal-prompt-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.prompt-user { color: var(--terminal-emerald); }
.prompt-dir { color: var(--accent-cyan); }
.prompt-cmd { color: var(--text-main); font-weight: 600; }
.section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

/* Spec Card */
.feed-list { display: flex; flex-direction: column; gap: 18px; }
.spec-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 260px 1fr;
    transition: border-color 0.2s ease;
}
.spec-card:hover { border-color: var(--primary); }
.spec-card-media { position: relative; height: 100%; min-height: 170px; }
.spec-card-thumb-link { display: block; width: 100%; height: 100%; }
.spec-card-img { width: 100%; height: 100%; object-fit: cover; }
.overlay-difficulty {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}
.spec-card-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
}
.spec-card-header-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.commit-badge { color: var(--primary); font-weight: 700; }
.spec-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}
.spec-card-excerpt {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 14px;
}
.spec-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}
.spec-chips-wrap { display: flex; gap: 6px; flex-wrap: wrap; }
.tech-chip {
    font-family: var(--font-mono);
    font-size: 10px;
    background: #090E1B;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}
.btn-blueprint-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* 6. Sidebar Tech */
.tech-widget {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
}
.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 14px;
}
.widget-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 0.04em;
}
.leaderboard-list { display: flex; flex-direction: column; gap: 12px; }
.leaderboard-item { display: flex; gap: 12px; align-items: flex-start; }
.rank-num {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    min-width: 24px;
}
.rank-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
}
.rank-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.stability-tag { color: var(--terminal-emerald); }

.spec-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 11px;
    margin-top: 6px;
}
.spec-summary-table th, .spec-summary-table td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}
.spec-summary-table th { color: var(--text-muted); font-weight: 700; }
.text-emerald { color: var(--terminal-emerald); font-weight: 700; }
.text-amber { color: var(--terminal-amber); font-weight: 700; }
.matrix-footnote {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

.snippet-box {
    background: #090E1B;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.snippet-header {
    background: #04060B;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 11px;
}
.snippet-filename { color: var(--accent-cyan); }
.btn-copy-code {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    cursor: pointer;
}
.btn-copy-code:hover { border-color: var(--accent-cyan); }
.snippet-box pre {
    padding: 12px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
    color: #A5B4FC;
}

/* 7. Single Post Styles */
.single-tech-header {
    background: linear-gradient(180deg, #090E1B 0%, var(--bg-dark) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0 24px;
}
.breadcrumbs {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}
.header-tags-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.single-tech-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.25;
    margin-bottom: 12px;
}
.single-tech-lead {
    font-size: 16px;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 16px;
}
.single-tech-meta-bar {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.meta-commit-hash { color: var(--primary); font-weight: 700; }

.single-featured-wrap {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.single-featured-img { width: 100%; height: auto; object-fit: cover; }

.article-entry {
    font-size: 16px;
    line-height: 1.75;
    color: #E2E8F0;
}
.article-entry h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.article-entry h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 24px 0 10px;
}
.article-entry p { margin-bottom: 16px; }
.article-entry ul, .article-entry ol { margin: 0 0 18px 24px; }
.article-entry li { margin-bottom: 6px; }

/* Callout Boxes */
.tech-callout {
    border-radius: var(--radius-sm);
    margin: 24px 0;
    overflow: hidden;
    font-family: var(--font-body);
}
.callout-header {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.callout-body {
    padding: 12px 14px;
    font-size: 14.5px;
    background: #090E1B;
}
.tech-callout-advantage { border: 1px solid var(--primary); }
.tech-callout-advantage .callout-header { background: rgba(79, 70, 229, 0.2); color: #A5B4FC; }
.tech-callout-bottleneck { border: 1px solid var(--terminal-amber); }
.tech-callout-bottleneck .callout-header { background: rgba(245, 158, 11, 0.2); color: #FCD34D; }
.tech-callout-recommendation { border: 1px solid var(--terminal-emerald); }
.tech-callout-recommendation .callout-header { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }

/* Code Blocks Styling */
.code-block-header {
    background: #04060B;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-cyan);
    margin-top: 18px;
}
.article-entry pre {
    background: #090E1B;
    border: 1px solid var(--border-color);
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    padding: 14px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #A5B4FC;
    margin-bottom: 20px;
}

/* Share Bar */
.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 0;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.share-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--text-muted); }
.share-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--surface-card);
    color: var(--text-main);
    cursor: pointer;
}
.share-btn:hover { border-color: var(--primary); }

.tech-author-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 30px;
}
.author-avatar-wrap .author-img { border-radius: 50%; border: 2px solid var(--primary); }
.author-bio h4 { font-family: var(--font-heading); font-size: 16px; color: #FFFFFF; margin-bottom: 4px; }
.author-bio p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* 8. Footer */
.site-footer {
    background: #04060B;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: 40px;
}
.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}
.footer-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    margin: 12px 0 16px;
    max-width: 420px;
}
.footer-sys-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--terminal-emerald);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}
.status-dot.online {
    width: 6px; height: 6px;
    background: var(--terminal-emerald);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--terminal-emerald);
}
.footer-col-title {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom-row {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 10px;
}
.footer-meta-stats { display: flex; gap: 8px; }

/* 9. Drawer Panel */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-panel {
    position: absolute;
    top: 0; right: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #080C16;
    border-left: 1px solid var(--border-color);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}
.mobile-drawer-overlay.open .drawer-panel { transform: translateX(0); }
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.drawer-title { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: #FFF; }
.drawer-close { background: none; border: none; color: #FFF; cursor: pointer; }
.drawer-search-wrap { margin-bottom: 24px; }
.drawer-search-form { display: flex; gap: 8px; }
.drawer-search-input {
    flex: 1;
    background: #0F172A;
    border: 1px solid var(--border-color);
    color: #FFF;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 13px;
}
.drawer-search-btn {
    background: var(--primary);
    border: none;
    color: #FFF;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.drawer-nav-section { margin-bottom: 24px; }
.drawer-section-title { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.drawer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.drawer-nav-list li a { display: block; padding: 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-color); text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.drawer-nav-list li a:hover, .drawer-nav-list li a.active { background: var(--surface); border-color: var(--primary); color: #fff; }
.drawer-network-grid { display: flex; flex-direction: column; gap: 12px; }
.network-portal-card {
    background: #0F172A;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: block;
}
.network-portal-card:hover, .network-portal-card.active { border-color: var(--accent-cyan); }
.portal-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 6px;
}
.badge-main { background: #374151; color: #E5E7EB; }
.badge-tech { background: rgba(79, 70, 229, 0.2); color: #A5B4FC; }
.badge-game { background: rgba(34, 197, 94, 0.2); color: #86EFAC; }
.badge-life { background: rgba(2, 132, 199, 0.2); color: #7DD3FC; }
.network-portal-card h4 { font-family: var(--font-heading); font-size: 15px; color: #FFF; margin-bottom: 4px; }
.network-portal-card p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* Responsive Queries */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .mobile-only { display: flex; }
    .mobile-cat-chips-bar { display: flex; }
    .tech-radar-grid { grid-template-columns: 1fr; }
    .main-feed-layout { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
    .spec-card { grid-template-columns: 1fr; }
    .spec-card-media { height: 180px; }
    .header-main-row { height: 60px; }
    .single-tech-title { font-size: 22px; }
    .desktop-search-pill, .btn-network-desktop { display: none; }
}
