/**
 * TeeCode Modern Developer Portal Stylesheet (2026 Edition)
 * Clean, fast, glassmorphic bento-grid design.
 */

:root {
    --font-main: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-code: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

    /* Light Theme (Crisp, High-Tech Minimalist) */
    --bg: #f8fafc;
    --bg-mesh: radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.08) 0px, transparent 50%),
               radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.06) 0px, transparent 50%);
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.85);
    --surface-card: #ffffff;
    --surface-hover: #f1f5f9;
    --border: #e2e8f0;
    --border-subtle: #edf2f7;
    --border-hover: #cbd5e1;
    
    --primary: #0284c7;
    --primary-light: #e0f2fe;
    --primary-glow: rgba(2, 132, 199, 0.18);
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.15);
    --amber: #f59e0b;

    --text: #0f172a;
    --text-muted: #64748b;
    --text-dim: #94a3b8;

    --code-bg: #0f172a;
    --code-text: #f8fafc;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

[data-theme="dark"] {
    /* Dark Theme (Vercel/Linear Midnight Aesthetic) */
    --bg: #090d16;
    --bg-mesh: radial-gradient(at 15% 10%, rgba(2, 132, 199, 0.12) 0px, transparent 55%),
               radial-gradient(at 85% 80%, rgba(99, 102, 241, 0.1) 0px, transparent 55%);
    --surface: #0f1626;
    --surface-glass: rgba(15, 22, 38, 0.82);
    --surface-card: #111a2e;
    --surface-hover: #17233d;
    --border: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(56, 189, 248, 0.3);

    --primary: #38bdf8;
    --primary-light: rgba(56, 189, 248, 0.12);
    --primary-glow: rgba(56, 189, 248, 0.25);
    --accent: #818cf8;
    --accent-glow: rgba(129, 140, 248, 0.2);

    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --code-bg: #070b12;
    --code-text: #f1f5f9;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.15);
}

/* Base Resets & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    background-image: var(--bg-mesh);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
header.site-header {
    position: sticky;
    top: 16px;
    z-index: 100;
    margin-bottom: 40px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 38px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.brand-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-item.github-link {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text);
}

.nav-item.github-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Theme Toggle */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

[data-theme="light"] .theme-toggle-btn .moon-icon { display: block; }
[data-theme="light"] .theme-toggle-btn .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle-btn .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle-btn .sun-icon { display: block; }

/* Hero Section */
.hero-section {
    padding: 40px 0 60px 0;
    text-align: center;
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 2px 10px var(--primary-glow);
}

.hero-pill-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px auto;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 16px var(--primary-glow);
}

[data-theme="dark"] .btn-primary {
    background: #38bdf8;
    color: #090d16;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
    filter: brightness(1.06);
}

.btn-secondary {
    background: var(--surface-card);
    border-color: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.bento-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.bento-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* Spotlight Card (GyroidVault) */
.bento-spotlight {
    grid-column: span 8;
    background: linear-gradient(145deg, var(--surface-card) 0%, var(--surface-glass) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: var(--shadow-glow), var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 70%);
    pointer-events: none;
}

.spotlight-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.spotlight-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--emerald-glow);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.spotlight-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
}

.spotlight-stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.spotlight-stars:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.03);
}

.spotlight-title-area {
    margin-bottom: 16px;
}

.spotlight-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.spotlight-title span.project-icon {
    font-size: 1.8rem;
}

.spotlight-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.spotlight-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: var(--surface-hover);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.feature-pill svg {
    color: var(--primary);
    flex-shrink: 0;
}

.spotlight-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Bento Side Cards */
.bento-stats {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text);
}

.bento-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.stats-counter-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-counter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--surface-hover);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.stat-counter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-counter-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-code);
}

.bento-philosophy {
    grid-column: span 12;
    background: var(--surface-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.philosophy-quote {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text);
}

.philosophy-tag {
    color: var(--primary);
    font-weight: 800;
}

/* Sections Common Header */
.section-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.section-action {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-action:hover {
    text-decoration: underline;
}

/* Repositories Grid */
.repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 70px;
}

.repo-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.repo-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.repo-card-top {
    margin-bottom: 18px;
}

.repo-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.repo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.repo-card:hover .repo-name {
    color: var(--primary);
}

.repo-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.repo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.repo-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.repo-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lang-js { background-color: #f1e05a; }
.lang-php { background-color: #4F5D95; }
.lang-xml { background-color: #0060ac; }
.lang-shell { background-color: #89e051; }
.lang-code { background-color: #38bdf8; }

.repo-stars, .repo-forks {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.repo-updated {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Snippets Section */
.snippets-section {
    margin-bottom: 80px;
}

.snippets-controls {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(12px);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.snippet-search-bar {
    position: relative;
    width: 100%;
}

.snippet-search-bar svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    width: 20px;
    height: 20px;
}

.snippet-search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.snippet-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.snippet-tag-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.tag-btn {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.tag-btn:hover, .tag-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Snippets Grid & Cards */
.snippets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
}

.snippet-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.snippet-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.snippet-card-header {
    padding: 24px;
    cursor: pointer;
    background: var(--surface-card);
    display: flex;
    flex-direction: column;
    position: relative;
}

.snippet-card-header:hover {
    background: var(--surface-hover);
}

.snippet-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    padding-right: 70px;
}

.snippet-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
}

.snippet-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.snippet-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.badge-lang {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--surface-hover);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.badge-tag {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(56, 189, 248, 0.2);
    cursor: pointer;
}

.snippet-quick-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.copy-icon-btn.copied {
    background: var(--emerald-glow);
    border-color: var(--emerald);
    color: var(--emerald);
}

.chevron-icon {
    width: 24px;
    height: 24px;
    color: var(--text-dim);
    transition: transform 0.3s ease;
}

.snippet-card.open .chevron-icon {
    transform: rotate(180deg);
}

.snippet-card-body {
    display: none;
    border-top: 1px solid var(--border);
    background: var(--code-bg);
}

.snippet-card.open .snippet-card-body {
    display: block;
}

.code-wrap {
    position: relative;
}

.code-wrap pre {
    margin: 0 !important;
    padding: 20px !important;
    max-height: 420px;
    overflow: auto;
    font-family: var(--font-code) !important;
    font-size: 0.88rem !important;
    background: transparent !important;
}

/* About Section Card */
.about-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 70px;
    box-shadow: var(--shadow-md);
}

.markdown-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.markdown-body h1:first-child { margin-top: 0; }

.markdown-body p {
    margin-bottom: 1.2em;
    color: var(--text-muted);
}

.markdown-body strong {
    color: var(--text);
}

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
}

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

/* Toast */
.toast-msg {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-msg.success {
    border-left: 4px solid var(--emerald);
}

/* Responsive */
@media (max-width: 900px) {
    .bento-spotlight { grid-column: span 12; }
    .bento-stats { grid-column: span 12; }
    .nav-links { gap: 4px; }
    .nav-item { padding: 6px 10px; font-size: 0.85rem; }
}

@media (max-width: 650px) {
    .snippets-grid { grid-template-columns: 1fr; }
    .repos-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .nav-item span { display: none; }
    .brand-text { font-size: 1rem; }
    header.site-header { top: 8px; margin-bottom: 24px; }
    .bento-card { padding: 24px; }
    .spotlight-title { font-size: 1.8rem; }
}

