html, body { margin: 0; background: #000; }
.mx {
  --ink: #f2f4f6;
  --muted: #87909f;
  --blue: #1463ff;
  --card: #101216;
  overflow-x: hidden;
  background: #000;
  color: var(--ink);
  font-family: "PingFang SC", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.mx,
.mx * {
  box-sizing: border-box;
}

.mx :where(h1, h2, h3, p, figure) {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.mx a {
  color: inherit;
  text-decoration: none;
}

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

.mx-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 16px;
  background: #000;
  gap: 8px;
}

.mx-logo img {
  width: 89px;
  height: 16px;
}

.mx-nav {
  display: flex;
  align-items: center;
  height: 60px;
  margin-left: 16px;
  gap: 14px;
}

.mx-nav > a,
.mx-menu__btn,
.mx-proof {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 60px;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.mx-menu__btn svg,
.mx-proof svg {
  width: 12px;
  height: 12px;
  color: #6b7280;
}

.mx-menu {
  position: relative;
  height: 60px;
}

.mx-menu__panel {
  position: absolute;
  top: 52px;
  left: 0;
  z-index: 40;
  display: none;
  width: 300px;
  max-height: calc(100vh - 80px);
  padding: 8px;
  overflow: auto;
  border-radius: 16px;
  background: rgba(29, 30, 35, 0.92);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
}

.mx-menu:hover > .mx-menu__panel,
.mx-menu:focus-within > .mx-menu__panel {
  display: block;
}

.mx-menu--wide > .mx-menu__panel {
  width: 620px;
}

.mx-menu--wide:hover > .mx-menu__panel,
.mx-menu--wide:focus-within > .mx-menu__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.mx-menu__label {
  margin: 4px 12px 2px;
  color: var(--muted);
  font-size: 12px;
}

.mx-menu__panel a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  height: auto;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  column-gap: 10px;
}

.mx-menu__panel img {
  width: 28px;
  height: 28px;
  grid-row: span 2;
}

.mx-menu__panel a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mx-menu__panel strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.mx-menu__panel strong em {
  padding: 0 4px;
  border-radius: 4px;
  background: #1463ff;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
}

.mx-menu__panel span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.mx-nav a i {
  display: inline-flex;
  align-items: center;
  height: 16px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 4px;
  background: #1463ff;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.mx-nav a:hover,
.mx-proof:hover {
  color: #fff;
}

.mx-side {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 12px;
}

.mx-search {
  display: flex;
  align-items: center;
  width: 332px;
  height: 32px;
  padding: 0 12px;
  border-radius: 43px;
  background: rgba(57, 63, 79, 0.41);
  color: var(--ink);
  gap: 8px;
}

.mx-search svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.mx-ticker {
  height: 16px;
  overflow: hidden;
  font-size: 12px;
}

.mx-ticker span span {
  display: block;
  height: 16px;
  line-height: 16px;
  white-space: nowrap;
}

.mx-ticker > span {
  display: block;
  animation: mx-tick 15s steps(6, end) infinite;
}

@keyframes mx-tick {
  to {
    transform: translateY(-96px);
  }
}

.mx-login {
  font-size: 14px;
}

.mx a.mx-reg,
.mx a.mx-float b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 61px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.mx-iconbtn {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--ink);
}

.mx-iconbtn svg {
  width: 18px;
  height: 18px;
}

.mx-hero {
  position: relative;
  min-height: 612px;
  padding: 123px 0 0 140px;
}

.mx-hero h1 {
  max-width: 690px;
  font-size: 54px;
  font-weight: 600;
  line-height: 62px;
}

.mx-hero__copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 20px;
  line-height: 28px;
}

.mx-stores {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.mx-stores article {
  display: flex;
  width: 214px;
  height: 166px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--card);
  gap: 8px;
}

.mx-stores span {
  color: var(--ink);
  font-size: 14px;
}

.mx a.mx-btn {
  display: inline-flex;
  width: 164px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 12px;
  gap: 6px;
}

.mx a.mx-btn--blue {
  background: var(--blue);
  color: #fff;
}

.mx a.mx-btn--gray {
  background: rgba(57, 63, 79, 0.41);
  color: var(--ink);
}

.mx-btn img {
  width: 16px;
  height: 16px;
}

.mx-hero small {
  display: block;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

.mx-phone {
  position: absolute;
  top: 76px;
  left: 722px;
  width: 824px;
  height: 438px;
}

.mx-phone > img {
  width: 824px;
  height: 438px;
  max-width: none;
}

.mx-qr {
  position: absolute;
  top: 100px;
  left: 338px;
  width: 148px;
  text-align: center;
}

.mx-qr p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.mx-qr div {
  width: 148px;
}

.mx-qr img {
  width: 148px;
  height: 148px;
  max-width: none;
}

.mx-world {
  padding: 48px 24px 40px;
  background: #101216;
  text-align: center;
}

.mx-world h2,
.mx-perks > h2,
.mx-guides > h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
}

.mx-world > p,
.mx-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.mx-feats {
  display: grid;
  width: 762px;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px auto 0;
  gap: 24px;
}

.mx-feats img {
  width: 150px;
  height: 100px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.mx-feats h3 {
  font-size: 18px;
  font-weight: 600;
}

.mx-feats p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.mx-perks {
  margin: 0 auto;
  padding: 96px 24px 8px;
}

.mx-perks > h2,
.mx-guides > h2 {
  text-align: center;
}

.mx-perks article {
  display: grid;
  width: 1200px;
  max-width: 100%;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  margin: 24px auto 0;
  padding: 15px 16px;
  border-radius: 16px;
  background: #101216;
  gap: 24px;
}

.mx-ticket {
  display: flex;
  width: 240px;
  height: 107px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url("img/coupon-bg.png") center / 100% 100% no-repeat;
  color: #8a5a12;
}

.mx a.mx-btn.mx-join {
  width: 188px;
  height: 48px;
  font-size: 16px;
}

.mx-ticket strong {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.mx-ticket span {
  margin-top: 4px;
  font-size: 13px;
}

.mx-perks h3 {
  font-size: 18px;
  font-weight: 600;
}

.mx-perks p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.mx-perks p a,
.mx-panel a {
  color: var(--blue);
}

.mx-guides {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 24px 120px;
}

.mx-guides > h2 {
  margin-top: 48px;
}

.mx-lead {
  text-align: center;
}

.mx-panel {
  margin-top: 20px;
  padding: 36px 48px;
  border-radius: 16px;
  background: #14161c;
  text-align: center;
}

.mx-panel p {
  color: var(--ink);
  font-size: 16px;
  line-height: 28px;
}

.mx-panel h3 {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 600;
}

.mx-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  gap: 20px;
  text-align: left;
}

.mx-steps figcaption {
  min-height: 72px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.mx-steps img {
  width: 150px;
  margin: 12px auto 0;
}

.mx-steps figure div {
  display: flex;
  justify-content: center;
  gap: 0;
}

.mx-footer {
  display: grid;
  grid-template-columns: 180px repeat(5, minmax(0, 1fr));
  width: 1224px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 48px 0 24px;
  gap: 24px;
}

.mx-social h2 + div {
  display: flex;
  flex-wrap: wrap;
  width: 140px;
  margin-bottom: 20px;
  gap: 12px;
}

.mx-footer .mx-social a {
  display: block;
  width: 20px;
  height: 20px;
  line-height: 0;
  font-size: 0;
}

.mx-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mx-footer-qr {
  width: 120px;
  height: 120px;
  margin-top: 12px;
}

.mx-social p,
.mx-copy {
  color: var(--muted);
  font-size: 12px;
}

.mx-copy {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.mx-footer h2 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.mx-footer a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 32px;
}

.mx-footer a:hover {
  color: #fff;
}

.mx-float {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 30;
  display: flex;
  height: 64px;
  align-items: center;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: #1c1f27;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  gap: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.mx-float img {
  width: 48px;
  height: 48px;
}

.mx-count {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.mx a.mx-float b {
  height: 48px;
  min-width: 96px;
  font-size: 16px;
}

@media (max-width: 1200px) {
  .mx-hero {
    min-height: 0;
    padding: 48px 24px 24px;
  }

  .mx-phone {
    position: relative;
    top: auto;
    left: auto;
    width: min(824px, 100%);
    height: auto;
    margin-top: 24px;
  }

  .mx-phone > img {
    width: 100%;
    height: auto;
  }

  .mx-qr {
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
  }

  .mx-nav,
  .mx-search {
    display: none;
  }

  .mx-side {
    gap: 8px;
  }
}

@media (max-width: 860px) {
  .mx-hero {
    padding: 32px 20px 20px;
  }

  .mx-hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .mx-stores {
    flex-direction: column;
  }

  .mx-stores article {
    width: 100%;
  }

  .mx-feats,
  .mx-steps,
  .mx-perks article,
  .mx-footer {
    grid-template-columns: 1fr;
  }

  .mx-perks article {
    justify-items: start;
  }

  .mx-float {
    width: calc(100% - 24px);
    white-space: normal;
  }
}
