/* 页脚样式 - 小程序风格简洁设计 */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.8rem 0 1rem;
    width: 100%;
    max-width: 100%;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    margin-top: 3rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.footer-section {
    width: 100%;
    max-width: 100%;
    padding: 0 0.8rem;
}

.footer-section h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 1px;
    background-color: rgba(255, 107, 0, 0.2);
    border-radius: 1px;
}

.footer-section p, .footer-section li {
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    white-space: normal;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.2rem 0;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    width: 1.8rem;
    height: 1.8rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.75rem;
    line-height: 1.5;
}

/* 备案信息样式 */
.beian-info {
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.beian-info a {
    color: #999;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
    white-space: normal;
    word-wrap: break-word;
}

.beian-info a:hover {
    color: var(--primary-color);
}

.beian-icon {
    width: 0.875rem;
    height: 0.875rem;
    vertical-align: middle;
    margin-right: 0.2rem;
}

/* 电脑端媒体查询 - 页脚调整 */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin-bottom: 1.8rem;
    }
}

/* 平板端媒体查询 */
@media (min-width: 768px) and (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 移动端优化 - 页脚 */
@media (max-width: 480px) {
    /* 页脚优化 */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-section {
        padding: 0 0.5rem;
    }
}
