:root {
    --onbody-primary-color: #3a86ff;
    --onbody-secondary-color: #0f0f1a;
    --onbody-third-color: #202d39;
    --onbody-accent-color: #0D1821;/*#16213E;*/
    --onbody-text-primary: #ffffff;
    --onbody-text-secondary: #f8f8f8;/*c0c0c0*/
    --onbody-gradient-primary: linear-gradient(135deg, #3a86ff 0%, #0066cc 100%);
    --onbody-gradient-dark: linear-gradient(135deg, #0f0f1a 0%, #16213E 100%);
    --onbody-shadow-glow: 0 0 30px rgba(58, 134, 255, 0.2);
    --onbody-shadow-card: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* 页脚基础样式 */
.footer {
    background: var(--onbody-accent-color);
    font-size: 1rem;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);/*rgba(0, 212, 255, 0.2);*/
}

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

/* 页脚内容布局 - 从footer-1.php迁移 */
.footer-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-bottom: 2rem;
}

/* 主要区块宽度 - 从footer-1.php迁移 */
.footer-section-main {
    width: 35%;
    flex-shrink: 0;
}

/* 其他区块宽度 - 从footer-1.php迁移 */
.footer-content > .footer-section:not(.footer-section-main) {
    width: 19%;
}

/* 页脚区块标题样式 */
.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--onbody-primary-color);
}

/* 页脚列表样式 */
.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer-section ul li a {
    color: var(--onbody-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--onbody-primary-color);
}

/* Logo容器样式 */
.footer-section-main > div:first-child {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Logo图片容器样式 */
.footer-section-main > div:first-child > div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

/* Logo图片样式 */
.footer-section-main img {
    width: 41px;
    height: 41px;
}

/* Logo文字样式 */
.footer-section-main h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
}

/* 页脚描述文本样式 */
.footer-section-main p {
    margin-bottom: 1rem;
    color: var(--onbody-text-secondary);
}

/* 页脚注释文本样式 */
.footer-section-main p:last-child {
    font-size: 0.85rem;
}

.footer-bottom .corp{
font-size: 0.85rem;
}
/* 社交媒体链接样式 */
.social-links {
    margin-top: 1rem;
    display: flex;
}

.social-links a {
    color: var(--onbody-primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    text-decoration: none;
}

/* 页脚底部样式 */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);/*rgba(0, 212, 255, 0.1);*/
    color: var(--onbody-text-secondary);
}

/* 页脚底部链接样式 */
.footer-bottom a {
    color: var(--onbody-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--onbody-primary-color);
}

.footer-bottom p {
    margin-bottom: 0;
}

/* 平板响应式设计 (768px - 1024px) - 从footer-1.php迁移 */
@media (max-width: 1024px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100% !important;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* 移动端响应式设计 (小于768px) - 从footer-1.php迁移 */
@media (max-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        width: 100% !important;
        text-align: center;
    }
    
    .footer-section:first-child div {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom a {
        margin: 0 !important;
    }
    
    .social-links {
        justify-content: center !important;
    }
}

/* 小屏移动端优化 (小于480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 1.2rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .social-links a {
        margin-right: 0.8rem;
        font-size: 1.1rem;
    }
}