/**
 * 页脚样式
 */

.main-footer {
    background: #2d3436;
    margin-top: 60px;
    padding: 50px 0 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主内容区 */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    padding-bottom: 30px;
}

/* 品牌区域 */
.footer-brand {
    flex-shrink: 0;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #b1ce48 0%, #9ab73a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
}

.footer-brand-text {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.footer-brand-desc {
    color: #b2bec3;
    font-size: 13px;
    line-height: 1.6;
    max-width: 260px;
    margin-bottom: 16px;
}

/* 社交图标 */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b2bec3;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: #b1ce48;
    color: #2d3436;
}

.footer-social i {
    font-size: 18px;
}

/* 链接区域 */
.footer-links-wrap {
    display: flex;
    gap: 60px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #b2bec3;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #b1ce48;
}

/* 底部版权区 */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #636e72;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-legal a,
.footer-legal span {
    color: #636e72;
    font-size: 13px;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #b1ce48;
}

.legal-dot {
    width: 4px;
    height: 4px;
    background: #636e72;
    border-radius: 50%;
}

/* 响应式 */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links-wrap {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-links-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ==================== 移动端底部导航栏 ==================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #999;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.2s;
    padding: 6px 0;
}

.mobile-bottom-nav .nav-item i {
    font-size: 22px;
}

.mobile-bottom-nav .nav-item span {
    font-size: 10px;
}

.mobile-bottom-nav .nav-item.active {
    color: #b1ce48;
}

.mobile-bottom-nav .nav-item-center {
    position: relative;
    margin-top: -20px;
}

.mobile-bottom-nav .nav-publish-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #b1ce48 0%, #9ab73a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(177, 206, 72, 0.4);
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-publish-btn i {
    color: #fff;
    font-size: 24px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 显示底部导航 */
    .mobile-bottom-nav {
        display: flex;
    }

    /* 隐藏原页尾 */
    .main-footer {
        display: none;
    }

    /* 页面内容增加底部间距 */
    .page-content {
        padding-bottom: 60px;
    }

    body {
        padding-bottom: 60px;
        /* 隐藏滚动条 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body::-webkit-scrollbar {
        display: none;
    }

    /* 隐藏所有元素的滚动条 */
    * {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    *::-webkit-scrollbar {
        display: none;
    }
}
