/* ============================================
   Base Styles - Typography, Body, Scrollbar
   ============================================ */

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Headings --- */

h1 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h3 {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 600;
}

h4 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--text-lg);
}

/* --- Labels / Captions --- */

.label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* --- Links --- */

a {
    transition: color var(--transition-fast);
}

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

/* --- Selection --- */

::selection {
    background: rgba(0, 255, 255, 0.2);
    color: var(--neon-cyan);
}

/* --- Scrollbar --- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.15);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.3);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 255, 0.15) var(--bg-primary);
}

/* --- Neon Utility Classes --- */

.neon-text {
    color: var(--neon-cyan);
    text-shadow:
        0 0 7px var(--neon-cyan),
        0 0 20px rgba(0, 255, 255, 0.4),
        0 0 42px rgba(0, 255, 255, 0.2),
        0 0 82px rgba(0, 255, 255, 0.1);
}

.neon-text-magenta {
    color: var(--neon-magenta);
    text-shadow:
        0 0 7px var(--neon-magenta),
        0 0 20px rgba(255, 0, 255, 0.4),
        0 0 42px rgba(255, 0, 255, 0.2);
}

.neon-text-orange {
    color: var(--neon-orange);
    text-shadow:
        0 0 7px var(--neon-orange),
        0 0 20px rgba(255, 136, 0, 0.4),
        0 0 42px rgba(255, 136, 0, 0.2);
}

.gradient-text {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
