/* css/styles.css */
:root {
    --bg-color: #0d1117;
    --hud-color: #00ff41;
    --hud-bg: rgba(0, 20, 0, 0.7);
    --font-family: 'Courier New', Courier, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--hud-color);
    font-family: var(--font-family);
    overflow: hidden; /* Prevent scrolling */
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-canvas {
    display: block;
    /* Canvas size is controlled via JS, but we ensure it doesn't have default inline margins */
    background-color: #000; /* Fallback before Renderer takes over */
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to the canvas */
    display: flex;
    flex-direction: column;
}

#hud-top {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: var(--hud-bg);
    border-bottom: 2px solid var(--hud-color);
    font-size: 1.2rem;
    font-weight: bold;
    pointer-events: auto; /* HUD can be hovered/clicked if needed later */
    user-select: none;
}
