/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 页脚样式 */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 30px 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* 页脚信息区域 */
.footer-info {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-top: 10px;
    color: #a0aec0;
    font-size: 14px;
}

/* 页脚链接区域 */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex: 2;
}

.footer-links-column {
    margin-right: 30px;
    margin-bottom: 20px;
    min-width: 140px;
}

.footer-links-column h4 {
    color: #00d8ff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.footer-links-column h4 i {
    margin-right: 8px;
}

.footer-links-column a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links-column a:hover {
    color: #00d8ff;
}

/* 友情链接区域 */
.friend-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-bottom: 20px;
}

.friend-links h4 {
    color: #00d8ff;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
}

.link-list a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    margin-right: 15px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.link-list a:hover {
    color: #00d8ff;
}

/* 页脚底部区域 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #718096;
    font-size: 14px;
    margin: 5px 0;
}

/* 社交链接 */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-left: 10px;
    font-size: 16px;
    transition: background 0.2s;
}

.social-links a:hover {
    background: #00d8ff;
}

/* 侧边固定按钮 */
.side-buttons {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    position: relative;
    background: linear-gradient(145deg, #181a30, #10121f);
    border: 1px solid rgba(0, 216, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: visible;
}

.side-button::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(0, 216, 255, 0.45), rgba(74, 0, 224, 0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.side-button i {
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.side-service i {
    color: #00d8ff;
    text-shadow: 0 0 12px rgba(0, 216, 255, 0.45);
}

.side-order i {
    color: #ffd76b;
    text-shadow: 0 0 12px rgba(255, 215, 107, 0.4);
}

.side-button:hover {
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(0, 216, 255, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.52), 0 0 18px rgba(0, 216, 255, 0.22);
}

.side-text {
    position: absolute;
    top: 50%;
    right: calc(100% + 14px);
    transform: translateY(-50%) translateX(8px);
    background: rgba(18, 20, 36, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 216, 255, 0.28);
    border-radius: 12px;
    padding: 9px 16px 9px 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 216, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    width: 10px;
    height: 10px;
    transform: translateY(-50%) rotate(45deg);
    background: rgba(18, 20, 36, 0.92);
    border-top: 1px solid rgba(0, 216, 255, 0.28);
    border-right: 1px solid rgba(0, 216, 255, 0.28);
}

.side-text em {
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.side-service .side-text em {
    color: #00d8ff;
}

.side-order .side-text em {
    color: #ffd76b;
}

.side-text small {
    font-size: 11px;
    color: #8a92ab;
}

.side-button:hover .side-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(145deg, #181a30, #10121f);
    border: 1px solid rgba(0, 216, 255, 0.22);
    color: #00d8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, opacity 0.3s ease, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top i {
    font-size: 20px;
    text-shadow: 0 0 12px rgba(0, 216, 255, 0.45);
}

/* 底部分界线 */
.footer-divider {
    padding: 60px 0;
    background: linear-gradient(to bottom, #1a1a2e, #0f0f1a);
    position: relative;
}

.divider-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.divider-line {
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.01));
    flex-grow: 1;
}

.divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 50%;
    margin: 0 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.divider-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at center, rgba(0, 216, 255, 0.2), transparent 70%);
    opacity: 0.7;
    animation: pulseGlow 3s infinite;
}

.divider-icon i {
    font-size: 24px;
    color: #00d8ff;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 216, 255, 0.7);
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(0, 216, 255, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.52), 0 0 18px rgba(0, 216, 255, 0.22);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 15px;
    }
    
    .social-links a {
        margin: 0 5px;
    }
    
    .link-list {
        justify-content: center;
    }
    
    .side-buttons {
        right: 10px;
    }
    
    .side-button {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }
    
    .side-button i {
        font-size: 19px;
    }
    
    .back-to-top {
        right: 10px;
        bottom: 10px;
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .footer-divider {
        padding: 40px 0;
    }

    .divider-icon {
        width: 50px;
        height: 50px;
        margin: 0 20px;
    }

    .divider-icon i {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .footer-divider {
        padding: 30px 0;
    }

    .divider-icon {
        width: 40px;
        height: 40px;
        margin: 0 15px;
    }

    .divider-icon i {
        font-size: 16px;
    }
}
