/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
}
.scroll-progress.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top i {
    font-size: 24px;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* 底部导航链接样式 */
.footer .d-flex.flex-wrap a {
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer .d-flex.flex-wrap a:hover {
    color: var(--primary-light) !important;
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.footer .d-flex.flex-wrap a i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .footer .d-flex.flex-wrap {
        gap: 1rem !important;
    }
    
    .footer .d-flex.flex-wrap a {
        font-size: 14px;
    }
}

/* 移动端响应式优化 */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 !important;
    }
    
    .footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer .row {
        margin-bottom: 1.5rem;
    }
    
    .footer h5, .footer h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer .list-unstyled {
        margin-bottom: 1.5rem;
    }
    
    .footer .list-unstyled li {
        margin-bottom: 0.5rem;
    }
    
    .footer .list-unstyled a {
        font-size: 0.875rem;
    }
    
    .footer .text-secondary {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
    
    .footer .d-flex.flex-wrap {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    .footer .d-flex.flex-wrap a {
        font-size: 0.875rem;
        padding: 0.5rem 0;
    }
    
    .footer .small {
        font-size: 0.75rem;
    }
    
    .social-links {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 !important;
    }
    
    .footer h5, .footer h6 {
        font-size: 0.9375rem;
    }
}