.message-container {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1000;
}

.message {
    color: red;
    font-family: Arial, sans-serif;
    font-size: 20px;
    text-align: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    margin-bottom: 5px;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.backpack-hud {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 20px;
    border-radius: 10px;
    display: none;
    z-index: 1000;
    max-width: 300px;
    text-align: center;
    pointer-events: auto;
}

.desc {
    position: absolute;
    top: 10%;
    left: 70%;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 20px;
    border-radius: 10px;
    /* display: none; */
    z-index: 1000;
    max-width: 300px;
    text-align: center;
    pointer-events: auto;
}

.backpack-hud h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.backpack-hud ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.backpack-hud li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.backpack-hud li:last-child {
    border-bottom: none;
}

.backpack-hud li:hover {
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.equipment-section {
    margin-top: 20px;
}

.equipment-section h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.equipment-slot {
    padding: 5px;
    background: rgba(255, 255, 255, 0.05);
    margin: 5px 0;
    border-radius: 5px;
}

.equipment-slot:hover {
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.equipment-slot.empty {
    color: #888;
}

.equipment-slot.weapon-slot, .equipment-slot.shield-slot {
    background: rgba(255, 255, 255, 0.1);
    /* Slightly different background for distinction */
}