@font-face {
  font-family: "快看世界体";
  src: url("../font/kuaikanshijieti20231213.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}



/* 核心样式：图片下划线 */
.custom-underline {
  margin-top: 34px;
  text-decoration: none;
  padding-bottom: 34px;
  background-image: url('../image/index/xhx.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 40px 6px;
}

/* 汉堡菜单样式 */
.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 100;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #242222;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
  }

  /* 汉堡菜单动画类 */
  .transform-rotate-45 {
    transform: rotate(45deg) !important;
    top: 10px !important;
  }

  .opacity-0 {
    opacity: 0 !important;
  }

  .transform-rotate--45 {
    transform: rotate(-45deg) !important;
    top: 10px !important;
  }

  /* 移动端导航样式 */
.mobile-nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 99;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  width: 100%;
  text-align: center;
  font-size: 18px;
  color: #f8f6f6;
}

/* 顶部导航 */
.banner-top {
  height: auto;
  /* 让背景图和颜色叠加 */
  background-blend-mode: multiply;
  position: relative;
  margin-bottom: 1440px;
}

@media (max-width: 768px) {
  .banner-top {
    height: auto;
    margin-bottom: 3230px;
  }
}

.top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  z-index: 1000;
  transition: all 0.3s ease;
  /* 添加过渡动画，使样式变化更平滑 */
}

/* 滚动超过50px时添加的类 */
.top.scrolled {
  position: fixed;
  background-color: #fff;
  /* 设置白色背景 */
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

.top-nav a {
  font-family: PingFang SC;
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0px;
  font-variation-settings: "opsz" auto;
  color: #333333;
}

/* 横幅 */
.banner {
  width: 100%;
  height: 836px;
  min-height: 500px;
  background: url('../image/case/banner-bg.png') no-repeat center/cover;
  background-size: 100% 100%;
  /* 替换成实际 banner 图地址 */
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: 190px 320px;
}


/* 移动端适配 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .top-nav {
    display: none;
  }
  section.banner {
        height: auto;
        min-height: 450px;
        padding: 0 15px;
        background: url('../image/index/wap-banner-bg.png') no-repeat center/cover;
        background-size: cover;
  }
  /* 平板及大屏手机适配 */
  section.banner>h1 {
    font-size: 32px !important;
    margin-top: 110px;
  }

  section.banner>p {
    font-size: 16px !important;
  }

  section.banner>.banner_p {
    font-size: 16px !important;
  }

}

.banner h1 {
  font-family: MiSans;
  font-size: 60px;
  font-weight: 900;
  line-height: 150%;
  text-transform: uppercase;
  letter-spacing: 0em;

  font-variation-settings: "opsz" auto;
  /* 九四玩游戏平台完美 */
  color: #333333;
}

/* 375px以下屏幕适配 */
@media (max-width: 375px) {
  section.banner {
        height: auto;
        min-height: 450px;
        padding: 0 15px;
        background-size: cover;
  }
  section.banner>h1 {
    font-size: 35px !important;
  }

  .banner p {
    font-size: 19px !important;
  }

  .banner_p {
    font-size: 16px !important;
  }

  .top-nav a {
    font-size: 16px;
    margin-left: 10px;
  }

  .tabs .tab-btn {
    width: 170px;
    margin: 5px 0;
    padding: 8px 16px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .solution-item {
    padding: 20px 10px;
  }

  .solution-item p {
    font-size: 20px;
  }
}

.banner p {
  font-family: MiSans;
  font-size: 24px;
  font-weight: normal;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 30px;
  font-variation-settings: "opsz" auto;
  color: #333333;
}

.banner_p {
  font-family: MiSans;
  font-size: 24px;
  font-weight: normal;
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: 0em;
  font-variation-settings: "opsz" auto;
  color: #333333;
}

.banner img {
  display: inline-block;
  margin-top: 23px;
  margin-bottom: 16px;
  text-align: center;
  max-width: 100%;
  height: auto;
}

.banner .btn {
  display: block;
  margin-top: 58px;
  width: 210px;
  height: 62px;
  border-radius: 31px;
  opacity: 1;
  background: #2DBE41;
  padding: 12px 30px;
  background-color: #52B25F;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  
  font-family: PingFang SC;
  font-size: 24px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0em;

  font-variation-settings: "opsz" auto;
  color: #FFFFFF;
  text-shadow: 0px 1px 4px #52B25F;
}

.banner .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.banner .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px #52B25F;
}

.banner .btn:hover::before {
  left: 100%;
}

/* 滚动渐入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  font-family: Alimama FangYuanTi VF;
  font-size: 64px;
  font-weight: bold;
  line-height: 100%;
  letter-spacing: 0em;
  font-variation-settings: "opsz" auto;
  color: #FAFDFC;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.logo-wall {
  width: 1280px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-wall-content{
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 53px;
  margin: 100px auto 0;
}

@media (max-width: 768px) {
  .logo-wall {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px auto;
    top: 203%;
  }
  
  .logo-wall-content{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 20px auto;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .logo-wall {
    top: 2000px;
  }
  

}


/* 贪吃蛇加载动画 - 初始隐藏所有图片 */
.logo-wall-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 贪吃蛇加载动画 - 关键帧 */
@keyframes snakeReveal {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 贪吃蛇加载动画 - 触发显示 */
.logo-wall-content.snake-animation {
  opacity: 1;
  transform: translateY(0);
}

/* 为每个图片添加延迟动画效果 */
.logo-wall-content.snake-animation img {
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  animation: snakeReveal 0.5s ease forwards;
}

/* 为每个图片设置不同的延迟时间，形成贪吃蛇效果 */
.logo-wall-content.snake-animation img:nth-child(1) { animation-delay: 0.05s; }
.logo-wall-content.snake-animation img:nth-child(2) { animation-delay: 0.1s; }
.logo-wall-content.snake-animation img:nth-child(3) { animation-delay: 0.15s; }
.logo-wall-content.snake-animation img:nth-child(4) { animation-delay: 0.2s; }
.logo-wall-content.snake-animation img:nth-child(5) { animation-delay: 0.25s; }
.logo-wall-content.snake-animation img:nth-child(6) { animation-delay: 0.3s; }
.logo-wall-content.snake-animation img:nth-child(7) { animation-delay: 0.35s; }
.logo-wall-content.snake-animation img:nth-child(8) { animation-delay: 0.4s; }
.logo-wall-content.snake-animation img:nth-child(9) { animation-delay: 0.45s; }
.logo-wall-content.snake-animation img:nth-child(10) { animation-delay: 0.5s; }
.logo-wall-content.snake-animation img:nth-child(11) { animation-delay: 0.55s; }
.logo-wall-content.snake-animation img:nth-child(12) { animation-delay: 0.6s; }
.logo-wall-content.snake-animation img:nth-child(13) { animation-delay: 0.65s; }
.logo-wall-content.snake-animation img:nth-child(14) { animation-delay: 0.7s; }
.logo-wall-content.snake-animation img:nth-child(15) { animation-delay: 0.75s; }
.logo-wall-content.snake-animation img:nth-child(16) { animation-delay: 0.8s; }
.logo-wall-content.snake-animation img:nth-child(17) { animation-delay: 0.85s; }
.logo-wall-content.snake-animation img:nth-child(18) { animation-delay: 0.9s; }
.logo-wall-content.snake-animation img:nth-child(19) { animation-delay: 0.95s; }
.logo-wall-content.snake-animation img:nth-child(20) { animation-delay: 1.0s; }
.logo-wall-content.snake-animation img:nth-child(21) { animation-delay: 1.05s; }
.logo-wall-content.snake-animation img:nth-child(22) { animation-delay: 1.1s; }
.logo-wall-content.snake-animation img:nth-child(23) { animation-delay: 1.15s; }
.logo-wall-content.snake-animation img:nth-child(24) { animation-delay: 1.2s; }
.logo-wall-content.snake-animation img:nth-child(25) { animation-delay: 1.25s; }
.logo-wall-content.snake-animation img:nth-child(26) { animation-delay: 1.3s; }
.logo-wall-content.snake-animation img:nth-child(27) { animation-delay: 1.35s; }
.logo-wall-content.snake-animation img:nth-child(28) { animation-delay: 1.4s; }
.logo-wall-content.snake-animation img:nth-child(29) { animation-delay: 1.45s; }
.logo-wall-content.snake-animation img:nth-child(30) { animation-delay: 1.5s; }
.logo-wall-content.snake-animation img:nth-child(31) { animation-delay: 1.55s; }
.logo-wall-content.snake-animation img:nth-child(32) { animation-delay: 1.6s; }
.logo-wall-content.snake-animation img:nth-child(33) { animation-delay: 1.65s; }
.logo-wall-content.snake-animation img:nth-child(34) { animation-delay: 1.7s; }
.logo-wall-content.snake-animation img:nth-child(35) { animation-delay: 1.75s; }
.logo-wall-content.snake-animation img:nth-child(36) { animation-delay: 1.8s; }
.logo-wall-content.snake-animation img:nth-child(37) { animation-delay: 1.85s; }
.logo-wall-content.snake-animation img:nth-child(38) { animation-delay: 1.9s; }
.logo-wall-content.snake-animation img:nth-child(39) { animation-delay: 1.95s; }
.logo-wall-content.snake-animation img:nth-child(40) { animation-delay: 2.0s; }
.logo-wall-content.snake-animation img:nth-child(41) { animation-delay: 2.05s; }
.logo-wall-content.snake-animation img:nth-child(42) { animation-delay: 2.1s; }
.logo-wall-content.snake-animation img:nth-child(43) { animation-delay: 2.15s; }
.logo-wall-content.snake-animation img:nth-child(44) { animation-delay: 2.2s; }
.logo-wall-content.snake-animation img:nth-child(45) { animation-delay: 2.25s; }
.logo-wall-content.snake-animation img:nth-child(46) { animation-delay: 2.3s; }
.logo-wall-content.snake-animation img:nth-child(47) { animation-delay: 2.35s; }
.logo-wall-content.snake-animation img:nth-child(48) { animation-delay: 2.4s; }
.logo-wall-content.snake-animation img:nth-child(49) { animation-delay: 2.45s; }
.logo-wall-content.snake-animation img:nth-child(50) { animation-delay: 2.5s; }
.logo-wall-content.snake-animation img:nth-child(51) { animation-delay: 2.55s; }
.logo-wall-content.snake-animation img:nth-child(52) { animation-delay: 2.6s; }
.logo-wall-content.snake-animation img:nth-child(53) { animation-delay: 2.65s; }
.logo-wall-content.snake-animation img:nth-child(54) { animation-delay: 2.7s; }
.logo-wall-content.snake-animation img:nth-child(55) { animation-delay: 2.75s; }
.logo-wall-content.snake-animation img:nth-child(56) { animation-delay: 2.8s; }
.logo-wall-content.snake-animation img:nth-child(57) { animation-delay: 2.85s; }
.logo-wall-content.snake-animation img:nth-child(58) { animation-delay: 2.9s; }
.logo-wall-content.snake-animation img:nth-child(59) { animation-delay: 2.95s; }
.logo-wall-content.snake-animation img:nth-child(60) { animation-delay: 3.0s; }

