/* ================================
   VIP会员横幅 - 极简布局
   ================================ */

/* VIP状态容器 */
.vip-status-section {
    margin: 0 -24px -32px -24px; /* 顶部margin为0，与统计区域无缝连接 */
}

/* VIP横幅 - 统一样式 */
.vip-banner {
    display: flex;
    flex-direction: row;
    align-items: center !important;  /* 保留这个!important确保垂直居中 */
    justify-content: space-between;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 0 0 16px 16px; /* 只保留底部圆角，顶部直角与统计区域连接 */
    padding: 0 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 76px;
    box-sizing: border-box;
    border-top: none; /* 移除顶部边框 */
}

/* 已开通VIP的边框 */
.vip-banner.vip-active {
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.15);
}

/* 金色光效 */
.vip-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.vip-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
}

/* 皇冠图标 */
.vip-icon {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000;
    font-size: 20px;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 1;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 确保Font Awesome图标完美居中 */
.vip-icon i {
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vip-icon.active {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 文字区域 */
.vip-text {
    flex: 1;
    min-width: 0;
    margin: 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #FFD700;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

/* 按钮 */
.vip-btn {
    padding: 0 14px;
    height: 34px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 17px;
    color: #FFD700;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.vip-btn:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border-color: #FFD700;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.vip-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.vip-btn:hover i {
    transform: translateX(2px);
}

/* 响应式 */
@media (max-width: 480px) {
    .vip-banner {
        height: 72px;
        padding: 0 20px;
    }
    
    .vip-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .vip-text {
        font-size: 14px;
        margin: 0 10px;
    }
    
    .vip-btn {
        padding: 0 12px;
        height: 30px;
        font-size: 12px;
        gap: 3px;
    }
    
    .vip-btn i {
        font-size: 10px;
    }
}
