@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&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');

/* # ---------------------------------dev applied styles-------------------------------------------- */
/* html {
  scroll-behavior: smooth;
} */
.spinwheel-container {
  background: linear-gradient(135deg, #f6f8fd 0%, #e9f0ff 100%);
  padding: 3rem 1rem;
  min-height: 100vh;
}

.prize-tabs {
  max-width: 600px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.tab-button {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 25px;
  background: #fff;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  /* transition: all 0.3s ease; */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-button.active {
  background: #2196f3;
  color: #fff;
  box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr; /* Single column layout */
  gap: 2rem;
}
/* Prize Cards */
.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.prize-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.prize-card:hover {
  transform: translateY(-5px);
}

.prize-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.prize-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.prize-benefits li {
  padding: 5px 0;
  padding-left: 1.5rem;
  position: relative;
}

.prize-benefits li:before {
  content: "•";
  color: #2196f3;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.prize-validity {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
}

/* Rules Section */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.rules-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}

.steps-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
}

.steps-list li:before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  width: 25px;
  height: 25px;
  background: #2196f3;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .wheel-section {
    order: 1;
  }
  
  .info-section {
    order: 2;
  }
}

@media (max-width: 768px) {
  .mainbox {
    width: 300px;
    height: 300px;
  }
  
  .prize-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation for tab switching */
.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* Add spinning animation */
@keyframes spinAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(var(--rotation-value));
  }
}

.box.spinning {
  animation: spinAnimation 5s cubic-bezier(0.17, 0.67, 0.12, 0.99) forwards;
}

.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: white;
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

@media (max-width: 576px) {
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

.modal-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

.spin-form .form-group {
    margin-bottom: 12px;
}

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}


.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0;
}

.input-wrapper label{font-size: 15px;margin-bottom: 10px;font-weight: 500;text-transform: capitalize;}
.spin-button,.ok-btn{background: var(--pc) !important;color: #fff !important;}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
}

.spin-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.button-icon {
    font-size: 1.25rem;
}

.congratulations {
    color: #28a745;
    text-align: center;
    margin-bottom: 1rem;
}

.prize-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.prize-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    margin-bottom: 1rem;
}

.modal-content{background: #fff !important;padding: 2rem 2rem 1.5rem;border-radius: 15px;box-shadow: 0 5px 15px rgba(0,0,0,0.1);}   

#mainbox {
  pointer-events: none !important;
}
.spin {
    pointer-events: auto !important;
}


/* ------------------------------------------------------------------------------------------------------ */
.mainbox {
  position: relative;
  width: 500px;
  height: 500px;
  margin: auto;
}

.mainbox:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../media/arrow-bottom.png) no-repeat;
  background-size: 5%;
  left: 5%;
  top: 48%;
  transform: rotate(90deg);
}

.box {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  border: 10px solid #fff;
  overflow: hidden;
  transition: all ease-in-out 5s;
  transform: rotate(90deg);
}

#mainbox span {
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
}

.span1 {
  clip-path: polygon(0 57%, 0 170%, 50% 50%);
  background-color: #53b148;
}

.span2 {
  clip-path: polygon(-12% 60%, 18% 0%, 50% 50%);
  background-color: #27731f;
}

.span3 {
  clip-path: polygon(18% 0, 71% 0, 50% 50%);
  background-color: #77dd6c;
}


.box2 .span3 {
  background-color: #77dd6c;
}

.box2 {
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

.font {
  color: white;
  font-size: 20px;
}
.box1 .span1 b {
  position: absolute;
  top: 63%;
  right: 56%;
  transform: rotate(140deg);
  text-align: center;
}

.box1 .span2 b {
  position: absolute;
  top: 39%;
  right: 60%;
  transform: rotate(196deg);
}

.box1 .span3 b {
  position: absolute;
  top: 20%;
  right: 34%;
  transform: rotate(-90deg);
}

.congratulations  {font-size: 23px;
  font-style: italic;}  
  .prize-title{font-size: 20px;}

.box1 .span4 b {
  position: absolute;
  top: 25%;
  right: 15%;
  transform: rotate(-45deg);
}

.box1 .span5 b {
  position: absolute;
  top: 38%;
  right: 10%;
  transform: rotate(-15deg);
  text-align: center;
}

.box2 .span1 b {
  position: absolute;
  top: 63%;
  right: 56%;
  transform: rotate(145deg);
  z-index: 99;
}

.box2 .span2 b {
  position: absolute;
  top: 39%;
  right: 60%;
  transform: rotate(199deg);
  text-align: center;
}
.box2 .span3 b {
  position: absolute;
  top: 21%;
  right: 37%;
  transform: rotate(270deg);
}

.box2 .span4 b {
  position: absolute;
  top: 27%;
  right: 20%;
  transform: rotate(310deg);
}

.box2 .span5 b {
  position: absolute;
  top: 35%;
  right: 10%;
  transform: rotate(-20deg);
  text-align: center;
}

.spin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 4px solid white;
  background-color: #000;
  color: #fff;
  box-shadow: 0 5px 20px #000;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  z-index: 9;
}

.spin:active {
  width: 70px;
  height: 70px;
  font-size: 20px;
}

.mainbox.animate:after {
  animation: animateArrow 0.7s ease infinite;
}

audio {
  display: none;
}

@keyframes animateArrow {
  50% {
    right: -50px;
  }
}

@media (max-width: 576px) {
  .mainbox {
    width: 100%;
    height: 50%;
  }
}


.spinwheel {
  /* height: 100vh; */
  background: #fff;
  padding: 3rem 0;
  /* overflow: hidden; */
}

.spin-content h2{color: rgba(83, 177, 72, 1);font-size: 35px;font-weight: 700;}

/* CSS Document */



body {
  font-family: 'Poppins', sans-serif;
  float: left;
  width: 100%;
  color: #000;
  font-weight: 400;
  background-attachment: fixed;
  background-size: 40%;
  padding-right: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.modal-open {
  padding-right: 0!important;
  overflow: hidden;
}

::-moz-selection {
  /* Code for Firefox */
  color: #000;
  background: #d7c07f;
}

::selection {
  color: #000;
  background: #d7c07f;
}

.btn {
  box-shadow: none;
  outline: none;
}

button {
  box-shadow: none;
  outline: none;
}

/* remember to define focus styles! */
:focus {
  outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
}

p {
  color: rgba(35, 31, 32, 0.7);font-weight: 500;
  line-height: 25px;
  font-size: 16px;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
}

a:hover {
  color: #0e2c18;
}

ul li,
ul li a,
ol li,
ol li a {
  color: #161616;
  font-size: 14px;
  font-weight: 300;
  line-height: 26px;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

:focus {
  outline: none;
}

/* Styles for images */
img {
  max-width: 100%;
  height: auto;
}

.spinwheel   h3{font-size: 23px;margin-bottom: 1.5rem;}
.spinwheel h4{font-size: 18px;}
.swal2-input.s-input{font-size: 16px;margin:10px 0;width: 100%;box-shadow: none !important;}
.swal2-confirm.swal2-styled{background: #000;}
.swal2-title{font-size: 20px !important;}


.info-section h2{font-size: 27px;}
.prize-card h3{font-size: 20px;}
.prize-card p{line-height: 22px;font-size: 15px;}
.rules-card p{line-height: 22px;font-size: 15px;}
.rules-card h3{font-size: 20px;}

@media only screen and (min-width:321px) and (max-width:768px)
{

  .congratulations{font-size: 19px;}
  .prize-title {
    font-size: 17px;
}
html,body{overflow-x: hidden;}
/* .modal-content{width: 300px !important;} */
.prize-info h5{font-size: 17px;}
  div:where(.swal2-container) button:where(.swal2-styled) {
    margin: .3125em;
    padding: .625em 1.1em;
    transition: box-shadow .1s;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0);
    font-weight: 500;
    line-height: 10px;
    font-size: 12px !important;
}
.box1 .span3 b {position: absolute;top: 16%;right: 30%;transform: rotate(-90deg);
}
.box2 .span3 b {
  position: absolute;
  top: 17%;
  right: 31%;
  transform: rotate(270deg);
}
.rules-card h3 {
  font-size: 17px;
}
.prize-card h3 {
  font-size: 17px;
}
.rules-card p {
  line-height: 22px;
  font-size: 15px;
}
.info-section h2 {
  font-size: 24px;
}
  div:where(.swal2-container) button:where(.swal2-styled){height: 100% !important;}
  .spinwheel div[class*='col-']{width: 100%;}
  .mainbox {
    width: 325px;
    height: 325px;
}
.spin{width: 60px;height: 60px;font-size: 12px;}
b{font-size: 14px;}
.spin-content h2{font-size: 25px;margin-top: 2rem;}
p {
  font-size: 15px;
  line-height: 25px;    color: rgba(35, 31, 32, 0.7);font-weight: 500;
  
}
.spinwheel h3{font-size: 18px;}
.spinwheel h4{font-size: 16px;}
.mainbox:after{left: 0;}

div:where(.swal2-container) div:where(.swal2-popup){width: auto ;}
}
body{font-family:'Poppins';}

.spinwheel:after{position: absolute;width: 100%;height: 100%;background: url(/static/final_assets/media/explosion.jpg)center/cover;left: 0;top: 0;content: '';opacity: 0.5;z-index: -1;}