:root {
   --c1: #7854cf;
   --br: 20px;
   --brb: 40px;
   --bo: #ffffff12;
}
.buttonWheel {
  position: relative;
  border-radius: var(--br_button);
  overflow: hidden;
}
.buttonWheel:hover::after {
  content: "";
  position: absolute;
  top: -3em;
  left: -100%;
  width: 61px;
  height: 150px;
  background: linear-gradient(248deg, #ffffff78, #ffffff00, transparent);
  transform: rotate(30deg);
  z-index: 1000;
  pointer-events: none;
  animation: button_hover 3s ease infinite;
}
@keyframes button_hover {
  0% {
      left: -100%;
  }
  50% {
      left: 200%;
  }
  100% {
      left: -100%;
  }
  }
.btnStyle {
  background: var(--c1);
  position: relative;
  display: flex;
  margin: 12px 0 0;
  padding: 10px 25px;
  font-size: 20px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  border-radius: var(--brb);
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.roleta-container *, .roleta-container *:before, .roleta-container *:after {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.roleta-container {
  --background: linear-gradient(45deg, #6200ff, #ff9b00, #FF0085);
    position: relative;
    display: flex;
    max-width: 550px;
    max-height: 550px;
    margin: 0 auto;
    padding: 1rem;
    font-family: sans-serif;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    overflow: hidden;
    z-index: 1;
}
.roleta-container:before {
    content: '';
    background: var(--background);
    transition: background 0.3s;
    background-size: 45rem 45rem !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: light 2s linear infinite;
}
@keyframes light {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg) }
}
.roleta-container:after {
    content: '';
    background: linear-gradient(151deg, #ffffff24, transparent);
    position: absolute;
    top: -1rem;
    left: 5rem;
    width: 100%;
    height: 50%;
    border-radius: 100%;
    z-index: 1;
    pointer-events: none;
}
.roleta-container:not(.animar):before {
    animation: none;
}
#roletaCanvas {
  width: 100%;
    height: 100%;
    border: 18px solid transparent;
    border-radius: 50%;
    padding: 7px;
    box-shadow: 0 0 20px -6px white inset;
}
.designBack {
  position: absolute;
    width: 96%;
    height: 96%;
    border: 17px #fff;
    border-style: dotted;
    border-radius: 100%;
    z-index: -1;
    animation: rotateDiv 3s linear infinite, rotateBorder 50s linear infinite;
}
.designBack::before {
  content: "";
  width: 109%;
  height: 109%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border: 9px solid transparent;
  border-radius: 100%;
  box-shadow: 0 0 20px -4px black;
  z-index: -1;
    }
@keyframes rotateDiv {
    0% { 
      opacity: 1;
     }
     50% { 
      opacity: 0.2;
    }
    100% { 
      opacity: 1;
    }
}
@keyframes rotateBorder {
  to { 
    transform: rotate(360deg);
  }
}
.botao-girar {
  position: absolute;
    display: flex;
    width: 80px;
    height: 80px;
    padding: 0;
    font-size: 2rem;
    cursor: pointer;
    background: var(--c1);
    border-color: white;
    border-width: 4px;
    border-style: solid;
    color: var(--c1);
    border-radius: 100%;
    box-shadow: 0 0 5px -2px black inset;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    z-index: 1;
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.botao-girar img, .botao-girar svg {
    width: 100%;
    font-size: 3rem;
    color: #fff;
    padding: 5px;
    animation: move 3s infinite alternate;
}
@keyframes move {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.botao-girar:hover {
  width: 100px;
  height: 100px;
  border-width: 6px;
  border-style: solid;
  transition: all 1s ease;
  box-shadow: 0 0 0px 8px #00000012 inset;
}
#girarText {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  font-style: italic;
}
#seta {
  position: absolute;
  right: 37%;
  transform: rotate(90deg);
  width: 4rem;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.575));
}
#setaIcon {
    shape-rendering: crispEdges;
    fill: url(#MyGradient);
}
@keyframes bounce {
  0% { transform: rotate(80deg) }
  50% { transform: rotate(100deg) }
  100% { transform: rotate(80deg)}
 }
/* Popup de prêmio */
.popup {
  display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000a3;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    backdrop-filter: blur(5px);
}

.popup .winPopup {
  background: #efefef;
  min-width: 200px;
  padding: 15px;
  border: 1px solid #d5d5d5;
  border-radius: var(--br);
  font-size: 24px;
  color: #000;
}
#premioTexto, .premioTexto {
  background: #fff;
  margin: 1rem 0 0;
  padding: 10px;
  border: 1px #c3c3c3;
  border-style: dashed;
  border-radius: var(--br);
  font-size: 24px;
  font-weight: 600;
  color: #000;
  text-align: center;
}
.popup-conteudo {
  background: #ffffff;
  position: relative;
  display: flex;
  max-width: 600px;
  padding: 15px;
  border: 1px solid var(--bo);
  border-radius: var(--br);
  box-shadow: 0 0 10px -4px black;
  flex-direction: column;
  align-items: center;
}
.popup-conteudo img {
  width: 100%;
  max-width: 500px;
  margin: 0 0 8px;
  padding: 20px;
  border-radius: var(--br);
}
.coupomTitle {
  margin: 0;
  padding: 0;
  text-align: center;
}
.textPopup {
  color: black;
  text-align: center;
}
.textPopup p:first-child {
  margin: 1rem 0 0;
  font-size: 2rem;
  font-weight: 600;
}
.textPopup p:last-child {
  margin: 1rem 0;
}
#LinkImgFailPopup {
  max-width: 400px;
}
#confetti {
    position: relative;
    z-index: 1001;
}
.closePop {
  background: linear-gradient(45deg, #c5c5c5, transparent) no-repeat;
  position: absolute;
  display: flex;
  top: 5px;
  right: 5px;
  width: 35px;
  height: 35px;
  padding: 5px;
  font-size: 1.5rem;
  color: black;
  border: 1px solid #ffffff;
  border-radius: var(--brb);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 9px -3px black;
}
.popupWheel {
  background: #ffffff7a;
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 700px;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 9999;
  border: 1px solid #ffffff52;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.popupWheel .roleta-container {
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);  
}
@media screen and (max-width: 600px) {
  #roletaCanvas {
    padding: 5px;
    border: 13px dotted transparent;
}  
.designBack {
    width: 94%;
    height: 94%;
    border: 10px dotted #fff;
}
.botao-girar {
  width: 60px;
  height: 60px;
  padding: 8px;
}
.botao-girar:hover {
  width: 70px;
  height: 70px;
  border-width: 8px;
  border-style: solid;
  transition: all 1s ease;
}
#girarText {
  font-size: 1rem;
}
}