:root {
    --color-background: #2a2a2a;
    --color-foreground: #e8e8e8;
}

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

body {
    font-family: 'Special Elite', 'Courier New', Courier, monospace;
    line-height: 1.6;
    color: var(--color-foreground);
    background: var(--color-background);
    font-size: 22.5px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(42, 26, 32, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(42, 32, 28, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(38, 28, 42, 0.3) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}

.page {
    padding: 3.75rem;
    max-width: 1000px;
    position: relative;
    z-index: 3;
}

h1 {
    font-size: 1.875rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
}

.tagline {
    position: relative;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
    margin: 2rem 0 3rem 0;
    display: block;
    max-width: max-content;
    word-break: keep-all;
    overflow-wrap: normal;
}

.tagline svg {
    opacity: 0;
    transition: opacity 0.1s ease-in;
}

.tagline svg.ready {
    opacity: 1;
}

ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

li {
    margin-bottom: 0.625rem;
    position: relative;
    padding-left: 3.125rem;
}

li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.125rem;
    width: 2.25rem;
    height: 2.25rem;
    background-size: contain;
    background-repeat: no-repeat;
}

a {
    color: var(--color-foreground);
    text-decoration: none;
}

a:hover .char {
    animation: bounce 0.35s steps(2) infinite;
}

.char {
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.tagline .char {
    display: inline;
}

a:hover .char {
    color: var(--rainbow-color, var(--color-foreground));
}

.external {
    font-size: 0.75em;
    opacity: 0.6;
    margin-left: 0.25rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(var(--char-rotation, 0deg));
    }
    50% {
        transform: translateY(-3px) rotate(var(--char-rotation, 0deg));
    }
}

.version {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 2rem;
    cursor: help;
}
