body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #F9FAFB;
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }

  /* 滚动动画基础样式 */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
  }

  .page-header {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
   
  }


  .page-title {
    font-size: 32px;
    color: #4CAF50;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-image-slice: 1;
    position: relative;
    display: inline-block;
  }

  .page-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #8BC34A, #4CAF50);
    transition: width 0.5s ease;
  }

  .page-header:hover .page-title::after {
    width: 100%;
  }

  .page-subtitle {
    color: #666;
    font-size: 16px;
    margin-top: 10px;
  }

  .news-container {
    display: flex;
    gap: 20px;
  }

  .news-main {
    flex: 3;
  }

  .news-sidebar {
    flex: 1;
  }

  .section {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
  }

  .section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
  }

  .section-title {
    font-size: 20px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
  }

  .news-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
  }

  .news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #4CAF50, #8BC34A);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .news-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 0 20px rgba(76, 175, 80, 0.1);
  }

  .news-item:hover::before {
    opacity: 1;
  }

  .news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .news-image {
    width: 160px;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
  }

  .news-item:hover .news-image {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

  .news-item:hover .news-image::after {
    left: 100%;
  }

  .news-content {
    flex: 1;
  }

  .news-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
  }

  .news-title a {
    color: inherit;
    text-decoration: none;
  }

  .news-title a:hover {
    color: #4CAF50;
  }

  .news-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .news-meta {
    display: flex;
    font-size: 12px;
    color: #999;
  }

  .news-date {
    margin-right: 15px;
  }

  .news-category {
    background-color: #e8f5e9;
    color: #4CAF50;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .featured-news {
    margin-bottom: 30px;
  }

  .featured-image {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .featured-news:hover .featured-image {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .featured-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
  }

  .featured-title a {
    color: inherit;
    text-decoration: none;
  }

  .featured-title a:hover {
    color: #4CAF50;
  }

  .featured-excerpt {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .popular-news-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: transform 0.3s ease, padding-left 0.3s ease;
    position: relative;
  }

  .popular-news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transform: translateY(-50%);
    transition: width 0.3s ease;
  }

  .popular-news-item:hover {
    transform: translateX(5px);
    padding-left: 10px;
  }

  .popular-news-item:hover::before {
    width: 5px;
  }

  .popular-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .popular-news-number {
    font-size: 20px;
    font-weight: bold;
    color: #f37b1d;
    margin-right: 10px;
    min-width: 30px;
  }

  .popular-news-content {
    flex: 1;
  }

  .popular-news-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.4;
  }

  .popular-news-title a {
    color: inherit;
    text-decoration: none;
  }

  .popular-news-title a:hover {
    color: #4CAF50;
  }

  .popular-news-meta {
    font-size: 12px;
    color: #999;
  }

  .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .category-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    transition: transform 0.3s ease;
    position: relative;
  }

  .category-item:hover {
    transform: translateX(5px);
  }

  .category-count {
    color: #999;
    font-size: 14px;
    background-color: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .category-item:hover .category-count {
    background-color: #4CAF50;
    color: white;
    transform: scale(1.1);
  }

  .category-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .category-link {
    color: #333;
    text-decoration: none;
  }

  .category-link:hover {
    color: #4CAF50;
  }

  .category-count {
    color: #999;
    font-size: 14px;
  }

  @media (max-width: 768px) {
    .news-container {
      flex-direction: column;
    }
    
    .news-item {
      flex-direction: column;
    }
    
    .news-image {
      width: 100%;
      height: 180px;
      margin-right: 0;
      margin-bottom: 15px;
    }
    
    .featured-image {
      height: 250px;
    }
    
    .page-title {
      font-size: 24px;
    }
    
    .section {
      padding: 15px;
    }
  }

  /* 添加加载动画 */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
  }

  /* 应用动画到关键元素 */
  .page-header {
    animation: fadeInUp 0.8s ease-out;
  }

  .section {
    animation: fadeInUp 0.6s ease-out;
  }

  /* 添加新闻内容的悬停效果 */
  .news-content:hover .news-title {
    color: #4CAF50;
    transition: color 0.3s ease;
  }

  /* 添加链接的平滑过渡 */
  a {
    transition: all 0.3s ease;
  }
