
@import url('https://fonts.googleapis.com/css2?family=Galada&family=Pattaya&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Galada&family=Pattaya&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  --theme-color-1: #8c6d96;
  --theme-color-2: #fafafa;
  --theme-text-color-1: rgb(22, 21, 21);
  --theme-text-color-2:black;
  --btn-hover-color: #313031;
  --text-color-1: rgb(155, 150, 150);
  --theme-btn-color-1: rgb(9, 9, 10);
  --theme-white-color-1: #fafafa;
  --theme-text-color-3:#f5b713;
}

body {
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
  background: #fafafa;
 
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.main-box {
 max-width: 430px;
 justify-content: center;
 margin: auto;
 background-image: url(../img/bg.jpg);
 background-repeat: no-repeat;
 background-size: cover;
 min-height: 100vh;
 overflow: hidden;
 position: relative;
}

/* header section */

header {
  /* min-height: 10vh; */
}

/* Name Section */
.name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fafafa;
}

/* Logo */
.logo {
  width: 120px;
}

.logo img {
  max-width: 100%;
  height: auto;
  /* margin-bottom: 20px; */
}



.footer {
  position: absolute;
  bottom: 0;
  /* min-height: 20vh; */
  width: 100%; */
  /* text-align: center; */
}
.footer .footer-img {
  width: 100%;
}

.copyright {
  color: black;
  font-size: 8px;
  align-self: center;
  margin: 0;
  background: #fff;
  width: 100%;
  padding: 10px 0;
}

/* .main-box-inner {
  padding-top: 250px;
} */

.main-box .form-control {
 
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--theme-color-2);
  opacity: 0.9;
  color: var(--theme-text-color-2);
  border: 1px solid black;
}

.main-box input::placeholder {
  color: var(--theme-white-color-2);
  opacity: 0.9;
}

.main-box .form-check-input {
  background-color: var(--theme-color-2);
  opacity: 0.9;
}
.main-box label{
  color: var(--theme-color-2);
}


.btn-primary-1 {
  background-color: var(--theme-btn-color-1);
  color: var(--theme-white-color-1);
}
.btn-primary-1:hover{
  background-color: var(--theme-btn-color-1);
  color: var(--theme-white-color-1);
  opacity: 0.9;
} 
.btn-primary-2 {
  background-color: rgb(40, 40, 41);
  color: var(--theme-text-color-1);
  
}


.box {
  position: relative;
  border: 2px solid rgb(140, 140, 241);
}

.border-top-box {
  position: absolute;
  top: -15px;
  left: 15%;
  right: 15%;
  width: 70%;
  height: 25px;
  background-color: rgb(192, 44, 51);

  border-radius: 10px;
  border: 2px solid #fafafa;
}

/*start otp verification  css */
.main-box-inner-otp {
  /* padding-top: 160px; */
  padding-bottom: 200px;
}

.top-card-box img {
  width: 180px;
  aspect-ratio: 2/2;
}



.card-box {
  position: relative;
 
}

/* Add a right border */
.card-box::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -15%;
  width: 2px;
  height: 60%;
  border-radius: 10px;
  background-color: rgb(140, 140, 241);
}

/* Disable the right border on every 4th card */
.box-row > .col-3:nth-child(4n) .card-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background: #dddddd00;
}

.card-box img {
  width: 80px;
}



.top-card-box .prize-title {
  font-size: 16px;
  text-wrap: nowrap;
  color: var(--theme-white-color-1);
}

.top-card-box .prize-name {
  font-size: 20px;
  text-wrap: nowrap;
  color: var(--theme-text-color-3);
}

.top-card-box .prize-img {
  padding: 2px;
  aspect-ratio: 2/2;
 
}


.card-box .prize-title {
  font-size: 8px;
 font-weight: bold;
  color: var(--theme-white-color-1);
}

.card-box .prize-name {
  font-size: 8px;
 font-weight: bold;
  color: white;

}

.card-box img {
  padding: 2px;
  aspect-ratio: 2/2;
 
}


.otp-input {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
 
}
.otp-input input {
  width: 40px;
  height: 40px;
  margin: 0 5px;
  text-align: center;
  font-size: 1.5rem;
  border: 2px solid #6665F1;
  border-radius: 12px;
  background-color: rgba(42, 42, 42, 0.8);
  color: #ffffff;
  transition: all 0.3s ease;
}
.otp-input input:focus {
  border-color: #A556F6;
  box-shadow: 0 0 0 2px rgba(166, 86, 246, 0.3);
  outline: none;
}
.otp-input input::-webkit-outer-spin-button,
.otp-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.otp-input input[type=number] {
  -moz-appearance: textfield;
}


/*end otp verification  css */


/* reward css */

.main-box-inner-reward {
  /* padding-top: 200px; */
  padding-bottom: 200px;
}
.top-reward-card-box img {
  width: 180px;
  aspect-ratio: 2/2;
}

.reward-title-1{
 color: var(--theme-text-color-3);
 
 font-family: "Galada", cursive;
 font-size: 50px;
 font-weight: 600;
}
.reward-title-2{
  color: var(--theme-text-color-3);
  font-size: 27px;
  font-weight: 600;
  font-style: italic;
  font-family: "Galada", cursive;
  font-style: normal;
 }

.top-reward-card-box .prize-title {
  font-size: 18px;
  color: var(--theme-text-color-2);
}

.top-reward-card-box .prize-name {
  font-size: 16px;
 
  color: var(--theme-text-color-3);
}

.top-reward-card-box .prize-img {
  padding: 2px;
  aspect-ratio: 2/2;
 
}

.main-box-inner-reward canvas {
  margin-right: 0px;
  position: absolute;
  top: 0px;
}


/* end reward css */


/*  wheel css start */
.main-box-inner-spin {
  /* padding-top: 165px; */
  padding-bottom: 200px;
}

/* Wheel Styling */
.wheel-container {
  position: relative;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Sets the background image for the wheel */
.the_wheel {
  background-image: url(../img/spin-segment/spinpng.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.the_wheel {
  width: 265px;
  height: 340px;

}

.form-section {
  width: 100%;
  /* min-height: 50vh; */
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.main-box-inner-spin canvas {

  margin-top: 21px;
  margin-right: 0px;
  margin-left: 12px;

}

.spin-box {
  position: relative;
  display: flex;
  justify-content: center;
}

.btn-center {
  position: absolute;
  left: 43.7%;
    width: 53px;
    top: 32%;
}



@media screen and (min-width: 769px) and (max-width: 1080px) {

  .btn-center {
    position: absolute;
    left: 43.7%;
    width: 53px;
    top: 32%;
  }

}


.clickable {
  cursor: pointer;
}





/*new add responsive css */

@media screen and (min-width: 1081px) and (max-width: 1980px){
  /* .main-box {
    min-height: 932px;
  } */
}

@media screen and (min-width: 769px) and (max-width: 1080px) {
  .main-box {
    max-width: 600px;
  }

  .main-box-inner {
    padding-top: 374px;
}
  .main-box.main-box-inner {
    padding-top: 350px;
  }

  .main-box .main-box-inner-otp {
    padding-top: 350px;
  }

  .main-box .main-box-inner-spin {
    /* padding-top: 340px; */
    padding-bottom: 200px;
  }

  .main-box .main-box-inner-reward {
    /* padding-top: 320px; */
    padding-bottom: 200px;
  }
}
@media screen and (max-width: 420px){
  .border-top-box {
    position: absolute;
    top: -15px;
    left: 10%;
    right: 10%;
    width: 80%;
    height: 25px;
    background-color: rgb(192, 44, 51);
    border-radius: 10px;
    border: 2px solid #fafafa;
}


}
@media screen and (max-width: 400px){
.btn-center {
  position: absolute;
  left: 43.3%;
  width: 50px;
  top: 33%;
}
}


/* new  add css 26-10-14 */

#game_reg .main-box-inner {
  padding-top: 0px;
  padding-bottom: 0px;
}

@media screen and (max-height: 740px) {
 #game_reg .form-section {
   /* min-height: 40vh; */
 }
 
@media screen and (min-height: 866px) {
 #game_reg .form-section {
   /* min-height: 60vh; */
 }
}
}




/* end wheel css */