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

@media (max-width: 768px) {
  .banner-top {
    height: auto;
  }
}

.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%;
  min-height: 500px;
  background: url('../image/about/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;
}


.title {
  text-align: center;
  margin-top: 110px;
}

.title h2 {
  font-family: PingFang SC;
  font-size: 40px;
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0.94px;
  font-variation-settings: "opsz" auto;
  color: #1D1B1B;
}

.title p {
  margin-top: 30px;
  font-family: PingFang SC;
  font-size: 20px;
  font-weight: normal;
  line-height: 120%;
  text-align: center;
  letter-spacing: 0.94px;
  font-variation-settings: "opsz" auto;
  color: #5B5959;
}

@media (max-width: 768px) {
  .title h2 {
    font-size: 32px !important;
  }

  .title p {
    font-size: 16px !important;
  }
}

/* 数据统计区域 */
.data-statistics {
  padding: 40px 0;
  background-color: #242B25;
  text-align: center;
}

.data-statistics .data-item {
  display: inline-block;
  margin: 0 60px;
  vertical-align: top;
}

.data-statistics .data-item h2 {
  font-family: PingFang SC;
  font-size: 70px;
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0px;
  margin: 0;
  font-variation-settings: "opsz" auto;
  color: #2DBE41;
  display: inline-block;
}

.data-statistics .data-item h6 {
  font-family: PingFang SC;
  font-size: 24px;
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0px;
  margin: 0 0 10px 5px;
  font-variation-settings: "opsz" auto;
  color: #2DBE41;
  display: inline-block;
  padding-top: 6px;
}

.data-statistics .data-item p {
  font-family: PingFang SC;
  font-size: 16px;
  font-weight: normal;
  line-height: 140%;
  letter-spacing: 0px;
  margin: 15px 0 0 0;
  font-variation-settings: "opsz" auto;
  color: #FFFFFF;
}

/* 响应式适配 - 数据统计区域 */
@media (max-width: 768px) {
  .data-statistics {
    height: auto;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .data-statistics .data-item {
    margin: 10px 0;
    width: 45%;
  }

  .data-statistics .data-item h2 {
    font-size: 32px;
  }

  .data-statistics .data-item h6 {
    font-size: 16px;
    padding-top: 3px;
  }

  .data-statistics .data-item p {
    font-size: 14px;
  }

  .tabs {
    justify-content: space-between;
    padding: 0 10px;
    gap: 10px;
  }
}


.score {
  width: 1280px;
  height: 254px;
  border-radius: 30px;
  opacity: 1;
  margin: 80px auto 0;
  background: #FAFAFA;
}

.score-tabs h2 {
  font-family: PingFang SC;
  font-size: 26px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  letter-spacing: 0px;
  margin: 0px auto 40px;
  font-variation-settings: "opsz" auto;
  color: #333333;
}

@media (max-width: 768px) {
  .score {
    width: 100%;
  }

  .score-tabs h2 {
    font-size: 23px;
  }
}

.about {
  display: flex;
  justify-content: space-between;
  width: 1280px;
  margin: 110px auto 110px;
}

.about-tabs {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.about-tabs h2 {
  font-family: PingFang SC;
  font-size: 40px;
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0.94px;

  font-variation-settings: "opsz" auto;
  color: #1D1B1B;
}

.about-tabs p {
  font-family: PingFang SC;
  font-size: 20px;
  font-weight: normal;
  line-height: 140%;
  text-align: justify;
  /* 浏览器可能不支持 */
  letter-spacing: 0em;

  font-variation-settings: "opsz" auto;
  color: #333333;
  width: 546px;
  margin-top: 40px;
}

.about-tabs span {
  font-family: PingFang SC;
  font-size: 20px;
  font-weight: normal;
  line-height: 140%;
  text-align: justify;
  /* 浏览器可能不支持 */
  letter-spacing: 0em;

  font-variation-settings: "opsz" auto;
  color: #333333;
  margin-top: 20px;
}

.about-tabs img {
  width: 546px;
  height: 306px;
  margin-top: 33px;
}

@media (max-width: 768px) {
  .about {
    width: 100%;
    flex-direction: column;
    padding: 20px;
  }

  .about-tabs p {
    width: 100%;

  }
  .about-tabs img {
    width: 100%;
    height: auto;
    margin-top: 33px;
  }
}