:root {
    --bg: #000000;
    --fg: #ffffff;
    --dim: #555555;
}

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

body,
html {
    height: 100%;
    background-color: var(--bg);
    color: var(--fg);
    /* Monospace enforces the brutalist terminal feel */
    font-family: "JetBrains Mono", "Courier New", monospace;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Grainy Static Overlay */
body::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Procedural SVG noise encoded directly into CSS */
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05; /* Keep it subtle */
    pointer-events: none;
    animation: static 0.5s steps(2) infinite;
    z-index: 10;
}

/* Jagged animation to make the static "buzz" */
@keyframes static {
    0% {
        transform: translate(0, 0);
    }
    20% {
        transform: translate(-2%, 2%);
    }
    40% {
        transform: translate(2%, -2%);
    }
    60% {
        transform: translate(-2%, -2%);
    }
    80% {
        transform: translate(2%, 2%);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Content Positioning */
.container {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    text-transform: lowercase;
}

p {
    margin-top: 1rem;
    color: var(--dim);
    font-size: 1rem;
}

/* The Blinking Cursor */
.cursor {
    display: inline-block;
    width: 0.6em;
    height: 1em;
    background-color: var(--fg);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    margin-left: 0.1em;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Links */
.links {
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
}

a {
    color: var(--dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--fg);
}
