
/* Floating Statistics panel */
.statistics-section {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 1450px;
    margin: -55px auto -55px;
    padding: 0 28px;
    background: transparent;
}

/* Main panel */
.statistics-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;

    padding: 18px;
    border-radius: 25px;

    background: linear-gradient(
        135deg,
        rgba(8, 26, 57, 0.97),
        rgba(15, 30, 67, 0.97)
    );

    border: 1px solid rgba(63, 213, 255, 0.8);

    box-shadow:
        0 0 12px rgba(30, 207, 255, 0.65),
        0 0 30px rgba(0, 126, 255, 0.4),
        0 12px 30px rgba(0, 0, 0, 0.2);

    animation: statisticsGlow 4s ease-in-out infinite;
}

/* Individual cards */
.statistics-panel .stats-card {
    position: relative;
    z-index: 1;

    min-height: 115px;
    padding: 17px 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    border-radius: 19px;

    background: linear-gradient(
        145deg,
        rgba(27, 49, 79, 0.98),
        rgba(15, 29, 59, 0.98)
    );

    border: 1px solid rgba(150, 199, 255, 0.18);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Number size */
.statistics-panel .stats-number {
    color: #20d9ff;
    font-size: clamp(28px, 2.6vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Label size */
.statistics-panel .stats-label {
    margin-top: 10px;
    color: #d5e4f8;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* Tablet */
@media (max-width: 1000px) {
    .statistics-section {
        margin: -45px auto -45px;
        padding: 0 22px;
    }

    .statistics-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .statistics-panel .stats-card {
        min-height: 105px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .statistics-section {
        margin: -30px auto -30px;
        padding: 0 14px;
    }

    .statistics-panel {
        gap: 10px;
        padding: 12px;
        border-radius: 20px;
    }

    .statistics-panel .stats-card {
        min-height: 95px;
        padding: 12px 6px;
        border-radius: 14px;
    }

    .statistics-panel .stats-number {
        font-size: clamp(24px, 7vw, 32px);
    }

    .statistics-panel .stats-label {
        margin-top: 7px;
        font-size: 11px;
    }
}
