* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background: url('img/bg_mobile.webp') no-repeat center center;
  background-size: 100% 100%;
}

@media (min-width: 720px) {
  body {
    background: url('img/bg_new.jpg') no-repeat center center;
    background-size: cover;
  }
}

.wrapper {
  width: 90%;
  max-width: 34.37em;
  max-height: 90vh;
  padding: 3em;
  font-size: 12px;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1em;
  box-shadow: 0 4em 5em rgba(27, 8, 53, 0);
  order: 1;
}

.header_text {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  color: #000;
  order: 0;
}

.container {
  position: relative;
  height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.player-id-input {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10%;
}

.player-id-input label {
  margin-right: 10px;
  white-space: nowrap;
}

.player-id-input input {
  width: 150px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#wheel-container {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  margin: 10px 0;
}

#overlay-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

#wheel {
  width: 80%;
  height: 80%;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

#logoweb {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 135px;
  height: 45px;
  order: 0;
}

#claimtext {
  position: relative;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 265px;
  height: 35px;
  margin: 40px 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 0;
}

#spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25%;
  height: 25%;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(#fdcf3b 50%, #d88a40 85%);
  color: #c66e16;
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 11;
  display: flex;
  justify-content: center;
  align-items: center;
}

#dragon-gif {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 11;
}

#lighting-gif {
  position: absolute;
  top: 57%;
  left: 50%;
  width: 90%;
  height: 75%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

#arrow-img {
  position: absolute;
  top: 45%;
  right: -8%;
  width: 4em;
}

#final-value {
  font-size: 1.5em;
  font-weight: 500;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgb(0, 0, 0);
  max-width: 90%;
  margin: 1em auto 0;
  word-wrap: break-word;
  width: 100%;
  flex-grow: 0;
  z-index: 15;
  position: relative;
}


img {
  right: -5%; /* This selector seems generic — consider scoping it or removing if unused */
}
