/* 侧边栏样式 */
.sidebar {
    position: fixed;
    top: 670px; /* 横幅图底部位置：70px导航栏 + 600px横幅图 */
    right: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px 0 0 12px;
    padding: 15px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    transition: all 0.3s ease;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.sidebar-item:hover {
    background: rgba(138, 51, 255, 0.2);
    transform: translateX(-5px);
    color: #fff;
}

.sidebar-item.active {
    background: rgba(138, 51, 255, 0.3);
    color: #fff;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.1);
}

.modal-body {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #8a33ff;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.download-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    color: #8a33ff;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-icon {
    width: 24px;
    height: 24px;
    color: #8a33ff;
}

.download-arrow {
    color: #666;
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        right: 10px;
        padding: 15px 10px;
    }
    
    .sidebar-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        display: none; /* 在手机上隐藏侧边栏 */
    }
}