@font-face {
  font-family: "DINPro-Medium";
  /* 自定义字体名称 */
  src: url("https://s.cdnkg.com/font/DINPro-Medium.otf");
  font-weight: normal;
  /* 字体粗细 */
  font-style: normal;
  /* 字体样式 */
}

body {
  font-family: "DINPro-Medium";
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #edbfbf;
  background-color: rgba(49, 1, 1, 0.9);
}

.head {
  display: flex;
  background-repeat: repeat-x;
  background-image: url(./img/header_bg.png);
}

.head-logo {
  width: 100%;
  height: 6vh;
  background-size: auto 50%;
  background-repeat: no-repeat;
  background-position-y: center;
  background-position: left 4vw center;
  background-image: url(./img/52M.png);
}

.welcome-txt {
  color: #ccc;
  /* font-size: 0.7rem; */
  font-size: 5vw;
  text-align: center;
  margin: 20px auto;
  max-width: 800px;
}

.welcome-logo {
  height: 10vh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(./img/52M_com.png);
}

.welcome-btn {
  margin-top: 0vh;
  padding-bottom: 4vh;
  margin: 0 5vw;
  text-align: left;
}

.welcome-btn button {
  width: 90vw;
  display: block;
  margin-top: 1vh;
  color: #edd8d7;
  text-align: left;
  font-size: 20px;
  line-height: 3vh;
  padding: 3vh 10vw 3vh 14vw;
  border-radius: 3rem;
  border: 2px solid #f7d462;
  background-color: rgba(0, 0, 0, 0.6);
  background-position: left 4vw center, right 4vw center;
}

.btn-googleplay {
  background-size: 4cqb, 2cqb;
  background-repeat: no-repeat, no-repeat;
  background-image: url(./img/logo_android.png),
    url(./img/logo_jiantou.png);
}

.btn-apple {
  background-size: 4cqb, 2cqb;
  background-repeat: no-repeat, no-repeat;
  background-image: url(./img/appstoer.png),
    url(./img/logo_jiantou.png);
}

.btn-appstore {
  display: inline-block;
  background-size: 4cqb, 2cqb;
  background-repeat: no-repeat, no-repeat;
  background-image: url(./img/logo_aa.png),
    url(./img/logo_jiantou.png);
}

.game-btn {
  border: 0px;
  padding: 5px 0;
  text-align: center;
  letter-spacing: 10vw;
  background-image: url(./img/logo_bg.png);
}

.game-btn img {
  vertical-align: middle;
}

.tab-footer {
  border-bottom: 2px solid sandybrown;
  border-radius: 1px;
}

.panel-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.products-text {
  display: flex;
  font-size: 1rem;
  margin-top: 4vh;
  margin: 3vh 2vw;
  margin-left: 2vw;
  text-align: left;
  border-radius: 1rem;
}

.products-text-left:nth-child(1) {
  background: linear-gradient(to right, rgb(57, 10, 9), rgba(47, 10, 9, 0));
}

.products-text-left:nth-child(2) {
  background: linear-gradient(to left, rgb(57, 10, 9), rgba(47, 10, 9, 0));
}

.product-game {
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url(./img/panel_shoubing.png);
  background-position: right center;
  border: 1px yellow;
}

.product-jiangbei {
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url(./img/panel_jiangbei.png);
  background-position: right center;
}

.product-zhuanpan {
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url(./img/panel_zhuanpan.png);
  background-position: right center;
  border: 1px yellow;
}

.product-lihe {
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url(./img/panel_lihe.png);
  background-position: right center;
}

.products-text-left {
  width: 70%;
  padding: 1 2vw;
}

.products-text-left:nth-of-type(1) {
  text-align: left;
  font-size: 1rem;
  display: flex;
  padding: 1vh 3vw;
  border-radius: 1rem;
}

.products-text-left:nth-of-type(2) {
  text-align: left;
  font-size: 1rem;
  display: flex;
  padding: 1vh 2vw;
  border-radius: 1rem;
}

.products-text-right {
  width: 25vw;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.products-text dl dt {
  color: white;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3rem;
}

.products-text dl dd {
  margin-top: 2vh;
  color: #9b5659;
  margin-left: 0;
  font-size: 15px;
  line-height: 1.25rem;
}

.products-title {
  padding-top: 2vh;
  padding-bottom: 1vh;
  display: block;
  font-size: 25pt;
  color: rgb(255, 236, 104);
  background-size: 15vw;
  background-repeat: no-repeat;
  background-position: bottom;
  background-image: url(./img/tab_active.png);
}

.footer {
  line-height: 6vh;
  font-size: 0.7rem;
  text-align: center;
  background-color: rgb(63, 4, 6);
  color: rgba(113, 57, 58, 0.8);
}

/* 设置选项卡的基本样式 */
.tabs {
  display: flex;
  height: 100%;
  color: white;
  font-size: 1rem;
  text-align: center;
}

.tab {
  width: 6vw;
  padding-top: 1vh;
  line-height: 5vh;
}

.tab:hover {
  color: rgb(112, 112, 112);
}

.tab.active {
  display: block;
  color: rgb(237, 153, 40);
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 0.2rem;
  text-decoration-color: rgb(237, 153, 40);
  border-bottom-left-radius: 20px;
}

.tab-content {
  /* border: 1px solid rgb(117, 46, 139); */
  text-align: center;
}

/* 设置内容区域的基本样式 */
.content {
  background-size: cover;
  background-color: #331212;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(./img/zhutu_h5.png);
}

.content.active {
  display: block;
}

@media screen and (min-width: 500px) {
  .welcome-txt {
    font-size: 25px;
  }
}

@media screen and (min-width: 750px) {
  .welcome-btn button {
    width: 500px;
    padding: 30px 50px 30px 120px;
    margin: 1vh auto 0;
  }

  .content {
    background-size: 750px auto;
    background-color: #331212;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(./img/zhutu_h5.png);
  }
}
