/* 星座占星模块侧边栏样式 */
.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-right: 2px solid #00ffff;
    padding: 20px 0;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 70px;
    height: calc(100vh - 70px);
    z-index: 1000;
}

.sidebar-category {
    margin-bottom: 20px;
}

.category-title {
    color: #00ffff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px 10px;
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    line-height: 1.4;
}

.function-list {
    list-style: none;
}

.function-item {
    margin: 2px 0;
}

.function-link {
    display: block;
    padding: 15px 20px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 16px;
}

.function-link:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border-left-color: #00ffff;
    transform: translateX(5px);
}

.function-link.active {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border-left-color: #00ffff;
}

/* 移动端覆盖层 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 10000;
        background: rgba(0, 255, 255, 0.8);
        border: none;
        border-radius: 5px;
        color: #000;
        font-size: 18px;
        padding: 10px;
        cursor: pointer;
        display: none;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(0, 255, 255, 1);
        transform: scale(1.05);
    }
    
    .function-link {
        padding: 12px 15px;
        font-size: 14px;
    }
} 