/* ═══════════════════════════════════════════════════════
   Luna-chan — Complete Stylesheet
   Dark vampire theme · No external dependencies
   ═══════════════════════════════════════════════════════ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c2a;
    --border: rgba(139, 0, 0, 0.2);
    --border-hover: rgba(139, 0, 0, 0.5);
    --primary: #8b0000;
    --primary-light: #c0392b;
    --primary-glow: rgba(139, 0, 0, 0.3);
    --accent: #6b21a8;
    --accent-glow: rgba(107, 33, 168, 0.2);
    --text: #e8e0e0;
    --text-muted: #909096;
    --text-light: #ffffff;
    --gradient: linear-gradient(135deg, #8b0000, #6b21a8);
    --gradient-hover: linear-gradient(135deg, #a52a2a, #7c2fc8);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 85% 8%, rgba(139, 0, 0, 0.12), transparent 34rem),
        radial-gradient(circle at 8% 85%, rgba(107, 33, 168, 0.09), transparent 30rem),
        var(--bg-primary);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }

img { max-width: 100%; display: block; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Canvas Background (replaces particles.js) ── */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Glow Orbs ── */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.glow-1 {
    width: 600px; height: 600px;
    background: rgba(139, 0, 0, 0.12);
    top: -300px; right: -200px;
    animation: glowFloat 12s ease-in-out infinite;
}
.glow-2 {
    width: 500px; height: 500px;
    background: rgba(107, 33, 168, 0.08);
    bottom: -200px; left: -200px;
    animation: glowFloat 15s ease-in-out infinite reverse;
}
@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.1); }
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ── Navbar ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}
.nav-brand svg {
    width: 32px; height: 32px;
    flex-shrink: 0;
}
.nav-brand-avatar {
    width: 34px;
    height: 34px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(192, 57, 43, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--primary-glow);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
    background: rgba(139, 0, 0, 0.15);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn.btn-icon.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient);
    color: var(--text-light);
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}
.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-light);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 8px 14px;
}
.btn-ghost:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
}
.btn-icon {
    width: 38px; height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    display: inline-block;
    background: rgba(139, 0, 0, 0.15);
    border: 1px solid rgba(139, 0, 0, 0.3);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Hero ── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
}
.hero-content {
    text-align: center;
    max-width: 800px;
}
.bot-avatar-frame {
    width: 112px;
    height: 112px;
    margin: 0 auto 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 32px var(--primary-glow);
}
.bot-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 0, 0, 0.12);
    border: 1px solid rgba(139, 0, 0, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 8px;
}
.hero h1 .gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero h1 .highlight {
    color: var(--text-light);
}
.hero-sub {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stats-mini {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
}
.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Stats Page ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.stat-card-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.stat-card-icon.red { background: rgba(139,0,0,0.15); color: var(--primary-light); }
.stat-card-icon.purple { background: rgba(107,33,168,0.15); color: var(--accent); }
.stat-card-icon.green { background: rgba(34,197,94,0.15); color: #22c55e; }
.stat-card-icon.blue { background: rgba(59,130,246,0.15); color: #3b82f6; }
.stat-card-icon.orange { background: rgba(234,179,8,0.15); color: #eab308; }
/* Stats page — short class names used in stats.html */
.stat-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(139,0,0,0.15);
    color: var(--primary-light);
    margin-bottom: 12px;
}
.stat-icon svg {
    stroke: var(--primary-light);
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
    min-height: 2rem;
    white-space: nowrap;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}
.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}
.stat-card-change {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}
.stat-card-change.up { background: rgba(34,197,94,0.15); color: #22c55e; }
.stat-card-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ── Chart ── */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.chart-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}
.chart-tabs {
    display: flex;
    gap: 4px;
}
.chart-tab {
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font);
    font-weight: 500;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.chart-tab:hover { color: var(--text-light); }
.chart-tab.active {
    background: rgba(139,0,0,0.2);
    color: var(--text-light);
}
.chart-canvas-wrap {
    width: 100%;
    height: 250px;
    position: relative;
}
.chart-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ── Features ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.features-grid .feature-card:nth-child(1) .feature-icon { color: #8b5cf6; background: rgba(139,92,246,0.1); }
.features-grid .feature-card:nth-child(2) .feature-icon { color: #22c55e; background: rgba(34,197,94,0.1); }
.features-grid .feature-card:nth-child(3) .feature-icon { color: #ef4444; background: rgba(239,68,68,0.1); }
.features-grid .feature-card:nth-child(4) .feature-icon { color: #3b82f6; background: rgba(59,130,246,0.1); }
.features-grid .feature-card:nth-child(5) .feature-icon { color: #eab308; background: rgba(234,179,8,0.1); }
.features-grid .feature-card:nth-child(6) .feature-icon { color: #22d3ee; background: rgba(34,211,238,0.1); }
.features-grid .feature-card:nth-child(7) .feature-icon { color: #a855f7; background: rgba(168,85,247,0.1); }
.features-grid .feature-card:nth-child(8) .feature-icon { color: #f97316; background: rgba(249,115,22,0.1); }
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: rgba(139,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── Commands ── */
.commands-filter {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.filter-btn:hover { border-color: var(--primary); color: var(--text-light); }
.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: var(--text-light);
}
.commands-group {
    margin-bottom: 40px;
}
.commands-group-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.commands-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 12px;
}
.cmd-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.cmd-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.cmd-emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.cmd-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.cmd-name {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(139,0,0,0.1);
    padding: 2px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.cmd-info { flex: 1; min-width: 0; }
.cmd-desc {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.5;
}
.cmd-params {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.cmd-param {
    font-size: 0.72rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 1px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.06);
}
.cmd-param.required {
    color: var(--primary-light);
    border-color: rgba(139,0,0,0.3);
    background: rgba(139,0,0,0.08);
}
.cmd-perm {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.cmd-perm.everyone { background: rgba(34,197,94,0.12); color: #22c55e; }
.cmd-perm.admin { background: rgba(234,179,8,0.12); color: #eab308; }
.cmd-perm.mod { background: rgba(59,130,246,0.12); color: #60a5fa; }
.cmd-perm.owner { background: rgba(239,68,68,0.12); color: #ef4444; }
.cmd-perm.trusted { background: rgba(168,85,247,0.12); color: #a855f7; }
.cmd-perm.whitelist { background: rgba(34,211,238,0.12); color: #22d3ee; }
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* ── Developer Section ── */
.devs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.dev-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}
.dev-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.dev-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid var(--primary);
    object-fit: cover;
    background: var(--bg-secondary);
    box-shadow: 0 0 18px rgba(139, 0, 0, 0.18);
}
.dev-avatar-placeholder {
    width: 80px; height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    font-weight: 700;
}
.dev-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dev-badge.owner { background: rgba(139,0,0,0.2); color: var(--primary-light); }
.dev-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}
.dev-card .dev-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.dev-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.dev-live {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}
.dev-live-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: center;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: var(--text-light);
}
.dev-live-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.dev-activity {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(139, 0, 0, 0.2);
    background: rgba(139, 0, 0, 0.08);
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 58px;
    text-align: left;
}
.presence-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6b7280;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}
.presence-dot.online { background: #22c55e; }
.presence-dot.idle { background: #f59e0b; }
.presence-dot.dnd { background: #ef4444; }
.presence-dot.offline { background: #6b7280; }
.dev-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

/* ── Discord Widget ── */
.widget-wrap {
    max-width: 500px;
    margin: 0 auto;
}
.widget-wrap iframe {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* ── Footer ── */

/* ========== Page Header (privacy, terms, 404) ========== */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}
.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
  color: var(--text);
}
.page-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.page-header .section-label {
  justify-content: center;
}

/* ========== Policy Content (privacy, terms) ========== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.policy-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.policy-content a {
  color: var(--accent);
  text-decoration: underline;
}
.policy-content a:hover {
  color: var(--accent-hover);
}
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    padding: 40px 24px 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}
.footer-bottom-links {
    display: flex;
    gap: 16px;
}
.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.82rem;
    transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ── Status Page ── */
#status-page {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    backdrop-filter: blur(12px);
    cursor: default;
}
.status-pill .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
}
.status-pill .dot.online { background: #22c55e; }
.status-pill .dot.offline { background: #ef4444; }

/* ── Loading Skeleton ── */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-stats-mini { gap: 24px; }
    .hero-stat-value { font-size: 1.4rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .commands-list { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section { padding: 60px 0; }
    .dev-live-pill { width: 100%; }
    .nav-links { display: none; }
    .nav-links.open,
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: rgba(10,10,15,0.98);
        backdrop-filter: blur(24px);
        padding: 12px;
        border-bottom: 1px solid var(--border);
        gap: 2px;
    }
    .btn.btn-icon.nav-toggle { display: flex; }
    .nav-actions .btn span { display: none; }
}
