@font-face {
    font-family: 'Pixelmax';
    src: url('../fonts/pixelmax-font/Pixelmax-vnR7A.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pixelmax Outline';
    src: url('../fonts/pixelmax-font/PixelmaxOutline-lx8Rd.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chrome Engine';
    src: url('../fonts/chrome-engine-font/ChromeEngineRegular-m27AG.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cyberway Riders';
    src: url('../fonts/cyberway-riders-font/CyberwayRiders-lg97d.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --neon-cyan: #00FFFF;
    --neon-magenta: #FF00FF;
    --neon-pink: #FF2D92;
    --neon-yellow: #FFE600;
    --neon-blue: #4D4DFF;
    --neon-green: #39FF14;
    --hot-pink: #FF1493;

    --gradient-retro: linear-gradient(135deg, #FF00FF 0%, #00FFFF 100%);
    --gradient-sunset: linear-gradient(180deg, #FF00FF 0%, #FF6B00 50%, #FFE600 100%);

    --void: #000000;
    --grid-dark: #0a0014;
    --panel: rgba(10, 0, 20, 0.4);

    --text-primary: #E0D0FF;
    --text-muted: #8070A0;
    --text-dim: #5A4D7A;

    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.1);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.4), 0 0 40px rgba(255, 0, 255, 0.1);
    --glow-pink: 0 0 20px rgba(255, 20, 147, 0.5), 0 0 60px rgba(255, 20, 147, 0.15);

    --accent-green: #00ff88;
    --accent-blue: #00a8ff;
    --accent-purple: #9d4edd;

    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-elevated: #252530;

    --border-color: #2a2a3a;
    --border-hover: #3a3a4a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Pixelmax', 'Segoe UI', sans-serif;
    background: var(--void);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

#mainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.text-center { text-align: center; }
.text-accent { color: var(--neon-cyan); }

.scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.015) 2px,
        rgba(0, 255, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 9998;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 255, 0.3);
    border-radius: 4px;
}

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

::selection {
    background: rgba(255, 0, 255, 0.3);
    color: #fff;
}
