@charset "UTF-8";
body {
  margin: 0 !important;
}

.main {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.container .video {
  width: 620px;
  height: 350px;
  margin: 20px auto;
}

.user_header {
  width: 100%;
  padding: 25px 0 0 5%;
}
.user_header .icon {
  display: inline-block;
  vertical-align: top;
  background-image: url(/i/header_title.svg);
  width: 70px;
  height: 34px;
  background-size: cover;
  background-repeat: no-repeat;
}
.user_header .text {
  display: inline-block;
  vertical-align: top;
  margin-left: 8px;
}
.user_header .text span {
  color: white;
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  vertical-align: top;
  letter-spacing: 0.4px;
}

.main_title {
  width: 251px;
  height: 91px;
  background-image: url(/i/main_title.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: top;
  margin-left: calc(50vw - 125px);
  margin-top: 5px;
}
.main_title.right {
  position: absolute;
  right: 0;
  top: 0;
  margin: 25px 120px 25px 25px;
}

.button_exit {
  cursor: pointer;
  width: 66px;
  height: 66px;
  background-image: url(/i/button_exit.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: top;
  position: absolute;
  right: 0;
  top: 0;
  margin: 60px 25px 25px 25px;
}

.games {
  margin: 100px 5% 0 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  justify-content: center;
}
.games .game {
  display: inline-block;
  vertical-align: top;
  margin-top: 20px;
  cursor: pointer;
}
.games .game.active .icon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50px;
}
.games .game.active .icon:before {
  z-index: 10;
  content: "";
  background-image: url(/i/checked.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 36px;
  height: 29px;
  position: absolute;
  top: 45px;
  left: 47px;
}
.games .game .icon {
  position: relative;
  display: inline-block;
  vertical-align: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 123px;
  height: 128px;
  border-radius: 50px;
}
.games .game .description {
  width: 191px;
  padding: 15px 0 15px 17px;
  display: inline-block;
  vertical-align: top;
}
.games .game .description .title {
  color: white;
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.games .game .description .text {
  color: white;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.4px;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* максимум 3 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.start_button_container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 80px;
}
.start_button_container .start_button {
  width: 289px;
  height: 67px;
  background-image: url(/i/button.svg);
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start_button_container .start_button span {
  font-weight: 500;
  font-size: 25px;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #241E4B;
  transform: translateY(-4px);
  user-select: none;
}
.start_button_container .start_button.disabled {
  cursor: not-allowed;
  background-image: url(/i/button_disabled.svg);
}

.btn.back {
  cursor: pointer;
  position: relative;
  padding-left: 90px;
  padding-top: 22px;
}
.btn.back span {
  font-size: 22px;
  line-height: 24px;
  color: #FFFFFF;
}
.btn.back:before {
  z-index: 100;
  cursor: pointer;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(/i/arrow.svg);
  width: 66px;
  height: 66px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.btn.next {
  width: 150px;
  height: 67px;
  background-image: url("/i/button_next.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  cursor: pointer;
}

.btn.new_game {
  width: 204px;
  height: 67px;
  background-image: url("/i/new_game.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  cursor: pointer;
  margin-top: 80px;
}

.btn.next2 {
  width: 229px;
  height: 67px;
  background-image: url("/i/button_next2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  cursor: pointer;
}

.rules {
  color: #FFFFFF;
  margin-top: 30px;
}

.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-inner {
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin: 0 auto;
}

.heroes {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-auto-rows: 100px;
  justify-content: center;
  column-gap: 46px;
  row-gap: 20px;
  margin: 12px auto 28px;
}
.heroes .hero {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: inline-block;
  position: relative;
}
.heroes .hero.selected {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  outline: 4px solid rgba(255, 255, 255, 0.12);
}
.heroes .hero .image {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  border-radius: 50%;
}
.heroes .hero .name span {
  color: #FFFFFF;
}

@media screen and (max-width: 580px) {
  .games {
    margin: 20px 10% 0 10%;
    gap: 30px;
  }
}
.container .user {
  margin-bottom: 60px;
}
.container .user .hero .image {
  display: inline-block;
  vertical-align: top;
  background-position: center center;
  background-size: contain;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  margin-right: 20px;
}
.container .user .hero .info {
  display: inline-block;
  vertical-align: top;
  horiz-align: left;
}
.container .user .hero .info .name {
  margin-top: 20px;
  margin-bottom: 15px;
}
.container .user .hero .info .name span {
  color: #FFFFFF;
  font-size: 20px;
  line-height: 16px;
  font-weight: 500;
}
.container .user .hero .info .hero_name span {
  color: #FFFFFF;
  font-size: 28px;
  line-height: 30px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 700;
}

.container .game .game_bg {
  display: inline-block;
  vertical-align: top;
  width: 282px;
  height: 166px;
  background-image: url("/i/desktop_b.svg");
}
.container .game .game_bg .cube {
  position: relative;
  background-size: contain;
  width: 87px;
  height: 87px;
  margin: 10px auto;
  background-color: #F2C8A9;
  border-radius: 50%;
}
.container .game .game_bg .cube .cube_image {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url("/i/cube.png");
  width: 50px;
  height: 50px;
}
.container .game .game_bg .cube .card_image {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url("/i/card_i.png");
  width: 50px;
  height: 50px;
}
.container .game .game_bg .image_hero {
  background-size: contain;
  width: 87px;
  height: 87px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  margin: 10px auto;
}
.container .game .game_bg .name {
  text-align: center;
  margin-top: 10px;
}
.container .game .game_bg .name span {
  text-transform: uppercase;
  font-size: 20px !important;
  font-weight: 500;
}
.container .game .info {
  max-width: 450px;
  display: inline-block;
  vertical-align: top;
  margin-left: 36px;
}
.container .game .info .desc {
  margin: 10px 0 30px 0;
}
.container .game .info .desc span {
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
}
.container .game .info .title {
  width: 284px;
  margin: 10px 0 0 36px;
}
.container .game .info .title span {
  color: white;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 400;
}

.action {
  margin-top: 80px;
  margin-bottom: 80px;
}
.action .btn {
  display: inline-block;
  vertical-align: top;
  margin-right: 30px;
}

.btn.invite {
  margin-top: 15px;
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  background-image: url("/i/invite_icon.svg");
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.btn.rules {
  margin-top: 15px;
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  background-image: url("/i/rules_icon.svg");
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.info_more {
  margin-top: 37px;
}
.info_more span {
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
}

.additional_image {
  width: 440px;
  height: 230px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}

.invite .invite_title {
  margin-bottom: 50px;
}
.invite .invite_title span {
  font-size: 28px;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.invite .invite_qr .qr {
  display: inline-block;
  vertical-align: top;
  width: 250px;
  height: 250px;
}
.invite .invite_qr .invite_info {
  display: inline-block;
  vertical-align: top;
  max-width: 450px;
  margin-left: 46px;
}
.invite .invite_qr .invite_info .invite_desc {
  margin-top: 20px;
  margin-bottom: 70px;
}
.invite .invite_qr .invite_info .invite_desc span {
  font-size: 18px;
  color: #FFFFFF;
  font-weight: 400;
}
.invite .invite_qr .invite_info .copy_btn {
  cursor: pointer;
  width: 234px;
  height: 67px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("/i/copy_btn.svg");
}

.info_finish span {
  color: #FCC735;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.buttons {
  margin-top: 60px;
}
.buttons .button {
  display: inline-block;
  vertical-align: top;
}
.buttons .button .btn_finish {
  cursor: pointer;
  background-image: url("/i/button_finish.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 306px;
  height: 67px;
}
.buttons .button .btn_finish_all {
  cursor: pointer;
  background-image: url("/i/button_finish_all.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 300px;
  height: 67px;
}
.buttons .button .btn_desc {
  width: 298px;
  margin-top: 40px;
  text-align: center;
}
.buttons .button .btn_desc span {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: white;
}

.info_pre_finish.title span {
  color: white;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.info_pre_finish span {
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.finish_image {
  display: inline-block;
  vertical-align: top;
  background-image: url("/i/finish_image.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 169px;
  height: 168px;
}

.finish_text {
  display: inline-block;
  vertical-align: top;
  max-width: 450px;
  margin: 17px 0 0 41px;
}

.finish_title {
  margin-bottom: 26px;
}

.finish_title span {
  font-size: 28px;
  color: white;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.finish_desc span {
  font-size: 18px;
  color: white;
  font-weight: 500;
  white-space: pre-line;
}
