.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-white {
  color: white;
}
.text-dark {
  color: #333;
}
.text-black {
  color: black;
}
.font-bold {
  font-weight: bold;
}
.font-normal {
  font-weight: normal;
}
.d-flex {
  display: flex;
}
.d-block {
  display: block;
}
.d-inline-block {
  display: inline-block;
}
.position-absolute {
  position: absolute;
}
.pc-mode {
  display: block;
}
.mobile-mode {
  display: none;
}
.wrap-position01 {
  position: absolute;
  top: 194px;
  left: 128px;
  width: 900px;
}
@media (max-width: 750px) {
  .pc-mode {
    display: none;
  }
  .mobile-mode {
    display: block;
  }
  .wrap-position01 {
    left: 40px;
    width: 310px;
    top: 99px;
  }
}
input,
button {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
}
img {
  max-width: 100%;
  -webkit-user-drag: none;
}
.img-wrapper {
  position: relative;
}
.img-button {
  padding: 0;
  margin: 0;
  background-color: transparent;
  transition: all 300ms;
}
.img-button:hover {
  transform: scale(1.12);
}
.main-container {
  background-color: var(--color-primary);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-bottom: 1rem;
  min-width: var(--container-width);
}
@media (max-width: 750px) {
  .main-container {
    width: 100vw;
    padding-bottom: 0;
  }
}
.row {
  display: block;
  position: relative;
  width: var(--container-width);
  margin: var(--row-space) auto 0;
}
.row > .wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}
.row-banner {
  min-width: var(--container-width);
  margin: 0 auto;
}
.row-banner {
  min-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}
@media (max-width: 750px) {
  .main-container {
    width: 100vw;
    margin-top: -1px;
  }
}
.row.row0 {
  margin-top: -235px;
}
.row1 .item {
  margin-bottom: 6%;
}
@media (max-width: 750px) {
  .row1 .item {
    width: 92%;
    margin: 4.5% auto;
  }
}
/* section3 */
.row2 .wrap-position {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26%;
  top: 66.6%;
  left: 49%;
  transform: translate(-50%, 0);
}
.row2 .wrap-position .turntable-img {
  width: 57.5%;
}
.row2 .wrap-position .box {
  position: relative;
  margin-top: 13%;
}

.row2 .wrap-position .btn03 {
  position: absolute;
  bottom: 10%;
  right: 55%;
}
@media (max-width: 750px) {
  .row2 .wrap-position {
    top: 46%;
    width: 47%;
    left: 49%;
  }

  .row2 .wrap-position .btn03 {
    position: absolute;
    bottom: 12%;
    right: 26%;
    width: 42%;
  }
  .row2 .wrap-position .box {
    margin-top: 10%;
  }
  .row2 .wrap-position .turntable-img {
    width: 100%;
  }
}
.row4 .items-wrap .item {
  margin-left: -8%;
  margin-top: -7%;
}
@media (max-width: 750px) {
  .row4 .items-wrap .item {
    margin-left: -10%;
    margin-top: -4%;
  }
}
.row0-tips{
  position: absolute;
  bottom: 153px;
  color: #5B0083;
  left: 264px;
  line-height: 1.6;
  font-size: 15px;
  font-weight: 500;
}
.row-share .wrap-position {
  position: absolute;
  width: 26%;
  left: 50%;
  bottom: 17%;
  transform: translate(-50%, 0);
}
.row-share .items-wrap {
  padding: 0 5%;
  justify-content: space-evenly;
  margin: 4% 0;
}
.wrap-position01 .items-wrap {
  justify-content: space-between;
  width: 104%;
  margin: 90px auto 0;
  left: -2%;
  position: relative;
}
.wrap-position01 .items-wrap2 {
  margin: 35px auto 0;
}
.wrap-position01 .items-wrap .item-inner {
  width: 48%;
  position: relative;
}
.wrap-position01 .items-wrap .item-inner .footer {
  position: absolute;
  bottom: 13px;
  left: 59px;
  width: 72%;
}
.img-share-cover {
  width: 98%;
}
.row-share .wrap-position a {
  display: block;
  outline: none;
}
.row-share .wrap-position a:focus {
  outline: none;
}
@media (max-width: 750px) {
  .row0-tips{
    bottom: 14%;
    left: 8%;
    width: 88%;
    line-height: 1.3;
  }
  .wrap-position01 .items-wrap .item-inner .footer {
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 72%;
  }
  .wrap-position01 .items-wrap {
    width: 102%;
    margin: 30px auto 0;
    left: -1%;
  }
  .wrap-position01 .items-wrap2 {
    margin: 15px auto 0;
  }
  .row-share .wrap-position a {
    width: 2.3rem;
  }
  .row-share .wrap-position {
    bottom: 18%;
    width: 100%;
  }
  .row.row-share{
    margin-bottom: 40px;
  }

  .row-share .wrap-position > img {
    margin-top: 3.4%;
  }
  .row-share .items-wrap {
    margin: 0% 0;
  }
  .row-share .items-wrap img {
    width: 4rem;
  }
}
.row-register .wrap-position {
  position: absolute;
  right: 17%;
  top: 40%;
}
.img-rule{
    position: absolute;
    width: 53px;
    height: 166px;
    bottom: 451px;
    left: 85px;
    cursor: pointer;
}
.row-register .register-form {
  --form-width: 472px;
  --form-item-height: 0.65rem;
  --form-item-color: #fff0a9;
  --form-item-text-color: #767676;
  --form-item-border-color: #fff0a9;
  --form-input-font-size: 16px;
  --form-button-font-size: 18px;
  --form-button-text-color: #fff;
  --form-button-background: #fc4e94;
  --form-tips-color: #5d5d5d;
  width: var(--form-width);
  margin-left: 8%;
}
.row-register .wrapper {
  width: 96%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.row-register .form-tips {
  margin-top: 0.2rem;
  font-size: var(--form-input-font-size);
  color: var(--form-tips-color);
}
.row-register .form-tips a {
  color: var(--form-tips-color);
}
.row-register .register-form .form-item {
  height: var(--form-item-height);
  margin-top: 0.2rem;
  width: 100%;
}
.row-register .register-form input,
.row-register .register-form button {
  height: var(--form-item-height);
  border-radius: var(--form-item-height);
}
.row-register .register-form input {
  font-size: var(--form-input-font-size);
  color: var(--form-item-text-color);
  width: 100%;
  background-color: var(--form-item-color);
  border-radius: var(--form-item-height);
  padding: 0 1.6em;
  border: 1px solid var(--form-item-border-color);
}
.form-item.item-tag,
.code-item {
  position: relative;
  border-radius: var(--form-item-height);
}
.code-item {
  width: 53%;
  margin-right: 0.1rem;
}
.form-item.item-tag::before,
.code-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  border-radius: inherit;
  margin: -2px;
  pointer-events: none;
}
.row-register .register-form input[name="TxtCode"] + button {
  flex: 1;
}
.row-register .register-form input::placeholder {
  color: var(--form-item-text-color);
}
.row-register .register-form button {
  background-size: cover;
  box-sizing: border-box;
  width: 100%;
  font-size: var(--form-button-font-size);
  color: var(--form-button-text-color);
  background-position: left center;
  font-weight: bold;
  background-repeat: no-repeat;
  flex: 1;
  background-color: var(--form-button-background);
  letter-spacing: 1px;
}
/* 图片弹窗样式 */
.rule-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}
.rule-modal-box{
    position: relative;
    display: inline-block;
}
.rule-modal-box .r-close{
    width: 50px;
    position: absolute;
    height: 50px;
    right: 5px;
    top: 5px;
    cursor: pointer;
}
.rule-modal img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}
.rule-modal.show {
  display: flex;
}
.img-btn {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
}
.img-btn .img-btn-img {
    cursor: pointer;
    width: 4rem;
}
@media (max-width: 750px) {
  .row-register .register-form .form-item {
    margin-top: 0.22rem;
  }
  .img-btn {
    width: 80%;
    margin-left: 10%;
  }
  .rule-modal-box .r-close{
    width: 60px;
    position: absolute;
    height: 60px;
    right: 5px;
    top: 1px;
  }
  .row-register .form-tips {
    font-size: 12px;
  }
  .img-rule{
    bottom: 166px;
    width: 30px;
    height: 100px;
    left: 24px;
  }
  .row-register .register-form {
    --form-item-height: 0.8rem;
    --form-width: 100%;
    --form-input-font-size: 14px;
    --form-button-font-size: 14px;
    margin-left: 0;
  }
  .row-register .wrapper {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }
  .row-register .wrap-position {
    top: 54%;
    width: 88%;
    right: 5.5%;
    padding: 0 8%;
  }
  .row-register .wrap-position .img-register-cover {
    width: 80%;
    max-width: 5.4rem;
  }
  .row.row0 {
    margin-top: -27%;
  }
  .img-btn .img-btn-img{
    width: 4.8rem;
  }
}

/* 抢购弹层 */
.buy-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 99;
  display: none;
  box-sizing: border-box;
}
.buy-modal.show {
  display: block;
}
.buy-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  max-width: 92vw;
}
.buy-modal-bg {
  display: block;
  width: 100%;
  height: auto;
}
.buy-modal-close {
  position: absolute;
  top: 8%;
  right: 2%;
  width: 36px;
  height: 36px;
  z-index: 3;
  cursor: pointer;
}
.buy-modal-form {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 42%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.buy-modal-form .form-item {
  position: relative;
  width: 100%;
  height: 62px;
  margin-bottom: 18px;
  background: rgba(245, 248, 255, 0.95);
  border-radius: 12px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.buy-modal-form .form-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: auto;
  pointer-events: none;
}
.buy-modal-form .form-item input {
  width: 100%;
  height: 100%;
  padding: 0 16px 0 52px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  letter-spacing: .5px;
  color: #333;
  border-radius: 12px;
  box-sizing: border-box;
}
.buy-modal-form .form-item input::placeholder {
  color: #9aa0b0;
}
.buy-modal-form .form-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.buy-modal-form .form-row .code-item {
  width: 54%;
  margin-bottom: 0;
  margin-right: 0;
}
.buy-modal-form .btn-sms {
  width: 42%;
  height: 62px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.buy-modal-form .btn-sms:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}
.buy-modal-form .btn-sms img {
  display: block;
  width: 100%;
  height: auto;
}
.buy-modal-form .btn-sms-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6eb4 0%, #e93a8a 100%);
  border: 2px solid #f7d56a;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  box-sizing: border-box;
}
.buy-modal-form .btn-submit {
  width: 100%;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}
.buy-modal-form .btn-submit img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 750px) {
  .buy-modal-box {
    width: 7rem;
  }
  .buy-modal-close {
    width: 0.5rem;
    height: 0.5rem;
    top: 8%;
    right: 1%;
  }
  .buy-modal-form {
    left: 12%;
    right: 12%;
    top: 41%;
  }
  .buy-modal-form .form-item {
    height: 0.8rem;
    margin-bottom: 0.24rem;
    border-radius: 0.16rem;
  }
  .buy-modal-form .form-icon {
    left: 0.22rem;
    width: 0.32rem;
  }
  .buy-modal-form .form-item input {
    padding: 0 0.2rem 0 0.7rem;
    font-size: 0.28rem;
    border-radius: 0.16rem;
  }
  .buy-modal-form .form-row {
    margin-bottom: 0.24rem;
  }
  .buy-modal-form .form-row .code-item {
    width: 52%;
  }
  .buy-modal-form .btn-sms {
    width: 44%;
    height: 0.8rem;
  }
  .buy-modal-form .btn-sms-text {
    font-size: 0.24rem;
  }
  .buy-modal-form .btn-submit {
    width: 90%;
    margin-top: 0.08rem;
  }
}
