[hidden] { display: none !important; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; font-size: 18px; background: #09001f; }
body {
  min-height: 100%;
  overflow-x: hidden;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: none;
  -webkit-user-select: none;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #adadad;
  overflow: hidden;
}
.bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.bg-color {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 0, 42, .6), rgba(63, 135, 247, .6) 75%, rgba(63, 135, 247, .6));
}

.content-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 24px;
}
.logo-box {
  position: relative;
  width: min(640px, 100%);
  height: 74px;
  margin: 0 auto 24px;
}
.logo-box.pc {
  padding-top: 0;
  padding-left: 360px;
}
.logo-img {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.desc-wrapper {
  width: min(640px, calc(100% - 24px));
  margin: 0 auto;
  text-align: center;
}
.desc-main {
  width: 639px;
  height: auto;
  margin: 0 auto;
}
.desc-sub {
  width: 620px;
  height: auto;
  margin: 40px auto 0;
}

.download-wrapper {
  margin-top: 40px;
  text-align: center;
}
.download-googleplay {
  display: inline-flex;
  width: 200px;
  height: 64px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.download-googleplay:hover { transform: translateY(-2px); filter: brightness(1.06); }
.download-googleplay:active { transform: translateY(0); }
.download-googleplay.download-busy { pointer-events: none; filter: saturate(.75); opacity: .88; }
.pc-btn { width: 200px; height: 64px; object-fit: contain; }

.backup-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px auto 0;
  width: min(640px, calc(100% - 24px));
}
.backup-row a,
.backup-row button,
.floating-cta a,
.modal-button,
.modal-link {
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(8, 18, 58, .82);
  color: #fff;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
}

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 86px auto 168px;
}
.scroll-box {
  position: relative;
  display: block;
  white-space: nowrap;
  animation: scrollImgMove 30s linear infinite;
}
.scroll-item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 292px;
  height: 428px;
  border: 4px solid #21d491;
  border-radius: 16px;
  overflow: hidden;
  margin-left: 44px;
  background: rgba(0,0,0,.25);
}
.scroll-item.alt { border-color: #ffa700; }
.scroll-item img {
  width: 292px;
  height: 428px;
  object-fit: cover;
}
@keyframes scrollImgMove {
  from { transform: translateX(0); }
  to { transform: translateX(-2446px); }
}

.announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 36px;
  padding: 8px 16px;
  text-align: center;
  background: rgba(10, 18, 56, .9);
  color: #fff;
  font-size: 14px;
}
.lang-switch {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 25;
  display: flex;
  gap: 5px;
}
.lang-switch button {
  min-width: 34px;
  min-height: 28px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 8px;
  background: rgba(12,18,50,.66);
  color: #fff;
  font-size: 12px;
}
.lang-switch button.on {
  background: #21d491;
  color: #06112b;
  font-weight: 700;
}

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  justify-content: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(9,0,31,.72);
  backdrop-filter: blur(8px);
}
.floating-cta.show { display: flex; }
.floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(220px, 80vw);
  background: #21d491;
  color: #06112b;
  border: 0;
  font-weight: 700;
}
.contact-button {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 35;
  padding: 12px 16px;
  border-radius: 999px;
  background: #21d491;
  color: #06112b;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.full-mask,
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 5, 20, .76);
}
.full-mask > div,
.modal-card {
  width: min(420px, 100%);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10, 17, 48, .96);
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.full-mask h2,
.modal-card h3 { margin-bottom: 10px; font-size: 22px; }
.full-mask p,
.modal-card p { color: rgba(255,255,255,.78); line-height: 1.55; }
.modal-x {
  float: right;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
}
.modal-button,
.modal-link { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; }
.modal-button { background: #21d491; color: #06112b; font-weight: 700; border: 0; }

@media (max-width: 720px) {
  html { font-size: 16px; }
  .content-wrapper { padding-top: 24px; }
  .logo-box {
    width: 100%;
    height: 54px;
    margin-bottom: 28px;
    padding-left: 16px;
  }
  .logo-box.pc { padding-left: 16px; }
  .logo-img { height: 34px; }
  .desc-wrapper { width: calc(100% - 32px); }
  .desc-main { width: min(100%, 639px); }
  .desc-sub {
    width: min(96%, 620px);
    margin-top: 26px;
  }
  .download-wrapper { margin-top: 32px; }
  .download-googleplay,
  .pc-btn {
    width: 200px;
    height: 64px;
  }
  .scroll-wrapper { margin-top: 58px; margin-bottom: 108px; }
  .scroll-item {
    width: 204px;
    height: 300px;
    margin-left: 24px;
    border-width: 3px;
    border-radius: 12px;
  }
  .scroll-item img { width: 204px; height: 300px; }
  @keyframes scrollImgMove {
    from { transform: translateX(0); }
    to { transform: translateX(-1708px); }
  }
}
