/* ============================================
   藏宝图 Footer 样式
   ============================================ */

/* ===== Footer主体 ===== */
.th-footer {
    background: linear-gradient(135deg, #2C1810 0%, #3E2723 100%);
    color: #F5F5DC;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* 主要内容区 */
.th-footer-main {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.th-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* ===== Logo区域 ===== */
.th-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: bold;
    color: #DAA520;
    margin-bottom: 1rem;
}

.th-footer-logo i {
    font-size: 2rem;
    color: #B8860B;
}

.th-footer-desc {
    color: #D7CCC8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* 统计数据 */
.th-footer-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.th-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.th-stat-item strong {
    font-size: 1.5rem;
    color: #DAA520;
    font-weight: bold;
}

.th-stat-item span {
    font-size: 0.85rem;
    color: #BCAAA4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== 导航列 ===== */
.th-footer-title {
    color: #DAA520;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid rgba(184, 134, 11, 0.3);
    padding-bottom: 0.75rem;
}

.th-footer-title i {
    color: #B8860B;
    font-size: 1rem;
}

.th-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.th-footer-links li {
    margin-bottom: 0.75rem;
}

.th-footer-links a {
    color: #D7CCC8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.th-footer-links a i {
    color: #8B7355;
    font-size: 0.85rem;
    width: 16px;
    transition: transform 0.3s ease;
}

.th-footer-links a:hover {
    color: #DAA520;
    padding-left: 0.5rem;
}

.th-footer-links a:hover i {
    color: #DAA520;
    transform: translateX(3px);
}

/* ===== Footer底栏 ===== */
.th-footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(184, 134, 11, 0.2);
}

.th-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* 版权信息 */
.th-footer-copyright {
    color: #BCAAA4;
    font-size: 0.9rem;
}

.th-footer-copyright p {
    margin: 0.25rem 0;
}

.th-footer-copyright a {
    color: #D7CCC8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.th-footer-copyright a:hover {
    color: #DAA520;
}

.th-divider {
    margin: 0 0.75rem;
    color: rgba(184, 134, 11, 0.4);
}

.th-footer-extra {
    color: #A1887F;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ===== 社交媒体 ===== */
.th-footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.th-social-label {
    color: #BCAAA4;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.th-social-icons {
    display: flex;
    gap: 0.75rem;
}

.th-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.15);
    border: 1px solid rgba(184, 134, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DAA520;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.th-social-icon:hover {
    background: #B8860B;
    color: #2C1810;
    border-color: #DAA520;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
}

/* ===== 备案信息 ===== */
.th-footer-beian {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(184, 134, 11, 0.1);
    color: #A1887F;
    font-size: 0.85rem;
}

.th-footer-beian p {
    margin: 0.25rem 0;
}

/* ===== 装饰性图标 ===== */
.th-footer-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.th-treasure-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.th-treasure-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.th-treasure-icon:nth-child(3) {
    animation-delay: 1s;
}

.th-treasure-icon:nth-child(4) {
    animation-delay: 1.5s;
}

.th-treasure-icon:nth-child(5) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== 背景纹理效果 ===== */
.th-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(184, 134, 11, 0.03) 10px, rgba(184, 134, 11, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(139, 69, 19, 0.02) 10px, rgba(139, 69, 19, 0.02) 20px);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .th-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .th-footer-main {
        padding: 3rem 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .th-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .th-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .th-footer-social {
        flex-direction: column;
        gap: 0.75rem;
    }

    .th-footer-stats {
        justify-content: space-around;
    }

    .th-footer-copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .th-footer-logo {
        font-size: 1.5rem;
    }

    .th-footer-logo i {
        font-size: 1.75rem;
    }

    .th-footer-title {
        font-size: 1rem;
    }

    .th-social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .th-divider {
        display: none;
    }

    .th-footer-copyright p {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== Hover效果优化 ===== */
.th-footer-col {
    transition: transform 0.3s ease;
}

.th-footer-col:hover {
    transform: translateY(-5px);
}

/* ===== 滚动动画 ===== */
.th-footer {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 返回顶部按钮兼容 ===== */
#rb-float-actions {
    z-index: 1000;
}
