/* ── Dark Design Tokens ── */
:root {
    --bg:         #0F172A;
    --surface:    #1E293B;
    --surface2:   #243448;
    --navy:       #070E1B;
    --accent:     #F97316;
    --accent-dk:  #EA6C0A;
    --indigo:     #818CF8;
    --indigo-dk:  #6366F1;
    --text:       #E2E8F0;
    --text-dim:   #CBD5E1;
    --muted:      #64748B;
    --border:     #2A3D55;
    --radius:     12px;
    --shadow-sm:  0 1px 4px rgba(0,0,0,0.35);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.45);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.55);
    --nav-h:      62px;
    --font:       'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
img, picture, video, canvas, svg { max-width: 100%; height: auto; vertical-align: middle; }
input, button, textarea, select { font: inherit; }
ul[role='list'], ol[role='list'] { list-style: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Base ── */
body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Navigation ── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 300;
    background: var(--navy);
    height: var(--nav-h);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
    width: 100vw;
    margin-left: calc(50% - 50vw);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo img { height: 34px; width: auto; }
.nav-logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.nav-logo-text em { font-style: normal; color: var(--accent); }
.nav-tagline {
    margin-left: auto;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
}
@media (max-width: 480px) { .nav-tagline { display: none; } }

/* ── Link Pills ── */
.brandLink, .categLink {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.875rem;
    margin: 3px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.5;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
}
.brandLink { background: var(--accent); color: #fff; }
.brandLink:hover {
    background: var(--accent-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(249,115,22,0.5);
}
.categLink { background: var(--indigo); color: #fff; }
.categLink:hover {
    background: var(--indigo-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(129,140,248,0.5);
}

/* ── Related Links Section ── */
.related-links {
    padding: 2rem 0 0.5rem;
}
.related-section {
    margin-bottom: 1.75rem;
}
.related-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.625rem;
}
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* ── Footer ── */
.site-footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: rgba(255,255,255,0.35);
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.8;
}
.site-footer a { color: var(--accent); font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-brand {
    display: inline-block;
    font-size: 1.0625rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.375rem;
}
.footer-brand em { font-style: normal; color: var(--accent); }
.footer-awin { color: rgba(255,255,255,0.15); font-size: 0.75rem; margin-top: 1rem; }
