.footer {
    /* position: relative; */
    border-top: #d0ad9a solid 1px;
    background: url(../images/s-bg.png);
    background-repeat: round;
    color: #ecf0f1;
    padding: 20px 0 0px;
    bottom: 0px;
    margin: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a5855a, transparent);
}

/* Footer 主要内容区域 */
.footer .wd {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer 链接区域 */
.footer-a {
    text-align: center;
}

.footer-a a {
    color: #bdc3c7;
    text-decoration: none;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-a a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #a5855a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-a a:hover {
    color: #a5855a;
    transform: translateY(-1px);
}

.footer-a a:hover::after {
    width: 80%;
}

/* Footer 分隔符 */
.footer-a a:not(:last-child)::before {
    content: '|';
    position: absolute;
    right: -6px;
    color: #7f8c8d;
    font-weight: normal;
}

/* Footer 版权信息 */
.footer p {
    color: #95a5a6;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    margin: 8px 0;
    padding: 0;
}

.footer p:first-of-type {
    font-weight: 600;
    color: #bdc3c7;
    font-size: 14px;
}

.footer p:last-of-type {
    /* font-style: italic; */
    opacity: 0.8;
}

/* Footer 响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }
    
    .footer .wd {
        padding: 0 15px;
    }
    
    .footer-a {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .footer-a a {
        display: inline-block;
        margin: 5px 8px;
        padding: 8px 12px;
        background: rgba(52, 73, 94, 0.3);
        border-radius: 4px;
        font-size: 13px;
    }
    
    .footer-a a:not(:last-child)::before {
        display: none;
    }
    
    .footer p {
        font-size: 12px;
        margin: 6px 0;
    }
}

/* Footer 动画效果 */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    animation: footerFadeIn 0.6s ease-out;
}

/* Footer 悬浮效果增强 */
.footer-a a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-a a:hover {
    text-shadow: 0 0 8px rgba(165, 133, 90, 0.3);
}

/* 深色主题适配 */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
        border-top-color: #a5855a;
    }
    
    .footer-a {
        border-bottom-color: #404040;
    }
    
    .footer-a a {
        color: #d1d5db;
    }
    
    .footer p {
        color: #9ca3af;
    }
    
    .footer p:first-of-type {
        color: #d1d5db;
    }
}

