/* 响应式底部样式 */

/* 隐藏旧的底部 */
.footer-wrapper,
.in-aside-handle,
.in-friends {
    display: none !important;
}

/* 响应式底部 */
.responsive-footer {
    background: #f8f8f8;
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
}

/* 回到顶部按钮（居中） */
.back-to-top {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background: #ff620e;
    border-color: #ff620e;
    transform: translateX(-50%) translateY(-3px);
}

.back-to-top .nav-icon {
    font-size: 20px;
    font-style: normal;
    color: #666;
}

.back-to-top:hover .nav-icon {
    color: #fff;
}

/* 底部容器 */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

/* Logo 和简介 */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.footer-logo span {
    color: #ff620e;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* 导航链接 */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column {
    min-width: 0;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
}

.footer-list a:hover {
    color: #ff620e;
}

/* 版权信息 */
.footer-copyright {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer-copyright p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.footer-copyright a {
    color: #ff620e;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}



/* 夜间模式 */
body.dark-mode .responsive-footer {
    background: #2a2a2a;
}

body.dark-mode .footer-logo,
body.dark-mode .footer-title {
    color: #e0e0e0;
}

body.dark-mode .footer-desc,
body.dark-mode .footer-list a {
    color: #999;
}

body.dark-mode .footer-list a:hover {
    color: #ff620e;
}

body.dark-mode .footer-copyright {
    border-top-color: #444;
}

body.dark-mode .back-to-top {
    background: #333;
    border-color: #444;
}

body.dark-mode .back-to-top .nav-icon {
    color: #e0e0e0;
}

/* 响应式断点 */

/* 平板设备 */
@media screen and (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* 手机设备 */
@media screen and (max-width: 768px) {
    .responsive-footer {
        padding: 50px 0 20px;
        margin-top: 60px;
    }
    
    .footer-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .footer-desc {
        font-size: 13px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-list li {
        margin-bottom: 10px;
    }
    
    .footer-list a {
        font-size: 13px;
    }
    
    .footer-copyright {
        margin-top: 30px;
        padding-top: 15px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    

}

/* 小屏手机 */
@media screen and (max-width: 480px) {
    .responsive-footer {
        padding: 40px 0 15px;
    }
    
    .footer-container {
        padding: 0 10px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .back-to-top {
        width: 36px;
        height: 36px;
    }
    
    .back-to-top .nav-icon {
        font-size: 18px;
    }
    

}
