/* Explain: Base reset, dark body, focus, and extreme scanline defaults */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--background-color);
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(57, 255, 20, 0.2), transparent 30rem),
        radial-gradient(circle at 88% 6%, rgba(176, 38, 255, 0.22), transparent 28rem),
        radial-gradient(circle at 52% 92%, rgba(0, 245, 255, 0.12), transparent 28rem),
        linear-gradient(135deg, #010201 0%, #061009 45%, #020104 100%);
    color: var(--text-color);
}

body::before {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    content: '';
    opacity: 0.12;
    background-image: repeating-linear-gradient(0deg, rgba(57, 255, 20, 0.32) 0 1px, transparent 1px 5px);
    mix-blend-mode: screen;
}

::selection {
    background: var(--primary-color);
    color: #031005;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
input,
select,
textarea {
    transition: all 0.3s ease;
}

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

.noise-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.22;
    mix-blend-mode: screen;
    background-image:
        linear-gradient(rgba(57, 255, 20, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(176, 38, 255, 0.12), transparent 28rem);
    background-size: 44px 44px, 44px 44px, 100% 100%;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}
