@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
    --background-color: #100a00;
    --text-color: #ffc400;
    --glow-color-1: #ff8c00;
    --glow-color-2: #ff4500;
    --warning-color: #ff3333;
}

/* 🔥 Background with windy sparks */
body {
    background: linear-gradient(to top, #ff8c00, #ffd966);
    color: var(--text-color);
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden; /* prevent sparks overflow */
    position: relative;
}

/* Sparks container */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,180,0.9) 2px, transparent 3px),
        radial-gradient(circle, rgba(255,220,120,0.7) 2px, transparent 3px),
        radial-gradient(circle, rgba(255,255,200,0.6) 1.5px, transparent 3px);
    background-size: 200px 200px, 300px 300px, 150px 150px;
    animation: sparksWind 8s linear infinite;
    z-index: 0;
}

/* Windy sparks floating */
@keyframes sparksWind {
    0%   { background-position: 0 0, 0 0, 0 0; }
    25%  { background-position: 50px -200px, -30px -300px, 20px -150px; }
    50%  { background-position: -50px -400px, 30px -600px, -20px -300px; }
    75%  { background-position: 40px -600px, -20px -900px, 30px -450px; }
    100% { background-position: 0 -800px, 0 -1200px, 0 -600px; }
}

/* Content container */
.container {
    max-width: 800px;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* dark backdrop for readability */
    border-radius: 12px;
    padding: 20px;
    position: relative;
    z-index: 1; /* keep content above sparks */
}

/* Header/title */
header {
    margin-bottom: 40px;
}

h1 {
    font-size: 4rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #ffd966;
    text-shadow: 
        0 0 5px var(--glow-color-1), 
        0 0 10px var(--glow-color-1), 
        0 0 20px var(--glow-color-2), 
        0 0 40px var(--glow-color-2);
}

.flicker {
    animation: flicker 2.5s infinite alternate;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 4px #fff,
            0 0 11px var(--glow-color-1),
            0 0 19px var(--glow-color-1),
            0 0 40px var(--glow-color-2),
            0 0 80px var(--glow-color-2);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Section headings */
h2 {
    font-size: 2rem;
    color: var(--glow-color-1);
    border-bottom: 2px solid var(--glow-color-2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Sections */
main section {
    margin-bottom: 40px;
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--glow-color-2);
    padding: 20px;
}

/* Instructions list */
.instructions ol {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.instructions li {
    margin-bottom: 10px;
}

.instructions li::before {
    content: ">> ";
    color: var(--glow-color-1);
}

/* Discord button */
.discord-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border: 2px solid var(--glow-color-1);
    color: var(--glow-color-1);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.discord-button:hover {
    background-color: var(--glow-color-1);
    color: var(--background-color);
    box-shadow: 0 0 15px var(--glow-color-1);
}

/* Warning text */
.warning {
    color: var(--warning-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--warning-color);
}

/* Footer */
footer {
    margin-top: 50px;
    color: #666;
}
