body {
    margin: 0;
    padding: 20px;
    background-color: #0a0a0a;
    color: #00ffff;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

#game-container {
    position: relative;
    margin-bottom: 20px;
}

#gameCanvas {
    background-color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

#death-counter {
    margin-bottom: 10px;
    color: #ff3333;
}

#speedrun-timer {
    margin-bottom: 10px;
}

#level-indicator {
    color: #ffff00;
}

#controls {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    max-width: 300px;
}

#controls p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

#controls ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#controls li {
    margin: 5px 0;
    color: rgba(0, 255, 255, 0.8);
}

/* Screen shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.1s linear;
}
