body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #333;
    padding: 20px;
    background-color: #111;
    position: relative;
}

.glitch {
    position: relative;
    color: #e0e0e0;
}

.glitch::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 2px 0 #ff00ff;
    animation: glitch 3s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% { clip-path: inset(0 0 95% 0); }
    25% { clip-path: inset(0 0 60% 0); }
    50% { clip-path: inset(0 0 30% 0); }
    75% { clip-path: inset(0 0 10% 0); }
    100% { clip-path: inset(0 0 0 0); }
}

.rules {
    background-color: #000;
    padding: 15px;
    margin: 20px 0;
    border-left: 3px solid #c1121f;
}

.pixelated {
    image-rendering: pixelated;
    width: 100%;
    border: 1px solid #333;
    cursor: pointer;
}

.terminal {
    background-color: #000;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #00ff00;
}

#terminal-output {
    min-height: 100px;
    font-family: monospace;
    white-space: pre-wrap;
}

#terminal-input {
    width: 100%;
    background: transparent;
    border: none;
    border-top: 1px solid #333;
    color: #00ff00;
    font-family: monospace;
    padding: 5px;
}

.hidden {
    display: none;
}