html *
{
  font-family:  'Montserrat-SemiBold' !important;
}

@font-face {
  font-family: Montserrat-SemiBold;
  src: url(../fonts/Montserrat-SemiBold.ttf);
}

a {
  color: unset !important;
}

body{
  background-color: black !important;
  overflow: hidden;
  width: 100%;
  position: fixed;
}

.bg-img{
  background-image: url(../images/jackpot-page-bg.jpg);
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: black;
  background-attachment: fixed;
  min-height: 100vh;
}

#jackpot_icon{
  padding: 160px 0 0 0;
  width: 490px;
}

#value{
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 0px 0 0px;
}

.letter-wrapper {
  overflow: hidden;
  position: relative;
  width: 65px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.letter-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
}

#prize-position-text{
  text-align: center !important;
  font-size: 26px !important;
  line-height: 55px !important;
  color:black !important;
}

#prize-value-text{
  font-size: 75px;
  letter-spacing: 0px;
  color: white;
  line-height: 70px;
  /* transition: letter-spacing 0.3s ease; */
  margin: 0 0px 10px 0 !important;
  display: inline-flex;
  transition: letter-spacing 0.3s ease;
  gap: 0px;
}

.spinning {
  animation: scroll 0.1s linear infinite;
}

@keyframes scroll {
  0% { top: 0; }
  100% { top: -40px; } /* Moves up */
}


.pop {
  animation: pop 0.4s ease forwards;
}

@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.8); }
  100% { transform: scale(1); }
}

#coin1{
  position: absolute;
  bottom: 85%;
  left: 23%;
}

.coin1-image{
  width: 140px;
  animation: angledBackForth1 4s infinite ease-in-out;
}

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

#coin2{
  position: absolute;
  bottom: 78%;
  left: 58%;
  z-index: 999;
}

.coin2-image{
  width: 80px;
  animation: angledBackForth2 4s infinite ease-in-out;
}

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

#coin3{
  position: absolute;
  bottom: -11%;
  left: 72%;
  z-index: 999;
}

.coin3-image{
  width: 190px;
  animation: angledBackForth3 4s infinite ease-in-out;
}

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

.prize-position-box{
  background-image: url(../images/prize-tag.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;   /* Ensures full image is shown */
  height: 55px;
  width: 275px;
  position: absolute;
  top: 63%;
}

#event-countdown{
  /* background: #f4d35c; */
  /* border: 1px solid black; */
  border-radius: 5px;
  position: absolute;
  top: 10%;
  padding: 10px;
  font-size: 70px;
  color: white;
}

@media (min-width: 520px) AND (max-width: 1272px){
  #jackpot_icon{
    padding: 175px 0 0 0;
    width: 470px;
  }

  .prize-position-box{
    background-image: url(../images/prize-tag.png);
    height: 75px;
    width: 200px;
    position: absolute;
    top: 62%;
  }

  .prize-position{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: end;
    text-align: center;
    font-size: 30px;
    line-height: 50px; 
    color:black;
  }

  #prize-position-text{
    color:black !important;
  }


  #prize-value-text{
    font-size: 60px;
    line-height: 60px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 61px;
    height: 90px;
  }

  #event-countdown{
    font-size: 50px;
  }

  #coin1{
    position: absolute;
    bottom: 86%;
    left: 20%;
  }

  .coin1-image{
    width: 140px;
    animation: angledBackForth1 4s infinite ease-in-out;
  }

  #coin2{
    position: absolute;
    bottom: 78%;
    left: 58%;
    z-index: 999;
  }

  .coin2-image{
    width: 80px;
    animation: angledBackForth2 4s infinite ease-in-out;
  }

  #coin3{
    position: absolute;
    bottom: -4%;
    left: 75%;
    z-index: 999;
  }
  
  .coin3-image{
    width: 180px;
    animation: angledBackForth3 4s infinite ease-in-out;
  }
}

/* Galaxy Z Fold 5*/
@media (min-width: 344px) AND (max-width:344px) {
  #jackpot_icon{
    padding: 200px 0 0 0;
    width: 380px;
  }

  .prize-position-box{
    height: 42px;
    width: 180px;
    position: absolute;
    top: 67%;
  }

  #prize-value-text{
    font-size: 40px;
    line-height: 45px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }
}

/* Samsung Galaxy s8+*/
@media (max-width:374px) {
  #jackpot_icon{
    padding: 360px 0 0 0;
    width: 330px;
  }

  .prize-position-box{
    height: 40px;
    width: 160px;
    position: absolute;
    top: 77%;
  }
  
  #prize-position-text {
    text-align: center !important;
    font-size: 20px !important;
    line-height: 40px !important;
    color: black !important;
    margin-bottom: 0px;
  }

  #prize-value-text{
    font-size: 45px;
    line-height: 62px;
    padding-bottom: 0px;
    margin: 0 0px 0px 0px !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 42px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }

  #coin1{
    bottom: 86% !important;
    left: 20% !important;
  }

  .coin1-image{
    width: 140px !important;
  }

  .coin2-image{
    width: 80px !important;
  }

  #coin3{
    bottom: -4% !important;
    left: 84% !important;
  }
  
  .coin3-image{
    width: 200px !important;
  }
}

/* iPhone SE & iPhone X */
@media (min-width: 375px) AND (max-width:390px) {
  #jackpot_icon{
    padding: 325px 0 0 0;
    width: 345px;
  }

  .prize-position-box{
    height: 50px;
    width: 150px;
    position: absolute;
    top: 75%;
  }

  #prize-value-text{
    /* font-size: 85px; */
    font-size: 40px;
    line-height: 50px;
    padding-top:0px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  #prize-position-text{
    text-align: center !important;
    font-size: 20px !important;
    line-height: 49px !important;
    color: black !important;
    margin-bottom: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 45px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }

  #coin1{
    position: absolute;
    bottom: 86% !important;
    left: 20% !important;
  }

  .coin1-image{
    width: 130px !important;
    animation: angledBackForth1 4s infinite ease-in-out;
  }

  #coin2{
    position: absolute;
    bottom: 78% !important;
    left: 72% !important;
    z-index: 999;
  }

  .coin2-image{
    width: 60px !important;
    animation: angledBackForth2 4s infinite ease-in-out;
  }

  #coin3{
    position: absolute;
    bottom: -4% !important;
    left: 75% !important;
    z-index: 999;
  }
  
  .coin3-image{
    width: 150px !important;
    animation: angledBackForth3 4s infinite ease-in-out;
  }
}

/* iPhone 12 Pro */
@media (min-width: 390px) AND (max-width:412px) {
  #jackpot_icon{
    padding: 405px 0 0 0;
    width: 365px;
  }

  .prize-position-box{
    height: 40px;
    width: 150px;
    position: absolute;
    top: 78%;
  }

  #prize-position-text {
    text-align: center !important;
    font-size: 22px !important;
    line-height: 40px !important;
    color: black !important;
  } 

  #prize-value-text{
    /* font-size: 85px; */
    font-size: 50px;
    line-height: 50px;
    padding-top: 0px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 45px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }
  
  #coin1{
    bottom: 88% !important;
    left: 20% !important;
  }

  .coin1-image{
    width: 130px !important;
  }

  #coin2{
    bottom: 78% !important;
    left: 72% !important;
  }

  .coin2-image{
    width: 80px !important;
  }

  #coin3{
    bottom: 2% !important;
    left: 84% !important;
  }
  
  .coin3-image{
    width: 180px !important;
  }
}

/* Pixel 7 & iPhone XR*/
@media (min-width: 412px) AND (max-width:427px) {
  #jackpot_icon{
    padding: 435px 0 0 0;
    width: 385px;
  }

  .prize-position-box{
    height: 50px;
    width: 165px;
    position: absolute;
    top: 78%;
  }

  #prize-value-text{
    font-size: 50px;
    line-height: 40px;
    padding-top: 0px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  #prize-position-text {
    text-align: center !important;
    font-size: 22px !important;
    line-height: 50px !important;
    color: black !important;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }

  #coin1{
    bottom: 88% !important;
    left: 20% !important;
  }

  .coin1-image{
    width: 140px !important;
  }

  .coin2-image{
    width: 80px !important;
  }

  #coin3{
    bottom: 0% !important;
    left: 84% !important;
  }
  
  .coin3-image{
    width: 210px !important;
  }
}

/* iPhone 14 Pro Max*/
@media (min-width: 427px) AND (max-width:431px) {
  #jackpot_icon{
    padding: 450px 0 0 0;
    width: 395px;
  }

  .prize-position-box{
    height: 50px;
    width: 170px;
    position: absolute;
    top: 78%;
  }

  #prize-position-text {
    text-align: center !important;
    font-size: 22px !important;
    line-height: 55px !important;
    color: black !important;
    margin-bottom:0px;
  }

  #prize-value-text{
    font-size: 50px;
    line-height: 50px;
    padding-top: 0px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }

  #coin1{
    bottom: 88% !important;
    left: 20% !important;
  }

  .coin1-image{
    width: 140px !important;
  }

  #coin2{
    bottom: 78% !important;
    left: 72% !important;
  }

  .coin2-image{
    width: 90px !important;
  }

  #coin3{
    bottom: 4% !important;
    left: 86% !important;
  }
  
  .coin3-image{
    width: 200px !important;
  }
}

@media (min-width: 431px) AND (max-width:520px) {
  #jackpot_icon{
    padding: 450px 0 0 0;
    width: 395px;
  }

  .prize-position-box{
    height: 50px;
    width: 170px;
    position: absolute;
    top: 78%;
  }

  #prize-position-text {
    text-align: center !important;
    font-size: 22px !important;
    line-height: 55px !important;
    color: black !important;
    margin-bottom:0px;
  }

  #prize-value-text{
    font-size: 50px;
    line-height: 50px;
    padding-top: 0px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }
}

/* iPad Pro*/
@media (min-width: 1024px) AND (max-width:1024px) {
  #jackpot_icon{
    padding: 280px 0 0 0;
    width: 660px;
  }

  .prize-position-box{
    height: 50px;
    width: 230px;
    position: absolute;
    top: 68%;
  }

  #event-countdown{
    font-size: 40px;
  }
}

@media (min-width: 1300px) {
  #jackpot_icon{
    padding: 135px 0 0 0;
    width: 580px;
  }

  .prize-position-box{
    background-image: url(../images/prize-tag.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;   /* Ensures full image is shown */
    height: 68px;
    width: 305px;
    position: absolute;
    top: 59%;
  }

  #prize-value-text{
    /* font-size: 85px; */
    font-size: 70px;
    line-height: 90px;
    padding-top:0px;
    margin: 0 0px 10px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  #prize-position-text{
    text-align: center !important;
    font-size: 30px !important;
    line-height: 65px !important;
    color: black !important;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: 75px;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }

}

@media (max-width: 520px) {
  .bg-img {
    background-image: url(../images/mup-jackpot-page-bg.jpg);
    background-size: cover;       /* Ensures it covers the whole area */
    background-repeat: no-repeat; /* Prevents tiling */
    background-position: center;  /* Centers the image */
  }

  #coin1{
    position: absolute;
    bottom: 88%;
    left: 20%;
  }

  .coin1-image{
    width: 110px;
    animation: angledBackForth1 4s infinite ease-in-out;
  }

  #coin2{
    position: absolute;
    bottom: 78%;
    left: 72%;
    z-index: 999;
  }

  .coin2-image{
    width: 60px;
    animation: angledBackForth2 4s infinite ease-in-out;
  }

  #coin3{
    position: absolute;
    bottom: -4%;
    left: 75%;
    z-index: 999;
  }
  
  .coin3-image{
    width: 150px;
    animation: angledBackForth3 4s infinite ease-in-out;
  }
}

@media (min-width: 288px) AND (max-width: 520px) AND (max-height:688px) {
  #jackpot_icon{
    padding-top: calc(330px + (2 * ((100vw - 288px) / 232))) !important;
    width: calc(290px + (175 * ((100vw - 288px) / 232))) !important;
  }

  .prize-position-box{
    height: 60px;
    width: calc(130px + (60 * ((100vw - 288px) / 232))) !important;
    position: absolute;
    top: calc(76% - (20 * ((100vw - 288px) / 232))) !important;
  }

  #prize-value-text{
    /* font-size: 85px; */
    font-size: calc(50px + (20 * ((100vw - 288px) / 232))) !important;
    line-height: calc(50px + (40 * ((100vw - 288px) / 232))) !important;
    padding-top:0px;
    margin: 0 0px 0px 0 !important;
    display: inline-flex;
    transition: letter-spacing 0.3s ease;
    gap: 0px;
  }

  #prize-position-text{
    text-align: center !important;
    font-size: 20px !important;
    line-height: 56px !important;
    color: black !important;
    margin-bottom: 0px;
  }

  .letter-wrapper {
    overflow: hidden;
    position: relative;
    width: calc(40px + (20 * ((100vw - 288px) / 232))) !important;
    height: 90px;
  }

  #event-countdown{
    font-size: 40px;
  }

  #coin1{
    position: absolute;
    bottom: 86% !important;
    left: 20% !important;
  }

  .coin1-image{
    width: 130px !important;
    animation: angledBackForth1 4s infinite ease-in-out;
  }

  #coin2{
    position: absolute;
    bottom: 78% !important;
    left: 72% !important;
    z-index: 999;
  }

  .coin2-image{
    width: 60px !important;
    animation: angledBackForth2 4s infinite ease-in-out;
  }

  #coin3{
    position: absolute;
    bottom: -4% !important;
    left: 75% !important;
    z-index: 999;
  }
  
  .coin3-image{
    width: 150px !important;
    animation: angledBackForth3 4s infinite ease-in-out;
  }
}