/* /css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    background-color: #050505;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

#hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.health-bar-container {
    width: 300px;
    height: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #444;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.health-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #8b0000, #ff0000);
    transition: width 0.2s ease-out;
}

.fps-counter {
    font-size: 14px;
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc;
}