* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Microsoft YaHei', sans-serif;
    }

    :root {
      --primary: #7e22ce;
      --secondary: #06b6d4;
      --dark: #121212;
      --light: #f5f5f5;
      --card-bg: #1e1e1e;
      --white: #fff;
    }

    body {
      background-color: var(--light);
      /* color: var(--dark); */
      overflow-x: hidden;
    }

    /* 导航栏 */
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      /* background: rgba(0,0,0,0.85); */
      backdrop-filter: blur(10px);
      padding: 1rem 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 999;
    }
    nav.scrolled {
      background: rgba(0,0,0,0.5);
      box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .logo {
      font-size: 1.8rem;
      font-weight: bold;
      color: var(--primary);
    }
    .logo img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
    }
    .nav-links a {
      color: var(--light);
      text-decoration: none;
      margin: 0 1.2rem;
      font-size: 1rem;
      transition: 0.3s;
    }

    .nav-links a:hover {
      color: var(--secondary);
    }

    /* 通用容器 */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 6rem 2%;
    }

    .section-title {
      text-align: center;
      font-size: 3.2rem;
      margin-bottom: 3rem;
      color: var(--primary);
      position: relative;
   
  
      font-weight: bold;
      /* 关键：用无衬线模拟手写粗体效果，和原图匹配 */
      font-family: 'Impact', 'Arial Black', sans-serif;
      text-transform: uppercase;
      letter-spacing: 4px;
      /* 米金色渐变填充 */
      background: linear-gradient(180deg, #f0e6cc 0%, #d4b886 50%, #b8956a 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;

      /* 多层描边：内深色描边 + 外白色描边 */
      text-shadow:
        4px 4px 0 #574119,   /* 深棕色粗描边 */
        -1px -1px 0 #574119,
        1px -1px 0 #574119,
        -1px 1px 0 #574119,
        0 4px 0 #574119,
        0 -4px 0 #574119,
        4px 0 0 #574119,
        -4px 0 0 #574119,
        8px 8px 15px rgba(0,0,0,0.4), /* 底部阴影 */
        0 0 10px rgba(255,255,255,0.8); /* 白色外发光 */

      /* 外描边效果，兼容部分浏览器 */
      -webkit-text-stroke: 2px #ffefc8;
    }

    .section-title::after {
      content: '';
      width: 80px;
      height: 3px;
      background: var(--secondary);
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
    }

    /* 英雄区 / 游戏介绍 */
    /* ========== Hero 背景轮播 ========== */
    .hero {
      height: 100vh;
      position: relative;
      overflow: hidden;
    }
    .hero-logo{
        width: 400px;
        height: auto;
    }
    .hero-bg-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1s ease;
    }
    .hero-bg-slide.active {
      opacity: 1;
    }
    /* 遮罩 */
    .hero-bg-slide::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.75);
    }
    /* 内容层 */
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 5%;
      align-items:flex-start;
    }
    /* Hero 底部圆点指示器 */
    .hero-dots {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 12px;
      z-index: 3;
    }
    .hero-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      cursor: pointer;
      transition: 0.3s;
    }
    .hero-dot.active {
      background: var(--primary);
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      line-height: 1.2;
    }

    .hero p {
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 2rem;
      color: #ccc;
    }
    .btn {
      padding: 1rem 2.5rem;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 50px;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.3s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-blue {
      background: var(--secondary);
    }
    .btn:hover {
      background: var(--secondary);
      transform: translateY(-3px);
    }

   

    /* 角色展示 */
    .characters {
      /* background: #151515; */
    }
    .char-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
     
      margin: 0 auto;
    }

    .char-item {
      background: var(--white);
      border-radius: 10px;
      overflow: hidden;
      padding: 0.5rem;
      transition: 0.3s;
    }

    .char-item:hover {
      transform: scale(1.03);
    }

   
    /* ========== 四格漫画 轮播样式 ========== */
   
    /* 轮播外层容器 */
    .char-carousel {
      position: relative;
    
      margin: 0 auto;
      overflow: hidden;
    }
    /* 轮播轨道 */
    .char-track {
      display: flex;
      transition: transform 0.5s ease;
    }
    /* 单组四格漫画 */
    .char-slide {
      min-width: 100%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      padding: 0 1rem;
    }
    .char-item {
      /* background: var(--card-bg); */
      border-radius: 10px;
      overflow: hidden;
      padding: 0.5rem;
      transition: 0.3s;
    }
    .char-item:hover {
      transform: scale(1.03);
    }
    .char-item img {
      width: 100%;
      height: 220px;
      object-fit: contain;
      border-radius: 8px;
    }
    /* 左右切换按钮 */
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(139,139,139,0.7);
      color: #fff;
      border: none;
      font-size: 18px;
      cursor: pointer;
      z-index: 10;
      transition: 0.3s;
    }
    .carousel-btn:hover {
      background: var(--primary);
    }
    .prev-btn {
      left: 10px;
    }
    .next-btn {
      right: 10px;
    }
    /* 指示器小圆点 */
    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 2rem;
    }
    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #444;
      cursor: pointer;
      transition: 0.3s;
    }
    .dot.active {
      background: var(--primary);
    }



    /* 四格漫画 */
    .comic {
      padding: 6rem 2%;
      background: #e4f3ff;
    }

    .comic-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      max-width: 800px;
      margin: 0 auto;
    }

    .comic-item {
      background: var(--card-bg);
      border-radius: 10px;
      overflow: hidden;
      padding: 0.5rem;
      transition: 0.3s;
    }

    .comic-item:hover {
      transform: scale(1.03);
    }

    .comic-item img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 8px;
    }

    /* APK下载 */
    .download {
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      text-align: center;
    }

    .download-box {
      background: rgba(255,255,255,0.05);
      padding: 3rem;
      border-radius: 20px;
      max-width: 600px;
      margin: 0 auto;
    }

    .download-box p {
      margin-bottom: 2rem;
      font-size: 1.1rem;
      color: #ccc;
    }

    /* 游戏商城 */
    .shop {
      background: #151515;
    }

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

    .shop-card {
      background: var(--card-bg);
      border-radius: 15px;
      overflow: hidden;
      transition: 0.3s;
    }

    .shop-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .shop-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .shop-info {
      padding: 1.5rem;
    }

    .shop-info h3 {
      margin-bottom: 0.5rem;
    }

    .price {
      color: var(--secondary);
      font-size: 1.3rem;
      font-weight: bold;
      margin: 1rem 0;
    }

   

    /* 响应式 */
    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .hero h1 {
        font-size: 2.2rem;
      }
      .comic-grid {
        grid-template-columns: 1fr;
      }
      .char-content {
        flex-direction: column;
        text-align: center;
      }
    }