/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    background-color: #0f0f0f;
    color: #00ff66;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Glitchy Riddle Text */
h2, p {
    position: relative;
    font-size: 1.5em;
    text-align: center;
    animation: glitch 1.5s infinite;
    text-shadow: 0 0 5px #00ff66, 0 0 10px #00ff66;
}

/* Glitch Animation */
@keyframes glitch {
    0% { text-shadow: 2px 0 red, -2px 0 blue; }
    20% { text-shadow: -2px 0 red, 2px 0 blue; }
    40% { text-shadow: 2px 2px red, -2px -2px blue; }
    60% { text-shadow: -2px -2px red, 2px 2px blue; }
    80% { text-shadow: 2px -2px red, -2px 2px blue; }
    100% { text-shadow: 0 0 5px #00ff66, 0 0 10px #00ff66; }
}

/* Form Styling */
form {
    margin-top: 20px;
    background-color: #111;
    padding: 20px;
    border: 2px solid #00ff66;
    border-radius: 10px;
    box-shadow: 0 0 10px #00ff66;
}

/* Radio Buttons */
label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

input[type="radio"] {
    margin-right: 10px;
    accent-color: #00ff66;
}

label:hover {
    color: #ff00aa;
}

/* Submit Button */
button {
    background-color: #00ff66;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ff00aa;
	color: #00ff66;
}

/* Messages */
.error {
    font-weight: bold;
    animation: glitch 1.5s infinite;
    color: #ff0033;
}

.success {
    font-weight: bold;
    animation: glitch 1.5s infinite;
    color: #00ff66;
}

/* Background Animation */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #0f0f0f,
        #0f0f0f 10px,
        #001100 10px,
        #001100 20px
    );
    animation: pulse 5s infinite alternate;
    z-index: -1;
}

@keyframes pulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.5); }
}
