@font-face {
  font-family: BTSE;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  src: url(https://d2refp30laz1gf.cloudfront.net/font/BTSE/BTSE-Regular.otf) format("opentype");
}
@font-face {
  font-family: BTSE;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
  src: url(https://d2refp30laz1gf.cloudfront.net/font/BTSE/BTSE-Medium.otf) format("opentype");
}
@font-face {
  font-family: BTSE;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  font-weight: 700;
  src: url(https://d2refp30laz1gf.cloudfront.net/font/BTSE/BTSE-Bold.otf) format("opentype");
}
html {
  height: 100%;
}
body {
  --color-primary: #015FE5;
  --denim-dark: #131B29;
  --blue-grey-dark: #7E8F9F;
  --blue-grey-darker: #4C5763;
  --blue-grey-lighter: #E3EAF0;
  font-family: BTSE, "Helvetica Neue", "Helvetica", "Arial", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", "sans-serif";
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: url('/page-bg.jpeg');
  background-position: center;
  background-size: cover;
}
.background-overlay {
  display: none;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-wrap .btse-app-icon {
  width: 120px;
}
.app-version-info {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
  color: var(--blue-grey-darker);
  font-size: 12px;
}
.app-version-info.show {
  display: flex;
}
.app-version-info .app-version {
  font-size: 14px;
  font-weight: 700;
  color: var(--denim-dark);
}
.referral-code-info {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}
.referral-code-info.show {
  display: flex;
}
.referral-code-info .greeting {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.referral-code-info .referral-code-block {
  margin-top: 16px;
}
.referral-code-block .referral-code-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-grey-dark);
  text-align: center;
}
.referral-code-block .referral-code {
  font-size: 24px;
  font-weight: 700;
  color: var(--denim-dark);
  line-height: 120%;
}

.register-link {
  display: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 24px;
  color: var(--color-primary);
  text-decoration: none;
}
.register-link.show {
  display: inline-block;
}

.group-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.button-wrap {
  display: flex;
    gap: 16px;
}
.button-wrap.release-note-empty {
  flex-direction: column;
}
.button-wrap.release-note-empty .button {
  width: 311px;
  max-width: 90vw;
}
.button {
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 159px;
  height: 48px;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
}
.button.download-app {
  color:  white;
  background: linear-gradient(95.19deg, #00A3FF 8.7%, var(--color-primary) 94.64%);
}
.button.open-app {
  color:  var(--color-primary);
  border: 2px solid var(--color-primary);
  background-color: white;
}
.btse-app-block {
  max-height: 750px;
  margin-left: 50px;
  margin-right: -100px;
}

.app-release-note {
  display: none;
  box-sizing: border-box;
  width: 334px;
  max-width: 90vw;
  padding: 16px;
  color: var(--denim-dark);
  white-space: pre-line;
  background-color: white;
  border: 1px solid var(--blue-grey-lighter);
  border-radius: 4px;
  max-height: 35vh;
  overflow-y: auto;
}
.app-release-note.show {
  display: block;
}

@media only screen and (max-width: 1024px) {
  body {
    background: initial;
  }
  .background-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/btse-app-bg.svg');
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
  }
  .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }
  .btse-app-block {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .group-wrap {
    gap: 32px;
    margin-top: 24px;
  }
  .button-wrap {
    flex-direction: column;
  }
  .button {
    width: 90vw;
  }
}