




#wheelBox {
  position: relative;
  width: 250px;
  height: 250px;
  /* filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); */
}

canvas {
  width: 100%;
  border-radius: 50%;
  background: #fff;
  /* box-shadow: inset 0 0 0 6px #f1c40f, 0 0 30px rgba(241,196,15,0.6); */

}

#pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 24px solid #000;
  /* filter: drop-shadow(0 0 8px gold); */
}

.wheel_col button {
    margin-top: 20px;
    padding: 5px 20px;
    font-size: 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ffd700, #ffb400);
    font-weight: bold;
    cursor: pointer;
    color: #000;
}

#result, #claimSection {
  margin-top: 20px;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 18px;
  border-radius: 16px;
}

#result h2{
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin: 0;
}

#claimSection { display: none; }




/* ============================== */
@import url("https://fonts.googleapis.com/css2?family=Girassol&display=swap");

.footer{
  position: relative;
}
.wheel_col{
    width: 300px;
    left: 0;
    position: fixed;
    bottom: 0px;
    /* position: absolute;
    bottom: 137px; */
    background: #fff;
    padding: 0 0 15px;
    z-index: 1;
        display: flex;
    flex-direction: column;
        align-items: center;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


.wheel_title{
  background: #000;
  color: #b80065;
  width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
       margin-bottom: 8px;
}

.wheel_title h4{
    font-size: 20px;
    font-weight: 800;
    color: #ff0e93;
    margin: 0;
    padding: 10px 0 20px;
}

.wheel_title a{
position: absolute;
    right: 9px;
    top: 13px;
    color: #fff !important;
}

.wheel_title a i{
    color: #fff !important;
}






.deal-wheel {
  --size: clamp(250px, 80vmin, 100px);
  --lg-hs: 0 3%;
  --lg-stop: 50%;
  --lg: linear-gradient(
      hsl(var(--lg-hs) 0%) 0 var(--lg-stop),
      hsl(var(--lg-hs) 20%) var(--lg-stop) 100%
    );
  
  position: relative;
  display: grid;
  grid-gap: calc(var(--size) / 20);
  align-items: center;
  grid-template-areas:
    "spinner"
    "trigger";
  font-family: "Girassol", sans-serif;
  font-size: calc(var(--size) / 21);
  line-height: 1;
}

.deal-wheel > * {
  grid-area: spinner;
}

.deal-wheel .btn-spin {
  grid-area: trigger;
  justify-self: center;
}

.spinner {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-areas: "spinner";
  width: var(--size);
  height: var(--size);
  transform: rotate(calc(var(--rotate, 25) * 1deg));
  border-radius: 50%;
  box-shadow: inset 0 0 0 calc(var(--size) / 40) hsl(0deg 0% 0% / 0.06);
}

.spinner * {
  grid-area: spinner;
}

.prize {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 calc(var(--size) / 6) 0 calc(var(--size) / 20);
  width: 50%;
  height: 50%;
  transform-origin: center right;
  transform: rotate(var(--rotate));
  user-select: none;
}

.cap {
  --cap-size: calc(var(--size) / 4);
  position: relative;
  justify-self: center;
  width: var(--cap-size);
  height: var(--cap-size);

    background: red;
    border-radius: 100%;
    left: 0;
    margin-left: -23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide select dropdown from SVG import file */
.cap select {
  display: none;
}

.cap svg {
  width: 100%;
}

.ticker {
  position: relative;
  top: calc(var(--size) / 600);
  width: calc(var(--size) / 10);
  height: calc(var(--size) / 4);
  background: var(--lg);
  z-index: 1;
  clip-path: polygon(25% 25%, 75% 25%, 50% 68.3%);
background-color: #eb4747;
  transform-origin: top center;

  /* position: absolute;
  top: 0;
  left: 50px; */
  


}

.btn-spin {
  color: hsl(0deg 0% 100%);
  background: var(--lg);
  border: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-transform: inherit;
  padding: 0.9rem 2rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: opacity 200ms ease-out;
}

.btn-spin:focus {
  outline-offset: 2px;
}

.btn-spin:active {
  transform: translateY(1px);
}

.btn-spin:disabled {
  cursor: progress;
  opacity: 0.25;
}

/* Spinning animation */
.is-spinning .spinner {
  transition: transform 8s cubic-bezier(0.1, -0.01, 0, 1);
}

.is-spinning .ticker {
  animation: tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tick {
  40% {
    transform: rotate(-12deg);
  }
}

/* Selected prize animation */
.prize.selected .text {
  color: white;
  animation: selected 800ms ease;
}

@keyframes selected {
  25% {
    transform: scale(1.25);
    text-shadow: 1vmin 1vmin 0 hsla(0 0% 0% / 0.1);
  }
  40% {
    transform: scale(0.92);
    text-shadow: 0 0 0 hsla(0 0% 0% / 0.2);
  }
  60% {
    transform: scale(1.02);
    text-shadow: 0.5vmin 0.5vmin 0 hsla(0 0% 0% / 0.1);
  }
  75% {
    transform: scale(0.98);
  }
  85% {
    transform: scale(1);
  }
}


.deal-in{
  display: flex;
  flex-direction: column;
}

#logoM{
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 100%;
  overflow: hidden;
  padding: 7px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#logoM img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}