/* ═══════════════════════════════════════════════════════════════
   YakupOS — CSS Variables, Reset & Base Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Core palette */
    --bg-dark: #0a0a1a;
    --bg-surface: #12122a;
    --glass-bg: rgba(18, 18, 42, 0.72);
    --glass-bg-light: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.22);
    --grid-line: rgba(255, 255, 255, 0.04);
    --grid-glow: rgba(124, 92, 252, 0.15);

    /* Accent colours */
    --accent: #7c5cfc;
    --accent-glow: rgba(124, 92, 252, 0.45);
    --accent-secondary: #00e5ff;
    --accent-pink: #ff5caa;
    --accent-green: #39ffa0;

    /* Text */
    --text-primary: #eaeaff;
    --text-secondary: rgba(234, 234, 255, 0.6);
    --text-dim: rgba(234, 234, 255, 0.35);

    /* Typography */
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

    /* Spacing & sizing */
    --taskbar-h: 52px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 5px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-ui);
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow: hidden;
    /* desktop mode: no scrolling */
    height: 100vh;
    width: 100vw;
    user-select: none;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Selection */
::selection {
    background: var(--accent);
    color: #fff;
}