/*
 * 页脚样式
 * 版本: 2.0.0
 */

.footer {
    background-color: var(--footer-bg);
    color: var(--secondary-color);
    text-align: center;
    padding: 12px 0; /* 适当增加上下内边距 */
    margin-top: 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em; /* 增加字体大小 */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px; /* 增加底部外边距 */
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95em; /* 增加字体大小 */
    padding: 5px 10px; /* 增加内边距 */
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    margin: 0; /* 移除外边距 */
    font-size: 0.9em; /* 增加字体大小 */
    line-height: 1.5; /* 增加行高 */
}

.copyright-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* 增加版权信息和备案信息之间的间距 */
}

.footer-copyright a {
    color: var(--secondary-color);
    font-weight: 500;
}

.footer-copyright a:hover {
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-links {
        margin-bottom: 10px;
    }
}
