@font-face {
    font-family: "VT323";
    src: url("/assets/fonts/vt323-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #050806;
    --bg2: #0a110b;
    --fg: #33ff66;
    --fg-dim: #1f9c42;
    --fg-faint: #0f5c28;
    --amber: #ffb000;
    --mono: "VT323", "Courier New", Courier, monospace;
}

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

html {
    height: 100%;
}

body {
    min-height: 100%;
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 50% 0%, var(--bg2) 0%, var(--bg) 70%),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0) 2px,
            rgba(0, 0, 0, 0.28) 3px,
            rgba(0, 0, 0, 0.28) 4px
        );
    color: var(--fg);
    font-family: var(--mono);
    font-size: 22px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6vmin 5vw;
    text-shadow: 0 0 6px rgba(51, 255, 102, 0.35);
}

main {
    width: 100%;
    max-width: 640px;
    text-align: center;
}

.prompt {
    color: var(--fg-dim);
    letter-spacing: 0.08em;
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
}

.prompt .blink {
    display: inline-block;
    width: 0.55em;
    color: var(--fg);
}

.glyph {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 auto 1.2rem;
}

.tagline {
    font-size: 1.7rem;
    color: var(--fg);
    letter-spacing: 0.04em;
}

.tagline .cursor {
    color: var(--amber);
}

.sub {
    margin-top: 0.4rem;
    font-size: 1.15rem;
    color: var(--fg-dim);
}

.crew {
    margin-top: 2.6rem;
    font-size: 1.2rem;
    color: var(--fg-dim);
}

.crew p {
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.crew nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    justify-content: center;
}

a {
    color: var(--amber);
    text-decoration: none;
    border-bottom: 1px dotted var(--fg-faint);
    padding-bottom: 1px;
    transition: color 0.12s ease, border-color 0.12s ease;
}

a::before {
    content: "./";
    color: var(--fg-faint);
}

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

a:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.boot {
    margin-top: 2.8rem;
    font-size: 0.95rem;
    color: var(--fg-faint);
    letter-spacing: 0.06em;
}

.err code {
    color: var(--amber);
    font-family: var(--mono);
    font-size: 4rem;
    display: block;
    margin-bottom: 0.6rem;
}

@media (max-width: 480px) {
    body {
        font-size: 19px;
    }
    .tagline {
        font-size: 1.4rem;
    }
    .err code {
        font-size: 3rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .prompt .blink {
        animation: blink 1.1s step-end infinite;
    }
    .tagline .cursor {
        animation: blink 1.1s step-end infinite;
    }
}

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