/* 全局通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a,a:hover{
    text-decoration: none;
}
i,em{
    font-style: normal;
}
.u-more-btn {
    width: 100%;
    height: auto;
    padding: 10px 0;
    font-size: 15px;
    font-weight: normal;
    color: #999;
    text-align: center;
    display: none;
    overflow: hidden;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f8fafc;
    line-height: 1.6;
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.header-title img {
    height: 40px;
}
.title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    letter-spacing: -0.5px;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    background-color: rgba(255,255,255,0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
}

.search-btn {
    padding: 10px 20px;
    background-color: #6d28d9;
    border: none;
    color: #fff;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #5b21b6;
}

.nav-bar {
    display: flex;
    margin-top: 15px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
}

.nav-bar::-webkit-scrollbar {
    display: none;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    background-color: rgba(255,255,255,0.1);
}

.nav-item.active,
.nav-item:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

/* 页脚样式 */
.footer {
    background-color: #1a202c;
    color: #94a3b8;
    padding: 30px 0;
    margin-top: 40px;
    font-size: 13px;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 15px;
}

.footer-link {
    margin-right: 15px;
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    font-size: 12px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.btn:hover {
    background-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-download {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2dd4bf;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(45, 212, 191, 0.2);
}

.btn-download:hover {
    background-color: #14b8a6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

/* 卡片通用样式 */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .title-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .site-title {
        margin-bottom: 10px;
        text-align: center;
        font-size: 22px;
    }
    
    .search-box {
        max-width: 100%;
        margin: 10px 0;
    }
    
    .nav-bar {
        margin-top: 10px;
        justify-content: flex-start;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* PC端样式 */
@media (min-width: 769px) {
    .container {
        padding: 0 25px;
    }
    
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
    }
}