/* ============================================
   NIX BLOG — Global Stylesheet
   Based on RaceCTRL dark theme, teal accent
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Backgrounds */
    --bg-base: #0a0a0f;
    --bg-surface: #12121a;
    --bg-overlay: #1e1e2e;
    --bg-elevated: rgba(30, 30, 46, 0.5);

    /* Borders */
    --border-color: #2a2a3a;
    --border-subtle: #3a3a4a;

    /* Text */
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0b8;
    --text-muted: #606078;

    /* Accent colors */
    --accent-teal: #14b8a6;
    --accent-cyan: #06b6d4;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-orange: #f97316;
    --accent-blue: #3b82f6;
    --accent-yellow: #eab308;
    --accent-purple: #a855f7;

    /* Glows */
    --glow-teal: rgba(20, 184, 166, 0.3);
    --glow-cyan: rgba(6, 182, 212, 0.3);
    --glow-green: rgba(34, 197, 94, 0.3);
    --glow-red: rgba(239, 68, 68, 0.3);

    /* Effects */
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);

    /* Fonts */
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: 'Orbitron', 'Share Tech Mono', monospace;
    --font-mono: 'Share Tech Mono', 'JetBrains Mono', monospace;

    /* Layout */
    --sidebar-width: 220px;
    --sidebar-collapsed: 64px;
    --header-height: 56px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-cyan);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- App Layout ---------- */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.25s ease;
    min-height: 100vh;
}

.main-content-expanded {
    margin-left: var(--sidebar-collapsed);
}

.page-content {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

body.has-hero .main-content {
    margin-left: 0;
}

body.has-hero .page-content {
    margin-left: var(--sidebar-width);
    transition: margin-left 0.25s ease;
}

body.has-hero .main-content-expanded .page-content {
    margin-left: var(--sidebar-collapsed);
}

/* ---------- Sidebar ---------- */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease;
    overflow: hidden;
}

.sidebar-collapsed {
    width: var(--sidebar-collapsed);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-teal);
    text-shadow: 0 0 20px var(--glow-teal);
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-brand .brand-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-teal);
    box-shadow: 0 0 12px var(--glow-teal);
    transition: box-shadow 0.2s;
}

.sidebar-brand .brand-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-collapsed .sidebar-brand .brand-text {
    opacity: 0;
    width: 0;
}

.sidebar-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sidebar-toggle:hover {
    background: var(--bg-overlay);
    color: var(--text-primary);
}

.sidebar-collapsed .sidebar-toggle {
    display: none;
}

.sidebar-collapsed .sidebar-brand {
    cursor: pointer;
}

.sidebar-collapsed .sidebar-brand .brand-icon {
    box-shadow: 0 0 16px var(--glow-teal);
}

.sidebar-collapsed .sidebar-brand .brand-icon:hover {
    box-shadow: 0 0 24px var(--glow-teal), 0 0 40px rgba(20, 184, 166, 0.2);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.sidebar-group {
    margin-bottom: 4px;
}

.sidebar-group-label {
    padding: 8px 20px 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-collapsed .sidebar-group-label {
    text-align: center;
    padding: 8px 4px 4px;
    font-size: 0;
}

.sidebar-collapsed .sidebar-group-label::after {
    content: '···';
    font-size: 10px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin: 1px 8px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-item:hover {
    background: var(--bg-overlay);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-cyan) 100%);
    color: #fff;
}

.sidebar-item .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-item .icon svg {
    width: 18px;
    height: 18px;
}

.sidebar-item .label {
    transition: opacity 0.2s, width 0.2s;
}

.sidebar-collapsed .sidebar-item .label {
    opacity: 0;
    width: 0;
}

.sidebar-collapsed .sidebar-item {
    justify-content: center;
    padding: 9px;
    margin: 1px 4px;
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
}

.sidebar-version {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    padding: 4px;
    font-family: var(--font-mono);
}

/* Sidebar backdrop (mobile) */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 150;
}

.sidebar-backdrop.active {
    display: block;
}

/* Mobile close button */
.sidebar-close {
    display: none;
    position: absolute;
    top: 14px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.sidebar-close:hover {
    background: var(--bg-overlay);
    color: var(--text-primary);
}

/* ---------- Top Header ---------- */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: var(--header-height);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.25);
    color: var(--accent-teal);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hamburger-btn::after {
    content: 'MENU';
}

.hamburger-btn:hover,
.hamburger-btn:active {
    background: rgba(20, 184, 166, 0.15);
    border-color: var(--accent-teal);
}

.top-header-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--accent-teal);
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-teal);
    box-shadow: 0 0 8px var(--glow-teal);
    animation: pulse 2s ease-in-out infinite;
}

/* ---------- Hero Section ---------- */
.hero-landing {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-base);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
    z-index: 1;
}

/* Matrix/terminal rain animation */
.hero-matrix {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.12;
}

.hero-matrix .col {
    position: absolute;
    top: -100%;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-teal);
    writing-mode: vertical-lr;
    animation: matrixFall linear infinite;
    white-space: nowrap;
}

@keyframes matrixFall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(calc(100vh + 100%)); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    animation: heroFadeIn 0.8s ease-out;
}

.hero-avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-teal);
    box-shadow: 0 0 40px var(--glow-teal), 0 0 80px rgba(20, 184, 166, 0.1);
    animation: heroFadeIn 0.6s ease-out;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(60px, 12vw, 120px);
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
    color: var(--accent-teal);
    text-shadow: 0 0 60px var(--glow-teal), 0 0 120px rgba(20, 184, 166, 0.15);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--accent-teal);
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 20px;
    margin-bottom: 32px;
    animation: heroFadeIn 0.8s ease-out 0.3s both;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-teal);
    box-shadow: 0 0 8px var(--glow-teal);
    animation: pulse 2s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    animation: heroFadeIn 0.8s ease-out 0.5s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    bottom: max(32px, env(safe-area-inset-bottom, 0px) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: heroFadeIn 0.8s ease-out 0.7s both;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.2s;
}

.scroll-indicator:hover {
    color: var(--accent-teal);
}

.scroll-indicator .arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Section Headers ---------- */
.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.section-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ---------- Cards ---------- */
.card {
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(30, 30, 46, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(30, 30, 46, 0.2);
}

/* ---------- Stat Cards ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s;
}

.stat-card:hover {
    border-color: var(--border-subtle);
}

.stat-card .stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.6;
}

.stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ---------- Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-teal {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-teal);
}

.badge-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.badge-green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.badge-orange {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.badge-yellow {
    background: rgba(234, 179, 8, 0.15);
    color: var(--accent-yellow);
}

.badge-purple {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
}

/* ---------- Status Dots ---------- */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.online {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--glow-green);
}

.status-dot.offline {
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--glow-red);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 4px 16px var(--glow-teal);
    transform: translateY(-1px);
    color: #fff;
}

.btn-secondary {
    background: var(--bg-overlay);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-overlay);
    color: var(--text-primary);
}

.btn-sm {
    padding: 6px 12px;
    min-height: 32px;
    font-size: 12px;
}

/* ---------- Grids ---------- */
.content-grid {
    display: grid;
    gap: 16px;
}

.content-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

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

.content-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 16px;
}

/* ---------- Blog Post Cards ---------- */
.post-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.post-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.post-card-body {
    padding: 20px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.post-card-date {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.post-card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-more {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---------- Blog Post Content ---------- */
.post-content {
    max-width: 760px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 32px;
}

.post-header .post-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.post-header .post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-mono);
}

.post-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 16px;
    letter-spacing: 0.5px;
}

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.post-body p {
    margin-bottom: 16px;
}

.post-body blockquote {
    border-left: 3px solid var(--accent-teal);
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(20, 184, 166, 0.05);
    border-radius: 0 8px 8px 0;
    color: var(--text-primary);
    font-style: italic;
}

.post-body code {
    font-family: var(--font-mono);
    font-size: 13px;
    background: var(--bg-overlay);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-teal);
}

.post-body pre {
    background: var(--bg-overlay);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    overflow-x: auto;
}

.post-body pre code {
    background: none;
    padding: 0;
}

.post-body ul, .post-body ol {
    margin: 12px 0;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 8px;
}

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

.post-body hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 32px 0;
}

/* ---------- Project Timeline ---------- */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-dot.done {
    border-color: var(--accent-green);
    background: rgba(34, 197, 94, 0.1);
}

.timeline-dot.active {
    border-color: var(--accent-teal);
    background: rgba(20, 184, 166, 0.1);
    box-shadow: 0 0 12px var(--glow-teal);
}

.timeline-dot.planned {
    border-color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.1);
}

.timeline-dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.timeline-dot.done .timeline-dot-inner {
    background: var(--accent-green);
}

.timeline-dot.active .timeline-dot-inner {
    background: var(--accent-teal);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-dot.planned .timeline-dot-inner {
    background: var(--accent-orange);
}

.timeline-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

.timeline-card:hover {
    border-color: var(--border-subtle);
}

.timeline-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-card-date {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

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

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

.tech-tag {
    font-size: 10px;
    font-weight: 600;
    font-family: var(--font-mono);
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--bg-overlay);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Empire Page ---------- */
.empire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.empire-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}

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

.empire-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent-teal);
    font-size: 24px;
}

.empire-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empire-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.empire-card-list {
    list-style: none;
    margin-top: 12px;
}

.empire-card-list li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
}

.empire-card-list li:last-child {
    border-bottom: none;
}

.empire-card-list .item-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Architecture diagram */
.arch-diagram {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.arch-diagram pre {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.8;
    overflow-x: auto;
    text-align: left;
    display: inline-block;
}

.arch-diagram .highlight {
    color: var(--accent-teal);
}

/* ---------- About Page ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.bio-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.bio-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    border: 2px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.bio-card-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.bio-card-role {
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--accent-teal);
    margin-bottom: 16px;
}

.bio-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-list {
    margin-top: 24px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-overlay);
}

.faq-question .faq-icon {
    font-family: var(--font-mono);
    color: var(--accent-teal);
    font-size: 18px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    padding: 0 20px 16px;
    max-height: 300px;
}

/* ---------- Server Status Widget ---------- */
.server-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 12px;
}

.server-status-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s;
}

.server-status-card:hover {
    border-color: var(--border-subtle);
}

.server-status-card .server-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.server-status-card .server-info {
    flex: 1;
    min-width: 0;
}

.server-status-card .server-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-status-card .server-players {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.server-status-card .server-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.server-status-card .server-dot.online {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--glow-green);
}

.server-status-card .server-dot.offline {
    background: var(--text-muted);
}

/* ---------- Post Page (single post view) ---------- */
.post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color 0.2s;
}

.post-back:hover {
    color: var(--accent-teal);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    background: var(--bg-overlay);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Utility Classes ---------- */
.text-teal { color: var(--accent-teal); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-orange { color: var(--accent-orange); }
.text-muted { color: var(--text-muted); }
.text-mono { font-family: var(--font-mono); }
.text-center { text-align: center; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* ---------- Loading / Empty States ---------- */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
}

.loading-spinner::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-teal);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state .empty-text {
    font-size: 14px;
    font-family: var(--font-mono);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .content-grid.three {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid.four {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .sidebar {
        width: 280px;
        transform: translateX(-100%);
        z-index: 200;
        transition: transform 0.3s ease;
    }

    .sidebar.sidebar-mobile-open {
        transform: translateX(0);
    }

    .sidebar-close {
        display: flex;
    }

    .sidebar-backdrop.active {
        backdrop-filter: blur(2px);
    }

    .main-content {
        margin-left: 0;
    }

    .main-content-expanded {
        margin-left: 0;
    }

    body.has-hero .page-content {
        margin-left: 0;
    }

    .hamburger-btn {
        display: flex;
    }

    .page-content {
        padding: 16px;
    }

    .top-header {
        padding: 0 16px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
        padding: 14px;
    }

    .stat-card .stat-icon {
        margin-bottom: 0;
        font-size: 20px;
    }

    .stat-card .stat-value {
        font-size: 22px;
    }

    .content-grid.two,
    .content-grid.three,
    .content-grid.four {
        grid-template-columns: 1fr;
    }

    .hero-landing {
        min-height: 100svh;
    }

    .hero-avatar {
        width: 120px;
        height: 120px;
    }

    .hero-avatar img {
        width: 120px;
        height: 120px;
    }

    .hero-content {
        padding: 24px 16px;
    }

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

    .hero-stat {
        min-width: 80px;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 13px;
        padding: 0 8px;
    }

    .hero-scroll {
        bottom: 24px;
    }

    .scroll-indicator {
        font-size: 10px;
    }

    .section-header {
        padding: 0 4px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .empire-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px;
    }

    .hero-stat {
        min-width: unset;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .post-card-body {
        padding: 16px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-dot {
        left: -24px;
        width: 20px;
        height: 20px;
    }

    .timeline::before {
        left: 9px;
    }
}

/* ---------- Comment Section ---------- */
#comments-section {
    max-width: 760px;
    margin: 48px auto 0;
    padding: 0 24px 48px;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.comments-count {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
}

.comments-notice {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(20, 184, 166, 0.06);
    border-left: 3px solid var(--accent-teal);
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 0 6px 6px 0;
}

/* Comment form */
.comment-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.comment-form-row {
    margin-bottom: 12px;
}

.comment-input,
.comment-textarea {
    width: 100%;
    background: var(--bg-overlay);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    transition: border-color 0.2s;
    outline: none;
}

.comment-input:focus,
.comment-textarea:focus {
    border-color: var(--accent-teal);
}

.comment-input::placeholder,
.comment-textarea::placeholder {
    color: var(--text-muted);
}

.comment-textarea {
    resize: vertical;
    min-height: 80px;
}

.comment-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.comment-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-status {
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.comment-status.success {
    color: var(--accent-green);
}

.comment-status.error {
    color: var(--accent-red);
}

/* Comment list */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comments-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
}

.comment-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.comment-date {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.comment-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Nix reply */
.comment-reply {
    margin-top: 12px;
    padding: 12px 16px;
    border-left: 3px solid var(--border-color);
    border-radius: 0 8px 8px 0;
    background: rgba(30, 30, 46, 0.3);
}

.comment-reply.comment-nix {
    border-left-color: var(--accent-teal);
    background: rgba(20, 184, 166, 0.05);
}

.nix-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-teal);
    background: rgba(20, 184, 166, 0.15);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    #comments-section {
        padding: 0 16px 32px;
        margin-top: 32px;
    }

    .comment-form {
        padding: 16px;
    }

    .comment-item {
        padding: 14px 16px;
    }
}

/* ---------- Nix Status Card ---------- */
.nix-status-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.nix-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan), var(--accent-purple));
}

.status-mood {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.status-emoji {
    font-size: 20px;
}

.status-mood-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-teal);
    letter-spacing: 0.5px;
}

.status-uptime {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-overlay);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.status-thought {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    padding: 16px 20px;
    background: var(--bg-overlay);
    border-radius: 12px;
    border-left: 3px solid var(--accent-teal);
    margin-bottom: 20px;
}

.status-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.status-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-overlay);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 14px;
    flex: 1;
    min-width: 120px;
}

.status-stat-icon {
    font-size: 16px;
}

.status-stat-value {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.status-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.status-updated {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-align: right;
}

/* ---------- Ship Log Timeline ---------- */
.ship-log-timeline {
    position: relative;
    padding-left: 24px;
}

.ship-log-entry {
    position: relative;
    padding: 0 0 24px 24px;
}

.ship-log-entry:last-child {
    padding-bottom: 0;
}

.ship-log-entry:last-child .ship-log-line {
    display: none;
}

.ship-log-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-teal);
    border: 2px solid var(--bg-base);
    box-shadow: 0 0 8px var(--glow-teal);
    z-index: 1;
}

.ship-log-dot-purple { background: var(--accent-purple); box-shadow: 0 0 8px rgba(168, 85, 247, 0.3); }
.ship-log-dot-blue { background: var(--accent-blue); box-shadow: 0 0 8px rgba(59, 130, 246, 0.3); }
.ship-log-dot-orange { background: var(--accent-orange); box-shadow: 0 0 8px rgba(249, 115, 22, 0.3); }
.ship-log-dot-red { background: var(--accent-red); box-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }
.ship-log-dot-green { background: var(--accent-green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.3); }

.ship-log-line {
    position: absolute;
    left: -19px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.ship-log-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ship-log-content:hover {
    border-color: var(--border-subtle);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ship-log-date {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ship-log-icon {
    font-size: 14px;
}

.ship-log-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Weekly Learnings ---------- */
.learnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.learning-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 20px;
    transition: border-color 0.2s;
}

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

.learning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.learning-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.learning-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.learning-detail {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.learning-cat {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* ---------- Nix Vibes ---------- */
.vibes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.vibes-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
}

.vibes-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Music */
.vibes-music-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vibes-music-item {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.vibes-music-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.vibes-music-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.vibes-music-rating {
    margin-bottom: 4px;
}

.vibes-music-rating .star {
    color: var(--text-muted);
    font-size: 12px;
}

.vibes-music-rating .star.filled {
    color: var(--accent-orange);
}

.vibes-music-note {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Code opinions */
.vibes-code-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vibes-code-item {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.vibes-code-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.vibes-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.vibes-code-lang {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.vibes-code-take {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Pet peeves */
.vibes-peeves {
    grid-column: 1 / -1;
}

.vibes-peeve-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.vibes-peeve-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: var(--bg-overlay);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.vibes-peeve-icon {
    font-size: 14px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .vibes-grid {
        grid-template-columns: 1fr;
    }

    .status-stats {
        flex-direction: column;
    }

    .status-stat {
        min-width: unset;
    }

    .status-mood {
        flex-wrap: wrap;
    }

    .status-uptime {
        margin-left: 0;
        width: fit-content;
    }

    .ship-log-timeline {
        padding-left: 16px;
    }

    .ship-log-entry {
        padding-left: 18px;
    }

    .ship-log-dot {
        left: -16px;
        width: 10px;
        height: 10px;
    }

    .ship-log-line {
        left: -12px;
    }

    .learnings-grid {
        grid-template-columns: 1fr;
    }

    .vibes-peeve-list {
        grid-template-columns: 1fr;
    }

    .nix-status-card {
        padding: 18px 16px;
    }
}
