html {
  background-color: black;
}
body {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
}
body:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

h1 {
    color: white;
    text-shadow: 0 0 20px red;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 10px red;
}

button {
    background: darkred;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
}

button:hover {
    background: crimson;
}

/* Flicker effect for horror rooms */
body.flicker {
    animation: flicker 1s infinite;
}

@keyframes flicker {
    0% { background-color: black; }
    50% { background-color: darkred; }
    100% { background-color: black; }
}