* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    overflow: hidden;
    background-color: #1a2f1a; /* Dark forest green */
    background-image: 
        linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8)),
        repeating-linear-gradient(90deg, transparent 0, transparent 40px, rgba(0,0,0,0.1) 40px, rgba(0,0,0,0.1) 80px); /* Subtle tree trunk hint */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: none;
}

#game-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#score, #timer, #ammo {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: #e0f2e0; /* Light green-white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 20px;
    font-family: 'Courier New', Courier, monospace; /* More rugged font */
}

#score {
    top: 0;
    left: 0;
}

#timer {
    top: 0;
    right: 0;
}

#ammo {
    bottom: 0;
    right: 0;
}

#game-over-screen, #start-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 40, 20, 0.9); /* Forest green tint */
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #5a8a5a;
}

.hidden {
    display: none !important;
}

h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #8fbc8f; /* DarkSeaGreen */
    text-transform: uppercase;
    letter-spacing: 2px;
}

button {
    padding: 15px 30px;
    font-size: 24px;
    background-color: #4a7a4a;
    color: white;
    border: 2px solid #2e4e2e;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    font-family: 'Courier New', Courier, monospace;
}

button:hover {
    background-color: #5a8a5a;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}
