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

    :root {
      --primary: #3f51b5;
      --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.2);
    
    }
  
    .logo {
      font-size: 1.8rem;
      font-weight: bold;
      color: var(--primary);
    }
    .logo img {
      width: 80px;
      height: 80px;
    
    }
    /* .nav-links a {
      color: var(--light);
      text-decoration: none;
      margin: 0 1.2rem;
      font-size: 1rem;
      transition: 0.3s;
    } */
    .nav-links a {
        color: #FFC107 !important;
        text-align: center;
        font-size: 2rem;
        position: relative;
        font-weight: bold;
        font-family: 'Impact', 'Arial Black', sans-serif;
        /* letter-spacing: 2px; */
        background: linear-gradient(180deg, #f0e6cc 0%, #ffffff 50%, #ffffff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-stroke: 1px #1c0e09;
        margin: 0 1.2rem;
    }

    .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%, #ffffff 50%, #ffffff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-stroke: 2px #1c0e09;
    }

    .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.30);
    }
    /* 内容层 */
    .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;
      color: #fff;
    }

    .hero p {
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 2rem;
      color: #fff;
    }
    .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%;
      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: #7e82ad;
    }

    .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;
    }

    .board-ship {
            background: #fff;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.1);
        }
       
        .sub-title {
            text-align: center;
            font-size: 18px;
            color: #ebf4ff;
            margin-bottom: 40px;
        }
        .board-ship h2 {
            color: #000;
            margin: 35px 0 18px;
            font-size: 26px;
            border-left: 4px solid #4fd1c5;
            padding-left: 14px;
        }
        .board-ship p {
            font-size: 16px;
            color: #333;
            margin-bottom: 16px;
        }
        .feature-list {
            margin-top: 15px;
            padding-left: 20px;
        }
        .feature-list li {
            font-size: 16px;
            color: #333;
            margin: 12px 0;
            list-style: none;
            position: relative;
            padding-left: 26px;
        }
        .feature-list li::before {
            content: "•";
            color: #4fd1c5;
            font-size: 22px;
            position: absolute;
            left: 0;
            top: -4px;
        }
        .end-tip {
            margin-top: 40px;
            padding: 25px;
            background: rgba(79, 209, 197, 0.1);
            border-radius: 14px;
            border: 1px solid rgba(79, 209, 197, 0.2);
        }
        /* 移动端适配 */
        @media screen and (max-width: 600px) {
          .board-ship  h2 {
                font-size: 22px;
            }
        }


    /* 游戏商城 */
    .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;
      }
    }