/* 全新极简风格 */
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
  }
  
  body {
    background-color: #f1f3f5;
    color: var(--dark);
    line-height: 1.7;
  }
  
  /* 全新头部样式 */
  .site-header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-brand a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
  }
  
  /* 全新导航样式 */
  .main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }
  
  .main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
  }
  
  .main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
  }
  
  .main-nav a:hover:after {
    width: 100%;
  }
  
  /* 全新内容区域 */
  .main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  /* 全新文章卡片 */
  .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
  }
  
  .article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .card-image {
    height: 200px;
    overflow: hidden;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .article-card:hover .card-image img {
    transform: scale(1.05);
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  .card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 1rem;
  }
  
  /* 全新分类标题 */
  .section-title {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
  }
  
  /* 全新分页 */
  .pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    gap: 0.5rem;
  }
  
  .pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .pagination a:hover {
    background: var(--primary);
    color: white;
  }
  
  /* 全新文章详情页 */
  .article-detail {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .article-header {
    margin-bottom: 2rem;
  }
  
  .article-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
  }
  
  .article-content {
    line-height: 1.8;
  }
  
  .article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
  }
  
  .article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
  }
  
  /* 全新友情链接 */
  .friend-links {
    background: white;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .links-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .links-container a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f1f3f5;
    border-radius: 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .links-container a:hover {
    background: var(--primary);
    color: white;
  }
  
  /* 全新页脚 */
  .site-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
  }
  
  .copyright {
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .header-container {
      flex-direction: column;
      gap: 1rem;
    }
    
    .main-nav ul {
      gap: 1rem;
    }
    
    .article-grid {
      grid-template-columns: 1fr;
    }
    
    .article-title {
      font-size: 1.5rem;
    }
    
    .article-meta {
      flex-direction: column;
      gap: 0.5rem;
    }
  }