*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
}

.page {
  background: url("./assets/bg.png") no-repeat center top/cover;
  box-shadow:
    inset 0 50px 100px #000000f8,
    inset 0 -250px 300px #000000f8;

  padding: 40px;
  height: 100%;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.header__logo {
  max-width: 218px;
  width: 100%;
  height: auto;
}

.socials {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.socials__link {
  display: inline-block;
}

.socials__icon {
  max-width: 50px;
  width: 100%;
  height: auto;
}

.content {
  margin-top: -50px;

  text-align: center;
}

.wheel {
  position: relative;
  max-width: 667px;
  width: 100%;
  display: block;
  margin: 0 auto;
  z-index: -1;
  overflow: hidden;
}

.wheel__top {
  position: absolute;
  max-width: 120px;
  width: 15%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.wheel__inner {
  position: relative;
  width: 100%;
  z-index: 2;

  transition: rotate 2s ease-out;
}

.wheel__center {
  position: absolute;
  max-width: 257px;
  width: 40%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 5;
}

.wheel__base {
  position: absolute;
  z-index: 1;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.content__title {
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  font-size: 3.25rem;
  font-weight: 900;

  margin-top: 45px;
}

.content__title > span {
  color: #ffbc00;
}

.button {
  margin: 60px auto 0 auto;
  display: block;
  border: none;
  outline: none;
  cursor: pointer;
  background:
    url(./assets/button.png) no-repeat center/100% 100%,
    #ffbc00;
  max-width: 547px;
  width: 100%;
  height: 129px;
  border-radius: 70px;
  box-shadow: 0px 0px 80px 10px #f28100;
  scale: 1;
  opacity: 1;
  transition: opacity 0.3s linear;
}

.button-idle {
  animation: pulse 2s linear infinite;
}

@keyframes pulse {
  0% {
    scale: 1;
  }

  50% {
    scale: 1.05;
  }

  100% {
    scale: 1;
  }
}

.button-claim {
  background:
    url(./assets/claim.png) no-repeat center/100% 100%,
    #ffbc00;

  opacity: 0;
}

.button__link {
  display: inline-block;
  width: 100%;
  height: 100%;
}

@media (max-width: 648px) {
  .page {
    background:
      url("./assets/bg-mobi.png") no-repeat center top/100% 100%,
      #000000;
    padding: 20px;
  }
  .content {
    margin-top: 0;
  }

  .content__title {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    position: relative;
    z-index: 2;
  }

  .button {
    height: 90px;
  }

  .content__title {
    font-size: 2rem;
  }
}

@media (max-width: 300px) {
  .button {
    height: 70px;
  }
}

*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #4a4d4e;
}

*::-webkit-scrollbar-track:hover {
  background-color: #b8c0c2;
}

*::-webkit-scrollbar-track:active {
  background-color: #b8c0c2;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #ffbb00;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #ffbb00;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #ffbb00;
}
