* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-color: #01875f;
  --main-hover-color: #01533b;
}

em,
i {
  font-style: normal;
}

li {
  list-style: none;
}

img {
  border: 0;
  vertical-align: middle;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

button,
input {
  font-family: "Microsoft YaHei", "Heiti SC", tahoma, arial, "Hiragino Sans GB",
    "\5B8B\4F53", sans-serif;
  border: 0;
  outline: none;
}

body {
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
  font-family: "-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif";
}

body {
  background-color: #333333;
}

.main_view_page {
  max-width: 750px;
  /* width: 750px; */
  margin: 0 auto;
  /* padding-bottom: 30px; */
  position: relative;
  background-color: #4d3768;
  /* background-color: #333333; */
}

.main_view_page .tg img {
  cursor: pointer;
  width: 100%;
}

.main_view_page .bg {
  width: 100%;
  position: relative;
}

.main_view_page .bg img {
  width: 100%;
  display: block;
}

.main_view_page .service {
  position: fixed;
  top: 30%;
  background-size: cover;
  cursor: pointer;
  width: 60px;
  height: 60px;
  right: 20px;
  z-index: 10;
}

.main_view_page .bot {
  position: fixed;
  max-width: 750px;
  margin: 0 auto;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  height: 67px;
  bottom: 0;
  padding: 0 12px;
  display: flex;
  justify-content: space-around;
  display: -webkit-box;
  display: -webkit-flex;
  align-items: center;
  z-index: 20;
}

.main_view_page .bot .lt,
.main_view_page .bot .rt {
  flex: 1;
  height: 39px;
  line-height: 39px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  position: relative;
  text-align: center;
}

.main_view_page .bot .lt .tips,
.main_view_page .bot .rt .tips {
  position: absolute;
  background: #ea4e3d;
  height: 30px;
  border-radius: 30px 30px 30px 0;
  padding: 0 10px;
  line-height: 30px;
  right: 0;
  top: -41px;
  font-size: 15px;
}

.main_view_page .bot .lt .tips::after,
.main_view_page .bot .rt .tips::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 13px solid #ea4e3d;
  border-right: 13px solid transparent;
}

.main_view_page .bot .lt {
  border-radius: 10px;
  background: linear-gradient(180deg, #0fc8fb 0%, #0672ff 100%);
  /*box-shadow: inset 0px 0px 2px 2px #9CC0FF;*/
  margin-right: 11px;
}

.main_view_page .bot .rt {
  border-radius: 10px;
  background: linear-gradient(180deg, #FFC300 0%, #E77F00 100%);
  /* background: #FEAA02; */
  /*box-shadow: inset 0px 0px 2px 2px rgba(255, 254, 158, 0.6034);*/
}

/* */

#loading,
#reInstall,
#play,
#installing,
#installTips {
  display: none;
}

body[data-type="BEFORE_LOADING"] #loading {
  display: block;
}

body[data-type="BEFORE_LOADING"] #reInstall,
body[data-type="BEFORE_LOADING"] #play,
body[data-type="BEFORE_LOADING"] #installing,
body[data-type="BEFORE_LOADING"] #installTips {
  display: none;
}

body[data-type="LOADING"] #reInstall,
body[data-type="INSTALL"] #reInstall {
  display: block;
}

body[data-type="LOADING"] #play,
body[data-type="LOADING"] #installing,
body[data-type="LOADING"] #installTips,
body[data-type="LOADING"] #loading,
body[data-type="INSTALL"] #play,
body[data-type="INSTALL"] #installing,
body[data-type="INSTALL"] #installTips,
body[data-type="INSTALL"] #loading {
  display: none;
}

body[data-type="PLAY"] #play {
  display: block;
}

body[data-type="PLAY"] #reInstall,
body[data-type="PLAY"] #installing,
body[data-type="PLAY"] #installTips,
body[data-type="PLAY"] #loading {
  display: none;
}

body[data-type="INSTALLING"] #installing,
body[data-type="INSTALLING"] #installTips {
  display: block;
}

body[data-type="INSTALLING"] #reInstall,
body[data-type="INSTALLING"] #play,
body[data-type="INSTALLING"] #closeIg,
body[data-type="INSTALLING"] #loading {
  display: none;
}

.template-bd {
  /*padding: 56px 0;*/
  /* height: 84px; */
  height: 67px;
}

.mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.show-btn,
#loading-box {
  display: block;
}

#pop-show,
#loading-box {
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
}

/*  */
.main-up {
  margin: 24px 24px;
}

/* */
.main-up {
  display: flex;
  align-items: center;
}

.main-up .logo {
  position: relative;
  width: 80px;
  height: 80px;
  margin-right: 24px;
  border-radius: 20%;
}

.main-up .logo img {
  display: block;
  width: 100%;
}

.main-up .logo img {
  border-radius: 20%;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.main-up .info {
  margin: 0;
  padding: 0;
}

.main-up .info h1 {
  color: #202124;
  font-size: 24px;
}

.main-up .info h2 {
  color: var(--main-color);
  font-size: 16px;
}

.main-up .info p {
  font-size: 12px;
}

.btn-box {
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.shiny:after {
  animation: shiny-btn-anim 4s ease-in-out infinite;
  background-color: #fff;
  content: "";
  display: inline-block;
  height: 100%;
  left: 0;
  position: absolute;
  top: -180px;
  width: 30px;
}

@keyframes shiny-btn-anim {
  0% {
    opacity: 0;
    transform: scale(0) rotate(45deg);
  }

  80% {
    opacity: 0.5;
    transform: scale(0) rotate(45deg);
  }

  81% {
    opacity: 1;
    transform: scale(4) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: scale(50) rotate(45deg);
  }
}

.btn {
  display: block;
  width: 100%;
  padding: 10px 8px;
  background: var(--main-color);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.btn.btn-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-img img {
  width: 20px;
}

.btn.big {
  padding: 15px 8px;
  font-size: 18px;
}

.btn:hover {
  background: var(--main-hover-color);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:disabled:hover {
  background: var(--main-color);
}

.btn:active {
  background: var(--main-color);
}

.btn .con {
  display: flex;
  flex-direction: column;
}

.btn .con p {
  display: flex;
  justify-content: center;
  margin-bottom: 3px;
  gap: 5px;
  font-size: 15px;
  color: #ffe336;
}

.btn .con img {
  width: 12px;
}

.btn+.btn {
  margin-top: 8px;
}

#installing {
  position: relative;
  width: 100%;
  background: none;
  border: var(--main-color) 1px solid;
  box-sizing: border-box;
  color: #ffe336;
  text-align: center;
  overflow: hidden;
}

#installing #proess {
  z-index: 0;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--main-color);
}

#installing>* {
  z-index: 1;
  position: relative;
}

#installTips {
  margin-top: 15px;
  color: var(--main-color);
  font-size: 14px;
  border: none;
}

/* */

#pop-show .bd,
#loading-box .bd {
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 15px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
}

#loading-box .bd {
  padding: 30px 50px;
  text-align: center;
}

#loading-box .bd p {
  margin: 15px 0 0;
}

#pop-show .bd {
  width: 85vw;
}

#pop-show .bd strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 20px;
  font-weight: 600;
}

#pop-show .bd .lg {
  width: 80px;
  height: 80px;
}

#pop-show .bd p {
  display: inline-block;
  margin: 10px 0 0;
  padding: 0 10px;
  font-size: 14px;
  color: #666;
  border: #666 1px solid;
  border-radius: 3px;
}

#pop-show .bd .active-box {
  margin: 5px 0;
}

#pop-show .bd .active-box span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px 20px;
  border-radius: 20px;
  background: rgba(119, 250, 73, 0.3);
  color: #01875f;
  font-weight: 500;
  font-size: 12px;
}

.mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.rotate {
  animation: loadingCircle 1s infinite linear;
}

@keyframes loadingCircle {
  100% {
    transform: rotate(-360deg);
  }
}

#pop-show {
  display: none;
}

.loading-ci {
  display: none;
}

.loading-ci .box {
  display: none;
}

#count1 {
  display: none;
}

.main-up .logo .box {
  display: none;
}

.main-up .logo .box,
.loading-ci .box {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-left: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  border-radius: 50%;
  animation: turn 1s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes turn {
  100% {
    transform: rotateZ(-1turn);
  }
}

.loading-ci {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 72px;
  height: 72px;
  margin: 15px auto 0;
  color: #01875f;
}

.close {
  padding-right: 20px;
}

#closeIg {
  position: absolute;
  bottom: -65px;
  width: 35px;
  height: 35px;
}

.btn.big {
  padding: 15px 8px;
  font-size: 18px;
}

.btn {
  display: block;
  width: 100%;
  padding: 10px 8px;
  background: var(--main-color);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

/* 轮播图外层容器 */
.slider-wrapper {
  position: absolute;
  width: 86%;
  /* 控制轮播图宽度 */
  max-width: 600px;
  top: 12%;
  /* 从顶部偏移 */
  left: 7%;
  /* 从左侧偏移 */
  z-index: 2;
  /* 确保在背景图上方 */
}

/* 轮播图轨道容器 */
.slider-track-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  padding-bottom: 56.31%;
  /* 保持原有的宽高比 */
  /* 添加蓝光边框效果 */
  border: 3px solid #A9F5FF;
  /* 设计图中指定的浅蓝色边框 */
  box-shadow:
    0 0 10px 2px rgba(169, 245, 255, 0.6),
    /* 内层蓝光 */
    0 0 20px 4px rgba(169, 245, 255, 0.4);
  /* 外层蓝光 */
  animation: glowingBlueBorder 2s infinite alternate;
  /* 添加脉冲动画 */
  will-change: transform;
  /* 提示浏览器这个元素会发生变换 */
  backface-visibility: hidden;
  /* 优化渲染性能 */
}

/* 蓝光边框动画 */
@keyframes glowingBlueBorder {
  from {
    box-shadow:
      0 0 10px 2px rgba(169, 245, 255, 0.6),
      0 0 20px 4px rgba(169, 245, 255, 0.4);
  }

  to {
    box-shadow:
      0 0 15px 3px rgba(169, 245, 255, 0.8),
      0 0 30px 6px rgba(169, 245, 255, 0.6);
  }
}

/* 轮播图轨道 - 横向排列所有幻灯片 */
.slider-track {
  position: absolute;
  display: flex;
  width: 600%;
  /* 6张图片，每张占用100% */
  height: 100%;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
  font-size: 0;
  /* 防止内联元素之间的空白间隙 */
  will-change: transform;
  /* 提示浏览器这个元素会发生变换 */
  transform: translateZ(0);
  /* 启用硬件加速 */
  -webkit-transform: translateZ(0);
}

/* 轮播图项目 */
.slider-item {
  flex: 0 0 16.6666666667%;
  /* 修改为更精确的百分比 */
  width: 16.6666666667%;
  /* 更精确的百分比 */
  height: 100%;
  position: relative;
  overflow: hidden;
  /* 确保内容不会溢出 */
  box-sizing: border-box;
  /* 确保边框不会增加宽度 */
  float: left;
  /* 确保浮动正确 */
  margin: 0;
  /* 确保没有margin */
  padding: 0;
  /* 确保没有padding */
}

/* 确保picture元素中的img正确显示 */
.slider-item picture {
  width: 100%;
  height: 100%;
  display: block;
}

.slider-item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 背景图片img样式 */
.main_view_page .bg picture,
.main_view_page .bg img {
  width: 100%;
  display: block;
}

/* 确保logo中的图片正确显示 */
.main-up .logo picture,
.main-up .logo picture img {
  display: block;
  width: 100%;
}

.main-up .logo picture img {
  border-radius: 20%;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

/* 指示器样式 */
.slider-indicators {
  position: absolute;
  bottom: -35px;
  /* 指示器位置 */
  left: 50%;
  transform: translateX(-50%);
  display: none;
  /* 初始隐藏，由JS控制显示 */
  gap: 15px;
  /* 增加一点间距 */
  z-index: 10;
  /* 确保在最上层 */
  background-color: transparent;
  /* 去掉背景 */
  padding: 5px 10px;
  border-radius: 12px;
}

.indicator {
  width: 10px;
  /* 指示器尺寸 */
  height: 10px;
  /* 指示器尺寸 */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  /* 背景亮度 */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  /* 为每个指示器添加阴影 */
}

.indicator:hover {
  transform: scale(1.2);
  background-color: rgba(255, 255, 255, 0.8);
  /* 悬停时更亮 */
}

.indicator.active {
  background-color: #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  /* 当前指示器发光效果 */
}