/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  /* 全局文本样式 */
  h1, h2 {
    color: #333; /* 主标题颜色 */
    text-align: center;
    margin: 20px 0;
  }
  p {
    color: #666; /* 正文颜色 */
    line-height: 1.6;
  }
  
  /* 链接样式 */
  a {
    text-decoration: none;
    color: inherit;
  }
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.8); /* 半透明背景 */
    padding: 15px 0;
  }
  .nav-list {
    display: flex;
    flex-direction: column; /* 手机端垂直排列 */
    align-items: center;
    list-style: none;
    gap: 10px;
  }
  /* PC端导航横向排列 */
  @media (min-width: 1024px) {
    .nav-list {
      flex-direction: row;
      justify-content: space-around; /* 均匀分布 */
    }
  }
  .hero {
    height: 100vh; /* 占满屏幕高度 */
    background: url('../img/hero-bg.jpg') center/cover no-repeat; /* 背景图 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }
  .start-btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 18px;
    background: #ff6b00;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s; /* 悬停动画 */
  }
  .start-btn:hover {
    transform: scale(1.05); /* 轻微放大 */
  }
  .guide-steps {
    display: flex;
    flex-direction: column; /* 手机端垂直排列 */
    gap: 30px;
    padding: 20px;
  }
  .step {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .step img {
    width: 50px;
    height: 50px;
  }
  /* PC端3个步骤横向排列 */
  @media (min-width: 1024px) {
    .guide-steps {
      flex-direction: row;
      justify-content: space-around; /* 均匀分布 */
    }
  }
  .screenshot-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
  }
  .screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: opacity 0.5s; /* 切换时淡入淡出 */
  }
  .prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
  }
  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }

  /* 按钮悬停效果 */
.prev-btn:hover, .next-btn:hover {
  background: rgba(0,0,0,0.6);
}
  .rank-items {
    list-style: none;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
  }
  .rank-items li {
    display: flex;
    justify-content: space-between; /* 排名、昵称、分数分居左右 */
    padding: 10px;
    margin: 10px 0;
    background: #f5f5f5;
    border-radius: 5px;
  }
  .rank-items li span:first-child {
    font-weight: bold;
    color: #ff6b00; /* 排名标红 */
  }
  .navbar-solid { background: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }