/* NoxVaris hero statistics 0.1.5. Only the home hero is affected. */
.hero .server-stats {
    width: min(100%, 900px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.hero .server-stats > .stat-card {
    display: grid;
    grid-template-rows: 18px minmax(40px, auto) 16px;
    align-content: center;
    align-items: center;
    justify-items: center;
    min-width: 0;
    min-height: 132px;
    gap: 8px;
    padding: 18px 20px;
    border-color: rgba(168, 189, 221, .16);
    border-radius: 15px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(77, 111, 151, .10), transparent 80%),
        linear-gradient(145deg, rgba(17, 26, 42, .96), rgba(8, 14, 24, .94));
}

.hero .server-stats .stat-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    color: #b6c0d1;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: .09em;
}

.hero .server-stats .stat-value {
    max-width: 100%;
    color: #f5f7fb;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.hero .server-stats .stat-value-small {
    font-size: 22px;
    line-height: 1.25;
    text-wrap: balance;
}

.hero .server-stats .stat-caption {
    max-width: 100%;
    color: #98a6ba;
    font-size: 12px;
    line-height: 16px;
    overflow-wrap: anywhere;
}

.hero .server-stats .online-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin: 0;
    background: #8090a6;
    box-shadow: none;
    animation: none;
}

.hero .server-stats .stat-card-online[data-online-state="online"] .online-dot {
    background: #67d9a5;
    box-shadow: 0 0 0 4px rgba(103, 217, 165, .10);
}

.hero .server-stats .stat-card-online[data-online-state="online"] {
    border-color: rgba(103, 217, 165, .22);
}

@media (max-width: 640px) {
    .hero .server-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 28px;
    }

    .hero .server-stats > .stat-card {
        grid-template-rows: 16px minmax(30px, auto) 14px;
        min-height: 94px;
        gap: 5px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .hero .server-stats .stat-card-online {
        grid-column: 1 / -1;
    }

    .hero .server-stats .stat-label {
        font-size: 12px;
        line-height: 16px;
        letter-spacing: .07em;
    }

    .hero .server-stats .stat-value {
        font-size: 30px;
    }

    .hero .server-stats .stat-value-small {
        font-size: 18px;
        line-height: 1.25;
    }

    .hero .server-stats .stat-caption {
        font-size: 11px;
        line-height: 14px;
    }
}
