/* 蜘蛛池系统前端样式 - 统一版本 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 统一导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 0;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

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

.nav-menu li {
    margin: 0 2px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 15px 18px;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
    font-size: 14px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.nav-menu a.active {
    background: rgba(255,255,255,0.3);
}

/* 移动端导航 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .logo {
        padding: 10px 0;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .nav-menu a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* 主要内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 20px;
    }
}

.content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
}

/* 文章样式 */
.article-detail h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-meta span {
    margin-right: 15px;
}

.article-meta i {
    margin-right: 5px;
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.article-content h2 {
    color: #2c3e50;
    margin: 30px 0 20px 0;
    font-size: 24px;
}

.article-content h3 {
    color: #34495e;
    margin: 25px 0 15px 0;
    font-size: 20px;
}

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

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.article-content pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 15px 0;
}

/* 首页文章卡片 */
.link-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.link-card h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.link-card h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.link-card h2 a:hover {
    color: #3498db;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.read-more:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 侧边栏 */
aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

aside .link-card {
    padding: 20px;
}

aside .link-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.category-list a:hover {
    color: #2980b9;
}

.recommended-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recommended-list a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s;
}

.recommended-list a:hover {
    color: #2980b9;
}

/* 热门标签 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.tag:hover {
    background: #3498db;
    color: white;
}

/* 学习资源 */
.resource-links {
    font-size: 14px;
    line-height: 1.8;
}

.resource-links > div {
    margin-bottom: 6px;
}

.resource-links a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.resource-links a:hover {
    color: #2980b9;
}

/* 相关推荐 */
.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-articles .link-card {
    padding: 15px;
    margin-bottom: 0;
}

.related-articles h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.related-articles h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.related-articles h4 a:hover {
    color: #3498db;
}

.related-articles p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* 最新文章列表 */
.recent-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-article-item {
    padding: 15px;
    border-left: 3px solid #3498db;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s;
}

.recent-article-item:hover {
    background: #e8f4fd;
    transform: translateX(5px);
}

.recent-article-item h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.recent-article-item h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.recent-article-item h3 a:hover {
    color: #3498db;
}

.recent-article-item .article-meta {
    font-size: 12px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 页脚 */
.footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer p {
    margin: 0;
    line-height: 1.6;
}

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

.footer a:hover {
    color: white;
}

/* 首页特定样式 */
.homepage-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.homepage-header h1 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 15px;
}

.homepage-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.featured-articles {
    margin-bottom: 50px;
}

.featured-articles > h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

.recent-section {
    margin-top: 50px;
}

.recent-section > h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.article-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-excerpt {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 页脚容器 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container p {
    margin: 5px 0;
}

.footer-container p:first-child {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-container p:last-child {
    font-size: 14px;
    color: #bdc3c7;
}

/* About页面样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.section h2 {
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.stat-card .value {
    font-size: 2.5em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-card .label {
    color: #666;
    font-size: 1.1em;
    font-weight: 500;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-3px);
}

.team-member .avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    margin: 0 auto 20px auto;
    font-weight: bold;
}

.team-member h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.3em;
}

.team-member .role {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 15px;
}

.team-member .bio {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.team-member .expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.timeline {
    position: relative;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 45%;
    position: relative;
}

.timeline-year {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-3px);
}

.contact-card .icon {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 20px;
    display: block;
}

.contact-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.contact-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* About页面特殊文本样式 */
.about-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.about-list {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tech-category h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 5px 0;
    color: #666;
}

.tech-list li:before {
    content: "→";
    color: #667eea;
    margin-right: 10px;
    font-weight: bold;
}

/* Footer样式 */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer p {
    margin-bottom: 5px;
}

.footer a {
    color: #667eea;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-text {
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.8;
}

/* Tutorials页面样式 */
.filters {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    font-weight: 600;
    margin-right: 15px;
    color: #2c3e50;
    min-width: 80px;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9em;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tutorial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.tutorial-content {
    padding: 25px;
}

.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tutorial-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.tutorial-level {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.tutorial-level.初级 {
    background: #e8f5e8;
    color: #2e7d32;
}

.tutorial-level.中级 {
    background: #fff3e0;
    color: #f57c00;
}

.tutorial-level.高级 {
    background: #ffebee;
    color: #c62828;
}

.tutorial-title {
    font-size: 1.35em;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

.tutorial-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #888;
}

.tutorial-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tutorial-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.tutorial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.stats-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 40px;
    text-align: center;
}

.stats-section h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.8em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #666;
    font-size: 1.1em;
    font-weight: 500;
}

/* 图标样式 */
.icon-clock:before { content: "⏱️"; }
.icon-tag:before { content: "🏷️"; }

/* Tools页面样式 */
.tool-category {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.category-icon {
    font-size: 2.5em;
    margin-right: 15px;
}

.category-header h2 {
    color: #2c3e50;
    font-size: 1.8em;
    font-weight: 600;
    margin: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tool-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.tool-name {
    color: #2c3e50;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.tool-desc {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.tool-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9em;
}

.tool-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.tool-suggestions {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.tool-suggestions h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 600;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.suggestion-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: transform 0.3s;
}

.suggestion-card:hover {
    transform: translateY(-3px);
}

.suggestion-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
}

.suggestion-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Blog页面样式 */
.blog-filters {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blog-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.blog-date {
    color: #888;
    font-size: 0.9em;
    font-weight: 500;
}

.blog-title {
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.4;
}

.blog-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #667eea;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.author-name {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9em;
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #888;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.popular-tags {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.popular-tags h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 600;
    text-align: center;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag-cloud-item {
    background: #f8f9fa;
    color: #495057;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s;
}

.tag-cloud-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2em;
    }
    
    .hero-section p {
        font-size: 1.1em;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        width: 80%;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-group label {
        margin-bottom: 10px;
        min-width: auto;
    }
    
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .suggestions-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-category {
        padding: 20px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .post-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .blog-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .popular-tags {
        padding: 20px;
    }
    
    .tags-cloud {
        justify-content: flex-start;
    }
}

/* Article页面样式 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.page-header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    color: #666;
    font-size: 1.1em;
    margin: 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.main-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.categories {
    background: #f8f9fa;
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.categories h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 600;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-item {
    padding: 8px 16px;
    background: #e9ecef;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.category-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.articles-grid {
    padding: 30px;
}

.article-card {
    border-bottom: 1px solid #f0f0f0;
    padding: 30px 0;
    transition: all 0.3s;
}

.article-card:last-child {
    border-bottom: none;
}

.article-card:hover {
    transform: translateY(-3px);
    padding-left: 10px;
}

.article-title {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #667eea;
}

.article-meta {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    font-weight: 500;
}

.article-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 25px;
}

.sidebar-card h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background: #f8f9fa;
    color: #495057;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

.tag-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
}

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

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

.recommended-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.recommended-list a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9em;
    line-height: 1.5;
    transition: color 0.3s;
}

.recommended-list a:hover {
    color: #667eea;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}

.pagination a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
}

.pagination .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state h3 {
    color: #999;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.empty-state p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Article内容样式 */
.article-content p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.7;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    margin: 20px 0;
    padding: 20px 25px;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-content ul, 
.article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tag {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    padding: 6px 12px;
    margin: 5px 5px 5px 0;
    border-radius: 15px;
    font-size: 0.85em;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.related-articles {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .category-list {
        justify-content: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        padding: 8px 12px;
        font-size: 0.9em;
    }
}
