/* FoxMine — modern home statistics */

.stats-modern {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 30px;
}

.stat-modern-card {
    position: relative;
    min-height: 150px;
    padding: 20px 22px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(255, 255, 255, .035),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .025),
            rgba(255, 255, 255, .005)
        ),
        #111114;

    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 17px;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.stat-modern-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 106, 0, .24);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, .17);
}

.stat-modern-head {
    position: absolute;
    top: 17px;
    left: 20px;
    right: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.stat-modern-kicker {
    color: #676771;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
}

.stat-modern-icon {
    display: inline-grid;
    place-items: center;

    width: 31px;
    height: 31px;

    border-radius: 9px;

    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .055);

    font-size: 14px;
    filter: saturate(.8);
}

.stat-modern-number {
    font-size: clamp(31px, 2.3vw, 42px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
    color: #fff;
}

.stat-modern-label {
    margin-top: 9px;

    color: #93939e;
    font-size: 12px;
}

/* Highlight online card */

.stat-modern-online {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 106, 0, .17),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(255, 106, 0, .035),
            transparent 55%
        ),
        #111114;
}

.stat-modern-online::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        linear-gradient(
            180deg,
            #ff9b49,
            #ff5b00
        );

    opacity: .9;
}

.stat-modern-online::after {
    content: "";

    position: absolute;
    left: 20%;
    right: 20%;
    bottom: -1px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ff6a00,
            transparent
        );

    opacity: .65;
}

.stat-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 4px 7px;

    color: #6fe494;
    background: rgba(34, 197, 94, .07);

    border: 1px solid rgba(34, 197, 94, .18);
    border-radius: 999px;

    font-size: 8px;
    font-weight: 950;
    letter-spacing: .08em;
}

.stat-live i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 3px rgba(34, 197, 94, .08),
        0 0 9px rgba(34, 197, 94, .45);
}

.stat-modern-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    margin-top: 13px;
}

.stat-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 7px;

    color: #aaaab3;
    background: rgba(255, 255, 255, .035);

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 7px;

    font-size: 9px;
    font-weight: 650;
}

.stat-mini i {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    border-radius: 50%;
}

.stat-mini-users i {
    background: #22c55e;

    box-shadow:
        0 0 7px rgba(34, 197, 94, .5);
}

.stat-mini-guests i {
    background: #60a5fa;

    box-shadow:
        0 0 7px rgba(96, 165, 250, .4);
}

.stat-mini-staff i {
    background: #ff6a00;

    box-shadow:
        0 0 7px rgba(255, 106, 0, .5);
}

@media (max-width: 1000px) {
    .stats-modern {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .stats-modern {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-modern-card {
        min-height: 125px;
        padding: 18px 19px;
    }

    .stat-modern-head {
        left: 18px;
        right: 18px;
    }

    .stat-modern-number {
        font-size: 34px;
    }
}
/* FIX ONLINE STAT CARD */

.stat-modern-online {
    justify-content: flex-start;
    padding-top: 64px;
}

.stat-modern-online .stat-modern-number {
    margin: 0;
    line-height: 1;
}

.stat-modern-online .stat-modern-label {
    margin-top: 8px;
}

.stat-modern-online .stat-modern-badges {
    margin-top: 14px;
}

.stat-modern-online .stat-modern-head {
    top: 18px;
    z-index: 2;
}

@media (max-width: 560px) {
    .stat-modern-online {
        min-height: 165px;
        padding-top: 61px;
    }
}
