/* ===== 页脚 ===== */
.modern-footer {
    background-color: #18181b;
    color: #a1a1aa;
    padding: 60px 0 50px;
    margin-top: 80px;
}
[data-theme="dark"] .modern-footer {
    background-color: #080605;
    color: #9a8a78;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 品牌区 */
.footer-brand { margin-bottom: 40px; }
.footer-brand .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 12px;
}
.f-icon { width: 28px; height: 28px; border-radius: 6px; filter: brightness(1.1); }
.logo-text {
    font-size: 1.5rem;
    font-weight: 850;
    color: #ffffff;
    letter-spacing: -0.5px;
}
[data-theme="dark"] .logo-text {
    color: #f0e8df;
}
.logo-text span {
    color: var(--primary);
    font-weight: 600;
}
.footer-tagline {
    font-size: 0.85rem;
    color: #9a9aa3; /* 深色页脚底上 ≈6.3:1 */
    letter-spacing: 2px;
    text-transform: uppercase;
}
[data-theme="dark"] .footer-tagline {
    color: #9a8a78;
}

/* 链接区 */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    margin-bottom: 40px;
}
.footer-links a {
    color: #d4d4d8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
[data-theme="dark"] .footer-links a {
    color: #d0c4b8;
}
.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* 分割线 */
.footer-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin-bottom: 30px;
}
[data-theme="dark"] .footer-divider {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

/* 版权区 */
.footer-copyright { font-size: 0.85rem; color: #90909a; } /* 深色底上 ≈5.6:1 */
[data-theme="dark"] .footer-copyright { color: #9a8a78; }
.footer-copyright a { color: #a1a1aa; text-decoration: none; font-weight: 600; }
[data-theme="dark"] .footer-copyright a { color: #b0a291; }
.footer-copyright a:hover { color: #ffffff; }
[data-theme="dark"] .footer-copyright a:hover { color: #f0e8df; }
