.pop_up {
  z-index: 20;
  aspect-ratio: auto;
  object-fit: fill;
  background-color: #000c;
  justify-content: center;
  align-items: stretch;
  width: 100svw;
  height: 100svh;
  padding-top: 5%;
  display: none;
  position: fixed;
  overflow: auto;
}

.win_popup_jj {
  z-index: 15;
  text-transform: uppercase;
  background-color: #000c;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 32px;
  display: none;
  position: fixed;
}

.bg_popup_jj {
  background-image: url('../images/win_pop_up.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 743px;
  height: 100%;
  max-height: 743px;
  display: flex;
}

.text_win_popup_jj {
  background-image: url('../images/200fs.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  flex-flow: column;
  width: 100%;
  max-width: 256px;
  height: 124px;
  max-height: 160px;
  margin-bottom: 24px;
  display: flex;
}

.text_win_popup_jj.ars {
  background-image: url('../images/920ars.webp');
  max-width: 318px;
}

.btn_win_jj {
  filter: drop-shadow(0 9px 5px #6f0aa4);
  text-transform: uppercase;
  background-color: #3898ec00;
  background-image: url('../images/btn.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 291px;
  height: 100%;
  max-height: 64px;
  font-size: 20px;
  display: flex;
}

.win_popup2_jj {
  z-index: 15;
  text-transform: uppercase;
  background-color: #000c;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 32px;
  display: none;
  position: fixed;
}

.logo_jj_game {
  background-image: url('../images/logo_jokers.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 211px;
  height: 123px;
}

.instrument_jj {
  z-index: 8;
  background-image: url('../images/instrument.webp');
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: auto;
  width: 520px;
  height: 50%;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.h_jj_top {
  color: #fff;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  font-style: italic;
  font-weight: 700;
  line-height: 100%;
  display: flex;
}

.logo_white_jj {
  background-image: url('../images/logo_white.svg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 211px;
  height: 98px;
}

.textbottom_att_jj {
  color: #fff;
  text-transform: uppercase;
  justify-content: center;
  align-items: flex-start;
  font-size: 32px;
  font-weight: 700;
  line-height: 100%;
  display: flex;
}

.toptext_att_jj {
  color: #fff;
  text-transform: uppercase;
  justify-content: center;
  align-items: flex-start;
  font-size: 24px;
  display: flex;
}

.curtain_r_jj {
  z-index: 0;
  background-image: url('../images/curtain_r.webp');
  background-position: 0%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  max-width: 360px;
  height: 100%;
  position: absolute;
  left: auto;
  right: 0;
}

.curtain_l_jj {
  z-index: 0;
  background-image: url('../images/curtain_l.webp');
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  max-width: 360px;
  height: 100%;
  position: absolute;
  left: 0;
}

.h_jj_bottom {
  color: #fff;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  line-height: 100%;
  display: flex;
}

.attemp_text_jj {
  filter: drop-shadow(0 2px 5px #6f0aa4);
  width: 100%;
  height: 50px;
}

.wheel_frame_jj {
  z-index: 7;
  background-image: url('../images/frame_wheel.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  max-height: 1000px;
  position: absolute;
}

.wheel_disc_jj {
  z-index: 6;
  background-image: url('../images/disc.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  max-height: 1000px;
  position: absolute;
}

.h1_jj_box {
  flex-flow: column;
  display: flex;
}

.right_box_jj {
  z-index: 9;
  justify-content: flex-end;
  align-items: flex-end;
  width: 30%;
  height: 100%;
  display: flex;
  position: absolute;
  bottom: 0;
  right: 0;
}

.bg_hero_jj {
  background-image: url('../images/bg_joker.webp');
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100svh;
  display: flex;
  overflow: hidden;
}

.numb_att_jj {
  color: #fff;
  text-transform: uppercase;
  justify-content: center;
  align-items: flex-start;
  font-size: 32px;
  font-weight: 700;
  line-height: 100%;
  display: flex;
}

.wheel_light_jj {
  z-index: 1;
  pointer-events: none;
  background-image: url('../images/lighnt_wheel.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 150%;
  max-width: 1200px;
  height: 150%;
  max-height: 1200px;
  position: absolute;
}

.gems_back_jj {
  z-index: 5;
  background-image: url('../images/gems_and_coins.webp');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.character_jj {
  background-image: url('../images/character.webp');
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  min-width: 170px;
  height: 80%;
  min-height: 320px;
}

.wheel_win_jj {
  z-index: 6;
  background-image: url('../images/win_1.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  max-height: 1000px;
  display: flex;
  position: absolute;
}

.box_numb_jj {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  display: flex;
}

.header_jj {
  z-index: 1;
  background-image: linear-gradient(#0009, #0000);
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding-top: 32px;
  padding-left: 44px;
  padding-right: 44px;
  display: flex;
  position: relative;
}

.left_box_jj {
  z-index: 10;
  pointer-events: none;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  height: 70vh;
  margin-left: 0%;
  display: flex;
  position: absolute;
}

.bottom_block_jj {
  width: 100%;
  height: 30%;
  max-height: 390px;
  margin-top: -204px;
  position: relative;
}

.wheel_btn_jj {
  z-index: 10;
  cursor: pointer;
  background-image: url('../images/button.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 30%;
  height: 30%;
  position: absolute;
}

.wheel_win2_jj {
  z-index: 6;
  background-image: url('../images/win_2.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  max-height: 1000px;
  display: flex;
  position: absolute;
}

.wheel_box_jj {
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  max-height: 1000px;
  display: flex;
  position: relative;
}

.attempts_jj {
  z-index: 10;
  background-image: url('../images/attempt.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  justify-content: center;
  align-items: center;
  width: 309px;
  height: 147px;
  margin-top: 10%;
  margin-left: 44px;
  display: flex;
  position: relative;
  transform: rotate(-6deg);
}

.gems_front_jj {
  z-index: 8;
  background-image: url('../images/gems_and_coins_front.webp');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.content_box_jj {
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100%;
  display: flex;
}

@media screen and (max-width: 991px) {
  .logo_jj_game {
    height: 82px;
    position: absolute;
    right: 16px;
  }

  .instrument_jj {
    z-index: 1;
    background-position: 0 0;
    background-size: auto;
    width: 320px;
    height: 320px;
    bottom: 48px;
    left: auto;
    right: 0;
    overflow: hidden;
  }

  .h_jj_top {
    font-size: 48px;
  }

  .logo_white_jj {
    height: 82px;
    position: absolute;
    left: 16px;
  }

  .textbottom_att_jj {
    font-size: 28px;
  }

  .toptext_att_jj {
    font-size: 20px;
  }

  .h1_jj_box {
    margin-top: 120px;
  }

  .right_box_jj {
    width: 330px;
    height: 500px;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .numb_att_jj {
    font-size: 28px;
  }

  .character_jj {
    background-image: url('../images/Character_mob.png');
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: contain;
    min-width: auto;
    height: 100%;
    min-height: auto;
  }

  .box_numb_jj {
    grid-column-gap: 4px;
    grid-row-gap: 4px;
  }

  .header_jj {
    justify-content: center;
    align-items: flex-start;
  }

  .left_box_jj {
    z-index: 10;
    width: 220px;
    height: 98px;
    position: absolute;
    bottom: 3%;
    right: 10%;
  }

  .bottom_block_jj {
    height: 20%;
    margin-top: -60px;
  }

  .attempts_jj {
    width: 220px;
    height: 98px;
    margin-top: 0%;
    margin-left: 0;
  }

  .gems_front_jj {
    background-image: linear-gradient(#0000, #000c), url('../images/gems_and_coins_front.webp');
    background-position: 0 0, 0 0;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
  }
}

@media screen and (max-width: 767px) {
  .pop_up {
    padding-top: 0%;
  }

  .text_win_popup_jj.ars {
    max-width: 256px;
  }

  .h_jj_top {
    font-size: 32px;
  }

  .textbottom_att_jj {
    font-size: 24px;
  }

  .toptext_att_jj {
    font-size: 18px;
    line-height: 80%;
  }

  .curtain_r_jj, .curtain_l_jj {
    max-width: 240px;
  }

  .h_jj_bottom {
    font-size: 18px;
  }

  .numb_att_jj {
    font-size: 24px;
  }

  .box_numb_jj {
    grid-column-gap: 4px;
    grid-row-gap: 4px;
  }

  .left_box_jj {
    width: 192px;
    height: 92px;
    right: 5%;
  }

  .bottom_block_jj {
    margin-top: -200px;
  }

  .wheel_box_jj {
    height: 75%;
  }

  .attempts_jj {
    width: 192px;
    height: 91px;
    transform: rotate(7deg);
  }
}

@media screen and (max-width: 479px) {
  .bg_popup_jj {
    max-width: 520px;
    max-height: 520px;
  }

  .text_win_popup_jj {
    height: 92px;
    margin-top: 36px;
    margin-bottom: 20px;
  }

  .btn_win_jj {
    border-radius: 12px;
    max-width: 218px;
    max-height: 48px;
    font-size: 15px;
  }

  .logo_jj_game {
    width: 120px;
    height: 52px;
  }

  .instrument_jj {
    pointer-events: none;
    background-position: -40% 0;
    background-size: 320px 320px;
    width: 240px;
    height: 240px;
    right: 0;
  }

  .h_jj_top {
    font-size: 32px;
  }

  .logo_white_jj {
    width: 120px;
    height: 52px;
  }

  .textbottom_att_jj {
    font-size: 24px;
  }

  .toptext_att_jj {
    font-size: 18px;
  }

  .curtain_r_jj, .curtain_l_jj {
    max-width: 160px;
  }

  .h_jj_bottom {
    font-size: 18px;
  }

  .attemp_text_jj {
    height: auto;
  }

  .h1_jj_box {
    justify-content: flex-start;
    align-items: center;
    width: 320px;
    margin-top: 68px;
  }

  .right_box_jj {
    width: 100%;
    height: 40%;
    max-height: 500px;
  }

  .numb_att_jj {
    font-size: 24px;
  }

  .character_jj {
    pointer-events: none;
    height: 100%;
  }

  .box_numb_jj {
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    height: auto;
    margin-top: 6px;
  }

  .left_box_jj {
    width: 220px;
    height: 92px;
  }

  .attempts_jj {
    width: 100%;
    height: 100%;
    margin-top: -10%;
  }

  .content_box_jj {
    width: 140%;
  }
}


