/* In-Game HUD Elements */
.hud {
    background: #000;
    border: 3px solid #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    padding: 20px;
    color: #0ff;
    font-size: 1.2em;
    text-shadow: 0 0 5px #0ff;
    min-width: 200px;
    flex-shrink: 0;
}

.hud.hidden { display: none; }
.hud-row { margin: 15px 0; }
.hud-label { color: #0ff; font-weight: bold; margin-bottom: 8px; }

.life-container { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }

.life {
    width: 25px;
    height: 25px;
    background: #f00;
    box-shadow: 0 0 10px #f00;
    border: 2px solid #ff5555;
}

.damage-info {
    position: relative;
    display: inline-block;
    cursor: help;
}

.damage-tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 20, 40, 0.95);
    border: 2px solid #0ff;
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.damage-info:hover .damage-tooltip {
    visibility: visible;
}

.damage-source {
    color: #aaa;
    margin: 3px 0;
}

#roundInfo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em;
    color: #ff0;
    text-shadow: 0 0 30px #ff0, 0 0 60px #ff0;
    text-align: center;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: bold;
}

#roundInfo.show { opacity: 1; }

#trickshotIndicator {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    color: #ff0;
    text-shadow: 0 0 15px #ff0;
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

#trickshotIndicator.show { opacity: 1; }
