﻿/* ================================================
   AEROCOMP BALLISTIC HONEYCOMB LOADER
================================================ */

#aero-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    z-index: 99999;
}

.aero-loader-label {
    margin-top: 50px;
    color: #FFBD59;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 8px rgba(255,189,89,0.7);
}

/* Honeycomb container */
.aero-honeycomb {
    height: 24px;
    position: relative;
    width: 24px;
    transform: scale(1.4);
}

    /* Honeycomb cell */
    .aero-honeycomb div {
        animation: honeycomb 1.8s infinite backwards;
        background: #FFBD59;
        box-shadow: 0 0 10px rgba(255,189,89,0.7);
        height: 12px;
        margin-top: 6px;
        position: absolute;
        width: 24px;
        border-radius: 3px;
    }

        /* Hex effect */
        .aero-honeycomb div:before,
        .aero-honeycomb div:after {
            content: '';
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            position: absolute;
            left: 0;
            right: 0;
        }

        .aero-honeycomb div:before {
            bottom: -6px;
            border-top: 6px solid #FFBD59;
        }

        .aero-honeycomb div:after {
            top: -6px;
            border-bottom: 6px solid #FFBD59;
        }

        /* Placement - Hex Grid */
        .aero-honeycomb div:nth-child(1) {
            animation-delay: 0s;
            left: -28px;
            top: 0;
        }

        .aero-honeycomb div:nth-child(2) {
            animation-delay: 0.1s;
            left: -14px;
            top: 22px;
        }

        .aero-honeycomb div:nth-child(3) {
            animation-delay: 0.2s;
            left: 14px;
            top: 22px;
        }

        .aero-honeycomb div:nth-child(4) {
            animation-delay: 0.3s;
            left: 28px;
            top: 0;
        }

        .aero-honeycomb div:nth-child(5) {
            animation-delay: 0.4s;
            left: 14px;
            top: -22px;
        }

        .aero-honeycomb div:nth-child(6) {
            animation-delay: 0.5s;
            left: -14px;
            top: -22px;
        }

        .aero-honeycomb div:nth-child(7) {
            animation-delay: 0.6s;
            left: 0;
            top: 0;
        }

/* Animation: Pulse + Scale like hex armor activating */
@keyframes honeycomb {
    0%, 20%, 80%, 100% {
        opacity: 0;
        transform: scale(0.3);
        filter: brightness(0.6);
    }

    30%, 70% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1.2);
    }
}
