@font-face {
    font-family: 'YouSheBiaoTiHei';
    src: url('../fonts/YouSheBiaoTiHei.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", "微软雅黑", "SimHei", "黑体", sans-serif;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}
div[onclick] {
  cursor: pointer;
}
/* 电脑端居中显示 */
.container {
  width: 100%;
  background-color: #fff;
  /* border-radius: 10px; */
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* 父容器设置为 relative，作为绝对定位的参照 */
.image-wrapper {
  position: relative; /* 关键：子元素的绝对定位基于此容器 */
  width: 100%;
  max-width: 100%; /* 防止图片溢出 */
}
.image-wrapper img {
  width: 100%;
  display: block; /* 消除图片底部间隙 */
}
.top-wrapper{
    position:fixed;
    top:0;
    width: 100%;
    height: auto;
    z-index: 9999;
    padding: 12px;
    background-color:rgba(109,109,109,0.84);
}
.top-wrapper-icon{
    width:62px;
    margin-left: 10px;
    display: block;
    float: left;
}
.top-wrapper-download{
    width: 26%;
    margin: 14px auto;
}
.top-wrapper-div{
    width: 50%;
    float: left;
    padding: 5px 10px;
}
.top-wrapper-div span{
    display: block;
    width: 100%;
    float: left;
    margin-top: 3px;
    font-family: 'YouSheBiaoTiHei', sans-serif;
}
.top-wrapper-div span:nth-child(1) {
    color: #ffffff;
    font-size: 20px;
}
.top-wrapper-div span:nth-child(2) {
    color: #c3c3c3;
    font-size: 14px;
}
/* 绝对定位按钮 */
.download-btn {
  display: block;
  position: absolute;
  top: 35.47%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: url(../image/bt_ldy_xzyx.png) no-repeat center center;
  background-size: contain;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 40vw;
  height: 7vh;
}
.reward-list {
  position: absolute;
  width: 100%;
  top: 28%;
  justify-content: space-around;
  margin-bottom: 20px;
}

.reward-item {
  background: url(../image/img_ldy_lqd.png) no-repeat center center;
  background-size: contain;
  width: 32%;
  max-width: 128px;
  height: 116px;
  display: block;
  text-align: center;
  margin: 5px 0;
  float: left;
}

.reward-item:nth-child(1) {
  margin-left: 2%;
}

.reward-item:nth-child(2) {
  margin: 5px 0;
}

.reward-item:nth-child(3) {
  margin-right: 2%;
}

.reward-item img {
  width: 62px;
  display: inline-block;
  position: relative;
  top: 24%;
}

/*.reward-item img:nth-child(2) {*/
/*  position: relative;*/
/*  top: -48px;*/
/*  left: -20px;*/
/*}*/

/*.reward-item:nth-child(2) > p {*/
/*  margin-top: 17%;*/
/*}*/

.reward-item p {
  margin-top: 48%;
  font-size: 16px;
  color: #ffffff;
}
/* 玩家姓名 */
.inviteUname {
  display: inline-block; /* 改为inline-block使宽度适应内容 */
  position: absolute;
  top: 22.5%;
  left: 50%;
  transform: translateX(-50%);
  background: url(../image/tips.png) no-repeat center center;
  color: #eddf18;
  border: none;
  cursor: pointer;
  height: 3.5vh;
  line-height: 3.5vh;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 0 20px; /* 添加一些内边距让背景图有显示空间 */
  background-size: 100% 100%; /* 使背景图铺满整个元素 */
  white-space: nowrap; /* 防止文字换行 */
}
/* 新增遮罩层样式 */
.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 99;
  display: none;
}
.mask2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 101;
  display: none;
}
/* 弹框样式调整，增加z-index */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  display: none;
  z-index: 100;
  max-height: 80vh;
  overflow-y: auto;
  width: 360px;
  overflow: hidden;
}

.popup-background {
  background-color: white;
  background: url("../image/popup_bg.png") repeat-x 0 0 / auto 100%;
  border-radius: 5px;
  border: rgb(0, 255, 255) solid 1px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.title {
  width: 100%;
  text-align: center;
}

.title > p {
  color: white;
  font-size: 24px;
  padding: 15px;
}

.content {
  width: 100%;
  text-align: center;
}

.content > p {
  color: #ffee36;
  font-size: 20px;
  padding: 10px;
}

.prop_box {
  height: 160px;
  padding: 5px;
  min-width: 360px;
}

.prop_item {
  width: 100px;
  height: 150px;
  float: left;
  background: url("../image/props.png") no-repeat;
  background-size: 298%;
}

/* 第一个图标，背景图位置为左上角，即 (0, 0) */
.prop_item:nth-child(1) {
  background-position: 0 0;
}

/* 第二个图标，假设横向排列，每个图标宽度为 100px，所以第二个图标位置为 (-100px, 0) */
.prop_item:nth-child(2) {
  background-position: -100px 0;
}

/* 第三个图标，位置为 (-200px, 0) */
.prop_item:nth-child(3) {
  background-position: -200px 0;
}

.prop_item > p {
  width: 100%;
  position: relative;
  top: 120px;
  height: 20px;
  line-height: 20px;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-align: center;
  color: white;
}

.btn {
  width: 50%;
  height: 50px;
  float: left;
}

.btn > img {
  display: block;
  width: 30px;
  float: left;
  margin: 8px 0px 0 15%;
}

.btn > p {
  display: block;
  height: 50px;
  line-height: 46px;
  float: left;
  font-size: 16px;
  color: #ffffff;
  margin-left: 3px;
}

.btn_left {
  background: url(../image/btn1.png) no-repeat center center;
  background-size: contain;
}

.btn_right {
  background: url(../image/btn2.png) no-repeat center center;
  background-size: contain;
  width: 100%;
}

.btn_down {
  background: url(../image/bt_anniu_xz01.png) no-repeat center center;
  background-size: contain;
  width: 50%;
  height: 58px;
  float: left;
}

.btn_down > img {
  width: 37px;
  margin: 7px 0px 0 11%;
}

.btn_down > p {
  line-height: 56px;
  font-size: 20px;
  margin-left: 2px;
}
.login-phone {
  /* width: 380px;
  background: url("../image/login_bg.png") no-repeat center center;
  background-size: contain; */
  padding: 20px;
  z-index: 102;
}

.login-phone > p {
  font-size: 24px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 25px;
}

.login-phone > img {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.input-edit {
  background: url(../image/input_edit.png) no-repeat center center;
  background-size: 100% 100%;
  border: none;
  border-radius: 10px;
  padding: 10px 10px 10px 10px;
  width: 222px;
  height: 42px;
  font-size: 16px;
  color: #ffffff;
}

.yzm-width {
  width: 116px;
  color: #ffb98d;
}

.input-edit::placeholder {
  color: #c2c2c2; /* 占位符文字颜色 */
  opacity: 1; /* 解决某些浏览器下颜色变淡的问题 */
}

.get-code {
  background: none;
  color: #ffee36;
  cursor: pointer;
  display: inline;
  border-bottom: 1px solid #ffee36;
  padding-bottom: 1px;
  font-size: 17px;
  position: relative;
  left: -12px;
}

.err-box {
  height: 30px;
  line-height: 30px;
}
.err-tip {
  color: #2efdff;
  display: none;
  font-size: 16px;
  float: left;
}

.login-method {
  display: flex;
  flex-direction: column; /* 垂直排列 */
  align-items: center;
  cursor: pointer;
  position: relative;
  padding: 10px;
  width: 50%;
  float: left;
}
.loginBtn {
  background: url(../image/btn3.png) no-repeat center center;
  background-size: contain;
  border: none;
  width: 136px;
  height: 50px;
  cursor: pointer;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  margin-top: 61px;
}
.input-title {
  float: left;
  font-size: 17px;
  color: #ffffff;
  line-height: 42px;
  margin-right: 10px;
}
.hide-logout {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  height: 20px;
  width: 20px;
}
.customer-server{
  background: url(../image/btn_kf.png) no-repeat center center;
  background-size: contain;
  border: none;
  width: 63.5px;
  height: 62.5px;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  right:10px;
}
/* PC 端样式（屏幕宽度 ≥ 768px 时） */
@media (min-width: 768px) {
  .container {
    width: 375px; /* 模拟手机屏幕宽度（可调整为 414px 等） */
    margin: 0 auto; /* 水平居中 */
    border: 1px solid #eee; /* 可选：便于调试，查看边界 */
  }
  .download-btn {
    width: 158px;
    height: 46px;
  }
  .top-wrapper{
      width: 373px;
  }
}
