* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #000;
}

main {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.header {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 80%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo {
  width: 70%;
  max-width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.title {
  width: 90%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.wheelwrapper {
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 90%;
  max-width: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.frame-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pointer-img {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 30%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.frame-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.price-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

@keyframes zoomInOut {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.08);
  }
}

.spin-btn {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 65%;
  max-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: zoomInOut 1.5s infinite ease-in-out;
  transition: filter 0.2s ease;
}

.spin-btn:hover {
  filter: brightness(1.15);
}

.spin-btn:active {
  transform: translateX(-50%) scale(0.95);
  animation: none;
}

.spin-btn.disabled {
  pointer-events: none;
  opacity: 0.7;
  animation: none;
}

.spin-btn img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
