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

/* 核心样式：图片下划线 */
.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;
  /* 调整图片大小（宽度 高度） */
}


a {
  text-decoration: none;
  color: inherit;
}


/* 汉堡菜单样式 */
.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;
}

/* 背景图动画 */
@keyframes bgAnimation {
  0% {
    background-position: center center;
    background-size: 100% cover;
  }

  50% {
    background-position: center 10%;
    background-size: 105% cover;
  }

  100% {
    background-position: center center;
    background-size: 100% cover;
  }
}

/* 顶部导航 */
.banner-top {
  background: url('../image/server/banner-bg.png') no-repeat center/cover;
  /* background-color: rgba(26, 22, 22, 0.7); */
  /* background: linear-gradient(0deg, rgba(255, 246, 229, 0) 0%, #FFF6E3 100%); */

  height: auto;
  min-height: 910px;
  /* 让背景图和颜色叠加 */
  background-blend-mode: multiply;
  /* 应用动画 */
  /* animation: bgAnimation 20s ease-in-out infinite; */
}

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

.top {

  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 20px 0px 20px;
  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;
  padding: 10px 20px 0px 20px;
  gap: 62px;
}

.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: #CCCCCC;
}

/* 横幅 */
.banner {
  width: 100%;
  margin-left: 310px;
  /* 替换成实际 banner 图地址 */
  color: #fff;
  /* padding: 60px 20px; */
  margin-top: 138px;
  text-align: left;
}


/* 移动端适配 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .top-nav {
    display: none;
  }

  /* 平板及大屏手机适配 */
  section.banner>h1 {
    font-size: 45px !important;
  }

  section.banner>p {
    font-size: 20px !important;
    text-align: center;
  }

  section.banner>.banner_p {
    font-size: 21px !important;
  }

  section.banner {
    width: 100%;
    margin: 138px auto !important;
    text-align: center;
  }

  section.banner .btn {
    margin: 58px auto;
  }


}

.banner h1 {
  font-family: MiSans;
  font-size: 60px;
  font-weight: 900;
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: 0em;

  font-variation-settings: "opsz" auto;
  /* 九四玩游戏平台完美 */
  color: #FFF;
}

/* 375px以下屏幕适配 */
@media (max-width: 375px) {
  section.banner>h1 {
    font-size: 35px !important;
    color: #FF9D1F !important;
    /* 临时测试颜色 */
  }

  .banner p {
    font-size: 19px !important;
  }

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

  .top-nav a {
    font-size: 16px;
    margin-left: 10px;
  }

  .data-statistics .data-item {
    margin: 0 15px;
  }

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

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

  .top-nav a {
    font-size: 16px;
    margin-left: 10px;
  }

  .banner h1 {
    font-size: 35px;
  }

  .banner p {
    font-size: 19px;
  }

  .banner_p {
    font-size: 16px;
  }

  .data-statistics .data-item {
    margin: 0 15px;
  }

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

  .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 {
  margin-top: 30px;
  font-family: MiSans;
  font-size: 34px;
  font-weight: normal;
  line-height: 100%;
  text-align: left;
  letter-spacing: 0.04em;

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

.banner_p {
  font-family: MiSans;
  font-size: 26px;
  font-weight: 900;
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: 0em;
  font-variation-settings: "opsz" auto;
  color: #FF9D1F;
}

.banner img {
  display: inline-block;
  /* 保持原有尺寸的同时支持居中 */
  height: 6px;
  margin-top: 23px;
  margin-bottom: 16px;
  text-align: center;
  max-width: 100%;
  height: auto;
}

.banner .btn {
  display: block;
  /* 改为块级元素以便使用margin居中 */
  margin-top: 58px;
  /* 距离底部134px，水平居中 */
  width: 210px;
  height: 62px;
  border-radius: 12px;
  opacity: 1;
  border: 2px solid;
  background: #FF9D1F;
  border-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFF1E8 100%) 0;
  /* box-shadow: 0px 4px 10px 0px #FFE2BC, inset 0px 0px 20px 0px rgba(255, 112, 64, 0.81); */
  padding: 12px 30px;
  background-color: #ffc107;
  color: #FFFFFF;
  font-family: PingFang SC;
  font-size: 30px;
  font-weight: normal;
  line-height: 100%;
  letter-spacing: 0em;
  text-align: center;
  /* 按钮内部文字居中 */
  transition: all 0.3s ease;
  text-shadow: 0px 1px 6px rgba(237, 129, 41, 0.84);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.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 rgba(255, 193, 7, 0.4);
}

.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 {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 80px;
}

.title h2 {
  opacity: 1;
  font-family: PingFang SC;
  font-size: 38px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0.94px;
  text-align: center;
}

/*移动端适配 */
@media (max-width: 768px) {
  .title {
    margin-top: 60px;
    margin-bottom: 40px;
  }

  .title h2 {
    font-size: 28px;
    letter-spacing: 0.7px;
  }
}

@media (max-width: 480px) {
  .title {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .title h2 {
    font-size: 24px;
    letter-spacing: 0.5px;
  }
}

.container {
  max-width: 1080px;
  margin: 40px auto;
  padding: 0 20px;
}

.certificate-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: nowrap;
}


@media (max-width: 992px) {
  .certificate-card {
    flex: 0 0 calc(50% - 20px);
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .certificate-list {
    gap: 20px;
    flex: 1 1 calc(50% - 20px) !important;
    min-width: 120px !important;
    flex-wrap: wrap;
  }
  .certificate-card {
    flex: 1 1 calc(50% - 20px) !important;
    min-width: 120px !important;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .certificate-list {
    gap: 15px;
  }
  .certificate-card {
    flex: 0 0 calc(50% - 7.5px);
    min-width: auto;
  }
}

@media (max-width: 376px) {
  .certificate-list {
    gap: 10px;
  }
  .certificate-card {
    flex: 0 0 calc(50% - 5px);
    min-width: auto;
  }

  .certificate-icon {
    margin: 18px 0px 0 0px;
  }

  .certificate-icon img {
    width: 50px;
    height: 50px;
  }

  .certificate-desc {
    font-size: 14px;
    margin: 0 8px 18px 8px;
  }
}

.certificate-card {
  flex: 1 1 calc(25% - 20px);
  min-width: 240px;
  background-color: #fff9f0;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transform-origin: top left;
  background: linear-gradient(180deg, #FFF8EF -1%, #FFFFFF 99%);
  border: 0px solid #FFFFFF;
  box-shadow: 0px 10px 30px 0px #F7F0EB;
}

.certificate-icon {
  margin: 36px 50px 0 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
}

.certificate-title {
  font-family: PingFang SC;
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  text-align: center;
  letter-spacing: 0px;

  font-variation-settings: "opsz" auto;
  color: #333333;
  margin-bottom: 10px;

}

.certificate-desc {
  font-family: PingFang SC;
  margin: 0 14px 50px 14px;
  font-size: 16px;
  font-weight: normal;
  line-height: 120%;
  text-align: justify;
  /* 浏览器可能不支持 */
  letter-spacing: 0em;

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