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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Default themes */
body {
    background: #000;
    color: #fff;
}

:root {
    --primary: #fff;
    --background : #000;
    --grey-primary: #262626;
    --grey-secondary: #404040;
    --grey-tertiary: #595959;
    --grey-quaternary: #737373;
    --grey-quinary: #8c8c8c;
    --accent-green: #0f0;
}

/* Themes are overwritten if the user is in light mode */
@media (prefers-color-scheme: light) {
    body {
        background: #fff;
        color: #000;
    }

    :root {
        --primary: #000;
        --background : #fff;
        --grey-primary: #f2f2f2;
        --grey-secondary: #d9d9d9;
        --grey-tertiary: #bfbfbf;
        --grey-quaternary: #a6a6a6;
        --grey-quinary: #8c8c8c;
        --accent-green: #00b300;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-header {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .section-header.with-nav {
        flex-wrap: nowrap;
    }

    .game-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .scroll-hint {
        left: 1.5rem;
    }
}


/* Blinking animation */
@keyframes blink {
    50% { opacity: 0; }
}


/* Footer */
.footer {
    border-top: 1px solid var(--grey-secondary);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--grey-quaternary);
}

.footer-ascii {
    margin-bottom: 1rem;
    font-size: 0.7rem;
    line-height: 1.2;
    color: var(--grey-tertiary);
    white-space: pre;
    font-family: monospace;
}

.footer-links li {
    text-decoration: none;
    display: inline;
    margin: 0 0.5rem;
}

.footer p {
    margin-top: 0.5rem;
}

.footer a {
    color: var(--grey-quaternary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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