/* 现代化右侧工具栏样式 */
.rollbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.rollbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50px;
}

.rollbar li {
    position: relative;
    text-align: center;
    background: none !important; /* 去掉背景矩形 */
    border-radius: 0 !important; /* 去掉圆角 */
}

.rollbar a {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: none !important; /* 去掉背景 */
    border: none !important; /* 去掉边框 */
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: none !important; /* 去掉阴影 */
}

.rollbar a:hover {
    color: var(--text-primary);
    transform: scale(1.2);
    background: none !important;
}

.rollbar .icon {
    font-size: 24px;
    line-height: 1;
    transition: var(--transition);
}

/* 特殊图标样式 */
.rollbar .qq-li a {
    color: #ff5f33 !important;
    background: none !important;
}

.rollbar .qq-li a:hover {
    color: #ff3300 !important;
    background: none !important;
}

.rollbar .vip-li a {
    color: #fbb715 !important;
    background: none !important;
    animation: vipGlow 2s ease-in-out infinite alternate;
}

@keyframes vipGlow {
    0% { 
        filter: drop-shadow(0 0 5px rgba(251, 183, 21, 0.5));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 15px rgba(251, 183, 21, 0.8));
        transform: scale(1.05);
    }
}

.rollbar .vip-li a:hover {
    color: #f0b90b !important;
    background: none !important;
    transform: scale(1.3);
}

/* 签到按钮特效 */
.rollbar .day-checkin.active {
    color: #4facfe !important;
    background: none !important;
    animation: checkinPulse 2s infinite;
}

@keyframes checkinPulse {
    0% { 
        filter: drop-shadow(0 0 0 rgba(79, 172, 254, 0.7));
        transform: scale(1);
    }
    70% { 
        filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.8));
        transform: scale(1.1);
    }
    100% { 
        filter: drop-shadow(0 0 0 rgba(79, 172, 254, 0));
        transform: scale(1);
    }
}

/* 夜间模式切换 */
.rollbar .theme_night.active {
    color: #f093fb !important;
    background: none !important;
}

/* 微信客服 */
.rollbar .kefu_weixin img {
    position: absolute;
    right: 60px;
    width: 120px;
    height: 120px;
    top: -35px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-medium);
    max-width: inherit;
    max-height: inherit;
    display: none;
    border: 2px solid var(--dark-border);
}

.rollbar .kefu_weixin:hover img {
    display: block;
}

/* 全屏按钮 */
.rollbar a.fullscreen.active {
    color: #ff5f33 !important;
    background: none !important;
}

/* 提示框 */
.rollbar h6 {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 100%;
    margin: -15px 15px 0 0;
    line-height: 30px;
    font-size: 12px;
    background: var(--dark-card);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    width: auto;
    min-width: 70px;
    padding: 0 12px;
    border-radius: var(--border-radius-small);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(-10px);
    transition: var(--transition);
    font-weight: normal;
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow-medium);
    white-space: nowrap;
}

.rollbar h6::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--dark-card);
}

.rollbar li:hover h6 {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* 回到顶部按钮 */
.rollbar .totop-li {
    display: none;
}

.rollbar .totop-li.show {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .rollbar {
        right: 10px;
    }
    
    .rollbar ul {
        gap: 10px;
        width: 40px;
    }
    
    .rollbar a {
        width: 40px;
        height: 40px;
    }
    
    .rollbar .icon {
        font-size: 20px;
    }
    
    .rollbar h6 {
        display: none;
    }
}

@media (max-width: 480px) {
    .rollbar {
        right: 5px;
    }
    
    .rollbar ul {
        width: 35px;
    }
    
    .rollbar a {
        width: 35px;
        height: 35px;
    }
    
    .rollbar .icon {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .rollbar {
        display: none;
    }
} 