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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

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

#blood-container {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 5px;
    font-size: 18px;
    z-index: 10;
}

#blood-meter-container {
    position: absolute;
    top: 70px;
    left: 20px;
    width: 200px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    z-index: 10;
}

#blood-meter-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

#blood-meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Initial value, will be updated by JS */
    height: 100%;
    background: linear-gradient(to right, #8b0000, #ff0000);
    transition: width 0.3s ease;
}

#game-over, #instructions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    z-index: 20;
}

#instructions h2, #game-over h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

#instructions p {
    margin-bottom: 15px;
    font-size: 16px;
}

button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ff3333;
}

.hidden {
    display: none;
} 