:root {
    /* Deep Space Colors */
    --bg-deep: #020203;
    --bg-gradient-start: #050508;
    --bg-gradient-end: #0a0a12;

    --primary-accent: #8e44ad;
    --secondary-accent: #6c5ce7;
    --highlight: #d980fa;
    --text-main: #ffffff;
    --text-muted: #aab7c4;

    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --card-hover-bg: rgba(255, 255, 255, 0.03);

    /* Electric Border Variables */
    --electric-border-color: #dd8448;
    --electric-light-color: #ffb07c;
    --gradient-color: rgba(221, 132, 72, 0.4);
    --color-neutral-900: #1a1a1a;

    /* Glow Card Variables */
    --glow-sens: 30;
    --glow-card-bg: linear-gradient(8deg, #0a0a0a 75%, #1a1a1a 75.5%);
    --glow-blend: plus-lighter;
    --glow-color: 280deg 80% 80%;
    --glow-boost: 0%;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-deep);
    background-image: radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.05) 0%, transparent 60%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Grid Background Effect */
body::before {
    --size: 45px;
    --line: rgba(108, 92, 231, 0.1);
    content: '';
    height: 100vh;
    width: 100vw;
    position: fixed;
    background:
        linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) calc(var(--size) * 0.36) 50% / var(--size) var(--size),
        linear-gradient(var(--line) 1px, transparent 1px var(--size)) 0% calc(var(--size) * 0.32) / var(--size) var(--size);
    mask: linear-gradient(-20deg, transparent 40%, white);
    top: 0;
    left: 0;
    transform-style: flat;
    pointer-events: none;
    z-index: -2;
}

/* Matrix Canvas Background */
#code-matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}