:root {
    --footer-bg: #0d0d0d;
    --footer-text: #999;
    --footer-text-light: #fff;
    --primary-color: #ffb600;
    --primary-dark: #e6a400;
    --content-max-width: 1800px;
    --footer-border: rgba(255,255,255,0.1);
}

.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 0;
}

.footer-main {
    padding: 50px 0 30px;
    margin-bottom: 0;
}

.footer-main .container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 80px;
    width: 100%;
}

/* 联系栏 */
.footer-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 260px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffb600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #fff;
    font-size: 28px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 14px;
    color: var(--footer-text);
}

.contact-value,
a.contact-value {
    font-size: 20px;
    font-weight: 600 !important;
    color: var(--footer-text-light) !important;
    text-decoration: none;
    line-height: 1.3;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--footer-border);
    margin-bottom: 40px;
}

/* 底部内容区 */
.footer-content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.footer-left-col {
    flex: 0 0 280px;
    max-width: 280px;
}

.footer-logo-area {
    margin-bottom: 25px;
}

.footer-logo {
    width: 100%;
    height: 60px;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

.footer-copyright-area {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright-text, .icp-text {
    font-size: 14px;
    color: var(--footer-text);
    margin: 0;
}

.icp-text a {
    color: var(--footer-text);
    text-decoration: none;
}

.feedback-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 0px;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
}

.feedback-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 导航栏 */
.footer-middle-col {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-left: 40px;
}
.footer-nav-col {
    flex: 0 0 180px; /* 三个栏目统一180px宽度，完全对称 */
    min-width: 180px;
}
.footer-nav-col:nth-child(3) {
    flex: 0 0 160px; /* 第三个稍窄，适配短内容 */
    min-width: 160px;
}

.footer-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.footer-nav-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
   /* background: var(--primary-color);*/
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list li {
    position: relative;
    padding-left: 9px;
}

.footer-nav-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0;
    transition: 0.3s;
}

.footer-nav-list li:hover::before {
    opacity: 1;
}

.footer-nav-list li a {
    color: var(--footer-text);
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-nav-list li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* 二维码 */
.footer-right-col {
    flex: 0 0 160px;
    max-width: 160px;
    text-align: center;
}

.wechat-qrcode-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wechat-qrcode-img {
    width: 140px;
    height: 140px;
    border: 2px solid var(--primary-color);
    border-radius: 0px;
    overflow: hidden;
    background: #fff;
    padding: 4px;
}

.wechat-qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wechat-label {
    font-size: 16px;
    color: #999;
    font-weight: 500;
    margin: 0;
}

/* ============================================== */
/* 独立友情链接 · 全屏黄色模块 */
/* ============================================== */
.link-section-full {
    background-color: #ffb600;
    width: 100%;
    padding: 10px 0;
}

.link-list-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.link-title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.link-list-inner a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.link-list-inner a:hover {
    color: #333;
}

/* ============================================== */
/* 返回顶部按钮 */
/* ============================================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: none;
}

.back-to-top .btn-primary {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: rgba(0,0,0,0.8);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    padding: 0;
    transition: all 0.3s;
}

.back-to-top .btn-primary:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

/* ============================================== */
/* 响应式 */
/* ============================================== */
@media (max-width: 1600px) {
    .footer-main .container { padding: 0 80px; }
}
@media (max-width: 1200px) {
    .footer-main .container { padding: 0 40px; }
    .footer-content-row { flex-wrap: wrap; }
    .footer-left-col, .footer-right-col { flex: 0 0 100%; max-width: 100%; text-align: center; }
    .footer-logo { background-position: center; }
}
@media (max-width: 768px) {
    .footer-contact-item { min-width: 100%; }
    .footer-middle-col { justify-content: flex-start; }
    .footer-nav-col { min-width: 45%; }
}
@media (max-width: 576px) {
    .footer-nav-col { min-width: 100%; }
}
/* ============================================== */
/* 移动端只显示版权 + 备案号 */
/* ============================================== */
@media (max-width: 768px) {
    /* 移动端隐藏多余内容 */
    .footer-hide-on-mobile {
        display: none !important;
    }

    /* 底部内边距调整，更简洁 */
    .footer-main {
        padding: 20px 0 15px !important;
    }

    /* 版权信息居中、紧凑 */
    .footer-copyright-only {
        text-align: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 5px !important;
    }

    /* 文字大小适配手机 */
    .footer-copyright-only .copyright-text,
    .footer-copyright-only .icp-text {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

/* 更小屏幕（iPhone SE 等） */
@media (max-width: 576px) {
    .footer-main .container {
        padding: 0 15px !important;
    }
}