/* === RESET CSS === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;
    font-family: 'JetBrains Mono', monospace;
    background: #0a0512;
    color: #e0d8f0;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Шумовой фон */
.noise-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    background: url('https://www.transparenttextures.com/patterns/noise.png');
    animation: noiseShift 0.5s steps(3) infinite;
}

@keyframes noiseShift {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-2px, 1px); }
    66% { transform: translate(2px, -1px); }
    100% { transform: translate(0, 0); }
}