html,
body {
  margin: 0;
  background-image: url("./img/web-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: SF Pro, sans-serif;
  background-color: #000000;
  position: relative;
  height: 100vh;
  background-attachment: fixed;
  height: 100%; /* Ensure the body takes up the full screen height */
  width: 100%;
  overflow: hidden; /* Prevent scrolling */
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

.main-logo{
  margin: 15px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.casinoplus-logo{
  width: 100%;
  max-width: 200px;
  height: auto;
}

.sign-in-up-btn{
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  max-width: 750px;
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 185px;
}

.header-container {
  text-align: end;
  width: 100%;
  margin: auto;
  z-index: 4;
  padding-top: 5px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sign-in-btn {
  background: white;
  width: 100px;
  height: 40px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  color: #ff0000;
  border: none;
  cursor: pointer;
  margin-right: 10px;
}

.sign-up-btn {
  background: linear-gradient(89.62deg, #ff1f1f 25.29%, #ff1360 43.88%, #fe01b2 97.88%);
  width: 100px;
  height: 40px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  border: none;
  cursor: pointer;
  margin-right: 10px;
}

.download-container {
  margin: 10px 13px 20px;
  display: flex;
}

.download-container img {
  width: 95%;
  cursor: pointer;
  margin: 0 auto;
  margin-top: -40;
  margin-left: 5;
}
.top-placeholder{
    margin-bottom: -50;
}

a {
  text-decoration: none;
}

.group-logo {
  width: 85%;
}

.cursor-pointer {
  cursor: pointer;
}

.webMain-container {
  position: relative;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

.text-container {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding-left: 10px;
}

.text-container-white {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0px 4px 4px #000000BF;
}

.text-container-yellow {
  color: #ffe81a;
  font-size: 25px;
  font-weight: 590;
}

.logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.cs-safe-icon{
  max-width: 30%;
  margin-bottom: 10px;
}
.download img{
  position: relative;
  width: 100%;
}
.top-placeholder{
  display: flex;
  margin-top: -50;
}

.jackpot-animation {
  position: relative;
}

.jackpot-animation img {
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.jackpot-animation img:nth-child(2) {
  position: absolute;
  animation-name: jackpotFadeIn;
  top: 0;
  opacity: 0;
}

.dice-animation {
  animation: diceTransform 8s infinite;
  position: absolute;
  right: -28%;
  top: 0;
  width: 45%;
}

.pulaputi-img {
  position: absolute;
  bottom: 5%;
  z-index: 9;
  left: 3%;
  width: 25%;
}

.bonus-grand-animation {
  position: absolute;
  bottom: 0;
  z-index: 9;
  right: 11%;
  width: 16%;
}

.bonus-grand-animation img {
  width: 100%;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

.bonus-grand-animation img:nth-child(2) {
  position: absolute;
  animation-name: jackpotFadeIn;
  top: 0;
  left: 0;
  opacity: 0;
}

.bonus-jackpot-animation {
  position: absolute;
  z-index: 6;
  left: 17%;
  width: 16%;
  bottom: 20%;
}

.bonus-jackpot-animation img {
  width: 100%;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

.bonus-jackpot-animation img:nth-child(2) {
  position: absolute;
  animation-name: jackpotFadeIn;
  top: 0;
  left: 0;
}

.flash_light {
  position: absolute;
  bottom: 0;
}

.jackpot_amount {
  height: auto;
}

/* Coming Soon Modal */
.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
}

.modal .modal-content {
  position: absolute;
  width: 80%;
  max-width: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff30;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 12px;
  color: white;
  padding: 20px;
}

.modal .content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.modal p {
  font-size: 30px;
  font-weight: 700;
}

.modal .modal-logo {
  width:50%;
  max-width: 180px;
}

.modal-closeBtn {
  display: inline-block;
  background: linear-gradient(100deg, #ff2700 8.65%, #ff00ba 92.07%);
  text-decoration: none;
  font-weight: 700;
  border-radius: 25px;
  font-size: 15px;
  padding: 0 60px;
  line-height: 45px;
  margin: auto;
  cursor: pointer;
}

@media only screen and (min-width: 375px) and (max-width: 413px) {
  .text-container-white {
    font-size: 23px;
  }

  .text-container-yellow {
    font-size: 18px;
  }

  .logo-text img {
    width: 18%;
  }
  .top-placeholder {
    margin-bottom: 30;
  }

  .page-content {
    width: 30%;
    right: 35%;
    top: 48%;
  }

  .dice-animation {
    right: -32%;
    width: 40%;
  }
}
iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

#mobile-iframe {
    width: 100%;
    height: 100%;
  }

/* For tablet devices */
   @media only screen and (max-width: 768px) {
  .casinoplus-logo{
    width: 80%;
    margin: 10px 15px;
  }
  #mobile-iframe {
      width: 100%;
      height: 100%; /* Adjust iframe height for mobile if needed */
    }

  .dice-animation {
    top: 8%;
    right: 0;
    animation: diceTransformMobile 4s infinite;
  }

  .text-container-white {
    font-size: 30px;
  }

  .text-container-yellow {
    font-size: 25px;
  }

  .logo-text {
    width: 100%;
  }

  .download-container img {
    width: 95%;
    margin-top: -60;
  }

  .download img {
    position: center;
  width: 100%;
  }

  .download-logo {
    margin-top: 15px;
    width: 70% !important;
  }

  .mobile-main {
    position: relative;
    width: 100%;
    margin-bottom: -78%;
  }

  .jackpot-animation {
    z-index: 9;
    margin: 0 auto;
    width: 92%;
  }

  .bonus-jackpot-animation {
    top: -65%;
    left: 13%;
    width: 44%;
    position: absolute;
    transform: rotate(-15deg);
  }

  .bonus-grand-animation {
    top: -68%;
    right: 12%;
    width: 45%;
    position: absolute;
    z-index: 1;
  }

  .flash_light {
    bottom: 5%;
  }

  .mobileMain {
    position: relative;
  }

  .webMain-container {
    height: calc(100vh - 10vh);
  }

  html,
  body {
    background-image: url("./img/mobile/mobile-bg.png");
    background-position: initial;
    background-attachment: initial;
  }

  .page-content {
    width: 95%;
    position: relative;
    top: 45%;
    max-width: unset;
    min-height: 60%;
    /* justify-content: space-between; */
  }

  .header-container {
    position: fixed;
  }

  .sign-in-btn,
  .sign-up-btn {
    width: 75px;
    height: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 4;
    margin-top: 5px;
    margin-right: 5px;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .footer {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 99;
    height: 10vh;
  }

  .logo-footer {
    width: 55px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
  }

  .download-btn-footer {
    background: linear-gradient(113.62deg, #ffc700 0.29%, #ff4523 97.88%, #ff2700 97.88%);
    width: 200px;
    height: 50px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 4;
  }

  .text-container-white, .text-container-yellow {
    font-size: 20px;
  }
}

/* For mobile devices */
@media only screen and (max-width: 767px) {
  .casinoplus-logo{
    width: 80px;
    margin: 5px 10px;
  }

  .page-content{
    top: 42.5%;
    min-height: 40%;
    justify-content: flex-start;
    margin-top: -375px;
  }
  .mobile-main {
    margin-bottom: -75%;
  }

  .jackpot-animation {
    width: 80%;
  }

  .bonus-grand-animation {
    top: -50%;
    right: 20%;
    width: 30%;
    position: absolute;
    z-index: 1;
  }

  .bonus-jackpot-animation {
    top: -45%;
    left: 28%;
    width: 30%;
    position: absolute;
    transform: rotate(-15deg);
  }

  .download-btn-footer {
    width: 120px;
    font-size: 12px;
  }

  .text-container-white {
    font-size: 11px;
  }

  .text-container-yellow {
    font-size: 14px;
  }

  .modal-closeBtn {
    padding: 0;
    width:100%
  }

  .logo-footer {
    width: 50px;
  }

  .download-btn-footer {
    width: 140px;
    height: 35px;
    font-size: 12px;
  }
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes jackpotFadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes diceTransform {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-50px, 50px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes diceTransformMobile {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-22%, 15%);
  }
  100% {
    transform: translate(0, 0);
  }
}