* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
}

html {
  font-size: 0.105vmin;

  @media screen and (max-width: 576px) {
    font-size: 1px;
  }
}

body {
  overflow: hidden;
  font-size: 16rem;
  font-family: "Roboto";
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* @media screen and (max-width: 1920px) {
  html {
  font-size: 1.67px;

  }
} */

button,
input {
  font-family: "Roboto";
  background: transparent;
  outline: none;
}

button {
  cursor: pointer;
}

b {
  font-weight: 700;
}

img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-overlay {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(34, 110, 199, 0.3);
  justify-content: center;
  align-items: center;
}

:root {
  --clip-path-polygon: polygon(98.66025% 45%,
      99.39693% 46.5798%,
      99.84808% 48.26352%,
      100% 50%,
      99.84808% 51.73648%,
      99.39693% 53.4202%,
      98.66025% 55%,
      78.66025% 89.64102%,
      77.66044% 91.06889%,
      76.42788% 92.30146%,
      75% 93.30127%,
      73.4202% 94.03794%,
      71.73648% 94.48909%,
      70% 94.64102%,
      30% 94.64102%,
      28.26352% 94.48909%,
      26.5798% 94.03794%,
      25% 93.30127%,
      23.57212% 92.30146%,
      22.33956% 91.06889%,
      21.33975% 89.64102%,
      1.33975% 55%,
      0.60307% 53.4202%,
      0.15192% 51.73648%,
      0% 50%,
      0.15192% 48.26352%,
      0.60307% 46.5798%,
      1.33975% 45%,
      21.33975% 10.35898%,
      22.33956% 8.93111%,
      23.57212% 7.69854%,
      25% 6.69873%,
      26.5798% 5.96206%,
      28.26352% 5.51091%,
      30% 5.35898%,
      70% 5.35898%,
      71.73648% 5.51091%,
      73.4202% 5.96206%,
      75% 6.69873%,
      76.42788% 7.69854%,
      77.66044% 8.93111%,
      78.66025% 10.35898%);
}

.modal {
  width: 360rem;
  background: linear-gradient(166deg, #F7FAFE 19.57%, #C9DEFC 108.27%);
  border-radius: 20rem;
  position: relative;
  padding: 20rem 12rem 12rem !important;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 576px) {
  .modal {
    width: 300rem;
  }
}

.modal:before {
  content: "";
  position: absolute;
  left: 50%;
  height: 80rem;
  transform: translateX(-50%);
  background: #F7FAFE;
  z-index: -2;
  top: -11rem;
  width: 94%;
  border-top-left-radius: 450rem 40rem;
  border-top-right-radius: 450rem 40rem;
}

@media screen and (max-width: 576px) {
  .modal:before {
    top: -8rem;
  }
}

.modal_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-height: 100%;
  background: #fff;
  border-radius: 15rem 15rem 10rem 10rem;
  filter: drop-shadow(0rem 0rem 10.286rem #E3EBF2);
  position: relative;
  padding: 40rem 15rem 20rem !important;
  /* margin-bottom: 15rem; */
}

.modal_inner:before {
  content: "";
  position: absolute;
  left: 50%;
  height: 80rem;
  transform: translateX(-50%);
  background: #fff;
  z-index: -2;
  top: -11rem;
  width: 94%;
  border-top-left-radius: 450rem 40rem;
  border-top-right-radius: 450rem 40rem;
  user-select: none;
  pointer-events: none;
}

@media screen and (max-width: 576px) {
  .modal_inner:before {
    top: -8rem;
  }
}

.modal__image {
  width: 110rem;
  height: 110rem;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: var(--clip-path-polygon);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  padding: 5rem !important;
  background: rgba(225, 232, 247, 0.80);
}

@media screen and (max-width: 576px) {
  .modal__image {
    width: 84rem;
    height: 84rem;
    top: 3rem;
  }
}

.modal__image img {
  background: linear-gradient(180deg, #FAE090 0%, #F8D567 100%);
}

.modal__image-2 {
  background: url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assets/img/game-card__image-hex.png') no-repeat center/contain;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 236rem;
  height: 76rem;
  color: #FFF;
  text-align: center;
  font-size: 36rem;
  font-weight: 700;
  line-height: 15.429rem;
  text-transform: uppercase;
}

@media screen and (max-width: 576px) {
  .modal__image-2 {
    width: 224rem;
    height: 64rem;
    font-size: 31rem;
  }
}

.modal__image-3 img {
  background: linear-gradient(180deg, #3651C2 0%, #5366E7 100%);
}

.winday-logo-sad {
  width: 136rem;
  height: 136rem;
  position: absolute;
  top: -18rem;
  left: 47%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.modal__image img {
  clip-path: var(--clip-path-polygon);
}

.modal_close-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 42rem;
  height: 42rem;
  background: url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assets/img/modal_close-btn.png') no-repeat center/contain;
}

.modal__header {
  margin-bottom: 18rem !important;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
}

.modal__title {
  color: #488BFE;
  font-size: 24rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  hyphens: auto;
}

.game-goal-title {
  font-size: 20rem;
}

.modal__text-block {
  color: #707173;
  text-align: center;
  font-size: 14rem;
  font-weight: 500;
  padding: 16rem 20rem !important;
  border-radius: 2rem;
  background: rgba(251, 242, 212, 0.50);
  width: 100%;
}

.modal__blue-btn {
  width: 295rem;
  height: 49rem;
  margin: 0 auto !important;
  background: url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assets/img/game-card__blue-btn.png') no-repeat center/contain !important;
  color: #FFF;
  text-align: center;
  font-size: 15rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15rem !important;
}

.modal__transparent-btn {
  background: url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assets/img/game-card__transparent-btn.png') no-repeat center/contain !important;
  color: #406ED3;
  margin-top: 9rem !important;
  margin-bottom: 9rem !important;
}

@media screen and (max-width: 576px) {
  .modal__blue-btn {
    width: 100%;
    height: 45rem;
  }
}

.modal__goal-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 100%;
  background: rgba(251, 242, 212, 0.82);
  border: 2.571rem solid #FAE39C;
  padding: 31rem 12rem !important;
  border-radius: 8rem;
  color: #BE9207;
  text-align: center;
  font-size: 16.8rem;
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 18rem !important;
}

.modal__goal-tag {
  position: absolute;
  width: 168rem;
  height: 22rem;
  top: -11rem;
  left: 50%;
  transform: translateX(-50%);
  background: url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assets/img/goal-tag.png') no-repeat center/contain;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #BE9207;
  text-align: center;
  font-size: 14rem;
  font-weight: 700;
  line-height: 1.16;
}

.points-task {
  color: #BE9207;
  text-align: center;
  font-size: 43.2rem;
  line-height: 1;
  font-weight: 700;
  margin-top: 6rem !important;

}

.points-task.tournament {
  font-size: 16rem;
  line-height: 1.2;
}

.task-description {
  color: #707173;
  text-align: center;
  font-size: 12rem;
  font-weight: 500;
  line-height: 1.33;

}

.task-description .link {
  color: #707173;
  margin-top: 12rem !important;
  font-weight: 700;
  text-decoration: underline;
  display: block;
  font-size: 16rem;
}

.tiles-task {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 7rem !important;
  position: relative;
}

.tile {
  width: 35rem;
  height: 35rem;
  position: relative;
  margin: 0 6rem !important;
}

.points-frame {
  width: 40rem;
  height: auto;
  aspect-ratio: 50 / 19;
  color: #F1CE61;
  text-align: center;
  font-size: 11rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: url('https://winday-dev.s3.us-east-2.amazonaws.com/general-popups/assets/img/goal-frame.png') no-repeat center/contain; */
  background: url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assets/img/goal-frame.png') no-repeat center/contain;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  filter: drop-shadow(0rem1.854rem3.709rem#D4B03E);
}

.pause-inner {
  background: rgba(251, 242, 212, 0.40);
  border-radius: 6rem;
  padding: 18rem 12rem 2rem !important;
  width: 100%;
}

.pause-text {
  margin-bottom: 22rem !important;
  color: #707173;
  text-align: center;
  font-size: 15rem;
  font-weight: 700;
  line-height: 1.2;
}

.aware {
  color: #406ED3;
  text-align: center;
  font-size: 14rem;
  font-weight: 700;
  line-height: 1.28;
}

.collect-points {
  color: #BE9207;
  font-size: 12rem;
  font-weight: 500;
  margin-bottom: 12rem !important;
}

.points-goal {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.score {
  color: #BE9207;
  font-size: 32rem;
  font-weight: 700;
}

.divider {
  color: #BE9207;
  text-shadow: 0rem2rem8remrgba(138, 94, 28, 0.25);
  font-size: 32rem;
  font-weight: 700;
  opacity: 0.3;
  margin: 0 8rem !important;
}

.goal-score {
  color: #BE9207;
  text-align: right;
  font-size: 24rem;
  font-weight: 700;
}

.destroy-targets .tiles-task .tile {
  margin: 0 -12rem !important;
}

.leave {
  color: #BE9207;
  text-align: center;
  font-size: 18rem;
  font-weight: 700;
  line-height: 1.28;
}

.landscape-bg {
  background: url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assetshttps://d43xjjq7uepv7.cloudfront.net/general-popups/assetsassets/img/landscape-mode.jpg') no-repeat center/cover;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999999999999999;
}

.modal__text {
  color: #707173;
  text-align: center;
  font-size: 13rem;
  font-weight: 500;
  margin-bottom: 25rem !important;
}


.plugin_card {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 420rem;
  height: 100%;
  max-height: 590rem;
  border-radius: 20rem;
  box-shadow: 0rem8.038rem88.42rem0remrgba(0, 18, 83, 0.50);
  background: #FFFFFF;
}

@media screen and (max-width: 576px) {
  .plugin_card {
    width: 100%;
    border-radius: 20rem 20rem 0 0;
    box-shadow: none;
  }
}

.plugin_card.info {
  background: #E9F0FF;
}

.plugin_card .plugin_card__header {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  padding: 24rem !important;
  background: #FFFFFF;
  height: 178rem;
  border-radius: 20rem 20rem 0 0;
  position: relative;
}

.plugin_card .plugin_card__header.auth_header {
  height: 132rem;
}

.plugin_card .plugin_card__header .plugin_card__header__title_text {
  color: var(--Main-dark, #1E2241);
  text-align: center;
  font-size: 14rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plugin_card .plugin_card__header__title_row {
  display: flex;
  gap: 16rem;
}

.plugin_card .plugin_card__header__title_row .card__header__logo_container {
  background: #EAF2FF;
  clip-path: var(--clip-path-polygon);
  width: 84rem;
  height: 84rem;
  padding: 7rem !important;
  flex: none;
}

.plugin_card .plugin_card__header__title_row .card__header__logo_container .logo {
  clip-path: var(--clip-path-polygon);
  background: #D2D5FF;
}

.plugin_card .plugin_card__header__title_row .card__header__logo_container.error_preview {
  background: #FAE2FF;
}

.plugin_card .plugin_card__header__title_row .card__header__logo_container.error_preview .logo {
  background: #EFD2FF;
  padding: 16rem !important;
}

.plugin_card .plugin_card__header__title_row .card__header__logo_container.error_preview2 .logo {
  padding: 16rem !important;
}

.plugin_card .plugin_card__header__title_row .card__header__title {
  color: #1E2241;
  font-size: 21rem;
  font-weight: 700;
  line-height: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: auto 0 !important;
  padding: 12rem 0 !important;
  font-family: 'Mariupol';
  max-height: 76rem;
}

.plugin_card .plugin_card__divider {
  background: url('./assets/img_rework/pattern.svg') no-repeat center/contain, #3640E6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24rem;
  width: 100%;
  color: var(--popup-white, #FFF);
  text-align: center;
  font-size: 14.469rem;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
}

.plugin_card .plugin_card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 16rem 24rem !important;
  gap: 10rem;
  flex: 1;
}

.plugin_card__footer {
  display: flex;
  flex-direction: column;
  padding: 0 24rem 24rem !important;
  margin-top: auto !important;
}

@media screen and (max-width: 576px) {
  .plugin_card__footer {
    padding: 0 14rem 14rem !important;
    margin-top: 0 !important;
  }
}

.plugin_card__footer .plugin_card__controls_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 16rem;
  background: var(--White, #FFF);
  box-shadow: 0rem2rem10rem0remrgba(0, 33, 133, 0.25);
  padding: 10rem !important;
  gap: 10rem;
}

@media screen and (max-width: 576px) {
  .plugin_card__footer .plugin_card__controls_container {
    gap: 8rem;
  }
}

.plugin_card__footer .plugin_card__controls_container .plugin_card__controls_block {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  width: 100%;
}

.control_primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  height: 45rem;
  border-radius: 8rem;
  /* font-family: 'Mariupol'; */
  font-size: 18rem;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  flex: 1 0 auto;
}

.control_primary.control_gold {
  background: linear-gradient(74deg, #FFDE49 10.9%, #FFBE3B 80.86%);
  color: #100B50;
}

.control_primary.control_gold.disabled {
  background: #FFF8D0;
  color: rgba(60, 49, 15, 0.17);
}

.control_primary.control_blue {
  background: #EAF2FF;
  border: 2remsolid #E6EFFF;
  color: #488BFE;
}

.control_primary.control_blue.disabled {
  color: #D3E3FF;
}

.control_primary.control_blue_gradient {
  color: #fff;
  background: linear-gradient(74deg, #498CFF 10.9%, #493BFF 80.86%);
}

.control_primary.control_blue_gradient.disabled {
  color: #D3E3FF;
  background: #EAF2FF;
}

.control_primary.disabled {
  user-select: none;
  pointer-events: none;
}

.plugin_card__input_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7rem;
  width: 100%;
}

.plugin_card__input_container .input_label {
  color: var(--popup-primary-text, #1E2241);
  font-size: 14rem;
  font-weight: 500;
  line-height: 23rem;
}

.plugin_card__info_cloud {
  display: flex;
  align-items: center;
  padding: 16rem !important;
  gap: 16rem;
  border-radius: 8rem;
  background: #D2E7FF;
  color: var(--Dark-blue, #394284);
  font-size: 14rem;
  font-weight: 500;
  width: 100%;
  height: 45rem;

}

.plugin_card__info_cloud img {
  width: 24rem;
  height: 24rem;
}


.status_container {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-height: 620rem;
  width: 420rem;
  gap: 60rem;
}

@media screen and (max-width: 576px) {
  .status_container {
    gap: 24rem !important;
    max-height: 100%;
    justify-content: center;
  }

  .confirm-exit {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(0,0);
    justify-content: flex-end !important;
    /* max-height: calc(100dvh - 60rem); */
    max-height: 100%;
    height: 100%;
    top: unset;
    bottom: 0;
  }
}

.status_container__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14rem;
}

@media screen and (max-width: 576px) {
  .status_container__header {
    gap: 8rem;
  }
}

.status_container__header_item {
  width: 70rem;
  height: 45rem;
}

@media screen and (max-width: 576px) {
  .status_container__header_item {
    width: 37rem;
    height: 25rem;
  }
}

.status_container__header_title {
  color: #FFF;
  text-align: center;
  font-size: 58rem;
  font-weight: 700;
  line-height: 1;
}

@media screen and (max-width: 576px) {
  .status_container__header_title {
    font-size: 38rem;
  }
}

.status_container__header_text {
  color: #EAF2FF;
  text-align: center;
  font-size: 24rem;
  font-weight: 700;
  line-height: 1;
}

@media screen and (max-width: 576px) {
  .status_container__header_text {
    font-size: 16rem;
  }
}

.status_container__body {
  display: flex;
  justify-content: center;
  position: relative;

}

.status_container__body .check_icon {
  width: 260rem;
  height: 260rem;
}






.bg-desktop {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(78, 144, 246, 1) 0%, rgba(10, 0, 145, 1) 100%);
  z-index: 9998;
}

@media screen and (max-width: 576px) {
  .bg-desktop {
    background: linear-gradient(61deg, #498CFF 30.3%, #493BFF 63.12%);
  }
}

.bg-desktop .overlap-group {
  position: relative;
  width: 0;
  height: 0;
  top: calc(50% + 100rem);
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: release 0.5s 1s ease-in-out forwards, pulse 1s 1.5s ease-in-out alternate-reverse infinite;
}

@media screen and (max-width: 576px) {
  .bg-desktop .overlap-group {
    top: calc(50% + 54rem);
  }
}

@keyframes release {
  to {
    width: 1234rem;
    height: 1234rem;
  }
}

@keyframes pulse {
  from {
    width: 1234rem;
    height: 1234rem;
  }

  to {
    width: 1200rem;
    height: 1200rem;
  }
}

@media screen and (max-width: 576px) {
  .bg-desktop .overlap-group {
    animation: release 0.5s 1s ease-in-out forwards, pulse 1s 1.5s ease-in-out alternate-reverse infinite;
  }

  @keyframes release {
    to {
      width: 476.655px;
      height: 476.655px;
    }
  }

  @keyframes pulse {
    from {
      width: 476.655px;
      height: 476.655px;
    }

    to {
      width: 420rem;
      height: 420rem;
    }
  }
}

.bg-desktop .bg-1 {
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #ffffff36;
  position: absolute;
  opacity: 0.2;
}

.bg-desktop .bg-2 {
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #ffffff54;
  position: absolute;
  opacity: 0.2;
}

.bg-desktop .bg-3 {
  width: 16%;
  height: 16%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #ffffff1a;
  box-shadow: 0rem 0rem 154rem #00014c;
  position: absolute;
  opacity: 0.2;
}


.stars_particles {
  background:
    url('https://d43xjjq7uepv7.cloudfront.net/general-popups/assets/img/stars_bg_mobile.png') no-repeat center/cover;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}