/* ============================================
 * 子比主题底部样式增强 - CSS
 * Version: 1.0.0
 * ============================================ */

/* ============================================
   公共基础样式 - 所有底部风格共用
   ============================================ */
.zfs-footer-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}
.zfs-footer-wrap * {
    box-sizing: border-box;
}
.zfs-footer-inner {
    /* 宽度跟随子比主题 container-footer，无需额外 max-width */
    padding: 40px 0;
}
.zfs-footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}
.zfs-footer-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.zfs-footer-desc {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.8;
    max-width: 600px;
}
.zfs-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.zfs-footer-links li {
    display: inline-block;
}
.zfs-footer-links a {
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: 0.8;
}
.zfs-footer-links a:hover {
    opacity: 1;
}
.zfs-footer-copyright {
    font-size: 12px;
    opacity: 0.6;
    line-height: 1.8;
}
.zfs-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.zfs-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s;
}
.zfs-footer-divider {
    border: 0;
    border-top: 1px solid;
    opacity: 0.12;
    margin: 25px 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .zfs-footer-inner {
        padding: 30px 15px;
    }
    .zfs-footer-links {
        gap: 5px 15px;
    }
    .zfs-footer-social {
        gap: 8px;
    }
    .zfs-footer-desc {
        max-width: 100%;
    }
}

/* ============================================
   风格一：简洁居中风 Clean Centered
   特点：所有内容居中，干净清爽
   ============================================ */
.zfs-style-1 {
    /* 无背景色，跟随子比主题 */
    color: #666;
    text-align: center;
}
.dark-theme .zfs-style-1 {
    color: #aaa;
}
.zfs-style-1 .zfs-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.zfs-style-1 .zfs-footer-links {
    justify-content: center;
}
.zfs-style-1 .zfs-footer-social {
    justify-content: center;
}
.zfs-style-1 .zfs-footer-links a {
    color: #666;
}
.dark-theme .zfs-style-1 .zfs-footer-links a {
    color: #aaa;
}
.zfs-style-1 .zfs-footer-links a:hover {
    color: var(--focus-color);
}
.zfs-style-1 .zfs-footer-social a {
    background: rgba(0, 0, 0, 0.06);
    color: #888;
}
.dark-theme .zfs-style-1 .zfs-footer-social a {
    background: rgba(255, 255, 255, 0.08);
    color: #999;
}
.zfs-style-1 .zfs-footer-social a:hover {
    background: var(--focus-color);
    color: #fff;
}

/* ============================================
   风格二：卡片分栏风 Card Columns
   特点：四个卡片列，适合内容丰富的网站
   ============================================ */
.zfs-style-2 {
    /* 无背景色，跟随子比主题 */
    color: #555;
}
.dark-theme .zfs-style-2 {
    color: #aaa;
}
.zfs-style-2 .zfs-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.zfs-style-2 .zfs-footer-col {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}
.zfs-style-2 .zfs-footer-col-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}
.dark-theme .zfs-style-2 .zfs-footer-col-title {
    color: #e0e0e0;
}
.zfs-style-2 .zfs-footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--focus-color);
    border-radius: 1px;
}
.zfs-style-2 .zfs-footer-links {
    flex-direction: column;
    gap: 5px;
}
.zfs-style-2 .zfs-footer-links a {
    color: #777;
    display: block;
    padding: 3px 0;
}
.dark-theme .zfs-style-2 .zfs-footer-links a {
    color: #999;
}
.zfs-style-2 .zfs-footer-links a:hover {
    color: var(--focus-color);
    transform: translateX(4px);
}
.zfs-style-2 .zfs-footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.dark-theme .zfs-style-2 .zfs-footer-bottom {
    border-top-color: rgba(255,255,255,0.06);
}
.zfs-style-2 .zfs-footer-social a {
    background: rgba(0,0,0,0.05);
    color: #777;
}
.dark-theme .zfs-style-2 .zfs-footer-social a {
    background: rgba(255,255,255,0.06);
    color: #999;
}
.zfs-style-2 .zfs-footer-social a:hover {
    background: var(--focus-color);
    color: #fff;
}

/* 响应式：手机端列堆叠 */
@media (max-width: 768px) {
    .zfs-style-2 .zfs-footer-col {
        max-width: 100%;
        flex: 1 1 calc(50% - 20px);
        min-width: 140px;
    }
    .zfs-style-2 .zfs-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .zfs-style-2 .zfs-footer-col {
        flex: 1 1 100%;
    }
}

/* ============================================
   风格三：深色底栏风 Dark Bar
   特点：深色背景 + 单行紧凑底栏，极简风格
   ============================================ */
.zfs-style-3 {
    /* 无背景色，跟随子比主题 */
    background: transparent;
    color: #555;
}
.dark-theme .zfs-style-3 {
    color: #aaa;
}
.zfs-style-3 .zfs-footer-inner {
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.zfs-style-3 .zfs-footer-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.zfs-style-3 .zfs-footer-links {
    gap: 5px 18px;
}
.zfs-style-3 .zfs-footer-links a {
    color: #777;
}
.zfs-style-3 .zfs-footer-links a:hover {
    color: var(--focus-color);
}
.zfs-style-3 .zfs-footer-copyright {
    color: #888;
    opacity: 1;
}
.zfs-style-3 .zfs-footer-social a {
    background: rgba(0,0,0,0.05);
    color: #777;
}
.zfs-style-3 .zfs-footer-social a:hover {
    background: var(--focus-color);
    color: #fff;
}

.dark-theme .zfs-style-3 .zfs-footer-links a {
    color: #999;
}
.dark-theme .zfs-style-3 .zfs-footer-copyright {
    color: #888;
}
.dark-theme .zfs-style-3 .zfs-footer-social a {
    background: rgba(255,255,255,0.08);
    color: #aaa;
}

@media (max-width: 768px) {
    .zfs-style-3 .zfs-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .zfs-style-3 .zfs-footer-info {
        justify-content: center;
    }
    .zfs-style-3 .zfs-footer-social {
        justify-content: center;
    }
}

/* ============================================
   风格四：全宽渐变风 Full-Width Gradient
   特点：渐变背景 + Logo居中 + 上方波浪装饰
   ============================================ */
.zfs-style-4 {
    position: relative;
    /* 无背景色，跟随子比主题 */
    color: #666;
    text-align: center;
}
.dark-theme .zfs-style-4 {
    color: #aaa;
}
/* 不再使用波浪顶部装饰 */
.zfs-style-4 .zfs-footer-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.zfs-style-4 .zfs-footer-links {
    justify-content: center;
}
.zfs-style-4 .zfs-footer-links a {
    color: #777;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.25s;
}
.zfs-style-4 .zfs-footer-links a:hover {
    color: var(--focus-color);
    background: rgba(0,0,0,0.05);
}
.zfs-style-4 .zfs-footer-desc {
    color: #888;
}
.zfs-style-4 .zfs-footer-copyright {
    color: #999;
    opacity: 1;
}
.zfs-style-4 .zfs-footer-social a {
    background: rgba(0,0,0,0.05);
    color: #888;
    border: 1px solid rgba(0,0,0,0.06);
}
.zfs-style-4 .zfs-footer-social a:hover {
    background: var(--focus-color);
    color: #fff;
    border-color: var(--focus-color);
}
.zfs-style-4 .zfs-footer-divider {
    border-top-color: rgba(0,0,0,0.08);
}

.dark-theme .zfs-style-4 .zfs-footer-links a {
    color: #999;
}
.dark-theme .zfs-style-4 .zfs-footer-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.dark-theme .zfs-style-4 .zfs-footer-desc {
    color: #999;
}
.dark-theme .zfs-style-4 .zfs-footer-copyright {
    color: #888;
}
.dark-theme .zfs-style-4 .zfs-footer-social a {
    background: rgba(255,255,255,0.08);
    color: #ccc;
    border-color: rgba(255,255,255,0.06);
}
.dark-theme .zfs-style-4 .zfs-footer-divider {
    border-top-color: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .zfs-style-4 .zfs-footer-inner {
        padding-top: 40px;
        padding-bottom: 30px;
        gap: 15px;
    }
}

/* ============================================
   社交图标 SVG 样式
   ============================================ */
.zfs-social-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}
