﻿/* rem-based layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  position: relative;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background-color: transparent;
  -moz-user-select: none;
  user-select: none;
  touch-action: none;
  -webkit-user-select: none;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
}

div &::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
}
input {
  font-size: 16px;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: transparent;
  border: none;
  outline: none;
}

#app {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #e6e8f3;
  overflow: hidden;
}
.wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #e6e8f3;
}
.full-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 750px);
  height: 100%;
  background-color: #000000;
}
.main-content {
  display: flex;
  flex: 1;
  width: 100%;
}
.safe-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: auto;
  padding-top: 6rem;
}
.video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: block;
  object-fit: cover;
  pointer-events: none;
}
.mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-image: url('../image/mask.png');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.bottom-gradient {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: 100vw;
  height: 55vh;
  max-height: 520px;
  pointer-events: none;
  background-image: url('../image/bottom.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}
.header-group {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.6rem 0rem 0rem;
}
.header-lf,
.header-rt {
  display: flex;
  align-items: center;
  flex: 1;
}
.header-rt {
  flex: 0.8;
}
.header-rt {
  margin-left: auto;
}
.header-brand {
  width: 6.8rem;
  height: auto;
}
.header-brand__img {
  display: block;
  width: 100%;
  height: auto;
}
.main-btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  width: 80%;
  max-width: 6.8rem;
  overflow: visible;
}
.logo {
  height: 0.9rem;
}
.logo img {
  display: block;
  height: 100%;
}
.main-btn .btn {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.main-btn .btn-img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  transition: filter 0.4s ease, transform 0.12s ease;
}
.btn-dim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  border-radius: 22% / 46%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  filter: blur(0.12rem);
  background: radial-gradient(
    ellipse 68% 58% at 50% 50%,
    rgba(0, 0, 0, 0.54) 0%,
    rgba(0, 0, 0, 0.4) 34%,
    rgba(0, 0, 0, 0.22) 58%,
    rgba(0, 0, 0, 0.08) 76%,
    rgba(0, 0, 0, 0.02) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 92% 82% at 50% 50%,
    #000 42%,
    rgba(0, 0, 0, 0.75) 68%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 92% 82% at 50% 50%,
    #000 42%,
    rgba(0, 0, 0, 0.75) 68%,
    transparent 100%
  );
}
.main-btn .btn.is-waiting {
  cursor: wait;
  pointer-events: none;
}
.main-btn .btn.is-waiting .btn-dim {
  opacity: 1;
}
.main-btn .btn.is-waiting .btn-img--ready {
  filter: brightness(0.82) saturate(0.92);
}
.main-btn .btn.is-ready {
  cursor: pointer;
  pointer-events: auto;
}
.main-btn .btn.is-ready .btn-dim {
  opacity: 0;
}
.main-btn .btn.is-ready .btn-img--ready {
  filter: none;
}
.main-btn .btn.is-ready .btn-status {
  opacity: 0;
  visibility: hidden;
}
.btn-status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  text-align: center;
  color: #ffffff;
  font-size: 0.26rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.main-btn .btn.is-ready:hover .btn-img--ready {
  filter: brightness(1.06);
}
.main-btn .btn.is-ready:active .btn-img--ready {
  transform: scale(0.97);
  filter: brightness(0.92);
}
.btn-group {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 0.4rem;
  width: 90%;
  padding-top: 0.8rem;
}
.sub-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, filter 0.12s ease, opacity 0.12s ease;
}
.sub-btn:hover {
  filter: brightness(1.1);
}
.sub-btn:active {
  transform: scale(0.93);
  filter: brightness(0.9);
  opacity: 0.85;
}
.sub-btn img {
  display: block;
  width: 100%;
}
.error {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0.67em 0;
}
.error-text {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 750px) {
  /* .main-btn .btn {
    width: 5.5rem;
  } */
  /* .btn-group {
    width: 60%;
  } */
}
