/*-------------------------------------------------Popup--------------------------------------------------*/
.popup {
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*---------------------------------------------Popup Content----------------------------------------------*/
.popup-content {
  width: 80vw;
  max-width: 500px;
  text-align: center;
}

.popup-content img {
  width: 100%;
}

/*----------------------------------------------Popup Title-----------------------------------------------*/
.popup-title {
  top: 20%;
}

.popup-title img {
  width: 90%;
}

/*--------------------------------------------Popup Countdown---------------------------------------------*/
.popup-countdown {
  top: 37.75%;
}

.popup-countdown img {
  width: 67%;
}

.popup-countdown .countdown-text {
  color: #fff;
  font-size: clamp(18px, 5vw, 34px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
}

/*---------------------------------------------Popup Button-----------------------------------------------*/
.popup-button {
  top: 46%;
}

.popup-button img {
  width: 77%;
}

/*-------------------------------------------Popup Leaderboard--------------------------------------------*/
.popup-leaderboard {
  top: 64%;
}

.popup-leaderboard img {
  width: 86%;
}

.popup-leaderboard .leaderboard-mask {
  top: 3%;
  bottom: 0%;
  left: 8%;
  right: 8%;
  overflow: hidden;
}

.popup-leaderboard .leaderboard-list {
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.55s ease-in-out;
}

.popup-leaderboard .leaderboard-item {
  color: #fff;
  font-size: clamp(13px, 3.3vw, 22px);
  font-style: italic;
  line-height: clamp(24px, 5vw, 38px);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
  height: clamp(24px, 5vw, 38px);
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 992px) {
  #popup-content {
    margin: 10% auto;
    padding: 20px;
    width: 30%;
  }

  #popup-bg {
    width: 100%;
  }
}
