@font-face {
  font-family: 'Casino';
  src: url('Casino.ttf') format('truetype');
}

* {
  touch-action: manipulation;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: 'SF Pro Display', sans-serif !important;
  background-image: url('./img/bg-mobile.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.logo {
  position: relative;
  top: 0.7rem;
  width: 3.2rem;
}

.light {
  position: absolute;
  top: 1rem;
  opacity: 0.96;
  width: 7.44rem;
  height: 7.67rem;
}

.light2 {
  position: absolute;
  display: none;
}

.main {
  display: flex;
  position: relative;
  width: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  top: 0.3rem;
  padding: 0.2rem 0 0 0;
  background-image: url('./img/bg-mobile.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.floating {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner {
  position: relative;
  display: flex;
  top: 1.3rem;
  width: 5.2rem;
  height: 4.25rem;
}

.roulette {
  position: absolute;
  top: 4.3rem;
  left: 1.1rem;
  width: 2rem;
  height: 2rem;
  animation: Rotate360 10s linear infinite;
}

.object1,
.object2,
.object3,
.object4,
.object5,
.object6 {
  position: absolute;
}

.object1 {
  margin-top: 1.2rem;
  animation: MoveTopRight 3s linear infinite;
}

.object1 img,
.object3 img {
  width: 7rem;
}

.object2 {
  animation: MoveTopLeft 3s linear infinite;
}

.object2 img {
  width: 5.5rem;
}

.object4 {
  top: 1rem;
  right: 1.7rem;
}

.object4 img {
  width: 1.4rem;
}

.object5 img {
  width: 0.85rem;
}

.object6 img {
  width: 1rem;
}

.object5 {
  top: 4.5rem;
  left: 0.2rem;
}

.object6 {
  top: 4.2rem;
  right: 0.4rem;
}

.object4,
.object5,
.object6 {
  z-index: 2;
  animation: Rotate 3s linear infinite;
}

.game-carousel {
  position: relative;
  top: -0.6rem;
}

.jackpot {
  position: relative;
  top: -2.35rem;
  width: 7rem;
  height: 2.35rem;
  z-index: 1;
}

#animatedNumber {
  font-family: 'Casino';
  font-size: 0.55rem;
  /* background: linear-gradient(180deg, rgba(230, 215, 162, 1) 32%, rgba(174, 136, 0, 1) 54%, rgba(255, 242, 196, 1) 100%); */
  background: linear-gradient(180deg, rgba(230, 215, 162, 1) 23%, rgba(255, 250, 234, 1) 37%, rgba(174, 136, 0, 1) 54%, rgba(255, 242, 196, 1) 75%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  left: 20%;
  top: -3.55rem;
  transform: translateX(-50%);
  z-index: 2;
}

.btn {
  position: relative;
  cursor: pointer;
  background-size: contain !important;
  width: 6rem;
  height: 1rem;
  background: linear-gradient(100deg, #ff2700 8.65%, #ff00ba 92.07%);
  box-shadow: inset 0px 0.03rem 0.06rem #ffffff29;
  border-radius: 1rem !important;
  color: #ffffff !important;
  font-weight: bold;
  font-size: 0.35rem !important;
  border: none;
  padding: 0.2rem;
}

.main .btn-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  top: -2.8rem;
}

.main .btn-signup {
  background: linear-gradient(100deg, #ff2700 8.65%, #ff00ba 92.07%);
}

.main .btn-signIn {
  background: transparent;
  border: 1px solid #ffffff;
}



.main .tnc {
  position: relative;
  top: -2.7rem;
  text-decoration: none;
  color: white !important;
  font-size: 0.27rem !important;
  font-weight: 100;
  cursor: pointer;
}

.radio {
  display: inline-block;
  width: 0.2rem;
  height: 0.2rem;
  border: 1px solid #fff;
  margin-right: 0.1rem;
  top: 0.05rem;
}

.active {
  background-image: url(https://cp.casinoplus.live/images/cp/images/icon/ic-small-tick.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 0.18rem 0.15rem;
}

.confirm-tnc {
  font-size: 0.24rem;
  line-height: 0.4rem;
  color: white;
  margin-top: 0.3rem;
}

.confirm-tnc .tnc {
  color: #ffff40;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes MoveTopRight {
  0%,
  100% {
    right: 0.2rem;
    top: 0;
  }
  50% {
    right: 0.5rem;
    top: 0.2rem;
  }
}

@keyframes MoveTopLeft {
  0%,
  100% {
    left: 1.2rem;
    top: 0.8rem;
  }
  50% {
    left: 1.5rem;
    top: 1rem;
  }
}

@keyframes Rotate {
  0%,
  100% {
    transform: rotate(-45deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

@keyframes Rotate360 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 375px) {
  .game-carousel {
    top: 0.1rem;
  }

  .jackpot {
    top: -1rem;
  }

  #animatedNumber {
    top: -2.1rem;
  }

  .main .btn-wrapper {
    top: -1.5rem;
  }

  .main .tnc {
    top: -1.3rem;
  }
}

@media (min-width: 490px) {
  .game-carousel {
    top: 0.75rem;
  }

  .jackpot {
    top: 0.3rem;
  }

  #animatedNumber {
    top: -0.8rem;
  }

  .main .btn-wrapper {
    top: -0.2rem;
  }

  .main .tnc {
    top: -0.1rem;
  }
  .confirm-tnc {
    font-size: 0.18rem;
  }
}

@media (min-width:667px) {
  .confirm-tnc {
    width: 3rem;
    line-height: 0.2rem;
    font-size: 0.12rem;
  }
}

@media (min-width: 768px) {
  .main {
    justify-content: start;
  }
  .game-carousel {
    top: 0.9rem;
  }

  .jackpot {
    top: 0.5rem;
  }

  #animatedNumber {
    top: -0.55rem;
  }

  .main .btn-wrapper {
    top: -0.2rem;
  }

  .main .tnc {
    top: -0.1rem;
  }

  .radio{
    width: 0.08rem;
    height: 0.08rem;
  }

  .confirm-tnc {
    width: 1.9rem;
    font-size: 0.1rem;
    line-height: 0.2rem;
  }
}

@media (min-width: 1025px) {
  html,
  body {
    overflow: auto;
  }

  body {
    background-image: url('./img/bg.png');
    background-position: bottom;
  }


  .main {
    top: -0.2rem;
    background-image: none;
  }

  .logo {
    top: 0.35rem;
    width: 1rem;
  }

  .light {
    top: 0.1rem;
    width: 3.94rem;
    height: 3.8rem;
  }

  .light2 {
    display: block;
    width: 100%;
    height: 100%;
  }

  .banner {
    top: 0.5rem;
    width: 2.5rem;
    height: 2.25rem;
  }

  .roulette {
    top: 1.75rem;
    left: 2.4rem;
    width: 1rem;
    height: 1rem;
  }

  .object1 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 1.5rem;
  }

  .object1 img,
  .object3 img {
    width: 3.5rem;
  }

  .object2 {
    top: 50%;
    transform: translate(28%, -40%);
  }

  .object2 img {
    width: 3.1rem;
    content: url('./img/object2-web.png');
  }

  .object4 {
    top: -0.1rem;
    right: 2.6rem;
  }

  .object4 img {
    width: 0.7rem;
  }

  .object5 img {
    width: 0.4rem;
  }

  .object6 img {
    width: 0.5rem;
  }

  .object5 {
    top: 1.5rem;
    left: 1.7rem;
  }

  .object6 {
    top: 1.5rem;
    right: 1.9rem;
  }

  .game-carousel {
    display: none;
  }

  .jackpot {
    top: 0.25rem;
    width: 2.5rem;
    height: 0.8rem;
  }

  #animatedNumber {
    font-size: 0.2rem;
    left: 7%;
    top: -0.16rem;
  }

  .main .btn-wrapper {
    flex-direction: row;
    gap: 0.1rem;
    top: 0.05rem;
  }

  .main .btn {
    width: 1.2rem;
    height: 0.25rem;
    padding: 0.05rem;
    font-size: 0.1rem !important;
  }

  .main .tnc {
    top: 0.1rem;
    font-size: 0.05rem !important;
  }

  .active {
    background-size: 0.1rem 0.1rem;
  }

  .confirm-tnc {
    width: 1.9rem;
    line-height: 0.15rem;
    font-size: 0.08rem;
    margin-top: 0.1rem;
  }
}
