/* ================= CONTADOR PRO ================= */

.section-counter {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.counter-panel {
    width: 100%;
    max-width: 900px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 30px;

    background: linear-gradient(135deg,#0b1f3a,#123a66);
    border-radius: 15px;

    box-shadow:
        0 0 10px rgba(0,240,255,0.4),
        0 0 30px rgba(0,240,255,0.2);

    border: 1px solid rgba(0,240,255,0.5);
}

.counter-center {
    text-align: center;
}

.counter-center h3 {
    font-size: 14px;
    letter-spacing: 2px;
    color: #00f0ff;
    margin-bottom: 10px;
}

.counter-number img {
    filter: brightness(1.3) contrast(1.2);
}

.counter-side img {
    width: 50px;
    opacity: 0.8;
}

/* ================= RADAR MILITAR ================= */

.radar-military {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    background:
        radial-gradient(circle, rgba(0,240,255,0.2) 0%, transparent 70%),
        repeating-radial-gradient(circle,
            rgba(0,240,255,0.2) 0px,
            rgba(0,240,255,0.2) 2px,
            transparent 2px,
            transparent 20px
        );

    box-shadow:
        0 0 15px rgba(0,240,255,0.6),
        inset 0 0 20px rgba(0,240,255,0.4);

    overflow: hidden;
}

/* Línea escáner */

.radar-military::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        rgba(0,240,255,0.8) 0deg,
        transparent 70deg
    );
    animation: scan 2.5s linear infinite;
}

/* Punto detectado */

.radar-military::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 60%;
    width: 6px;
    height: 6px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00f0ff;
    animation: blink 1.2s infinite alternate;
}

/* Animaciones */

@keyframes scan {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes blink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}
