/* 页脚基础样式 */
.site-footer {
    background-color: #1a1a1a;
    color: #aaa;
    border-top: 1px solid #333;
    margin-top: 40px;
}

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

/* 上部内容区 */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 0;
    border-bottom: 1px solid #333;
}

/* 页脚Logo和描述 */
.footer-logo {
    flex: 1;
    min-width: 280px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-logo .site-logo {
    color: #fff;
    margin-bottom: 15px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .site-logo i {
    color: #ff4d4d;
    font-size: 28px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

/* 页脚链接区域 */
.footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding-left: 20px;
}

/* 统一标题样式 - 下划线长度与文字等长 */
.footer-links h4, 
.footer-contact h4,
.footer-social h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff4d4d;
    display: inline-block; /* 关键：使下划线长度与文字等长 */
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #ff4d4d;
}

.footer-contact i {
    width: 20px;
    margin-right: 8px;
    color: #ff4d4d;
}

/* 社交媒体图标区域 */
.footer-social {
    margin-top: 30px;
}

.social-icons-container {
    display: flex;
    gap: 10px; /* 图标之间的间距 */
    margin-top: 10px; /* 标题与图标之间的间距 */
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    color: #aaa;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
}

.social-icon:hover {
    background-color: #ff4d4d;
    color: #fff;
    transform: translateY(-3px);
}

/* Telegram图标特殊处理 */
.social-icon.fa-telegram {
    background-color: #2CA5E0;
    color: white;
}

.social-icon.fa-telegram:hover {
    background-color: #1E90FF;
    transform: translateY(-3px);
}

/* 复制成功状态样式 - 红色背景白色对号 */
.social-icon.copy-success {
    background-color: #ff4d4d !important;
    color: white !important;
    font-weight: bold;
    font-size: 20px; /* 对号放大加粗 */
}

/* 复制提示框样式 */
.copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    z-index: 9999;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* 下部版权区 */
.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.copyright p {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-policy {
    margin-top: 10px;
}

.footer-policy a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    margin: 0 8px;
    transition: color 0.3s;
}

.footer-policy a:hover {
    color: #ff4d4d;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links, .footer-contact {
        padding-left: 0;
    }
    
    .footer-logo {
        padding-right: 0;
    }
}
