:root {
    --neon-pink: #ff00ff;
    --neon-green: #39ff14;
    --neon-cyan: #00ffff;
    --neon-yellow: #ffff00;
    --hot-red: #ff0033;
    --star-bg: #0a0020;
    --link-blue: #3399ff;
    --visited-purple: #cc66ff;
}

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

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(20%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes blink {
    0%, 49% {
        visibility: visible;
    }
    50%, 100% {
        visibility: hidden;
    }
}

@keyframes rainbow {
    0% {
        color: #ff0000;
    }
    16% {
        color: #ff8800;
    }
    33% {
        color: #ffff00;
    }
    50% {
        color: #00ff00;
    }
    66% {
        color: #0088ff;
    }
    83% {
        color: #8800ff;
    }
    100% {
        color: #ff0000;
    }
}

@keyframes fire {
    0% {
        text-shadow: 0 0 4px #fff, 0 -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -25px 18px #f20;
    }
    25% {
        text-shadow: 0 0 4px #fff, 2px -7px 4px #ff3, -2px -12px 6px #fd3, 2px -17px 11px #f80, -2px -27px 18px #f20;
    }
    50% {
        text-shadow: 0 0 4px #fff, -2px -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -25px 18px #f20;
    }
    75% {
        text-shadow: 0 0 4px #fff, 2px -7px 4px #ff3, 2px -12px 6px #fd3, -2px -18px 11px #f80, 2px -28px 18px #f20;
    }
    100% {
        text-shadow: 0 0 4px #fff, 0 -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -25px 18px #f20;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

body {
    background-color: var(--star-bg);
    color: var(--neon-cyan);
    font-family: 'Pixelify Sans', monospace;
    font-size: 1.25rem;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--dur) ease-in-out infinite;
    animation-delay: var(--delay);
}

.page-wrapper {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

h1, .title-fire {
    font-family: 'Bungee Shade', sans-serif;
    font-size: clamp(1.5rem, 6vw, 3rem);
    text-align: center;
    color: #fff;
    animation: fire 2.5s ease-in-out infinite;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}


h2, .section-header {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(0.7rem, 2.5vw, 1rem);
    color: var(--neon-yellow);
    text-align: center;
    margin: 1.5rem 0 1rem;
    text-shadow: 2px 2px 0 var(--hot-red);
}

h3 {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    color: var(--neon-cyan);
    text-align: center;
    margin: 1.25rem 0 1rem;
    text-shadow: 2px 2px 0 var(--link-blue);
}

hr {
    border: none;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-green), var(--neon-yellow), var(--neon-pink));
    margin: 1.5rem 0;
    animation: rainbow-bg 3s linear infinite;
}

@keyframes rainbow-bg {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}


table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 3px ridge silver;
    margin: 1rem 0;
    background: #000033;
}

table th {
    background: linear-gradient(180deg, #000080, #000050);
    color: white;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.55rem;
    padding: 0.6rem;
    border: 1px solid #0000aa;
    text-align: left;
}

table td {
    padding: 0.6rem;
    border: 1px solid #333366;
    vertical-align: top;
}

table a:hover {
    color: var(--neon-yellow);
}

table tr:hover td {
    background: #000055;
}

table a {
    color: var(--link-blue);
    text-decoration: underline;
    font-size: 1.1rem;
}

table a:visited {
    color: var(--visited-purple);
}

footer {
    text-align: center;
    padding: 1rem 0;
    border-top: 3px double var(--neon-pink);
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.85rem;
}

footer .made-with {
    color: var(--neon-green);
    margin-bottom: 0.3rem;
}
