/* ═══════════════════════════════════════════════════════════════════════════
   OVERDRIVE HORIZON — Base Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────────────────────────────────────
   CSS RESET
   ───────────────────────────────────────────────────────────────────────── */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    line-height: 1.6;
    color: var(--color-pure-white);
    background: linear-gradient(135deg,
            var(--color-deep-black) 0%,
            var(--color-dark-purple) 50%,
            var(--color-deep-black) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY DEFAULTS
   ───────────────────────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

h1 {
    font-size: var(--text-6xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--color-electric-cyan);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out-expo);
}

a:hover {
    color: var(--color-pure-white);
    text-shadow: var(--glow-cyan);
}

/* ─────────────────────────────────────────────────────────────────────────
   UTILITY CLASSES
   ───────────────────────────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.content-width {
    max-width: var(--content-width);
    margin: 0 auto;
}

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

.text-glow {
    text-shadow: var(--glow-text);
}

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

/* ─────────────────────────────────────────────────────────────────────────
   SCROLLBAR STYLING
   ───────────────────────────────────────────────────────────────────────── */

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

::-webkit-scrollbar-track {
    background: var(--color-deep-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-dark-purple);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-red);
}

/* ─────────────────────────────────────────────────────────────────────────
   SELECTION STYLING
   ───────────────────────────────────────────────────────────────────────── */

::selection {
    background: var(--color-neon-red);
    color: var(--color-pure-white);
}

/* ─────────────────────────────────────────────────────────────────────────
   FOCUS STATES
   ───────────────────────────────────────────────────────────────────────── */

:focus-visible {
    outline: 2px solid var(--color-electric-cyan);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    box-shadow: var(--glow-cyan);
}