/* General Styles */
body {
    background-color: #1e1e1e;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

/* Game Container */
#game-container {
    position: relative;
    width: 800px;
    height: 400px;
    border: 2px solid #28a745;
    margin: 20px auto;
    background-color: #222;
    overflow: hidden;
}

/* Player and Enemy Styles */
#player {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    border-radius: 50%;
}

.enemy {
    position: absolute;
    border-radius: 50%;
    background-color: red;
}

.health-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: limegreen;
}

/* Bullet Styles */
.bullet {
    position: absolute;
    width: 10px;
    height: 5px;
    background-color: yellow;
    border-radius: 2px;
}

/* UI Elements */
#stats-container {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #343a40;
    border-radius: 5px;
    margin-bottom: 10px;
}

#stats-container div {
    padding: 5px 15px;
    background-color: #495057;
    border-radius: 3px;
}

/* Upgrade Buttons */
#upgrade-container button {
    width: 200px;
    margin: 5px 0;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    font-weight: bold;
}

#upgrade-container button:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

/* Weapon Table */
#weapon-table {
    margin-top: 20px;
    text-align: center;
}

table {
    width: 100%;
    margin: 0 auto;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ced4da;
    background-color: #495057;
    color: #ffffff;
}

/* Game Over Screen */
#end-game {
    text-align: center;
    margin-top: 50px;
}

#end-game h1 {
    font-size: 48px;
    color: #dc3545;
}

#end-game p {
    font-size: 24px;
    color: #f8f9fa;
}

#end-game button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

#end-game button:hover {
    background-color: #218838;
}
