/* 先删除默认的内外边距 */
* {
    margin: 0;
    padding: 0;
}
/* 默认html的font-size是16px，即1rem=16px 
rem就是将根节点html的font-size的值作为整个页面的基准尺寸*/
html {
    font-size: 62.5%;  /* 设置过根节点的文字大小后，所有子节点的文字大小全部相对于根节点计算，html为10px */
    /* 根节点指的是html标签，设置html标签的大小，其他的元素相关尺寸设置用rem，
    这样，所有元素都有了统一的参照标准，改变html文字的大小，就会改变所有元素用rem设置的尺寸大小。 */
  }

body, input, button, a, textarea, select {
    margin: 0;
    /* font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; */
	font-family: "Poppins, Poppins";
    font-size: 1.4rem;
    color: #fff;
  }
  a,
  u,
  s {
    text-decoration: none;
    color: #333;
  }
  a:hover, a:focus {
    text-decoration: none;
  }
  a:hover {
    filter: alpha(opacity=90);
    opacity: .9;
  }
  ol, ul {
    list-style: none;
}
  input button select {
    outline: none;
  }
  fieldset, img, iframe {
    border: 0;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  i, em {
    font-style: normal;
  }
  
  label {
    font-weight: normal;
  }
  
  h2, h3, h4, p, dl, dt, dd {
    margin: 0;
    padding: 0;
  }
  img {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body, input, button, a, textarea, select, dl, ul, ol, li, h2, h3, h4, p, dl, dt, dd, span, div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  /* css3过渡动画效果 */
  .trans {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  
  /* 文本对齐 */
  .fn-textcenter {
    text-align: center;
    }
    .fn-textright {
        text-align: right;
    }
    .fn-textleft {
        text-align: left;
    }

  /* 去掉浏览器focus默认外边框 */
  a:focus, button:focus, input:focus {
    outline: none;
  }
  
  /* 单行文字溢出省略号 */
  .ell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
    word-wrap: normal;
  }
  
  /* 清理浮动 */
  .fn-clear {
    zoom: 1;
    /* for IE6 IE7 */
  }
  .fn-clear:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
:root {
    --bgcolor:#000000;
}
/* 公共样式 */
html {
    overflow-y: overlay;
}
html,body {
    min-width: 1280px;
}
/* 公共样式 */
/* 页面头部 */
.header {
    width: 100%;
    height: 1118px;
    background: url("https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/banner.png") no-repeat center;
    background-size: cover; 
    position: absolute;  
}
.header-top{
  margin: auto auto;
  width: 65%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* 固定定位 */
.header-list {
    position: fixed;
    top:0;
    left:0;
    z-index: 99;
    width: 100%;
    height: 130px;
    background-color: rgba(0, 0, 0, 0.8);
    /* border: 1px solid #ccc; */
    /* background-color: #fff; */
    /*box-shadow: 0 5px 5px rgba(0,0,0,.1);*/
    z-index: 999;    
}
.logo {
    object-fit: cover;
}
.logo img{
  width: 78%;
  height: 100%;
  background-size: contain;
}
.header-menu{
  width: 40%;
  height: 100%;
  display: flex; 
  justify-content: space-around;
  font-family: Poppins, Poppins;
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 48px;
  text-align: justifyLeft;
  font-style: normal;
  text-transform: none;
  
}
.header-menu .header-menu-left{
  width: 50%;
  height: 100%;
  font-family: "Poppins, Poppins";
  font-size: 16px;
  font-weight: bold;
}
.header-menu .header-menu-right{
  width: 118px;
  height: 45px;
  border-radius: 5px;
  text-align: center;
  color: #000000;
  background-color: #FFCF22;
  transition: filter 0.3s ease; 
  font-family: "Poppins, Poppins";
  font-size: 16px;
  font-weight: bold;
}
.header-menu .header-menu-right:hover{
  filter: drop-shadow(5px 5px 10px rgba(252, 216, 17, 0.829)); 
}
.header-title{
  width: 750px;
  height: 38%px;
  position: relative;
  top: 16%;
  left: 18%;
  font-family: "Poppins, Poppins";
  font-size: 30px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.12rem;
}
.header-title-left-title{
  height: 200px;
}

.header-title-left-subtitle{
  width: 600px;
  height: 340px;
  font-size: 100px;
  font-family: "Poppins, Poppins";
  font-weight: bold;
  letter-spacing: 0.15rem;
}
.tuceng6{
  position: relative;
  top: 350px;
  width: 100%;
  height: 255px;
  background: url("https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/tuceng6.png") no-repeat center;
  background-size: cover;
}
.part2{
  width: 100%;
  height: 2562px;
  background: url("https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/bg_2.jpg");
  background-size: cover;
 }
.part2-title{
  margin: 13px auto;
  width: 1220px;
  height: 52px;
  font-family:"Poppins, Poppins";
  font-weight: bold;
  font-size: 54px;
  color: #FFFFFF;
  line-height: 64px;
  text-align: justifyCenter;
  font-style: normal;
  text-transform: none;
} 
.part2-sub-title{
  margin: auto;
  margin-top: 120px;
  width: 1020px;
  height: 79px;
  font-family: "Poppins, Poppins";
  font-weight: 500;
  font-size: 28px;
  color: #FFFFFF;
  line-height: 48px;
  text-align: justifyLeft;
  font-style: normal;
  text-transform: none;
}

.container{
  margin: 100px auto;
  width: 1220px;
  /* border: 1px solid #fff; */
}
.container .tabs{
  width: 100%;
  height: 160px;
  /* border: 1px solid #fff; */
  display: flex;
  flex-direction:row;
  justify-content: space-around;
}
.container .tabs .tab{
  width: 116px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-around;
  align-items: center;
}

.active .aa{
  background: url(https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/y_a.png) no-repeat center; 
}
.bb{
  background: url(https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/y_1.png) no-repeat center; 
}

.container .tabs .tab div{
  width: 118px;
  height: 118px;
  border-radius: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .tabs .tab div img{
  width: 50px;
  height: 60px;
}
.container .tabs .tab span{
  font-family: "Poppins, Poppins";;
}
.container .tab-content {
  width: 1220px;
  display: none;
}

.container .tab-content.active {
  display: block;
}



.tab-content .games-grid{
  margin-top: 30px;
  height: 900px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
}
.tab-content .games-grid img{
  margin: 10px;
  width: 283px;
  height: 414px;
  object-fit: cover;
}

.tab-content .active{
  display: block;
} 

.card-list{
  margin: 80px auto;
  margin-top: 180px;
  width: 85%;
  max-width: 1580px;
  height: 493px;
  /* border: 1px solid #fff;   */
  display: flex;
  justify-content: space-between;
}



.card-list .flip-card{ 
  perspective: 1000px; /* 透视效果，值越小透视感越强 */
  width: 18.7%;
  max-width: 295px;
  height: 493px;
  cursor: pointer
}
 /* 翻转卡片内部容器，保留3D空间 */
 .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s; /* 翻转动画时长 */
  transform-style: preserve-3d; /* 保留子元素的3D转换 */
}

/* 鼠标悬停时触发翻转 */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg); /* 绕Y轴旋转180度 */
}

/* 卡片正面和背面的共同样式 */
.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* 隐藏背面 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* 隐藏背面 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.flip-card-back div{
  margin-top: 30px;
  width: 85%;
  font-size: 24px;
  text-align: center;
}

/* 卡片正面样式 */
.flip-card-front {
  background: linear-gradient(to bottom, #6C29D8, #1C0A37);
  color: white;
}

/* 卡片背面样式（初始时已翻转180度） */
.flip-card-back {
  background-color: #F7EDCA;
  color: #503413;
  transform: rotateY(180deg); /* 初始状态为翻转的背面 */
}

.part3{
  width: 100%;
  height: 2282px;
  background: url("https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/bg_3.jpg");
  background-size: cover;
 }
  .part3-title{
  margin: 0 auto;
  padding-top: 30px;
  width: 1000px;
  font-family:"Poppins, Poppins";
  font-weight: bold;
  font-size: 54px;
  color: #FFFFFF;
  line-height: 64px;
  text-align: center;
  font-style: normal;
  text-transform: none;
 }
.part3-sub-title{
  margin: auto;
  margin-top: 120px;
  width: 1090px;
  font-family: "Poppins, Poppins";
  font-weight: 500;
  font-size: 28px;
  color: #FFFFFF;
  line-height: 48px;
  text-align: justifyLeft;
  font-style: normal;
  text-transform: none;
}
.sub-title{
  margin: auto;
  margin-top: 30px;
  width: 958px;
  height: 121px;
  font-family: "Poppins, Poppins";
  font-weight: 500;
  font-size: 40px;
  color: #FFFFFF;
  line-height: 64px;
  text-align: center;
  font-style: normal;
  text-transform: none;

}
.card-list-container{
  width: calc(100% - 15px);
  margin: auto;
  display: flex;
  justify-content: space-evenly;

}
.card-list-container .card{
  width: 310px;
  height: 500px;
  border-radius: 12px 12px 12px 12px;
  border: 2px solid #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.card-list-container .card .position{
  width: 120px;
  height: 120px;
  /* border: 1px solid #FFFFFF; */
}
.card-list-container .card .position img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-list-container .card .position-desc{
  width: 160px;
  line-height: 36px;
  text-align: center;
  font-family: "Poppins, Poppins";
  font-size: 20px;
  /* border: 1px solid #FFFFFF; */
}
.card-list-container .card .position-num{
  width: 200px;
  height: 80px;
  /* border: 1px solid #FFFFFF; */
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  
}
.card-list-container .card .position-num div{
  width: 80px;
  font-family: "Poppins, Poppins";
  font-size: 50px;
  font-weight: bold;
}

.part4{
  width: 100%;
  height: 2282px;
  background: url("https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/bg_4.jpg");
  background-size: cover;
 }

 .part5{
  width: 100%;
  height: 2282px;
  background: url("https://h5szhmkejicom.oss-cn-shenzhen.aliyuncs.com/image/pc/en/bg_5.jpg");
  background-size: cover;
 }

 .part5-2{
  width: 100%;
  display: flex;
  justify-content: space-between;
 }

 .part5-2 p{
  width: 50%;
  font-family: "Poppins, Poppins";
  font-weight: 500;
  font-size: 28px;
  color: #FFFFFF;
  line-height: 48px;
  text-align: left;
  font-style: normal;
  text-transform: none;
 }
 .footer{
  width: 100%;
 }
.line{
  margin-top: 20px;
  width: 100%;
  border: 1px solid #494A64;
}


/* 弹窗 */
.open-modal-btn {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.open-modal-btn:hover {
  background-color: #45a049;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 80%;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  border: none;
  background: none;
}

.close-btn:hover {
  color: #000;
}
/* 右侧固定二维码图标 */
.fixed-qrcode-trigger {
  position: fixed;
  right: 20px;
  top: 70%;
  transform: translateY(-50%);
  z-index: 1000;
  cursor: pointer;
  /*background: #fff;*/
  border-radius: 50%;
  padding: 15px;
  /*box-shadow: 0 2px 15px rgba(0,0,0,0.2);*/
  transition: all 0.3s ease;
}

.fixed-qrcode-trigger:hover {
  transform: translateY(-50%) scale(1.1);
}

.fixed-qrcode-trigger img {
  width: 100px;
  height: 100px;
  display: block;
}

/* 更新模态框样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 450px;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {opacity: 0; transform: scale(0.8);}
  to {opacity: 1; transform: scale(1);}
}

.modal-content img {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.modal-content p {
  margin-top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #000000;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  color: #999;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #333;
}

/* 平板端适配样式 */
/* @media only screen and (min-width: 768px) and (max-width: 1024px) {
  html {
    font-size: 56.25%;
  }
  
  html, body {
    min-width: 768px;
  }
  
  .header {
    height: 900px;
  }
  
  .header-top {
    width: 90%;
  }
  
  .logo img {
    width: 60%;
  }
  
  .header-menu {
    width: 50%;
    font-size: 12px;
  }
  
  .header-menu .header-menu-left {
    font-size: 14px;
  }
  
  .header-menu .header-menu-right {
    width: 100px;
    height: 40px;
    font-size: 14px;
  }
  
  .header-title {
    width: 600px;
    top: 18%;
    left: 15%;
    font-size: 24px;
  }
  
  .header-title-left-subtitle {
    width: 500px;
    height: 280px;
    font-size: 80px;
  }
  
  .tuceng6 {
    top: 300px;
    height: 200px;
  }
  
  .part2 {
    height: 2200px;
  }
  
  .part2-title {
    width: 90%;
    font-size: 42px;
  }
  
  .part2-sub-title {
    width: 90%;
    font-size: 24px;
  }
  
  .container {
    width: 95%;
    margin: 60px auto;
  }
  
  .container .tabs {
    height: 140px;
  }
  
  .container .tabs .tab {
    width: 90px;
    height: 140px;
  }
  
  .container .tabs .tab div {
    width: 90px;
    height: 90px;
  }
  
  .container .tabs .tab div img {
    width: 50px;
    height: 50px;
  }
  
  .container .tab-content {
    width: 100%;
  }
  
  .tab-content .games-grid {
    height: auto;
    justify-content: center;
  }
  
  .tab-content .games-grid img {
    width: 200px;
    height: 300px;
    margin: 8px;
  }
  
  .card-list {
    width: 95%;
    margin-top: 120px;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .card-list .flip-card {
    width: 30%;
    max-width: 250px;
    height: 400px;
  }



  
  .part3 {
    height: auto;
    padding-bottom: 100px;
  }
  
  .part3-title {
    width: 90%;
    font-size: 42px;
  }
  
  .part3-sub-title {
    width: 90%;
    font-size: 24px;
  }
  
  .sub-title {
    width: 90%;
    font-size: 32px;
  }
  
  .card-list-container {
    width: 95%;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .card-list-container .card {
    width: 45%;
    max-width: 280px;
    height: 450px;
  }
  
  .card-list-container .card .position {
    width: 100px;
    height: 100px;
  }
  
  .card-list-container .card .position-desc {
    width: 140px;
    font-size: 18px;
  }
  
  .card-list-container .card .position-num div {
    font-size: 40px;
  }
  
  .part4 {
    height: auto;
    padding-bottom: 100px;
  }
  
  .part5 {
    height: auto;
    padding-bottom: 100px;
  }
  
  .part5-2 {
    flex-direction: column;
  }
  
  .part5-2 p {
    width: 90%;
    margin: 0 auto;
    font-size: 24px;
  }
  
  .fixed-qrcode-trigger img {
    width: 70px;
    height: 70px;
  }
  
  .modal-content {
    width: 90%;
    max-width: 400px;
    padding: 20px;
  }
  
  .modal-content img {
    width: 250px;
    height: 250px;
  }
  
  .modal-content p {
    font-size: 24px;
  }
} */

/* 小型平板和横屏手机适配 */
/* @media only screen and (min-width: 600px) and (max-width: 767px) {
  html {
    font-size: 50%;
  }
  
  html, body {
    min-width: 600px;
  }
  
  .header {
    height: 800px;
  }
  
  .header-top {
    width: 95%;
  }
  
  .logo img {
    width: 50%;
  }
  
  .header-menu {
    width: 60%;
    font-size: 11px;
  }
  
  .header-menu .header-menu-left {
    font-size: 12px;
  }
  
  .header-menu .header-menu-right {
    width: 90px;
    height: 35px;
    font-size: 12px;
  }
  
  .header-title {
    width: 500px;
    top: 20%;
    left: 10%;
    font-size: 20px;
  }
  
  .header-title-left-subtitle {
    width: 400px;
    height: 240px;
    font-size: 70px;
  }
  
  .tuceng6 {
    top: 280px;
    height: 180px;
  }
  
  .part2 {
    height: 2000px;
  }
  
  .part2-title {
    font-size: 36px;
  }
  
  .part2-sub-title {
    font-size: 20px;
  }
  
  .container {
    width: 98%;
    margin: 40px auto;
  }
  
  .container .tabs {
    height: 120px;
    flex-wrap: wrap;
  }
  
  .container .tabs .tab {
    width: 80px;
    height: 120px;
  }
  
  .container .tabs .tab div {
    width: 70px;
    height: 70px;
  }
  
  .container .tabs .tab div img {
    width: 40px;
    height: 40px;
  }
  
  .tab-content .games-grid img {
    width: 160px;
    height: 240px;
    margin: 6px;
  }
  
  .card-list .flip-card {
    width: 45%;
    max-width: 220px;
    height: 350px;
  }
  
  .card-list-container .card {
    width: 45%;
    max-width: 240px;
    height: 400px;
  }
  
  .part3-title,
  .part2-title {
    font-size: 36px;
  }
  
  .part3-sub-title,
  .part2-sub-title {
    font-size: 20px;
  }
  
  .sub-title {
    font-size: 28px;
  }
  
  .fixed-qrcode-trigger {
    right: 10px;
  }
  
  .fixed-qrcode-trigger img {
    width: 60px;
    height: 60px;
  }
} */
