/* General Styles */
body {
    font-family: 'Courier New', monospace;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Game Container */
.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #111;
    border: 4px solid #444;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

h1 {
    margin: 0 0 15px 0;
    font-size: 32px;
    color: #f8d800;
    text-shadow: 2px 2px 0 #ff4800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Game Info Display */
.game-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
}

#ammo-display, #health-display {
    background-color: #222;
    padding: 5px 10px;
    border: 2px solid #555;
}

#ammo-display span {
    margin-right: 15px;
}

#ap-ammo, #he-ammo, #health {
    color: #f8d800;
    font-weight: bold;
}

/* Canvas */
#gameCanvas {
    border: 3px solid #555;
    background-color: #000;
    image-rendering: pixelated; /* For crisp pixel art */
    image-rendering: crisp-edges;
}

/* Controls Info */
.controls-info {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
    text-align: center;
}

/* 8-bit style pixel effect */
@media (min-resolution: 2dppx) {
    #gameCanvas {
        image-rendering: pixelated;
    }
}