body {
    margin: 0;
    overflow: hidden;
    background: black;
    color: #00ffcc;
    font-family: monospace;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 100px;
}

.glitch {
    font-size: 40px;
    position: relative;
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% { text-shadow: 2px 0 red; }
    25% { text-shadow: -2px 0 blue; }
    50% { text-shadow: 2px 2px green; }
    75% { text-shadow: -2px -2px red; }
    100% { text-shadow: 2px 0 blue; }
}

.typewriter {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.7;
}

.question {
    font-size: 18px;
    margin: 20px 0;
}

.rules {
    font-size: 18px;
    opacity: 0.6;
    margin-bottom: 20px;
}

input {
    padding: 10px;
    width: 250px;
    text-align: center;
    background: black;
    border: 1px solid #00ffcc;
    color: #00ffcc;
}

button {
    margin-top: 20px;
    padding: 10px 25px;
    background: #00ffcc;
    border: none;
    cursor: pointer;
}

#progressContainer {
    width: 300px;
    height: 8px;
    background: #111;
    margin: 20px auto;
    display: none;
}

#progressBar {
    height: 100%;
    width: 0%;
    background: #00ffcc;
}

#message {
    margin-top: 15px;
    color: red;
}
