/* DIYCSS
   ========================================================================== */
/**
 * 1. 如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 * 2. 如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 *    如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 */
@import "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.14.0/css/all.min.css?ver=5.14.0";
@import "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.14.0/css/v4-shims.min.css?ver=5.14.0";

/* Rollbar V2 重构样式 - 修复版 */
.rollbar-v2 {
    position: fixed;
    right: 15px;
    bottom: 50px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
}

.rollbar-v2 .rollbar-inner {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 10px;
    width: 58px;
    /* 固定宽度确保不撑开 */
}

.rollbar-v2 .rollbar-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 0 !important;
    text-decoration: none !important;
    transition: background 0.3s;
    border-bottom: 1px solid #f0f0f0;
    width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.rollbar-v2 .rollbar-item:last-child {
    border-bottom: none;
}

.rollbar-v2 .rollbar-item:hover {
    background: #f8f8f8;
}

.rollbar-v2 .rollbar-item i {
    font-size: 18px !important;
    margin-bottom: 4px !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
}

.rollbar-v2 .rollbar-item span {
    font-size: 12px !important;
    color: #333 !important;
    display: block !important;
    text-align: center !important;
    font-weight: 500 !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}

/* 颜色标注 */
.rollbar-v2 .rollbar-item.vip span {
    color: #ff3333 !important;
}

.rollbar-v2 .rollbar-item.tg span {
    color: #00cdc5 !important;
}

.rollbar-v2 .rollbar-item.tg-group span {
    color: #00d261 !important;
}

.rollbar-v2 .arrow-item {
    background: #fff;
    width: 45px;
    height: 45px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin-top: 5px;
    color: #555;
    transition: all 0.3s;
}

.rollbar-v2 .arrow-item i {
    font-size: 24px !important;
}

.rollbar-contact-label {
    position: absolute;
    bottom: -15px;
    right: -45px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    padding: 12px 6px;
    border-radius: 6px;
    font-size: 14px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
    pointer-events: none;
    line-height: 1 !important;
}

/* 覆盖主题默认 rollbar 全局干扰 */
body .rollbar:not(.rollbar-v2) {
    display: none !important;
}

.rollbar-v2 i.fa {
    width: auto;
    height: auto;
    line-height: 1;
}

/* 首页平台统计栏 - 极致大气版 */
.home-stats-bar {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.08);
    /* 极薄背景 */
    border-radius: 100px;
    /* 大圆角 */
    padding: 12px 25px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px);
    /* 强化模糊 */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* 亮色边框增强层次感 */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    /* 深邃阴影 */
    max-width: 900px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home-stats-bar:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.home-stats-bar .stats-label {
    background: linear-gradient(135deg, #ff9d00 0%, #ff6b00 100%);
    /* 渐变黄背景 */
    color: #fff;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 16px;
    /* 加大文字 */
    font-weight: 700;
    margin-right: 30px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 157, 0, 0.4);
}

.home-stats-bar .stats-label i {
    margin-right: 8px;
    animation: pulse 2s infinite;
    /* 呼吸动画 */
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.6;
    }
}

.home-stats-bar .stats-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.home-stats-bar .stats-content span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    /* 进一步加大数字 */
    margin-right: 35px;
    white-space: nowrap;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.home-stats-bar .stats-content span:last-child {
    margin-right: 0;
}

.home-stats-bar .stats-content b {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    /* 数字特大处理 */
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .home-stats-bar {
        border-radius: 20px;
        flex-direction: column;
        padding: 20px;
        width: 95%;
    }

    .home-stats-bar .stats-label {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        justify-content: center;
    }

    .home-stats-bar .stats-content {
        justify-content: center;
        width: 100%;
    }

    .home-stats-bar .stats-content span {
        font-size: 15px;
        margin: 8px 15px;
    }
}