@font-face {
  font-family: 'BalooChettan2';
  src: url('https://img.cacheserv.com/web/H5/activity/fonts/BalooChettan2-Regular.woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BalooChettan2B';
  src: url('https://img.cacheserv.com/web/H5/activity/fonts/BalooChettan2-Bold.ttf');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
html,
body {
  width: 100%;
  height: 100%;
}

#app {
  font-family: YuantiSC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-user-select: none;
  -webkit-user-select: none;
  height: 100%;
  position: relative;
  /* display: none; */
}

a,
a:hover {
  text-decoration: none;
  color: #131415;
}


/*home*/

.lazyload {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.home-con{
  display: flex;
  flex-direction: column;
  /* background-color: #ffbb3d; */
  min-height: 100vh;
}
.home-header{
  position: fixed;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0 100px;
  display: flex;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  vertical-align: middle;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.85);
}
.home-header .left{
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-header .left img{
  /* width: 101px; */
  height: 30px;
}

.home-header_logo{
  display: block;
  width: 42px;
  height: 42px;
  background: url('https://img.cacheserv.com/web/Hay/home/hay/hay-logo@3x.png');
  background-size: cover;
  margin-right: 7.5px;
}
.home-header_link {
  margin: 0 10px;
  height: 25px;
  line-height: 25px;
  vertical-align: middle;
  text-align: center;
  font-family: BalooChettan2;
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
}
.home-header_link:link,
.home-header_link:visited,
.home-header_link:hover,
.home-header_link:active{
  color: rgba(0, 0, 0, 0.8);
}
.home-banner{
  width: 100%;
  height: 900px;
  background: #B7F3FF url('https://img.cacheserv.com/web/hayfun/banner.png');
  background-size: 100% auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.home-text-bg{
  width: 680px;
  height: 249px;
  box-sizing: border-box;
  margin: 0 auto;
  object-fit: cover;
  background: url('../img/invalid-name@3x.png');
  background-size: cover;
}

.home-middle{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.home-piece_con{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.home-title {
text-shadow: 0 3px 0 #000;
-webkit-text-stroke: 4px #000;
font-family: SFPixelate;
font-size: 80px;
font-weight: bold;
color: #ffc400;
}
.home-title-desc{
  -webkit-text-stroke: 3px #000;
  font-family: SFPixelate;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin-top: 24px;
}
.home-app_content{
  max-width: 900px;
  font-family: BalooChettan2;
  font-size: 18px;
  margin: 0 auto;
}

.home-title2 {
  text-align: center;
  word-wrap: break-word;
  font-family: BalooChettan2;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
}


.hay-bg-right{
  width: 10.5%;
  /* width: 172px;
  height: 525px; */
  object-fit: contain;
}
.home-video_promotional{
  width:100%;
}
.home-h1-content{
  margin-left: 20px;
  width: 465px;
  font-family: BalooChettan2;
  font-size: 20px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #806200;
}
.home-video_button{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: transparent url(/images/home/video-play.png) no-repeat center / 80px;
  border: none;
  outline: none;
  opacity: 0.75;
  cursor: pointer;
}

.home-video_play{
  background: transparent none;
}
.home-video_play:hover{
  background: transparent url(/images/home/video-pause.png) no-repeat center / 80px;
}

.home-video_pause{
  background: transparent none;
}
.home-video_pause:hover{
  background: transparent url(/images/home/video-play.png) no-repeat center / 80px;
}

.home-h2-title{
  padding: 0 10px;
  margin: 50px 0 40px;
  font-family: BalooChettan2;
  font-size: 40px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
}

.home-main_con{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-direction: column;
  background: url('https://img.cacheserv.com/web/hayfun/bg1.png');
  background-size: cover;

}
.home-des-area{
  margin-top: 86px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.product-image{
  width: 500px;
  height: 500px;
  margin-right: 126px;

}
.home-chat_con .product-image{
  margin-right: 0;
  margin-left: 126px;
}

/* 定义关键帧 */
@keyframes moveTop {
  to { transform: translateY(0); }
}
.home-chat_con{
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  background: url('https://img.cacheserv.com/web/hayfun/bg2.png');
  background-size: cover;
}
.home-chat-title{
  height: 53px;
  margin-bottom: 40px;
}

.home-main_content {
  display: inline-block;
  vertical-align: middle;
  text-align: left;

  width: 100%;
  margin: 8px 0 40px;
  font-family: BalooChettan2;
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}
.home-chat-safety{
  width: 563px;
  box-sizing: border-box;
  padding: 38px 38px 36px;
  margin-top: 20px;
  position: relative;
}
.home-chat-safety:last-child{
  width: 612px;
}
.home-border{
  background-color: #fff4e4;
  border-image-source:url('https://img.cacheserv.com/web/Hay/home/hay/hay-bg_h5.png');
  border-image-slice:2 2 4 2;
  border-image-width:2px 2px 4px 2px;
  border-image-outset:2px 2px 4px 2px;
  border-image-repeat:stretch;
}
.home-chat-safety:first-child{
  transform: translateX(70px);
  margin-top: 28px;
}
.hay-safety{
  position: absolute;
  width: 81px;
  height: 50px;
  top: -17px;
  left: -36px;
}
.hay-experience{
  position: absolute;
  width: 72px;
  height: 72px;
  bottom: -7px;
  right: -24px
}
.home-title-discover{
  font-family: BalooChettan2B;
  font-size: 24px;
  font-weight: bold;
  color: #131415;
  text-align: left;
}
.home-des_item{
  width: 563px;
  /* height: 236px; */
  /* flex: 1; */
  box-sizing: border-box;
  padding: 40px;
  /* transform: translateY(220px); */
}
.home-des-title {
  margin-bottom: 40px;
  font-size: 35px;
  line-height: 1.17;
  color: #131415;
}
.home-des-img{
  width: 250px;
  height: 240px;
  display: block;
  margin: 0 auto;
}
.home-des_content {
  font-size: 18px;
  color: rgba(19, 20, 21, 0.6);
  text-align: left;
}

.home-discover_con{
  text-align: center;
  margin: 0 auto;
}
.home-discover-img{
  display: block;
  height: 508px;
  margin-right: 8px;
  transform: translateX(-600px);
}
.home-chat-right {
  transform: translateX(600px);
}
/* 定义关键帧 */
@keyframes moveX {
  to { transform: translateX(0); }
}

.home-des-discover{
  margin-top: 20px;
  text-align: left;
  font-family: BalooChettan2;
  font-size: 18px;
  font-weight: 500;
  color: rgba(19, 20, 21, 0.6);
}

.home-start_button {
  opacity: 1;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  width: 482px;
  height: 75px;
  line-height: 75px;
  vertical-align: middle;
  font-family: BalooChettan2;
  font-size: 24px;
  color: #000;
  background: url("../images/home/hay/invalid-name@3x.png") no-repeat;
  background-size: 482px 75px;
}

.home-start_button_hl {
  margin-top: 20px;
  cursor: pointer;
  display: inline-block;
  width: 482px;
  height: 75px;
  line-height: 75px;
  vertical-align: middle;
  font-size: 24px;
  color: #fff;
  font-family: BalooChettan2;
  background: url("../images/home/hl/free-video-chat.png") no-repeat;
  background-size: 482px 75px;
}
.home-footer{
  display: flex;
  flex-direction: column;
}
.home-fan-list{
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url('https://img.cacheserv.com/web/Hay/home/hay/hay-bg-2.png');
  background-size: cover;
}
.home-fan-list .home-chat-title{
  margin-bottom: 40px;

}
.hay-score{
position: absolute;
top:0;
left:0;
width: 100%;
box-sizing: border-box;
height: 54px;
background-color: #f8f8f8;
display: flex;
align-items: center;
justify-content: center;
}
.hay-score img{
  height: 30px;
}
.home-des-fan{
  display: inline-block;
  text-align: left;
  font-family: BalooChettan2;
  font-size: 16px;
  font-weight: 600;
  color: #806200;
}

.home-fan_con{
  width: 100%;
  text-align: center;
  -ms-overflow-style: none;  /* IE 和 Edge */
  scrollbar-width: none;     /* Firefox */
  overflow: -moz-scrollbars-none; /* Old Firefox */
  overflow-x: scroll;
}
/* 隐藏滚动条但保留滚动功能 */
.home-fan_con::-webkit-scrollbar {
  display: none; /* 对于 WebKit 浏览器（如 Chrome 和 Safari） */
}

.home-fan_item-area{
  display: inline-flex;
  flex-wrap: nowrap;
  box-sizing: border-box;
  padding: 2px 20px 4px 0;
  justify-content: center;
}
.home-fan_item{
  box-sizing: border-box;
  margin-left: 20px;
  padding: 71px 18px 16px;
  width: 400px;
  text-align: left;
  font-family: BalooChettan2;
  font-size: 18px;
  color: #131415;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: #FFF !important;
  
}

.home-fan_user{
  width: fit-content;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 20px;
  box-sizing: border-box;
  margin-bottom: 17px;
  
}
.home-fan_header{
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.home_fan_name{
  font-weight: bold;
  margin-left: 8px;
  font-family: BalooChettan2B;
  font-size: 16px;
  color: #131415;
 
}
.home-download{
  margin-top: 40px;
}
.home-download-text{
  margin: 20px 0 18px;
  font-family: BalooChettan2;
  font-size: 24px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #131415;
}
.home-download-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.home-download-btn img{
  width: 221px;
  height: 70px;
}
.home-download-btn a{
  margin-right: 20px;
}
.home-download-btn a:last-child{
  margin-right: 0px;
}

.home-bottom{
  box-sizing: border-box;
  width: 100%;
  padding: 40px 100px;
  background-color: #ffe02d;
}
.home-bottom-text{
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: normal;
  color: #131415;
  display: flex;
  justify-content: center;
}
.home-bottom-text:first-child{
  margin-top: 0px;
}
.home-bottom-text p{
  margin-right: 10px;
}
.hg{
  font-family: BalooChettan2;
  font-size: 20px;
  font-weight: bold;
  color: #0b0b0c;
  
}
.information{
  font-family: BalooChettan2B;
  font-size: 16px;
  font-weight: 500;
  color: #0b0b0c;
  margin-top: 4px;
}
.record-no{
  font-family: PingFangSC;
  font-size: 12px;
  color: #0b0b0c;
  margin-top: 4px;
}
.home-bottom_left{
  display: inline-flex;
  align-content: center;
  align-items: center;
}

.home-social_ico{
  width: 44px;
  height: 44px;
}

.home-bottom_left a:not(:last-child) {
  margin-right: 28px;
}

.home_bottom_middle{
  flex: 1;
}
.home_bottom_right{
  display: inline-flex;
  align-content: center;
  align-items: center;
}

.home-download_ico{
  width: 134px;
  height: 44px;
}
.home_bottom_right a:not(:last-child) {
  margin-right: 20px;
}
.swiper{
  width: 100%;
  height:auto ;
}
.swiper-wrapper{
  flex-direction: column;
}
.swiper-slide{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height:auto ;
  position: relative;
}
.swiper-item{
  width: 100%;
  height:100vh;
  overflow: hidden;
}
@media screen and (max-width: 768px){
  .swiper{
      height:auto ;
  }
  .swiper-wrapper{
      flex-direction: column;
  }
  .swiper-slide{
      height:auto ;
  }
  .swiper-item{
      width: 100%;
      overflow: auto;
      height: 100%;
  }

  .home-header{
      height: auto;
      padding: 20px 20px 20px 20px;
      box-sizing: border-box;
      position: static;
  }
  .home-header .right{
    white-space: nowrap;
    overflow-x: scroll;
  }
  .home-header .right::-webkit-scrollbar {
    display: none; 
    background-color: transparent;
  }
  .home-header .left img{
    display: none;
  }
  .home-header_logo{
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      background: url('https://img.cacheserv.com/web/Hay/home/hay/hay-logo@3x.png');
      background-size: cover;
  }
  .home-banner{
      height: 244px;
  }
  .home-text-bg{
      width: 200px;
      height: 74px;
      background-size: contain;
      transform: translateY(0px);
  }
  .home-title{
      -webkit-text-stroke: 2px #000;
      font-size: 36px;
      color: #ffc400;
  }
  .home-title-desc{
      -webkit-text-stroke: 1px #000;
      font-size: 16px;
      margin-top: 10px;
  }
  .home-main_con{
      padding: 20px;
      flex-direction: column;
      background-size: contain;
  }
  .home-chat-title{
      height: 27px;
      transform: translateY(220px);
      margin: 0;
      /* margin: 0 20px 40px; */
  }

  .home-piece_con{
      flex-direction: column;
      align-items: center;
  }
  .home-discover-img{
      width: 225px;
      height: auto;
      object-fit: contain;
      margin-right: 0;
      transform: translateX(-4px);
  }
  .home-chat-right {
      transform: translateX(0px);
  }
  .home-chat-safety{
      width: 100%;
      height: auto;
      padding: 20px;
  }
  .home-chat-safety:first-child{
      transform: translateX(0);
      margin-top: 50px;
  }
  .home-chat-safety:last-child{
      width: 100%;
  }
  .hay-safety{
      width: 40px;
      height: 25px;
      left: -17px;
      top: -13px;
  }
  .hay-experience{
      width: 56px;
      height: 56px;
      right: -15px;
      bottom: -8px;
  }
  .home-des-area{
      flex-direction: column;
      align-items: center;
      margin-top: -33px;

  }
  .home-chat_con .home-des-area{
    flex-direction: column-reverse;
  }
  .product-image{
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 73px;
  }
  .home-chat_con .product-image{
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 73px;
  }

  .home-title-discover{
      font-size: 20px;
      text-align: center;
  }
  .home-des-discover{
      font-size: 16px;
      margin-top: 10px;
  }
  .home-des-img{
      width: 125px;
      height: 120px;
      margin-bottom: 5px;
  }
  .home-h1_con{
      margin: 0 10px;
  }

  .home-h1-content{
      margin: 10px;
      /* line-height: 28px; */
  }

  .home-h2-title{
      font-size: 24px;
      margin: 20px 0;
  }

  .home-app_content{
      margin: 20px 20px;
  }
  .home-des_item{
      width: auto;
      margin-right: 0;
      height: auto;
      min-height: auto;
      padding:20px;
      margin-bottom: 22px;
  }

  .home-chat_con{
      padding: 40px 20px;
      background-size: contain;
  }
  .home-des-title{
      font-size: 20px;
      margin-bottom: 20px;
      text-align: center;
      color: #000;
  }
  .home-des_content{
      font-size: 16px;
      color: rgba(0, 0, 0, 0.5);
  }
  .home-start_button {
      width: 100%;
      background-size: 100% 100%;
  }
  .home-start_button_hl {
      width: 100%;
      padding-top: 9px;
      line-height: normal;
      background-size: contain;
  }
  .home-h1_con{
      display: none;
  }
  .home-fan-list{
      padding:0px 0px 20px;
      background-size: contain;
  }

  .hay-score img{
      height: 22px;
  }
  .home-fan_item{
      width: 290px;

  }
  .home-download-btn img{
      width: 110px;
      height: auto;

  }
  .home-download-text{
      font-size: 16px;
      margin: -25px 18px 18px;
  
  }
  .home-download-btn a{
      margin-right: 10px;
  }
 
  .home-bottom{
      padding: 10px 20px 20px;
  }
  .home-download{
      margin-top: 24px;
  }
  .home_bottom_right,
  .home-bottom_left{
      display: flex;
      width: 100%;
      justify-content: center;
  }
  .home_bottom_right{
      margin-top: 20px;
  }
  .home-bottom-text{
    display: block;
    text-align: center;
    margin-top: 0;
  }
  .home-bottom-text p{
    margin-top: 10px;
    margin-right: 0;
  }

}


@keyframes showEle {
  0% {
    opacity: 0;
  }


  100% {
    opacity: 1;
  }
}
