/* 页脚基础样式 - 永不参与主题切换 */
#footer,
body.dark-theme #footer,
body.light-theme #footer {
    background: linear-gradient(to right, #2c3e50, #e67e22) !important;
    padding: 30px 0 15px !important;
    color: #fff !important;
    margin-top: 40px !important;
    position: relative !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    order: 9999 !important;
    margin-bottom: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
    will-change: auto !important;
    transform: translateZ(0) !important; /* 启用硬件加速，防止重排 */
    backface-visibility: hidden !important; /* 防止重绘 */
    -webkit-font-smoothing: subpixel-antialiased !important;
    transition: none !important; /* 移除所有transition，防止抖动 */
}

/* Logo样式 - 不参与主题切换 */
#footer .footer-logo {
    max-width: 100px;
    height: auto;
    margin: 0 auto 15px;
    opacity: 0.9;
    transition: none !important; /* 移除transition防止抖动 */
    display: block;
}

#footer .footer-logo:hover {
    opacity: 1;
}

/* 中间内容区域样式 - 不参与主题切换 */
#footer .col-md-4:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 中间描述文字样式 - 不参与主题切换 */
#footer .display-12 {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8) !important;
    margin: 15px auto;
    max-width: 600px;
    text-align: center;
    padding: 0 15px;
}

/* 调整文字容器样式 - 不参与主题切换 */
#footer .col-md-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 突出显示标语 - 不参与主题切换 */
#footer .footer-slogan {
    font-size: 24px;
    font-weight: 600;
    color: #fff !important;
    margin: 20px 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#footer .footer-slogan span {
    margin: 0 10px;
    position: relative;
    color: #fff !important;
}

#footer .footer-slogan span::after {
    content: '·';
    position: absolute;
    right: -12px;
    color: rgba(255,255,255,0.6) !important;
}

#footer .footer-slogan span:last-child::after {
    display: none;
}

/* 版权信息样式 - 不参与主题切换 */
#footer .small {
    font-size: 12px;
    color: rgba(255,255,255,0.6) !important;
    margin-top: 20px;
}

#footer .small a {
    color: #fff !important;
}

#footer .small a:hover {
    color: rgba(255,255,255,0.8) !important;
}

/* 返回顶部按钮 - 不参与主题切换 */
#back-to-top,
body.dark-theme #back-to-top,
body.light-theme #back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    background: #fff !important;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

#back-to-top svg {
    color: blue !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #footer {
        padding: 20px 0 10px;
    }

    .footer-slogan {
        font-size: 20px;
    }

    .display-12 {
        font-size: 12px;
        padding: 0 15px;
    }
} 