:root {
    --ow-red: #ff3838;
    --ow-yellow: #f1c40f;
    --ow-blue: #0984e3;
    --bg-dark: #0f172a;
    --ow-font: 'Rajdhani', 'Oswald', sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    font-family: var(--ow-font);
    user-select: none;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* CROSSHAIR */
#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}

#crosshair::before,
#crosshair::after {
    content: '';
    position: absolute;
    background-color: #fff;
    opacity: 0.8;
}

#crosshair::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
}

#crosshair::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
}

/* HUD */
#hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
    color: white;
}

#zone-status {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 30px;
    border-radius: 10px;
    border-top: 3px solid var(--ow-blue);
    text-align: center;
}

.label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.7;
}

#timer-val {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
}

#player-status {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 300px;
}

.hp-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    border-radius: 6px;
    margin-bottom: 5px;
    overflow: hidden;
}

#hp-bar-fill {
    width: 100%;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease-out;
}

.hp-values {
    font-weight: 700;
    font-size: 1.1rem;
}

#combat-status {
    position: absolute;
    bottom: 40px;
    right: 40px;
    text-align: right;
}

#kill-counter {
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#ammo-count {
    font-size: 2.5rem;
    font-family: 'Oswald';
}

#current-ammo {
    color: var(--ow-yellow);
}

/* OVERLAYS */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.menu-box {
    text-align: center;
    background: #000;
    padding: 60px;
    border-radius: 10px;
    border: 2px solid #fff;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 5px;
}

.logo-text span {
    display: block;
    color: var(--ow-yellow);
    font-size: 2rem;
}

.controls-guide {
    background: #111;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
    color: #888;
    font-size: 0.9rem;
    font-weight: bold;
}

button {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px 60px;
    font-family: inherit;
    font-size: 2rem;
    font-weight: 900;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.2s;
}

button:hover {
    background: var(--ow-yellow);
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}