.splash-wrap {
  background-color: #c91426;
}

.splash {
  position: relative;
  overflow: clip;
  margin-inline: auto;
  will-change: auto;

  @media (orientation: portrait) {
    aspect-ratio: 1 / 1.05;
  }

  & * {
    will-change: auto;
  }

  & img {
    display: block;
  }
}

.splash__container {
  position: relative;
  z-index: 10;
  height: 100%;

  @media (orientation: landscape) {
    height: calc(100dvh - 40px);
    max-height: 980px;
    min-height: 920px;
  }
}

.splash__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  & > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.splash__logos {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6%;

  & > img {
    margin-top: -6%;
    min-width: 0;
    object-fit: contain;
    opacity: 0;
    transform: translateY(-100%);
    max-width: 100%;
    height: auto;
  }
}

.splash__heading {
  display: flex;
  flex-direction: column;

  @media (orientation: portrait) {
    margin-top: 5%;
    width: 60%;
    margin-left: 1rem;
  }

  @media (orientation: landscape) {
    position: absolute;
    right: 50%;
    bottom: 40%;
    width: 48%;
  }

  > div {
    display: flex;
    align-items: center;

    & + & {
      margin-top: -5%;
    }

    & > img {
      opacity: 0;
      min-width: 0;
      height: auto;
      object-fit: contain;
    }
  }
}

.splash__landscape {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  width: 148%;

  & > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.splash__landscape-foreground {
  z-index: 30;
}

.splash__landscape-foreground-right {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  object-fit: fill !important;

  @media (max-width: 2690px) {
    display: none;
  }
}

.splash__landscape-foreground-left {
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  object-fit: fill !important;

  @media (max-width: 2690px) {
    display: none;
  }
}
.splash__landscape-middleground {
  z-index: 20;
}
.splash__landscape-background {
  z-index: 10;
}

.splash__landscape-background-right {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  object-fit: fill !important;

  @media (max-width: 2690px) {
    display: none;
  }
}

.splash__landscape-background-left {
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  object-fit: fill !important;

  @media (max-width: 2690px) {
    display: none;
  }
}

.splash__wheel {
  position: absolute;
  bottom: 14%;
  left: 51%;
  width: 49%;
  aspect-ratio: 1 / 1;
  z-index: 15;
  opacity: 0;

  & img {
    width: 100%;
    height: auto;
  }

  .splash__wheel-border {
    position: relative;
    z-index: 20;
  }

  & .splash__wheel-board {
    position: absolute;
    inset: 0;
    z-index: 10;
  }
}

.splash__coins {
  position: absolute;
  bottom: 15%;
  left: 50%;
  width: 48%;
  z-index: 40;
  opacity: 0;

  & > img {
    width: 100%;
    height: auto;
  }
}

.splash__mechanic {
  position: relative;
  z-index: 20;
  background-color: #fff;
  padding-bottom:10px;

  @media (orientation: portrait) {
    margin-top: -7%;
  }

  @media (orientation: landscape) {
    margin-top: -4rem;
  }

  & > .container {
    display: flex;
    gap: 2rem;

    & > img {
      min-width: 0;
      height: auto;
      object-fit: contain;
      opacity: 0;
    }
  }
}
