/* PREVENT STICKY BUTTONS ON TOUCH DEVICES */

@font-face {
  font-family: BrooklynSamuelsFive-Medium;
  src: url("../assets/fonts/BrooklynSamuelsFive-Medium.ttf");
}

@font-face {
  font-family: BrooklynSamuelsFive-Bold;
  src: url("../assets/fonts/BrooklynSamuelsFive-Bold.otf");
}

@media (pointer: coarse) {
  [data-color-link-primary]:hover,
  [data-color-link-secondary]:hover,
  [data-button]:hover:not([disabled]),
  .social-share:hover {
    opacity: 1 !important;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

:root {
  --clr-white: #fff;
  --clr-black: #000;
  --clr-text-1: #333;
  --clr-primary: #c72c6e;
  --clr-wheel-1: #c72c6e;
  --clr-wheel-2: #edeee0;
  --clr-wheel-3: #feaf05;
  --clr-wheel-4: #2b78cb;
  --radius: 10px;
}

/* =============================== TYPOGRAPHY =============================== */
.po-none {
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

a,
a:hover {
  cursor: pointer;
  text-decoration: none;
  color: var(--clr-pink);
  line-height: 130%;
}

body,
html {
  min-height: 100vh !important;
  width: 100%;
  overflow-x: hidden;
}

#main-content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

#main-content > div {
  max-width: 100%;
}

h1,
p {
  margin: 0 0 14px;
}

@media screen and (min-width: 1250px) {
  p {
    margin: 0 0 32px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.barcode-image {
  max-width: 500px;
  width: 100%;
}

.barcode-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-inline: 10px;
}

/* tos and pp */
.document__wrap {
  width: 90%;
  max-width: 1025px;
  height: fit-content;
  margin: 40px auto 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 25px;
  padding: 40px 15px 80px;
}

h1[data-text].document__title {
  text-align: center;
  margin: 20px auto 50px !important;
}

div[data-background] {
  background-position: center top !important;
}

[data-button] {
  border-radius: 12px !important;
}

[data-button] {
  font-family: BrooklynSamuelsFive-Medium !important;
}

@media screen and (min-width: 1250px) {
  div[data-background] {
    background-position: center bottom !important;
  }
}

.point {
  margin-bottom: 20px;
}

.document__wrap h4 {
  margin-bottom: 20px;
  font-weight: bold;
}

.document__wrap p {
  margin-bottom: 15px;
}

/* ////////////////////////////////////////// introduction ////////////////////////////////////////// */
.page-wrap {
  width: 100%;
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

/* #game-view .page-wrap {
  gap: 30px;
} */

/* #lose .page-wrap {
  margin-bottom: 2rem;
} */

@media screen and (min-width: 750px) {
  /* .page-wrap {
    gap: 30px;
  } */
  #lose .page-wrap {
    margin-bottom: 0rem;
  }
}

.logo-section {
  width: 100%;
  padding-top: 30px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

#game-view .logo-section {
  flex-basis: 35%;
}

.content-section {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 auto;
  flex-direction: column;
}

#game-view .text-section {
  gap: 0.5rem;
}

#game-view .text-section p {
  font-size: 20px !important;
}

#game-view .text-section button span {
  font-size: 28px !important;
  padding-inline: 1rem;
}

@media screen and (min-width: 1250px) {
  #game-view .text-section {
    gap: 1.5rem;
  }

  #game-view .text-section p {
    font-size: 30px !important;
  }

  #game-view .text-section button span {
    font-size: 38px !important;
    padding-inline: 1.5rem;
  }
}

#game-view .content-section {
  justify-content: center;
  align-self: stretch;
  flex-basis: 65%;
}

@media screen and (min-width: 1250px) {
  .logo-section {
    width: 100%;
  }

  .content-section {
    flex-direction: row;
  }
}

.logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;

  /* padding: 20px 0; */
}

.logo {
  max-width: 150px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  display: none !important;
}
.logo-desktop {
  max-width: 150px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  display: none !important;
}

@media screen and (min-width: 750px) {
  .logo {
    display: none !important;
  }
  .logo-desktop {
    max-width: 200px;
    display: block !important;
  }
}

.content-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.text-section {
  width: 100%;
  max-width: 700px;
  height: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 20px; */
  text-align: center;
  position: relative;
  z-index: 2;
  padding-top: 0px !important;
  gap: 0.25rem;
}

#win .text-section {
  gap: 15px;
}

.footer-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: auto 0 15px;
}

.footer {
  margin: 40px auto 0;
  text-align: center;
}

.footer > * {
  display: inline;
}

/* .circle { */

/*    width: 300%; */

/*    aspect-ratio: 1; */

/*    border-radius: 50%; */

/*    background-color: var(--clr-pink); */

/*    position: absolute; */

/*    top: 60%; */

/*    left: 50%; */

/*    margin: 0 auto; */

/*    z-index: 1; */

/*    transform: translateX(-50%); */

/* } */

button,
#error-btn {
  width: fit-content;
  background: transparent;
  padding: 15px 40px;
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  border: 2px solid;
}

button > span {
  line-height: 1.2;
}

.image-section,
.wheel-section {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* margin-top: auto; */
}

.image-section {
  overflow: visible;
}

.image-section::after {
  content: "";
  display: block;
  width: 200%;
  height: 150%;
  position: absolute;
  top: 70%;
  right: -60px;
  background-image: url(../assets/images/gradient.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

@media screen and (min-width: 1250px) {
  .image-section::after {
    top: 80%;
  }
}

#lose .image-section::after,
#win .image-section::after {
  display: none;
}

.image-section #introduction-image {
  z-index: 2;
  position: relative;
}

.prizes-bg {
  /* margin: 30px auto; */
  max-width: 600px;
  /* max-height: 450px; */
  margin-inline: auto;
}

#lose .prizes-bg {
  max-width: 250px;
}

/* cta */
.cta__buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cta {
  display: none;
  min-width: 200px;
}

/* social icons */

.social__wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 10px auto 0;
  padding: 0;
}

[data-social] {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  margin: 10px 5px 0;
  transition: transform 0.3s ease-out, opacity 0.5s ease-in;
}

[data-social]:hover {
  transform: translateY(-10px);
  opacity: 0.6;
}

[data-social] > a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

a > svg {
  max-width: 50%;
  max-height: 50%;
  width: 50%;
  height: auto;
  object-fit: contain;
  margin: auto;
}

@media screen and (min-width: 1250px) {
  .social__wrap {
    justify-content: flex-start;
    margin: 20px auto 0 -5px;
  }
}

@media screen and (min-width: 410px) {
  button {
    padding: 15px 60px;
  }
}

@media screen and (min-width: 1250px) {
  .social__wrap {
    justify-content: flex-start;
    text-align: center;
  }

  .footer-wrap {
    justify-content: flex-start;
  }

  .footer {
    margin: 40px auto 0 0;
    text-align: start;
  }

  .cta__buttons {
    flex-flow: row wrap;
    justify-content: flex-start;
  }

  .page-wrap {
    padding: 0 60px;
    gap: 0;
    justify-content: flex-start;
    flex-direction: row;
  }
  #prize-expired .page-wrap,
  #barcode .page-wrap {
    flex-direction: column;
  }

  .content-wrap {
    flex: 1 1 100%;
    flex-direction: row;
    gap: 50px;
    flex-basis: 40%;
  }

  .logo-wrap {
    padding: 0;
    justify-content: flex-start;
  }

  #prize-expired .logo-wrap,
  #barcode .logo-wrap {
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  /* .logo {
    width: 220px;
    max-width: 220px;
    max-height: 200px;
  } */

  .text-section {
    flex: 0 0 calc(94% - 25px);
    align-items: flex-start;
    text-align: left;
    padding: 0;
    max-width: 100%;
    padding-bottom: 120px;
  }

  #register .text-section,
  #win .text-section,
  #lose .text-section {
    padding-bottom: 30px;
  }

  .text-section p,
  .validity-wrap {
    max-width: 600px;
    margin-bottom: 10px !important;
  }

  /* .page-wrap {
    display: grid;
    grid-template-columns: 40% 50%;
    grid-template-rows: 175px auto 175px;
    align-items: center;
    min-height: 100vh;
    height: fit-content;
    position: relative;
  } */

  .logo-wrap {
    justify-content: flex-start;
    grid-area: 1 / 1 / 1 / 1;
  }
  #prize-expired .logo-wrap {
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .content-wrap {
    text-align: start;
    align-items: center;
    padding: 0 50px 0 0;
    gap: 20px;
    grid-area: 2 / 1 / 3 / 2;
  }

  .image-section,
  .wheel-section {
    height: 100%;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
  }

  .circle {
    width: 72vw;
    top: 50%;
    left: 50%;
    transform: translate(-25%, -50%);
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0 auto;
    z-index: 1;
    position: absolute;
  }

  .prizes-bg {
    margin: auto 0;
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 2;
    object-fit: contain;
  }

  .wide-prizes {
    margin: auto 60px auto auto;
    max-width: 100% !important;
  }
}

@media screen and (min-width: 1360px) {
  .page-wrap {
    padding: 0 10px;
    padding-left: 60px;
  }
}

/* ////////////////////////////////////////// register ////////////////////////////////////////// */

/* kill checkbox disabled background */
.custom-control-input:disabled ~ .custom-control-label::before {
  background-color: transparent !important;
}

/* kill autofill coloring */
input:-webkit-autofill,
select:-webkit-autofill {
  background-color: transparent !important;
}

/* ----- kill outline on focus ------ */
.custom-checkbox .custom-control-label::before {
  outline: none;
  box-shadow: none !important;
  border: 2px solid var(--clr-text-1);
}

button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible {
  outline: none !important;
}

form {
  width: 100%;
  max-width: 450px;
}

.form-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.checkbox-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

@media screen and (min-width: 1250px) {
  .checkbox-container {
    gap: 20px;
  }
  .form-wrap {
    gap: 20px;
    margin-bottom: 20px;
  }
}

.checkbox-container .button-container {
  width: 100%;
  margin-top: 35px;
  display: flex;
  justify-content: center;
}

[input-group] {
  width: 100%;
}

[input-group] input,
[input-group] select {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #4d555a;
  border-radius: 6px;

  /* background: transparent; */
  background-color: #fff !important;
  text-align: center;
  max-width: 550px;
  color: black !important;
}

[input-group] input::placeholder {
  color: #58544d !important;
}

.form-group {
  margin-bottom: 0;
}

[input-group] input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* remove arrows form input type number */

/* WebKit (Chrome, Safari) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  appearance: textfield;

  /* This removes the default styling */
}

input[type="number"]::-moz-inner-spin-button,
input[type="number"]::-moz-outer-spin-button {
  /* Remove default styling for spin buttons in Firefox */
  appearance: none;
  margin: 0;
}

.custom-checkbox {
  text-align: start;
  padding-left: 26px;
}

.custom-checkbox p {
  display: inline;
}

.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after {
  width: 18px;
  height: 18px;
  top: calc(50% - 0.55rem);
  left: -26px;
  border-radius: 0;
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: none !important;
  background-color: var(--clr-pink);
  transform: scale(0.7);
  border-radius: 6px !important;
  outline: none !important;
  box-shadow: none !important;
}

select#title-input {
  appearance: none;
}

#date-of-birth-input[type="date"],
#date-of-birth-input[type="text"] {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  appearance: none;
  vertical-align: middle;
  width: 100%;
  min-width: 100%;
  min-height: 42px;
  height: 42px;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

/* iOS Safari align selected date to left */
@supports (-webkit-appearance: none) {
  #date-of-birth-input[type="date"]::-webkit-date-and-time-value,
  #date-of-birth-input[type="text"]::-webkit-date-and-time-value {
    text-align: center !important;
  }
}

@media screen and (min-width: 601px) {
  #date-of-birth-input[type="date"],
  #date-of-birth-input[type="text"] {
    min-height: 60px;
    height: 60px;
  }
}

@media screen and (min-width: 1250px) {
  #date-of-birth-input[type="date"],
  #date-of-birth-input[type="text"] {
    justify-content: flex-start;
    text-align: start;
  }

  @supports (-webkit-appearance: none) {
    #date-of-birth-input[type="date"]::-webkit-datetime-edit,
    #date-of-birth-input[type="text"]::-webkit-datetime-edit {
      padding-left: 0;
      margin-left: 0;
      text-align: start !important;
    }
  }
}

/* doi page */

.doi-form,
.doi-form .button-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 600px;
}

@media screen and (max-width: 1250px) {
  select#title-input {
    color: transparent !important;
  }
}

#div-select {
  position: relative;
}

.span-select {
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  vertical-align: bottom;
  line-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1250px) {
  #lose-image {
    max-width: 600px;
  }

  .doi-form,
  .doi-form .button-container {
    align-items: flex-start;
  }

  .doi-form .button-container {
    flex-direction: row;
    justify-content: flex-start;
  }

  form {
    max-width: 920px;
  }

  .form-wrap {
    flex-flow: row wrap;
  }

  [input-group] input,
  [input-group] select {
    text-align: center;
  }

  .span-select {
    display: none !important;
  }

  .checkbox-container .button-container {
    justify-content: flex-start;
  }
}

.validity-wrap {
  display: block;
}

.validity-wrap > * {
  display: inline;
}

.validity-wrap > *,
p > span {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
}

/* ================================= win =============================== */
.win-text-block {
  text-align: start;
}

#win-wrap .validity-wrap {
  margin-bottom: 20px;
}

.prize-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
}

@media screen and (max-width: 1250px) {
  .prize-wrap {
    max-width: 300px;
    margin-bottom: 2rem;
  }
}

#prize-expired .prize-wrap {
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 3rem;
}

.prize-image-wrap {
  padding: 3rem;
  max-width: 350px;
  width: 70%;
}

.prize-image-bg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: flex;
  object-fit: contain;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
}

.prize-image-bg ~ .prizes-bg {
  width: 60%;
  max-width: 400px;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 3;
}

.barcode-text {
  width: 100%;
  height: auto;
  text-align: center;
  justify-content: center;
}

@media screen and (min-width: 1250px) {
  .prize-image-bg {
    right: -60px;
    left: unset;
    object-position: 80% 50%;
  }

  .prize-wrap {
    max-width: 550px;
    justify-content: flex-end;
  }

  .barcode-text {
    text-align: start;
  }
}

@media screen and (min-width: 1360px) {
  .prize-image-bg {
    right: -110px;
  }
}

/* ================================= game =============================== */
.game-content {
  align-self: stretch;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

@media screen and (min-width: 1250px) {
  .game-content {
    margin-bottom: 0;
  }
}

#game-view {
  width: 100%;
}

.wheel-section {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.pin {
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90px;
  height: auto;
  z-index: 5;
}

.pin img {
  transform: rotate(90deg);
}

.wheel-wrap {
  width: 800px;
  height: auto;
  aspect-ratio: 1 / 1;
  position: absolute;
  bottom: -420px;
  transform: scale(0.8) rotate(0);
}

.wheel-center {
  width: 120px;
  height: 120px;
  position: absolute;
  inset: 0;
  margin: auto auto -45px;
  z-index: 5;
}

.wheel__spin {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  position: absolute;
  top: -5%;
  left: 0;
  will-change: transform;
  background: url("../assets/images/wheel.png");
  background-size: contain;
}

.awards {
  position: absolute;
  z-index: 4;
  transform: scale(0.865);
}

.awards .award {
  width: 96px;
  height: 96px;
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.award img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 1250px) {
  h1[data-text] {
    font-size: 48px !important;
    /* margin: 0 !important; */
  }

  [data-text] {
    font-size: 22px !important;
    line-height: 1.1;
  }

  #introduction-button {
    font-size: 16px;
    line-height: 1.1;
  }

  .footer-wrap {
    display: none;
  }

  .image-section,
  .wheel-section {
    min-height: 307px;
    position: relative;
    display: flex;
  }

  .wheel-section {
    overflow: hidden;
  }

  .image-section {
    min-height: 307px;
  }

  .wheel-section {
    overflow: visible;
    margin-top: 0;
  }

  .circle {
    width: 300%;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: var(--clr-pink);
    position: absolute;
    top: 0;
    left: -100%;
    margin: 0 auto;
    z-index: 1;
  }

  .prizes-bg {
    width: calc(100% - 10px);
    object-fit: contain;
    position: relative;
    z-index: 2;
  }
}

@media screen and (min-width: 768px) {
  .wheel-wrap {
    transform: scale(1) rotate(0);
  }

  .wheel-section {
    margin-top: 80px;
  }
}

@media screen and (min-width: 1250px) {
  #game {
    padding: unset;
    padding-left: 60px;
    overflow: visible;
  }

  .wheel-section {
    width: 100%;
    height: 1px;
    aspect-ratio: 1 / 1;
    margin: unset;
    overflow: visible;
  }

  .wheel-wrap {
    inset: 0;
    margin: auto;
    width: 100%;
    transform: scale(0.9) rotate(-90deg);
  }

  .wheel-center {
    width: 100%;
    height: 250px;
    inset: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -5%;
  }

  .wheel-center img {
    width: 250px;
    height: 250px;
    transform: rotate(0deg);
  }

  .pin {
    width: 160px;
    height: 150px;
    top: -80px;
  }

  .awards {
    transform: scale(1.3);
  }

  .circle {
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(10%, -50%);
  }

  .awards .award {
    width: 96px;
    height: 96px;
    position: absolute;
    pointer-events: none;
    user-select: none;
  }

  .award img {
    width: 96px;
    height: 96px;
  }
}

@media screen and (min-width: 1280px) {
  .wheel-wrap {
    transform: scale(1) rotate(-90deg);
  }
}

@media screen and (min-width: 1360px) {
  #game {
    padding-left: 110px;
  }
}

@media screen and (min-width: 1600px) {
  .wheel-section {
    transform: scale(1.1);
  }
}

@media screen and (min-width: 1650px) {
  .wheel-section {
    transform: scale(1.2);
  }
  #game-view .wheel-section {
    transform: scale(1.4);
  }
}

.spinner-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spinner {
  animation: rotate 2s linear infinite;
}

.spinner .path {
  stroke: white;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.spinner.spinner--grey .path {
  stroke: #c4c4c4;
}

.spinner.spinner--pink .path {
  stroke: #ec008c;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }

  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@media screen and (min-width: 1600px) {
  .text-section p,
  .validity-wrap {
    max-width: 650px;
  }
}

#submit-button,
.prim-button,
[data-button] {
  padding: 10px 35px !important;
  border-radius: 30px;
}

#submit-button span,
.prim-button span,
[data-button] span {
  font-size: 26px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

@media screen and (max-width: 767px) {
  #submit-button span,
  .prim-button span,
  [data-button] span {
    font-size: 18px !important;
  }
}

@media screen and (min-width: 1300px) {
  .prizes-bg {
    max-height: 500px;
  }

  #lose .prizes-bg {
    max-width: 400px;
  }
}

@media screen and (min-width: 1600px) {
  .prizes-bg {
    max-width: 100%;
  }
}

@media screen and (max-width: 600px) {
  [data-text] {
    font-size: 18px !important;
  }

  h1[data-text] {
    font-size: 28px !important;
  }

  [input-group] input,
  [input-group] select {
    height: 42px;
  }
}

[data-color-primary-text-before][data-color-border-color-before]::before {
  border-color: rgba(236, 0, 140, 1) !important;
  border-radius: 6px !important;
  height: 18px !important;
  width: 18px !important;
  border: 1px solid rgba(236, 0, 140, 1) !important;
}

/* hide captcha button */
.frc-button {
  display: none !important;
}

.confetty-mob {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto auto;
  z-index: 0;
  transform: translateY(-50%);
}

#win .image-section,
#barcode .image-section {
  overflow: visible;
}

.confetty-pc {
  display: none;
}

@media screen and (min-width: 1250px) {
  .confetty-mob {
    display: none;
  }

  .confetty-pc {
    display: flex;
    height: 100%;
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto 0 auto auto;
    z-index: 0;
  }
}

#barcode .win-text-block {
  margin-top: 12px;
}

@media screen and (max-width: 600px) {
  h1[data-text] {
    font-size: 36px !important;
  }

  h2[data-text] {
    font-size: 20px !important;
  }

  h3[data-text] {
    font-size: 22px !important;
  }

  p[data-text] {
    font-size: 18px !important;
  }
}

/* ========================== SLOT =============================== */

.slot {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  max-width: 650px;
  width: 90%;
}

.slot__wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 70vh;
}

.slot__logo__wrap {
  width: 25%;
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 110px;
  z-index: 5;
}

.slot__light__wrap {
  width: 60%;
  position: absolute;
  top: 4%;
  left: 20%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
}

.slot__light__wrap.on {
  width: 66%;
  z-index: 6;
  left: 17%;
  top: 2%;
}

.slot__light {
  width: 6%;
  filter: contrast(1.75);
  transform: scale(1.05);
}

.slot__light.on {
  width: 14%;
  opacity: 0;
}

.slot__light__wrap__bottom {
  width: 60%;
  position: absolute;
  bottom: 5%;
  left: 20%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
}

.slot__light__wrap__bottom.on {
  width: 66%;
  z-index: 6;
  left: 17%;
  bottom: 3%;
}

.slot__inner {
  position: relative;
  margin: 0 auto;
  width: 95%;
  cursor: pointer;
}

.shadow__top {
  position: absolute;
  width: 100%;
  top: calc(4%);
  left: 0;
  z-index: 2;
}

.shadow__bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.slot__center {
  position: absolute;
  left: 0;
  top: 43%;
  pointer-events: none;
  user-select: none;
}

.slot__center__yellow {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 43%;
  pointer-events: none;
  user-select: none;
  filter: contrast(1.75);
}

.slot__top,
.slot__bottom {
  width: 83%;
  margin: 0 auto;
  position: relative;
  top: 0px;
}

.handle__wrap {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: calc(-10%);
  top: calc(70%);
  width: 10%;
  cursor: pointer;
}

.handle__bottom {
  cursor: pointer;
}

.handle {
  position: absolute;
  width: 20%;
  left: calc(53%);
  bottom: calc(56%);
  cursor: pointer;
  z-index: 6;
  height: 160%;
}

.handle__top {
  position: absolute;
  z-index: 7;
  width: 65%;
  left: calc(28%);
  top: calc(-122%);
  cursor: pointer;
}

.handle__dot {
  position: absolute;
  top: calc(30%);
  left: calc(48%);
  width: 32%;
  cursor: pointer;
}

.slot__swipe__text {
  display: flex;
  justify-content: center;
  position: absolute;
  z-index: 5;
  width: 100%;
  bottom: 10.5%;
}

.gameplay__page {
  position: relative;
}

.rewards {
  display: flex;
  position: absolute;
  pointer-events: none;
  padding: 10px;
  height: 90%;
  top: 6%;
  width: 100%;
}

.rewards__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  width: calc(100% / 3);
  overflow: hidden;
  transition: none !important;
}

.rewards__img__wrap {
  padding: 10px;
  height: 100%;
  display: flex;
  place-content: center center;
}

.rewards__row .slot-machine__container {
  height: 100%;
  width: 100%;
}

.rewards__row .slot-machine__container .slot-machine__tile {
  height: calc(100% / 3);
  pointer-events: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: auto;
  padding: 10px 0;
  text-align: center;
  display: flex;
  transition: none !important;
}

@media screen and (min-width: 500px) {
  .rewards__row .slot-machine__container .slot-machine__tile {
    padding: 15px 0;
    max-height: none !important;
  }
}

@media screen and (min-width: 320px) {
  .rewards__row .slot-machine__container .slot-machine__tile {
    max-height: 120px;
  }
}

.rays {
  position: absolute;
  max-width: none;
  width: 250%;
  height: 100%;
  opacity: 0.5;
  z-index: -10;
}

.ray {
  max-width: none;
  width: 200%;
  position: absolute;
  right: 0;
  left: 0%;
  top: -150%;
  z-index: -10;
  animation: rotate 60s linear infinite;
}

@media only screen and (max-width: 1023px) {
  .page-container {
    gap: 50px;
  }

  .rays {
    width: 200%;
    top: -2%;
    height: 100%;
    opacity: 0.7;
  }

  .ray {
    max-width: none;
    width: 200%;
    left: -48%;
    top: -124%;
  }

  .slot__swipe__text span {
    font-size: 18px;
  }
}

@media only screen and (max-width: 550px) {
  .slot__swipe__text span {
    font-size: 16px;
  }
}

@media only screen and (max-width: 400px) {
  .slot__swipe__text span {
    font-size: 12px;
  }

  .game-header {
    padding: 0 10px;
  }

  .gameplay__text {
    font-size: 12px !important;
  }

  .slot {
    width: 82%;
  }

  .page-container {
    gap: 20px;
  }
}

@media only screen and (max-width: 320px) {
  .rewards__row img {
    width: 90%;
  }
}

/* --------------- ANIMATIONS ------------- */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes flicker {
  0% {
    opacity: 0.2;
  }

  10% {
    opacity: 0.6;
  }

  15% {
    opacity: 0.85;
  }

  25% {
    opacity: 0.5;
  }

  30% {
    opacity: 1;
  }

  35% {
    opacity: 0.1;
  }

  40% {
    opacity: 0.25;
  }

  45% {
    opacity: 0.5;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0.85;
  }

  80% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

@keyframes flicker__second {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0.5;
  }

  15% {
    opacity: 0.4;
  }

  25% {
    opacity: 0.85;
  }

  30% {
    opacity: 1;
  }

  35% {
    opacity: 0.5;
  }

  40% {
    opacity: 0.1;
  }

  45% {
    opacity: 1;
  }

  60% {
    opacity: 0.5;
  }

  70% {
    opacity: 0.85;
  }

  80% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.1;
  }
}

.slot__light.on.first {
  opacity: 1;
  animation-name: flicker;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

.slot__light.on.second {
  opacity: 1;
  animation-name: flicker__second;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

.win-animation {
  animation-name: win;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

@keyframes win {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.win-animation-outside {
  animation-name: win-outside !important;
  animation-duration: 0.25s !important;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

@keyframes win-outside {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.gameplay-loading-info {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  min-width: 60px;
  height: 40px;
  inset: 50% 0 20px;
  background-color: transparent;
  color: #fff;
  font-family: AkkoPenny-Bold, sans-serif;
  font-size: 16px;
  font-weight: bold;
  margin: 0 auto;
  transform: translateY(-52%);
}

.gameplay-loading-info .loading-spinner {
  width: 40px;
  height: 40px;
}

.custom-control-label span {
  color: #58544d !important;
}

.sound-button {
  position: absolute;
  top: 1.25rem;
  right: 1rem;
  z-index: 2;
}

.sound-button > button {
  padding: 10px;
  min-width: auto;
  background-color: transparent !important;
  border: none;
}

.slot-machine__tile--no-transition {
  transition: none !important;
}

.slot-machine__tile img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
}

.ls {
  margin-bottom: 0 !important;
  text-align: center !important;
  color: #58544d !important;
  font-size: 32px !important;
  font-family: BrooklynSamuelsFive-Bold, sans-serif !important;
}

#barcode-wrap,
#code-expired {
  padding: 0px !important;
}

.image-section-desktop,
.prize-image-desktop {
  display: none !important;
}
.image-section-mobile,
.prize-image-mobile {
  display: flex !important;
  max-width: 300px;
}

@media screen and (min-width: 1250px) {
  .image-section-desktop,
  .prize-image-desktop {
    display: flex !important;
  }
  .image-section-mobile,
  .prize-image-mobile {
    display: none !important;
  }

  .prize-image-desktop {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
}

@media screen and (max-width: 1250px) {
  .win-text-block {
    background: #f4b4cc;
    width: calc(100% + 40px);
    padding-inline: 20px;
  }
}

.shop-button-win,
.shop-button-lose {
  cursor: pointer;
  margin-inline: auto;
}

@media screen and (min-width: 1250px) {
  .shop-button-win,
  .shop-button-lose {
    margin-inline: unset;
  }
}

.loading-spinner {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 99999;
  display: none;
}

.loader {
  width: 38px;
  height: 38px;
  border: 5px solid rgba(236, 0, 140, 1);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: fixed;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  transform: translate(-50%, -50%);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.frc-captcha,
.frc-captcha * {
  overflow: hidden !important;
}
