/* =====================
   RESET
===================== */

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

/* =====================
   DESIGN TOKENS
===================== */

:root {

    --bg: #000;
    --bg-alt: #111;
    --bg-card: #1a1a1a;

    --text: #00ff00;
    --text-muted: #888;

    --accent: #00ff00;
    --accent-hover: #ff00ff;

    --radius: 10px;

    --shadow:
        0 0 10px rgba(0,0,0,.5);

    --container-width: 1200px;

    --transition: .3s ease;

    --font-main:
        "3270 Nerd Font",
        "Courier New",
        monospace;
}

/* =====================
   BASE
===================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

iframe {
    max-width: 100%;
}

button {
    font: inherit;
}

/* =====================
   TYPOGRAPHY
===================== */

h1,
h2,
h3,
h4 {
    color: var(--accent);
    margin-bottom: .75rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* =====================
   UTILITIES
===================== */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.section {
    margin: 4rem 0;
}

.card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.button {
    display: inline-block;

    padding:
        .75rem
        1.5rem;

    border: none;

    border-radius: 6px;

    background: var(--accent);
    color: var(--bg);

    cursor: pointer;

    transition:
        transform var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

/* =====================
   ANIMATIONS
===================== */

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

.fade-in {
    animation:
        fadeIn .5s ease;
}