input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

#spinthewheel {
  width: 100%;
  height: 112.5vh;
  background-image: url("./img/spin-the-wheel/MOBILE BG_3.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  padding-block: 30px 70px;
}

#spinthewheel .spin-title {
  /* display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center; */
  text-shadow: 0 0 2px black;
  /* padding: 0; */
}

#spinthewheel .spin-box-wrapper {
  display: flex;
  position: relative;
  z-index: 20;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
#spinthewheel .spin-box {
  display: flex;
  overflow: hidden;
  position: relative;
  justify-content: center;
  align-items: center;
}

.outer-wheel {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  background-size: contain;
  width: 80vw;
  height: 80vw;
  background-image: url("./img/spin-the-wheel/Fortune-Wheel-Base-crop.webp");
  background-repeat: no-repeat;
}
.inner-yellow-wheel {
  position: absolute;
  background-size: contain;
  width: 60vw;
  height: 60vw;
  margin-top: -3px;
  margin-left: -3px;
  background-image: url("./img/spin-the-wheel/Fortune-Wheel-Middle.png");
  background-repeat: no-repeat;
}
.inner-center-wheel-container {
  display: flex;
  position: absolute;
  justify-content: center;
}
.center-wheel {
  position: absolute;
  width: 36%;
  top: -23.7vw;
  left: -16.3vw;
  width: 32vw;
  /* border-radius: 100%; */
  /* background-color: transparent; */
}
.wheel-needle {
  object-fit: contain;
  position: absolute;
  top: -4rem;
  width: 20px;
  height: 50px;
}
.wheel-logo {
  position: absolute;
  width: 35%;
  top: -40px;
  left: -30px;
  width: 15vw;
  z-index: 2;
}
.wheel-logo-english {
  top: -45px;
  left: -38px;
  width: 21.5vw;
}

#spin-btn {
  font-family: "yatra" !important;
  position: relative;
  border-radius: 0.75rem;
  color: #ffffff;
  cursor: pointer;
  width: 80%;
  font-size: 5vw !important;
  background: #5f0707;

  letter-spacing: 2px;
  box-shadow: 0 0px 2px 1px #5f0707;
  border: none;

  padding: 15px 50px 10px 50px;
}
#spin-btn.english-spin-btn {
  font-size: 4vw !important;
  padding-inline: 20px;
  padding-bottom: 12px;
}
#spin-btn:hover {
  background: #6c0808;
}

/* result popup */
#resultPopup {
  display: none;
  /* overflow-y: auto;
  overflow-x: hidden; */
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  max-height: 100%;
  background: #1a1a18eb;
  z-index: 111111;
  font-family: yatra;
}

.spin-result-box-wrapper {
  display: flex;
  overflow: visible;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.spin-result-box {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  gap: 20px;
}
#result-popup-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.spin-result-download-and-share {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
}
.spin-share-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.spin-share-container h3 {
  color: #ffffff;
  /* color: 9vw; */
}
#result-card-share {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}
#result-card-download {
  display: flex;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  font-weight: 700;
  color: #ffffff;
  width: 250px;
  background: #570303;
  text-decoration-line: none;
}

#result-card-download.english {
  width: 200px;
  padding: 7px;
}
#result-card-download.english .english-span {
  font-size: 1rem;
}

#result-card-download span:nth-child(2) {
  font-size: 1.2rem;
  padding-top: 7px;
}

.close-spin-result {
  position: absolute;
  cursor: pointer;
  color: #9e0909;
  width: 30px;
  height: 30px;
  fill: #9e0909;
  border-radius: 30px;
  border: 2px solid;
  padding: 4px;
  top: -15vw;
  right: 2vw;
}
.result-share-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  align-items: center;
}
.result-share-link img {
  height: 10vw;
}

#result-submit-mobile-modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 100%;
  height: 100%;

  background-color: #854c4c;
  z-index: 111111;
}

.spin-mobile-modal-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.spin-mobile-modal {
  position: relative;
  padding-top: 1.75rem;
  padding: 1rem;
  border-radius: 0.375rem;
  background-color: #000;
  width: 80vw;
  max-width: 500px;

  box-shadow: inset 0 0 2px 1px #000;
}

.spin-mobile-content {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;

  padding-block: 1rem 0.9rem;
  gap: 20px;
}

.spin-mobile-content > h3 {
  text-align: center;
  color: #ffffff;
  color: 1.5rem;
}

#result-mobile-number-error {
  display: none;
  justify-content: center;
  font-weight: 700;
  color: rgb(200, 8, 8);
  color: 1rem;
  /* font-family: sans-serif !important; */
}

.mobileNo-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
  height: 100%;
}
.mobileNo-form > input {
  padding-left: 0.75rem;
  width: 90%;
  padding-block: 1.3vw;
}

.mobileNo-form > button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 800;
  color: #ffffff;
  width: 90%;
  background: #570303;
  color: 1.2rem;
  border: none;
}
.close-spin-mobile-popup {
  position: absolute;
  cursor: pointer;
  color: #570303;

  top: -15vw;
  right: -2.5vw;

  width: 30px;
  height: 30px;
  fill: #570303;
  border-radius: 30px;
  border: 2px solid;
  padding: 4px;
}

/* sm */
@media screen and (min-width: 640px) {
  #spinthewheel {
    background-image: url("./img/spin-the-wheel/dextop BG.webp");
    /* background-size: cover; */
    /* background-position: top; */
    /* padding-block: 16px; */
    padding-block: 30px 80px;
  }
  #spinthewheel .spin-title {
    padding-bottom: 0.5rem;
  }
  #spinthewheel .spin-box-wrapper {
    gap: 30px;
  }
  .outer-wheel {
    width: 385px;
    height: 385px;
  }
  .inner-yellow-wheel {
    width: 280px;
    height: 280px;
    padding-top: -11px;
    padding-left: -4px;
  }
  .center-wheel {
    width: 152px;
    top: -112px;
    left: -77px;
  }
  .wheel-needle {
    top: -5rem;
    width: 30px;
    height: 70px;
  }
  .wheel-logo {
    width: 45%;
    width: 80px;
    top: -45px;
    left: -40px;
  }
  .wheel-logo-english {
    width: 105px;
    top: -50px;
    left: -50px;
  }
  #spin-btn {
    padding-block: 20px 10px;
    width: fit-content;
    font-size: 1.5rem !important;
    line-height: 2rem;
  }
  #spin-btn.english-spin-btn {
    font-size: 1.2rem !important;
    padding-inline: 50px;
    padding-block: 15px 10px;
  }
  .spin-result-box {
    flex-direction: row;
    gap: 1.25rem;
  }
  #result-popup-img {
    object-fit: cover;
    width: 50%;
  }
  .spin-result-download-and-share {
    width: 30%;
  }

  .spin-share-container h3 {
    color: 2rem;
  }
  #result-card-share {
    gap: 1.25rem;
  }
  #result-card-download span:nth-child(2) {
    color: 1.5rem;
  }

  .close-spin-result {
    width: 40px;
    height: 40px;
    fill: #9e0909;
    border-radius: 25px;
    border: 3px solid;
    padding: 5px;
    right: 5vw;
    top: -3vw;
  }
  .spin-mobile-modal {
    padding-top: 0;
    width: 40vw;
  }

  .spin-mobile-content {
    gap: 30px;
    padding-block: 3vw !important;
  }

  .spin-mobile-content > h3 {
    font-size: 2rem;
  }
  .close-spin-mobile-popup {
    right: -1.5vw;
    top: -5.5vw;
    width: 40px;
    height: 40px;
    fill: #570303;
    border-radius: 40px;
    border: 3px solid;
    padding: 4px;
  }
  .mobileNo-form > button {
    color: 1.5rem;
  }
  .mobileNo-form > input {
    padding-block: 0.51vw;
  }
  .mobileNo-form {
    gap: 1.5rem;
  }
  #result-mobile-number-error {
    color: 1.2rem;
  }

  .spin-wheel-footer img:nth-child(1) {
    width: 250px;
    top: -200px;
  }
  .spin-wheel-footer img:nth-child(2) {
    width: 200px;
    top: -78px;
  }
  .result-share-link {
    gap: 0.5rem;
  }
  .result-share-link img {
    height: 4vw;
    max-height: 50px;
  }
}
/* md */
@media (min-width: 768px) {
  #resultPopup {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  /* .close-spin-result {
    color: 3rem;
  } */
  #result-submit-mobile-modal {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  .spin-wheel-footer {
    background-size: contain;
    height: 300px;
  }

  .spin-wheel-footer img:nth-child(1) {
    width: 300px;
    top: -200px;
  }
  .spin-wheel-footer img:nth-child(2) {
    width: 250px;
    top: -205px;
  }
}

@media (min-width: 1024px) {
  .spin-mobile-modal {
    width: 30vw;
  }
  .close-spin-mobile-popup {
    /* color: 3.1vw; */
    right: -0.5vw;
    top: -4vw;
  }
  #result-mobile-number-error {
    color: 1.4rem;
  }
  .spin-wheel-footer {
    height: 200px;
  }

  .spin-wheel-footer img:nth-child(1) {
    width: 400px;
    top: -400px;
  }
  .spin-wheel-footer img:nth-child(2) {
    width: 350px;
    top: -322px;
  }
}
