body {
  padding: 0;
  margin: 0;
  background: linear-gradient(to top, #924426, #e0c3a0);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
#unity-loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ccc;
}
#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: #fff;
  padding: 10px;
  display: none;
}
#unity-container {
  position: relative;
  background: #231f20;
  height: 100%;
  margin: 0 auto;
  aspect-ratio: 9/16;

  @media (max-aspect-ratio: 9/16) {
    width: 100%;
    aspect-ratio: unset;
  }
}
#unity-container::before {
  content: '';
  position: absolute;
  background: url(./border.png);
  background-position: right;
  background-size: 5vh 100%;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  max-width: calc(50vw - 50%);
  transform: translateX(-100%);

  @media (max-aspect-ratio: 9/16) {
    display: none;
  }
}
#unity-container::after {
  content: '';
  position: absolute;
  background: url(./border.png);
  background-position: right;
  background-size: 5vh 100%;
  background-repeat: no-repeat;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  max-width: calc(50vw - 50%);
  transform: translateX(100%) scaleX(-1);

  @media (max-aspect-ratio: 9/16) {
    display: none;
  }
}
.left-bg {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  aspect-ratio: 1313/1080;
  transform: translateX(-100%);
  background: center/cover no-repeat url(./left-bg.png);
  max-width: calc(50vw - 50%);

  @media (max-aspect-ratio: 9/16) {
    display: none;
  }
}
.right-bg {
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  aspect-ratio: 1313/1080;
  transform: translateX(100%);
  background: center/cover no-repeat url(./right-bg.png);
  max-width: calc(50vw - 50%);

  @media (max-aspect-ratio: 9/16) {
    display: none;
  }
}
.bg-logo {
  position: absolute;
  top: 0;
  left: -92%;
  background: center/contain no-repeat url(./bg-logo.png);
  width: 50%;
  aspect-ratio: 1/1;
  transition: left 0.3s ease;
  @media (max-aspect-ratio: 5/3) {
    left: -60%;
  }
  @media (max-aspect-ratio: 6/5) {
    display: none;
  }
}
#unity-canvas {
  width: 100%;
  height: 100%;
}
#loader-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
  .logo {
    width: 452px;
    height: 292px;
    max-width: 80%;
    background: center/contain no-repeat url(logo.png);
  }
  .lds-default,
  .lds-default div {
    box-sizing: border-box;
  }
  .lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-default div {
    position: absolute;
    width: 6.4px;
    height: 6.4px;
    background: #ede3a2;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
  }
  .lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 36.8px;
    left: 66.24px;
  }
  .lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22.08px;
    left: 62.29579px;
  }
  .lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11.30421px;
    left: 51.52px;
  }
  .lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7.36px;
    left: 36.8px;
  }
  .lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11.30421px;
    left: 22.08px;
  }
  .lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22.08px;
    left: 11.30421px;
  }
  .lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 36.8px;
    left: 7.36px;
  }
  .lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 51.52px;
    left: 11.30421px;
  }
  .lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62.29579px;
    left: 22.08px;
  }
  .lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66.24px;
    left: 36.8px;
  }
  .lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62.29579px;
    left: 51.52px;
  }
  .lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 51.52px;
    left: 62.29579px;
  }
}
@keyframes lds-default {
  0%,
  20%,
  80%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
#stripe-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 0;
  text-align: center;
  white-space: nowrap;
}
#stripe-overlay:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
#stripe-wrapper {
  position: relative;
  vertical-align: middle;
  display: inline-block;
  text-align: left;
  white-space: normal;
  width: 100%;
  max-width: 1000px;
}
#stripe-close-btn {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 15px;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  cursor: pointer;
  border: 1px solid #d2d2d2;
  background: none;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #797979;
}
