/* 模式切换器样式 */

.mode-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.mode-btn {
    padding: 12px 20px;
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.mode-btn:hover {
    background: rgba(60, 60, 60, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.mode-btn.active {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(0,176,155,0.3);
}

/* 模式切换动画类 */
.switching-to-category {
    animation: switchToCategory 0.6s ease-in-out forwards;
}

.switching-to-old {
    animation: switchToOld 0.6s ease-in-out forwards;
}

.switch-fade-in {
    animation: switchFadeIn 0.5s ease-out forwards;
}

.switch-fade-in-from-right {
    animation: switchFadeInFromRight 0.5s ease-out forwards;
}

/* 隐藏正在切换的元素 */
.mode-switching {
    pointer-events: none;
}
