* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    font-family: 'Courier New', monospace;
    background-color: #000;
}

#game-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

#instructions {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ff6600;
    padding: 15px;
    border-radius: 0;
    border: 2px solid #ff6600;
    z-index: 10;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000;
    max-width: 300px;
}

h1 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #ff0000;
}

p {
    margin-bottom: 5px;
    font-size: 16px;
}

#countdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: #ff0000;
    font-family: 'Courier New', monospace;
    text-shadow: 3px 3px 0px #000;
    z-index: 100;
    display: none;
}

#wrong-way {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #ff0000;
    font-family: 'Courier New', monospace;
    text-shadow: 3px 3px 0px #000;
    z-index: 100;
    display: none;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

#powerup-display {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ff6600;
    padding: 15px;
    border-radius: 0;
    border: 2px solid #ff6600;
    z-index: 10;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000;
    display: none;
}