/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --gray-light: #e9ecef;
    --gray: #dee2e6;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden; /* 防止水平滚动条 */
}

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

/* 导航条样式 */
.main-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.nav-logo a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo a:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    transform: rotate(90deg);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 头部样式调整 */
.site-header {
    width: 100%;
    overflow: hidden;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.site-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.site-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* 功能图片样式 */
.feature-image {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
}

/* 友情链接和客服微信并排布局 */
.footer-content-row {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    align-items: stretch;
}

/* 友情链接样式 */
.footer-links {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    font-weight: 600;
}

.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    border: 1px solid transparent;
}

.footer-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 客服微信样式 */
.customer-service {
    width: 300px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.customer-service h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    font-weight: 600;
}

.wechat-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wechat-qrcode {
    width: 150px;
    height: 150px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.wechat-qrcode:hover {
    transform: scale(1.05);
}

.wechat-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wechat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wechat-label {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

/* 可复制的微信号样式 */
.wechat-id {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.wechat-id:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.wechat-id:active {
    transform: scale(0.98);
}

/* 复制成功提示样式 */
.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 10px;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.wechat-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .customer-service {
        width: 250px;
    }
    
    .wechat-qrcode {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .footer-content-row {
        flex-direction: column;
        gap: 25px;
        margin: 25px 0;
    }
    
    .footer-links,
    .customer-service {
        padding: 20px;
    }
    
    .customer-service {
        width: auto;
    }
    
    .links-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .footer-links h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .customer-service h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .wechat-qrcode {
        width: 120px;
        height: 120px;
    }
    
    .wechat-id {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    .copy-tooltip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .links-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.btn-register {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s both;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transform: perspective(1px) translateZ(0);
}

.btn-register:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

.btn-register:hover:before {
    left: 100%;
}

.btn-register:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-register:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-register:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.3);
}

/* 脉动动画效果 */
@keyframes pulse-button {
    0% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
    }
    100% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    }
}

.btn-register {
    animation: fadeInUp 1s ease-out 0.4s both, pulse-button 2s infinite;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .btn-register {
        padding: 14px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-register {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* 响应式导航条 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow-light);
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .site-description {
        font-size: 1rem;
    }
}

/* 主内容区域样式 */
.main-content {
    padding: 60px 0;
}

.feature-section {
    margin-bottom: 100px;
}

.feature-block {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.feature-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
    z-index: 1;
}

.feature-block:hover::before {
    width: 100%;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
}

.feature-image svg {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.feature-block:hover .feature-image svg {
    transform: scale(1.08);
    opacity: 0.95;
}

.feature-content {
    flex: 1;
    padding: 50px;
    position: relative;
    z-index: 1;
}

.feature-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    font-weight: 700;
    line-height: 1.3;
}

.feature-content h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 4px;
    animation: pulse-subtitle 2s infinite;
}

@keyframes pulse-subtitle {
    0% { width: 80px; }
    50% { width: 120px; }
    100% { width: 80px; }
}

.feature-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 响应式优化 */
@media (max-width: 1024px) {
    .feature-content {
        padding: 40px;
    }
    
    .feature-image {
        min-height: 300px;
    }
    
    .feature-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .feature-block, .feature-block:nth-child(even) {
        flex-direction: column;
    }
    
    .feature-image {
        width: 100%;
        min-height: 250px;
        padding: 20px;
    }
    
    .feature-content {
        padding: 35px 25px;
        text-align: center;
    }
    
    .feature-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feature-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .feature-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .feature-section {
        margin-bottom: 80px;
    }
    
    .feature-block {
        margin-bottom: 40px;
    }
    
    .feature-image {
        min-height: 200px;
    }
    
    .feature-content {
        padding: 25px 20px;
    }
    
    .feature-content h2 {
        font-size: 1.6rem;
    }
}

/* 栏目样式 */
.columns-section {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.column {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.column:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.column:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray);
}

.article-list {
    list-style: none;
}

.article-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
    transition: var(--transition);
}

.article-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-list li:hover {
    transform: translateX(5px);
}

.article-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: var(--transition);
}

.article-list a:hover {
    color: var(--primary-color);
}

.article-date {
    font-size: 0.9rem;
    color: var(--text-lighter);
}

/* 底部样式 - 美化版 */
.site-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-info {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.footer-description {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-copyright {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.footer-copyright p {
    margin: 0;
}

/* 文章详情页样式 */
.article-detail {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.article-detail h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #999;
}

.article-content {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.article-content h2 {
    margin-top: 35px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
    font-size: 22px;
    color: #333;
}

.article-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 8px;
}

.article-content li::before {
    content: "•";
    position: absolute;
    left: -12px;
    color: #007bff;
}

/* 相关文章样式 */
.related-articles {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
}

.related-articles h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.related-articles h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.related-articles li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #007bff;
}

.related-articles li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-articles li a:hover {
    color: #007bff;
}

/* 文章导航样式 */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-nav a {
    display: flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid transparent;
}

.article-nav a:hover {
    color: #007bff;
    background: #f0f7ff;
    border-color: #e3f2fd;
}

.article-nav .prev-article {
    margin-right: 10px;
}

.article-nav .next-article {
    margin-left: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-detail {
        padding: 20px;
    }
    
    .article-detail h1 {
        font-size: 24px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-content h2 {
        font-size: 20px;
    }
    
    .article-content h3 {
        font-size: 17px;
    }
    
    .related-articles {
        padding: 20px;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-nav a {
        justify-content: center;
    }
}

/* 栏目页面样式 */
.category-page {
    padding: 60px 0;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.category-header h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 通用动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading:before {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    
    .site-description {
        font-size: 1rem;
    }
    
    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
    }
    
    .feature-image {
        width: 100%;
        min-height: 200px;
    }
    
    .feature-content {
        padding: 30px 20px;
    }
    
    .columns-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .article-detail {
        padding: 30px 20px;
    }
    
    .article-detail h1 {
        font-size: 1.8rem;
    }
    
    .banner {
        padding: 80px 0;
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-title {
        font-size: 1.6rem;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-nav .container {
        padding: 15px;
    }
    
    .nav-logo a {
        font-size: 1.3rem;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .btn-register {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-content h2 {
        font-size: 1.6rem;
    }
    
    .column h3 {
        font-size: 1.3rem;
    }
    
    .footer-title {
        font-size: 1.4rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 隐藏滚动条但保留功能 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 文章列表样式 */
.article-list-wrapper {
    margin-top: 30px;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list.large li {
    margin-bottom: 24px;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.article-list.large li a {
    display: block;
    padding: 24px;
    background-color: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.article-list.large li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.article-list.large li a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.article-list.large li a h3 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    transition: color var(--transition);
}

.article-list.large li a:hover h3 {
    color: var(--primary-color);
}

.article-list.large li a p {
    margin: 0 0 16px 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list.large li a .article-date {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--gray-light);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.article-list.large li a:hover .article-date {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 分类头部样式优化 */
.category-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.category-header h1 {
    font-size: 2.2rem;
    margin: 0 0 16px 0;
    color: var(--text-color);
    font-weight: 700;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background-color: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-width: 44px;
    height: 44px;
    box-shadow: var(--shadow-light);
    border: 1px solid transparent;
    font-weight: 500;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

.pagination a.prev, 
.pagination a.next {
    background-color: var(--white);
    color: var(--text-color);
    font-weight: 600;
}

.pagination a.prev:hover, 
.pagination a.next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.pagination a.prev:disabled, 
.pagination a.next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* 响应式文章列表样式 */
@media (max-width: 768px) {
    .article-list-wrapper {
        margin-top: 20px;
    }
    
    .article-list.large li {
        margin-bottom: 20px;
    }
    
    .article-list.large li a {
        padding: 20px;
    }
    
    .article-list.large li a h3 {
        font-size: 1.2rem;
    }
    
    .category-header {
        margin-bottom: 30px;
    }
    
    .category-header h1 {
        font-size: 1.8rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    /* 响应式分页样式 */
    .pagination {
        margin: 30px 0;
        gap: 6px;
    }
    
    .pagination a {
        padding: 8px 12px;
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .pagination span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .article-list.large li a {
        padding: 16px;
    }
    
    .article-list.large li a h3 {
        font-size: 1.1rem;
    }
    
    .article-list.large li a p {
        font-size: 0.95rem;
    }
    
    .category-header h1 {
        font-size: 1.6rem;
    }
    
    .category-header::after {
        width: 60px;
    }
    
    /* 响应式分页样式 */
    .pagination a:not(.prev):not(.next) {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .pagination {
        gap: 4px;
    }
}

/* 动画相关样式 */
.animate-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}