@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  border: none;
  box-sizing: border-box;
  flex-shrink: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: PingFangSC-Regular, Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC-Light", "Microsoft YaHei", sans-serif;
  background: rgba(255, 51, 182, 1);
}

a {
  color: rgba(255, 255, 255, 1);
  outline: none;
}

#container {
  width: 100%;
}

.page {
  position: relative;
  width: 24rem;
  height: 13.5rem;
  overflow: hidden;
  background: url("../assets/slices/img_5.png") 100% no-repeat;
  background-size: 100% 100%;
}

.header {
  position: absolute;
  left: 3.75rem;
  top: .2rem;
  width: 16.5rem;
  height: .6rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.brand img {
  width: .6rem;
  height: .6rem;
}

.brand span {
  width: 1.55rem;
  height: .4125rem;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: .3rem;
  font-family: PingFangSC-Semibold, PingFangSC-Regular, "Microsoft YaHei", sans-serif;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  line-height: .4125rem;
  margin: .1rem 0 0 .1rem;
}

.nav {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-left: 8.8375rem;
}

.nav a {
  height: .4125rem;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: .3rem;
  font-family: PingFangSC-Regular, "Microsoft YaHei", sans-serif;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: .4125rem;
  text-decoration-line: underline;
  margin-top: .1rem;
}

.nav a:first-child {
  width: 1.9375rem;
}

.nav a:last-child {
  width: 2.375rem;
  margin-left: 1.1rem;
}

.hero {
  position: absolute;
  left: 3.75rem;
  top: 1.925rem;
  width: 16.425rem;
  height: 10.525rem;
}

.content {
  position: absolute;
  left: 0;
  top: 2.2rem;
  width: 10.65rem;
  height: 4.75rem;
}

.content h1 {
  width: 10.65rem;
  height: 2.9rem;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: .6rem;
  font-family: SFPro-Bold, PingFangSC-Regular, "Microsoft YaHei", sans-serif;
  font-weight: 700;
  text-align: left;
  line-height: .725rem;
}

.google-play {
  display: block;
  width: 4.2375rem;
  height: 1.25rem;
  margin: .6rem 0 0 0;
}

.phone {
  display: block;
  width: 4.75rem;
  height: 10.525rem;
  border-radius: .75rem;
}

.phone-wrap {
  box-sizing: content-box;
  position: absolute;
  right: -.25rem;
  top: 0;
  width: 4.75rem;
  height: 10.525rem;
  border: .25rem solid rgba(255, 255, 255, .8);
  border-radius: .75rem;
}

.match-tag {
  position: absolute;
  width: 4.7375rem;
  color: rgba(255, 255, 255, 1);
}

.match-tag-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.match-tag-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.match-tag-content span {
  height: .625rem;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: .525rem;
  font-family: SFPro-Semibold, PingFangSC-Semibold, Arial, sans-serif;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  line-height: .625rem;
}

.match-tag-long {
  left: 1.6625rem;
  top: 3.6rem;
  height: 1.75rem;
}

.match-tag-long .match-tag-content {
  width: 3.525rem;
  height: .9rem;
  margin: .2875rem 0 0 .6rem;
}

.long-icon {
  width: .625rem;
  height: .875rem;
}

.match-tag-long span {
  width: 2.7125rem;
  margin-top: .275rem;
}

.match-tag-partner {
  left: -1.325rem;
  top: 6.2625rem;
  height: 1.8rem;
}

.match-tag-partner .match-tag-content {
  width: 3.65rem;
  height: .8875rem;
  margin: .5875rem 0 0 .55rem;
}

.partner-icon {
  width: .6625rem;
  height: .7875rem;
  margin-top: .1rem;
}

.match-tag-partner span {
  width: 2.7875rem;
}

@media (max-width: 768px) {
  .page {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
    background-size: auto 100%;
    background-position: center top;
  }

  .header {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    padding: .56rem .48rem 0;
    justify-content: space-between;
    align-items: center;
  }

  .brand img {
    width: .9rem;
    height: .9rem;
  }

  .brand span {
    width: auto;
    height: auto;
    font-size: .48rem;
    line-height: .58rem;
    margin: .16rem 0 0 .24rem;
  }

  .nav {
    flex-direction: column;
    align-items: flex-end;
    margin-left: 0;
  }

  .nav a,
  .nav a:first-child,
  .nav a:last-child {
    width: auto;
    height: auto;
    font-size: .28rem;
    line-height: .4rem;
    margin: 0;
  }

  .nav a:last-child {
    margin-top: .12rem;
  }

  .hero {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    padding: 1rem .48rem .8rem;
  }

  .content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .content h1 {
    width: 100%;
    height: auto;
    font-size: .64rem;
    line-height: .78rem;
  }

  .google-play {
    width: 4.8rem;
    height: auto;
    margin-top: .6rem;
  }

  .phone-wrap {
    position: relative;
    right: auto;
    top: auto;
    display: block;
    width: 13rem;
    height: 28.73rem;
    margin: 1rem auto 1.2rem;
    border-width: .68rem;
    border-radius: 2.05rem;
  }

  .phone {
    width: 13rem;
    height: 28.73rem;
    border-radius: 2.05rem;
  }

  .match-tag {
    transform: scale(2.7);
    transform-origin: left top;
  }

  .match-tag-long {
    left: 4.49rem;
    top: 9.72rem;
  }

  .match-tag-partner {
    left: -3.58rem;
    top: 16.91rem;
  }
}
