@font-face {
    font-family: 'Audiowide';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/audiowide.woff2') format('woff2');
    unicode-range: U+0020-007F;
}

:root {
    color-scheme: dark;
    --bg: #000;
    --text: #ccc;
    --text-strong: #fff;
    --text-muted: #888;
    --text-dim: #999;
    --accent: #00ff41;
    --accent-warm: #ff9926;
    --border: #1a1a1a;
    --border-soft: #111;
    --border-strong: #222;
    --border-hover: #444;
    --surface: rgba(255, 255, 255, 0.02);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --content-width: 800px;
    --font-display: 'Audiowide', system-ui, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only:focus,
.sr-only:focus-visible {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 20px;
    margin: 0;
    clip: auto;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 1000;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.highlight { color: var(--accent); }
.highlight-orange { color: var(--accent-warm); }
.breadcrumb-current { color: var(--text); }
.category-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }

.container { max-width: var(--content-width); margin: 0 auto; padding: 40px 24px 0; }

.breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-strong); }
.breadcrumb .sep { margin: 0 6px; }

.cta { text-align: center; padding: 40px 24px; margin-bottom: 16px; }
.cta h2 { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-strong); margin-bottom: 8px; }
.cta p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.cta a {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    transition: opacity 0.2s;
}
.cta a:hover { opacity: 0.85; }

footer { text-align: center; padding: 32px 24px; border-top: 1px solid var(--border-soft); }
footer nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--text-muted); font-size: 0.8rem; transition: color 0.2s; }
footer a:hover { color: var(--text); }
.copyright { font-size: 0.7rem; color: var(--text-muted); margin-top: 12px; }

.cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-link {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: border-color 0.2s, color 0.2s;
}
.cat-link:hover { border-color: var(--border-hover); color: var(--text-strong); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-up { opacity: 1; animation: none; }
}
