:root {
    --vip-gold: #f1c40f;
    --dark-bg: rgba(20, 20, 20, 0.85);
}

.sticky-bar {
    position: fixed;
    bottom: -100px; /* 初始隐藏在屏幕下方 */
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--dark-bg);
    backdrop-filter: blur(10px); /* 磨砂玻璃效果 */
    border-top: 1px solid rgba(241, 196, 15, 0.3);
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

/* 当激活时显示的类 */
.sticky-bar.active {
    bottom: 0;
}

.bar-container {
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vip-badge {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #000;
    font-weight: bold;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.text-content {
    display: flex;
    flex-direction: column;
}

.main-text {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}

.sub-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-renew {
    background: var(--vip-gold);
    color: #000;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.4); /* 呼吸灯外发光 */
}

.btn-renew:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.6);
}

.btn-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.btn-close:hover {
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .sub-text { display: none; }
    .main-text { font-size: 13px; }
    .sticky-bar { height: 60px; }
}