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

body {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
  background: #fdfaf7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.title {
  margin-bottom: 30px;
}

.controls {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: column;
}

.inputs {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-width: 600px;
}

.inputs input {
  padding: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
}

.wheel-wrapper {
  margin-top: 30px;
  position: relative;
  width: 300px;
  height: 300px;
}

svg {
  transform: rotate(0deg);
  transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
}

.pointer {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 20px solid black;
  position: absolute;
  top: 0px;
  left: calc(50% - 15px);
  z-index: 10;
  transform: rotateZ(180deg);
}

text {
  font-size: 16px;
  font-weight: bold;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.btn_wrap {
  display: flex;
  align-items: center;
}

.btn_wrap button {
  all: unset;
  /* margin-top: 1rem; */
  /* padding: 0.5rem 1rem; */
  font-size: 1rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #6500c5;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  color: white;
}
.btn_wrap button:hover {
  opacity: 0.7;
}

#option-count {
  font-size: 40px;
  margin: 0 40px;
}

.number {
  margin-top: 5px;
}

.run_btn {
  all: unset;
  width: 250px;
  height: 50px;
  background-color: #6500c5;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: white;
  border-radius: 50px;
  cursor: pointer;
}

.run_btn:hover {
  opacity: 0.7;
}
