/* ==========================================================================
   SKYFALL V3 - THREAT STATS SECTION
   ========================================================================== */
:root {
    --threat-red: #EF4444;
    --threat-red-rgb: 239, 68, 68;
    --threat-red-dark: #DC2626;
    --threat-red-glow: rgba(239, 68, 68, 0.5);
}

.threat-stats-section {
    background-color: #0A0A0A;
    position: relative;
}

/* HUD Card for threat stats */
.threat-hud-card {
    position: relative;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--threat-red-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);
}

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

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

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

.threat-icon-wrapper svg,
.threat-icon-wrapper i {
    width: 2rem !important;
    height: 2rem !important;
    color: var(--threat-red) !important;
}

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

/* Pulse animation for icon */
.threat-icon-pulse {
    animation: threat-pulse 2s ease-in-out infinite;
}

@keyframes threat-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--threat-red-rgb), 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(var(--threat-red-rgb), 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .threat-stat-value {
        font-size: 2.5rem;
    }
    .threat-hud-card {
        padding: 1.5rem;
    }
}

.threat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    font-family: var(--sf-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.threat-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #EF4444;
    animation: threat-dot-flash 1s ease-in-out infinite;
    box-shadow: 0 0 8px #EF4444;
}

@keyframes threat-dot-flash {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px #EF4444;
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 2px #EF4444;
    }
}

.threat-title {
    font-family: var(--sf-font);
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
    .threat-title {
        font-size: 3rem;
    }
}

.threat-title-gradient {
    background: linear-gradient(to right, #ffffff, #9CA3AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.threat-subtitle {
    font-family: var(--sf-font);
    font-size: 1.125rem;
    color: #ffffff;
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .threat-subtitle {
        font-size: 1.25rem;
    }
}

.threat-bottom-message {
    font-family: var(--sf-font);
    font-size: 1.125rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .threat-bottom-message {
        font-size: 1.25rem;
    }
}

.threat-bottom-highlight {
    color: hsl(24 95% 53%);
    font-weight: 700;
}
