/* ========================================================
   CORE Cyberpunk Dark Theme & Design Tokens
   ======================================================== */

:root {
    --bg-base: #06090e;
    --bg-surface: rgba(13, 20, 32, 0.75);
    --bg-surface-elevated: rgba(20, 32, 51, 0.85);
    --bg-card: rgba(16, 26, 43, 0.6);
    --border-glow: rgba(0, 240, 255, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --neon-cyan: #00f0ff;
    --neon-green: #00ff9d;
    --neon-purple: #b026ff;
    --neon-amber: #ffb800;
    --neon-red: #ff3366;

    --text-primary: #f0f6fc;
    --text-secondary: #8b9bb4;
    --text-muted: #53647c;

    --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-code: 'Fira Code', 'JetBrains Mono', monospace;

    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
    --glow-green: 0 0 20px rgba(0, 255, 157, 0.35);
    --glow-purple: 0 0 20px rgba(176, 38, 255, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) var(--bg-base);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #1c2b42;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-fa);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* پس‌زمینه و جلوه‌های بصری هکری */
#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    opacity: 0.2;
}
