/* ==========================================================================
   SKYFALL V3 - THREAT STATS HUD CARD (Red Theme)
   ========================================================================== */
.hud-threat {
    --threat-color: #EF4444;
    --threat-rgb: 239, 68, 68;

    position: relative;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--threat-rgb), 0.2);
    border-radius: 4px;
    padding: 2rem;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hud-threat:hover {
    border-color: rgba(var(--threat-rgb), 0.5);
    transform: translateY(-4px);
    box-shadow:
        0 0 30px rgba(var(--threat-rgb), 0.15),
        0 0 60px rgba(var(--threat-rgb), 0.08),
        inset 0 0 30px rgba(var(--threat-rgb), 0.03);
}

/* Threat Corners */
.hud-threat .hud-corner-tl,
.hud-threat .hud-corner-tr,
.hud-threat .hud-corner-bl,
.hud-threat .hud-corner-br {
    border-color: var(--threat-color);
}

.hud-threat:hover .hud-corner {
    opacity: 1;
    width: 20px;
    height: 20px;
}

/* Threat Tech Lines */
.hud-threat .hud-tech-line-v {
    background: linear-gradient(to bottom, transparent, rgba(var(--threat-rgb), 0.15), transparent);
}

.hud-threat .hud-tech-line-h {
    background: linear-gradient(to right, transparent, rgba(var(--threat-rgb), 0.15), transparent);
}

/* Threat Shine */
.hud-threat .hud-shine {
    background: linear-gradient(90deg, transparent, rgba(var(--threat-rgb), 0.1), transparent);
}

.hud-threat:hover .hud-shine {
    animation: hud-shine 0.8s ease-out;
}

/* Threat Icon Wrapper */
.hud-threat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 1px solid rgba(var(--threat-rgb), 0.3);
    background: rgba(var(--threat-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.hud-threat:hover .hud-threat-icon {
    background: rgba(var(--threat-rgb), 0.2);
    box-shadow: 0 0 20px rgba(var(--threat-rgb), 0.3);
}

.hud-threat-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--threat-color);
}

/* Threat Stat Value */
.hud-threat-value {
    font-family: var(--sf-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--threat-color);
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Threat Pulse Animation */
.hud-threat-pulse {
    animation: hud-threat-pulse 2s ease-in-out infinite;
}

@keyframes hud-threat-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}
