:root {
  --bg-0: #04030a;
  --bg-1: #060517;
  --text-0: rgba(255, 255, 255, 0.92);
  --text-1: rgba(255, 255, 255, 0.7);
  --border-0: rgba(170, 110, 255, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, PingFang SC, Microsoft YaHei, sans-serif;
  background: radial-gradient(1200px 600px at 40% 0%, rgba(84, 49, 255, 0.35), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(255, 160, 0, 0.15), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  color: var(--text-0);
}

img {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100%;
}

.view {
  width: 100%;
}

.view-pc {
  display: none;
}

.view-h5 {
  display: none;
}

@media (min-width: 768px) {
  .view-pc {
    display: block;
  }
}

@media (max-width: 767px) {
  .view-h5 {
    display: block;
    min-height: 100vh;
  }

  .h5-wrap {
    background: radial-gradient(1200px 600px at 40% 0%, rgba(84, 49, 255, 0.35), transparent 60%),
      radial-gradient(900px 500px at 80% 20%, rgba(255, 160, 0, 0.15), transparent 60%),
      linear-gradient(180deg, var(--bg-1), var(--bg-0));
  }
}

.pc-wrap {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.pc-surface {
  border-radius: 20px;
  padding: 14px;
  background: radial-gradient(900px 480px at 20% 5%, rgba(88, 52, 255, 0.22), transparent 62%),
    radial-gradient(800px 520px at 90% 20%, rgba(255, 160, 0, 0.12), transparent 60%),
    rgba(2, 2, 10, 0.55);
  outline: 1px solid rgba(170, 110, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 0, 230, 0.14) inset, 0 14px 42px rgba(0, 0, 0, 0.35);
}

.pc-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
}

.pc-hero.pc-hero-abs {
  position: absolute;
  left: 0;
  top: 0.925926%;
  width: 69.114583%;
  aspect-ratio: 1327 / 476;
}

.pc-mid-img.pc-new-abs {
  position: absolute;
  left: 0.416667%;
  top: 45.925926%;
  width: 29.010417%;
  height: auto;
}

.pc-mid-img.pc-bao-abs {
  position: absolute;
  left: 29.84375%;
  top: 45.925926%;
  width: 39.270833%;
  height: auto;
}

.pc-platforms.pc-platforms-abs {
  position: absolute;
  top: 0.925926%;
  right: 0;
  width: 30.78125%;
  aspect-ratio: 591 / 1080;
  z-index: 2;
  display: block;
}

.pc-platforms.pc-platforms-abs .pc-platform-card {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
}

.pc-more-label.pc-more-label-abs {
  position: absolute;
  right: 41.09375%;
  top: 60.37037%;
  width: 13.645833%;
  aspect-ratio: 131 / 22;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a0c00;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  pointer-events: none;
  transform: translateY(14px);
  z-index: 4;
}

.pc-more.pc-more-abs {
  position: absolute;
  right: 41.09375%;
  top: 60.37037%;
  width: 13.645833%;
  height: auto;
  aspect-ratio: 131 / 22;
  object-fit: contain;
  transform: translateY(14px);
  z-index: 3;
}

.pc-se-abs {
  position: absolute;
  left: 29.84375%;
  right: 0;
  top: 64.166667%;
  bottom: 16.574074%;
  display: grid;
  grid-template-columns: 205fr 207fr 223fr 205fr 234fr 253fr;
  gap: 5px;
  align-items: stretch;
  pointer-events: none;
  z-index: 1;
}

.pc-se-abs .pc-se {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.pc-platform-card {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-0);
  background-image: url("../img/PC/right.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 5px 60px 5px 10px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
}

.pc-platform-card:active {
  transform: translateY(1px);
}

.pc-platform-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pc-platform-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.pc-platform-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pc-platform-title {
  font-size: 18px;
  font-weight: 900;
  color: rgba(255, 214, 120, 0.98);
  text-shadow: 0 2px 14px rgba(255, 165, 0, 0.18);
}

.pc-platform-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-platform-line.pc-platform-line-3 {
  color: #ff3a3a;
}

.pc-mid-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  outline: none;
  object-fit: contain;
  background: rgba(5, 5, 18, 0.55);
}

.pc-mid-img.pc-mid-bao {
  border-radius: 18px;
  background: transparent;
  object-fit: contain;
  aspect-ratio: 754 / 187;
}

.pc-mid-img.pc-mid-new {
  aspect-ratio: 546 / 397;
}

.pc-footer {
  margin-top: -8.802083%;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  outline: 1px solid rgba(170, 110, 255, 0.22);
}

.pc-footer-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/PC/foot.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 1;
}

.pc-footer-inner {
  position: relative;
  z-index: 1;
  padding: 0;
  display: grid;
  grid-template-columns: 50.84% 25.69% 23.47%;
  align-items: stretch;
  gap: 0;
}

.pc-footer-left,
.pc-footer-mid,
.pc-footer-right {
  min-width: 0;
  overflow: hidden;
  padding: 12px 18px;
}

.pc-footer-title {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 233, 170, 0.98);
  text-shadow: 0 2px 14px rgba(255, 165, 0, 0.22);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.pc-footer-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: -6px;
  margin-bottom: 10px;
}

.pc-contact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.pc-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  min-width: 0;
}

.pc-contact-item-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.pc-contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pc-contact-item-main {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-contact-item-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-footer-mid {
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-content: center;
  padding-top: 6px;
}

.pc-pay-img {
  width: min(240px, 100%);
  height: auto;
}

.pc-footer-right {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  justify-items: start;
  padding-right: 14px;
  padding-top: 6px;
}

.pc-right-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pc-qr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  min-width: 0;
}

.pc-qr-title {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 233, 170, 0.98);
  text-shadow: 0 2px 14px rgba(255, 165, 0, 0.2);
  white-space: nowrap;
}

.pc-qr-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  margin-top: 4px;
}

.pc-qr {
  display: inline-block;
  text-decoration: none;
  transform: translate(-6px, 3px);
  cursor: pointer;
}

.pc-qr-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.pc-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.pc-dl {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.pc-dl-img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

.h5-platform-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 8px;
}

.h5-wrap {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 0 16px 30px;
  min-height: 100vh;
}

.h5-top-img {
  width: calc(100% + 32px);
  max-width: none;
  height: auto;
  margin-left: -16px;
  margin-right: -16px;
  border-radius: 0;
  outline: none;
}

.h5-register {
  display: block;
  margin: 12px auto 0;
  width: min(420px, 92%);
  text-decoration: none;
}

.h5-register-img {
  width: 100%;
  height: auto;
}

.h5-title {
  width: min(240px, 92%);
  margin: 16px auto 10px;
  opacity: 0.95;
}

.h5-platforms {
  --platform-count: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
}

.h5-platform-card {
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-0);
  background-image: url("../img/H5/Group 2087327660 1.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 14px 46px 14px 14px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
}

.h5-platform-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.h5-platform-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.h5-platform-title {
  font-size: 17px;
  font-weight: 900;
  color: rgba(255, 214, 120, 0.98);
}

.h5-platform-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h5-platform-line.h5-platform-line-3 {
  color: #ff3a3a;
}

.h5-mid-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.h5-mid-img {
  width: 100%;
  border-radius: 14px;
  outline: 1px solid rgba(170, 110, 255, 0.22);
  object-fit: contain;
}

.h5-contacts {
  --contact-count: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.h5-contact {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  background-size: cover;
  background-position: center;
}

.h5-contact:nth-child(1) { background-image: url("../img/H5/se-1.png"); }
.h5-contact:nth-child(2) { background-image: url("../img/H5/se-2.png"); }
.h5-contact:nth-child(3) { background-image: url("../img/H5/se-3.png"); }
.h5-contact:nth-child(4) { background-image: url("../img/H5/se-4.png"); }

.h5-contact-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.h5-contact-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.h5-contact-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  white-space: nowrap;
}

.h5-pay-img {
  width: 100%;
  margin: 8px 0 0;
  height: auto;
}

.h5-bottom {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.h5-qr {
  display: block;
  text-decoration: none;
  grid-row: 1 / 3;
}

.h5-qr-img {
  width: 75px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  outline: 1px solid rgba(170, 110, 255, 0.22);
}

.h5-qr-panel {
  display: grid;
  grid-template-columns: 75px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 6px;
  row-gap: 4px;
  align-items: start;
  border: 1px solid rgba(170, 110, 255, 0.3);
  border-radius: 14px;
  padding: 8px;
  overflow: hidden;
}

.h5-qr-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.h5-qr-title {
  font-size: 14px;
  font-weight: 900;
  color: rgba(255, 233, 170, 0.98);
  white-space: nowrap;
}

.h5-qr-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  margin-top: 4px;
}

.h5-downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-self: end;
}

.h5-dl {
  display: block;
  text-decoration: none;
}

.h5-dl-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.h5-actions {
  margin-top: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
}

.h5-action {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.h5-action-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
