@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap);

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

a {
  text-decoration: none;
  cursor: pointer !important;
  color: #fff;
}

ul, ol {
  list-style: none;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

html, body {
  height: 100%;
}

body {
  min-width: 320px;
  background-color: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
}

img {
  border: none;
  vertical-align: middle;
  width: 100%;
}

.container-section {
  background-image: url(/jus-res/c23b60b7ec179845654971f6a7623f1d.jpg);
  width: 100%;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-block {
  width: 100%;
  max-width: 700px;
  position: relative;
}

.step-item {
  display: none;
}

.step-item.step-9 {
  color: #343434;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.step-item-wrapper {
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  width: 100%;
  height: 100%;
  min-height: 440px;
  padding: 20px;
  position: relative;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.step-item-wrapper::after {
  content: '';
  background-color: rgba(52, 52, 52, .2);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  left: 0;
}

.step-item-wrapper::before {
  content: "";
  background-image: url(/jus-res/bd57490f74555ce349cc9b40a2f7ded9.jpg),
                    url(/jus-res/ffb8bdfd3ca1f7488577401f9ead0732.jpg),
                    url(/jus-res/d4c7d719f266d8e084c762c16aabee0b.jpg),
                    url(/jus-res/d8aaa0889155a3e0ccd2081fb2943825.jpg),
                    url(/jus-res/0b81bf0b2d8c02173ca8576cd956338f.jpg),
                    url(/jus-res/4c03d06f81631a2fe4572b9893eb562b.jpg),
                    url(/jus-res/29387bb01ffc7e6b0a5648e74b5825db.jpg),
                    url(/jus-res/2002849afb14e339587cdf1988d6e118.jpg);
}

.step-1 .step-item-wrapper { background-image: url(/jus-res/bd57490f74555ce349cc9b40a2f7ded9.jpg); }
.step-2 .step-item-wrapper { background-image: url(/jus-res/ffb8bdfd3ca1f7488577401f9ead0732.jpg); }
.step-3 .step-item-wrapper { background-image: url(/jus-res/d4c7d719f266d8e084c762c16aabee0b.jpg); }
.step-4 .step-item-wrapper { background-image: url(/jus-res/d8aaa0889155a3e0ccd2081fb2943825.jpg); }
.step-5 .step-item-wrapper { background-image: url(/jus-res/0b81bf0b2d8c02173ca8576cd956338f.jpg); }
.step-6 .step-item-wrapper { background-image: url(/jus-res/4c03d06f81631a2fe4572b9893eb562b.jpg); }
.step-7 .step-item-wrapper { background-image: url(/jus-res/29387bb01ffc7e6b0a5648e74b5825db.jpg); }
.step-8 .step-item-wrapper { background-image: url(/jus-res/2002849afb14e339587cdf1988d6e118.jpg); }

.step-header {
  background: rgba(52, 52, 52, .6);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  color: #FC4;
  width: 100%;
  position: absolute;
  z-index: 2;
}

.step-header span {
  color: #fff;
}

[data-active-step="9"] .step-header {
  display: none;
}

.step-number {
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  color: #fff;
  text-align: right;
  position: absolute;
  right: 20px;
  top: 90px;
  z-index: 2;
}

/* 移动端 姓名：右下角 */
.step-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 26px;
  position: absolute;
  right: 20px;
  left: auto;
  bottom: 48px;
  z-index: 2;
  text-align: right;
}

/* 移动端 在线状态：右下角 */
.step-status {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  position: absolute;
  right: 20px;
  left: auto;
  bottom: 18px;
  z-index: 2;
  text-align: right;
}

.step-status::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #0ECA5C;
  border-radius: 50%;
  display: inline-flex;
  margin-left: 7px;
}

.step-status.offline::after {
  background: #CA0E0E;
}

.step-item.step-9 .step-title {
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.step-item.step-9 .step-subtitle {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.buttons-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.buttons-block a {
  width: 100%;
}

.step-item.step-9 .buttons-block {
  margin-top: 40px;
}

.step-btn {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  height: 60px;
  font-weight: 600;
  line-height: 22px;
  text-transform: uppercase;
  color: #FFF;
  text-align: center;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  cursor: pointer;
  background: #FC4;
  color: #343434;
}

.step-btn.continue {
  width: 100%;
}

.step-btn.profile {
  background: #343434;
  color: #fff;
}

.step-btn:hover {
  background: #FCD160;
}

.step-btn:active {
  background: #FFC221;
}

.step-btn.profile:hover {
  background: #484848;
}

.step-btn.profile:active {
  background: #282828;
}

.visible {
  display: block;
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* PC/大屏（>=768px）修正规则 */
@media screen and (min-width: 768px) {
  .container-section {
    padding: 50px 20px 20px;
    align-items: flex-start;
  }

  .step-item-wrapper {
    min-height: 680px;
    padding: 40px;
  }

  .step-header {
    font-size: 24px;
  }

  .step-number {
    top: 130px;
    right: 40px;
    font-size: 60px;
  }

  /* PC 端姓名：沉到右下角 */
  .step-name {
    font-size: 60px;
    right: 40px;
    left: auto;
    bottom: 80px;
    text-align: right;
  }

  /* PC 端在线状态：沉到右下角 */
  .step-status {
    font-size: 24px;
    right: 40px;
    left: auto;
    bottom: 40px;
    text-align: right;
  }

  .step-status::after {
    width: 15px;
    height: 15px;
    margin-left: 7px;
  }

  .step-btn {
    height: 120px;
    font-size: 24px;
  }

  .step-item.step-9 .step-subtitle {
    font-size: 24px;
  }
}