:root {
    --bg-colour: #050510;
    --card-bg: #0a0a1a;
    --text-colour: #aaaacc;
    --accent: #00ffcc;
    --accent-glow: rgba(0, 255, 204, 0.2);
    --muted: #555577;
}

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

body {
    background-color: var(--bg-colour);
    color: var(--text-colour);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 40px 20px;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(0, 255, 204, 0.03) 0%, transparent 70%),
        linear-gradient(rgba(0, 255, 204, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 60px;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 4px;
    text-shadow: 0 0 20px var(--accent-glow);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent);
}

main {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

section {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 204, 0.1);
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--accent);
    opacity: 0.3;
}

h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

h2::before {
    content: '>>';
    font-size: 0.8rem;
    opacity: 0.5;
}

p {
    margin-bottom: 20px;
}

ul {
    list-style: none;
    padding-left: 20px;
}

li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.6;
}

strong {
    color: #fff;
    font-weight: 700;
}

footer {
    margin-top: 100px;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(170, 170, 204, 0.1);
    padding-top: 40px;
}

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

footer a:hover {
    color: var(--accent);
}

.section-warning {
    border-color: rgba(255, 170, 0, 0.2);
    margin-bottom: 40px;
}

.heading-warning {
    color: #ffaa00;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
}

.about-detail {
    margin-top: 40px;
}

.about-detail:first-of-type {
    margin-top: 30px;
}

.mode-detail {
    margin-top: 40px;
}

.mode-detail:first-of-type {
    margin-top: 0;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.2rem;
    }

    /* Prevent very long pixelated headings from overflowing mobile viewport */
    h2 {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    section {
        padding: 25px;
    }

    /* Optimise spacing between navigation links on mobile devices */
    nav {
        gap: 16px;
    }
}
