
.loading-page {
  position: relative;
  height: 100dvh;
  width: 100vw;
  background-color: #000;
  padding: 58px 96px;
  box-sizing: border-box;
  flex-direction: column;
  filter: url(#crt-warp);
}

#dot-pattern-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  --dot-color: #2d4642;
  mask-image: radial-gradient(
    circle at center,
    rgba(0, 0, 0, .8) 0%,
    rgba(0, 0, 0, .1) 80%
  );
}

.loading-page__element {
  z-index: 1;
  position: relative;
}

.loading-page__first-element, .loading-page__second-element {
  display: flex;
}

.loading-page__first-element__text {
  font-size: 2.5rem;
  font-weight: 500;
  color: rgb(var(--green-1));
  display: flex;
  align-items: center;
}

.loading-page__first-element__text p {
  width: fit-content;
  height: fit-content;
  line-height: 1;
}

.loading-page__first-element__text a {
  margin-left: 40px;
}

.loading-page__first-element .box {
  font-size: 2.5rem;
  width: 80px;
  text-align: right;
  line-height: 1;
  color: black;
  padding: 0 0.5rem;
  margin-left: auto;
  z-index: 0;
  font-weight: 600;
}

.loading-page__icon {
  font-size: 2.9rem !important;
  color: rgb(var(--green-2));
}

.loading-page__lines {
  margin-left: auto;
  margin-right: auto;
}

.loading-page__first-element__npc-lines {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 200px;
}

.loading-page__first-element__npc-lines .loading-page__line:nth-of-type(1) {
  width: 120px;
  opacity: .3;
}

.loading-page__first-element__npc-lines .loading-page__line:nth-of-type(2) {
  width: 50px;
  opacity: .7;
}

.loading-page__second-element {
  height: 32px;
  margin-top: 1.5rem;
  max-width: 80vw;
  position: relative;
}

.loading-page__second-element .box {
  line-height: 28px;
  font-size: 1.2rem;
  width: 100px;
  color: black;
  padding: .1rem 0.5rem;
  z-index: 0;
  height: 100%;
  box-sizing: border-box;
}

.loading-page__second-element .box:nth-of-type(1) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  flex-shrink: 0;
  width: 120px;
}

.loading-page__second-element__npc-lines {
  display: flex;
  gap: .6rem;
  margin: 0 0 0 100px;
  width: 100%;
}

.loading-page__second-element__npc-lines .box:nth-of-type(1) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  width: 200px;
}

.loading-page__second-element__npc-lines .box:nth-of-type(2) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  width: 5px;
  padding: .1rem;
}

.loading-page__second-element__npc-lines .box:nth-of-type(3) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  padding: .1rem;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.loading-page__second-element__npc-lines .box:nth-of-type(4) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  width: 500px;
  min-width: 340px;
  text-align: right;
  padding: .1rem 0.5rem .1rem 4.8rem;
  margin-left: 36px;
}

.loading-page__second-element__npc-lines-svg {
  position: absolute;
  top: -80px;
  right: 300px;
  opacity: .6;
  z-index: 0;
}

.loading-page__third-element {
  position: relative;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.loading-page__third-element__right-list {
  outline: 2px solid rgb(var(--green-1) / .05);
  height: fit-content;
  margin-right: 72px;
}

.loading-page__third-element__right-list__item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  box-sizing: border-box;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(var(--green-3));
  justify-content: space-between;
  width: 300px;
}

.loading-page__third-element__right-list__item + .error {
  background-color: rgb(var(--red-1) / .2);
  color: rgb(var(--red-1) / .9);
}

.loading-page__third-element__right-list__item + .active {
  background-color: rgb(var(--green-3) / .2);
}

.loading-page__third-element__right-list__item p:nth-of-type(2) {
  color: rgb(var(--green-3) / .5);
}

.loading-page__third-element__left {
  width: 100px;
  position: relative;
  padding: 72px 32px;
  box-sizing: border-box;
  height: fit-content;
}

.loading-page__third-element__main-text {
  display: flex;
  align-items: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: rgb(var(--green-1));
  gap: .8rem;
}

#loading-page__third-element__main-text__main {
  color: rgb(var(--green-4)) !important;
  font-size: 4rem;
  height: 90px;

  text-shadow: 0 0 5px #5af56a,
  0 0 10px rgba(90, 245, 106, 0.53),
  0 0 15px rgba(90, 245, 106, 0.58),
  0 0 45px rgba(90, 245, 106, 0.64),
  0 0 60px #5af56a;
}

.loading-page__third-element__sub-text {
  width: min-content;
  font-weight: 600;
  font-size: 1.2rem;
  color: rgb(var(--green-4));
  position: absolute;
  margin-top: 5px;
  right: 72px;
}

.loading-page__third-element__sub-text a {
  color: rgb(var(--green-3));
}

.corner {
  position: absolute;
  width: .7rem;
  height: .7rem;
  box-sizing: border-box;
  border-color: rgb(var(--green-1));
  border-style: solid;
}

.top-left {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
  border-right-width: 0;
  border-bottom-width: 0;
}

.top-right {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
  border-left-width: 0;
  border-bottom-width: 0;
}

.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-width: 0;
  border-right-width: 0;
}

.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-top-width: 0;
  border-left-width: 0;
}

.loading-page__fourth-element {
  display: flex;
  margin-top: auto;
}

.loading-page__fourth-element__arrow_back {
  padding-left: 56px;
  height: fit-content;
}

.loading-page__fourth-element__arrow_back, .loading-page__fourth-element__statuses .filler {
  position: relative;
  display: flex;
  font-size: 5rem;
  font-weight: 600;
}

.loading-page__fourth-element__cores p {
  position: relative;
  font-size: 5rem;
  font-weight: 600;
  transform: scaleY(1.3);
  transform-origin: center;
  line-height: 1;
  filter: brightness(.35);
}

.loading-page__fourth-element__arrow_back p {
  margin-right: -5px;
  z-index: 2;
}

.loading-page__fourth-element__arrow_back p, .loading-page__fourth-element__statuses .filler {
  display: inline-block;
  transform: scaleY(1.3);
  transform-origin: center;
  line-height: 1;
}

.loading-page__fourth-element__arrow_back .partial {
  --i: 1;
  color: rgb(var(--green-1) / calc(0.1 + var(--i) * 0.1));
}

.loading-page__fourth-element__arrow_back .full, .loading-page__fourth-element__cores p, .loading-page__fourth-element__statuses .filler {
  color: rgb(var(--green-1));
  text-shadow: 0 0 5px rgba(90, 245, 106, 0.37),
  0 0 10px #5AF56A47,
  0 0 15px rgba(90, 245, 106, 0.35),
  0 0 25px #5af56a87,
  0 0 50px rgba(90, 245, 106, 0.51);
}

.loading-page__fourth-element__arrow_back .separated {
  margin-left: 50px;
}

.loading-page__fourth-element__arrow_back__npc-lines-svg {
  position: absolute;
  top: -150px;
  right: -250px;
  opacity: .6;
  z-index: 0;
}

.loading-page__fourth-element__arrow_back__status {
  position: absolute;
  width: 350px;
  top: -120px;
  left: 0;
  outline: 2px solid rgb(var(--green-1) / .1);
  box-shadow: 0 0 1px rgb(var(--green-1) / .1),
  0 0 2px rgb(var(--green-1) / .1),
  0 0 3px rgb(var(--green-1) / .1),
  0 0 6px rgb(var(--green-1) / .1),
  0 0 14px rgb(var(--green-1) / .1);
  z-index: 1;
  --desired-height: 330px;
}

.loading-page__fourth-element__arrow_back__status p {
  transform: none;
  font-weight: 500;
  text-shadow: 0 0 5px rgb(var(--green-1) / 0.37),
  0 0 10px rgb(var(--green-1) / 0.28),
  0 0 15px rgb(var(--green-1) / 0.35),
  0 0 25px rgb(var(--green-1) / 0.53),
  0 0 50px rgb(var(--green-1) / .3);
  color: rgb(var(--green-1));
}

.loading-page__fifth-element__arrow_back__status__top {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 24px;
  left: 24px;
  right: 76px;
}

.loading-page__fifth-element__arrow_back__status__top .part {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

.loading-page__fifth-element__arrow_back__status__top .part:nth-of-type(1) p:nth-of-type(1) {
  opacity: .5;
}

.loading-page__fifth-element__arrow_back__status__top .part:nth-of-type(1) p:nth-of-type(2) {
  opacity: .4;
}

.loading-page__fifth-element__arrow_back__status__top .part:nth-of-type(1) p:nth-of-type(3) {
  opacity: .3;
}

.loading-page__fifth-element__arrow_back__status__top .part:nth-of-type(2) {
  text-align: right;
}

.loading-page__fifth-element__arrow_back__status__top .part:nth-of-type(2) p:nth-of-type(2) {
  opacity: .5;
}

.loading-page__fifth-element__arrow_back__status__top .part:nth-of-type(2) p:nth-of-type(3) {
  opacity: .4;
}

.loading-page__fourth-element__arrow_back__status__text {
  font-size: 1.2rem;
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: .5;
}

.loading-page__fourth-element__arrow_back__status__text p {
  letter-spacing: .1rem;
}

.loading-page__fourth-element__arrow_back__status__text__icon {
  position: relative;
  padding: .5rem;
}

.loading-page__fourth-element__arrow_back__status__text__icon .corner {
  opacity: .6;
}

.loading-page__fourth-element__arrow_back__status__text__icon div {
  background-color: rgb(var(--grey-1));
  height: 20px;
  width: 20px;
}

.loading-page__fourth-element__arrow_back__status__text__icon .green {
  background-color: rgb(var(--green-1));
}

.loading-page__fourth-element__right-side {
  margin-left: auto;
  padding-right: 128px;
  box-sizing: border-box;
}

.loading-page__fourth-element__cores {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.loading-page__fourth-element__cores p, .loading-page__fourth-element__statuses .filler {
  text-shadow: none;
  opacity: .2;
  font-weight: 500;
  margin-right: 10px;
}

.loading-page__fourth-element__cores__core {
  width: fit-content;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 0 1px rgba(90, 245, 106, 0.58),
  0 0 2px rgba(90, 245, 106, 0.51),
  0 0 3px rgba(90, 245, 106, 0.27),
  0 0 6px rgba(90, 245, 106, 0.44),
  0 0 14px rgba(90, 245, 106, 0.48);
}

.loading-page__fourth-element__cores__core div {
  box-sizing: border-box;
  padding: 12px 20px 12px 12px;
  font-weight: 600;
  letter-spacing: .1rem;
  color: rgb(var(--green-1));
  text-shadow: 0 0 5px rgba(90, 245, 106, 0.37),
  0 0 10px #5AF56A47,
  0 0 15px rgba(90, 245, 106, 0.35),
  0 0 25px #5af56a87,
  0 0 50px rgba(90, 245, 106, 0.51);
}

.loading-page__fourth-element__cores__diagonal-bg {
  position: absolute;
  top: -90px;
  right: 250px;
  z-index: 0;
  height: 300px;
  width: 140px;
  opacity: 0.8;
  --diagonal-color: rgba(35, 204, 50, 0.1);
  background: repeating-linear-gradient(-45deg, var(--diagonal-color), var(--diagonal-color) 12px, rgba(229, 229, 247, 0) 5px, rgba(229, 229, 247, 0) 25px);
  animation: moving-diagonal 10s linear infinite;
  background-size: 108px 108px;
}

@keyframes moving-diagonal {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 108px 108px;
  }
}

.loading-page__fourth-element__cores__vertical-lines-bg {
  position: absolute;
  right: -110px;
  top: -160px;
}

.loading-page__fourth-element__cores__vertical-lines-bg__line:nth-of-type(1) {
  height: 250px;
  width: 2px;
  opacity: .6;
}

.loading-page__fourth-element__cores__vertical-lines-bg__line:nth-of-type(2) {
  height: 30px;
  width: 2px;
  margin-top: 40px;
  opacity: .4;
}

.loading-page__fourth-element__cores__code-bg {
  position: absolute;
  top: -180px;
  right: 100px;
  font-size: 3rem;
  font-weight: 600;
  display: inline-block;
  transform: scaleX(1.2);
  transform-origin: center;
  color: rgb(var(--green-1));
  opacity: .5;
}

.loading-page__fourth-element__cores__code-bg a {
  opacity: .3;
}

.loading-page__fourth-element__cores__text-bg {
  position: absolute;
  display: flex;
  flex-direction: column;
  right: -52px;
  top: -40px;
  gap: 2rem;
  opacity: .8;
}

.loading-page__fourth-element__cores__text-bg p {
  font-size: 1.5rem;
  text-shadow: 0 0 5px rgb(var(--green-1) / 0.37),
  0 0 10px rgb(var(--green-1) / 0.28),
  0 0 15px rgb(var(--green-1) / 0.35),
  0 0 25px rgb(var(--green-1) / 0.53),
  0 0 50px rgb(var(--green-1) / 1);
  --i: 1;
  opacity: calc(0.05 + var(--i) * 0.15);
}

.loading-page__fourth-element__cores__text-bg .downfall {
  color: rgb(var(--red-1));
  text-shadow: 0 0 5px rgb(var(--red-1) / 0.37),
  0 0 10px rgb(var(--red-1) / 0.28),
  0 0 15px rgb(var(--red-1) / 0.35),
  0 0 25px rgb(var(--red-1) / 0.53),
  0 0 50px rgb(var(--red-1) / 1);
}

.loading-page__fourth-element__cores__core a {
  font-weight: 500;
}

.loading-page__fourth-element__statuses {
  display: flex;
  gap: 1rem;
  min-height: 110px;
  margin-top: 12px;
}

.loading-page__fourth-element__statuses .component__box-filled,
.loading-page__fourth-element__statuses .component__box-outline {
  width: fit-content;
  min-width: 100px;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 52px 30px 12px;
}

.loading-page__fourth-element__statuses .blink {
  animation: blink-filled-outline 1s steps(1) infinite;
}

@keyframes blink-filled-outline {
  0%, 100% {
    color: black;
    position: relative;
    background-color: rgb(var(--green-1));
  }
  50% {
    outline-offset: -2px;
    outline: 2px solid rgb(var(--green-1));
    color: rgb(var(--green-1));
    background-color: transparent;
  }
}

.loading-page__fourth-element__statuses .component__box-outline {
  filter: brightness(.5);
}

.loading-page__fourth-element__statuses .filler {
  opacity: 0;
}

.loading-page__fifth-element {
  margin-top: 1.5rem;
  padding-top: 10px;
}

.loading-page__fifth-element__lines {
  display: flex;
  gap: .6rem;
  margin-left: auto;
  height: 32px;
  width: fit-content;
}

.loading-page__fifth-element__lines .box {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  color: black;
}

.loading-page__fifth-element__lines .box:nth-of-type(1) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  padding: .1rem;
  width: 100%;
  max-width: 600px;
  display: flex;
  gap: 2rem;
}

.loading-page__fifth-element__lines .box:nth-of-type(2) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  width: 250px;
  padding: .1rem;
  margin-left: 40px;
}

.loading-page__fifth-element__lines .box:nth-of-type(3) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  width: 5px;
  padding: .1rem;
}

.loading-page__fifth-element__lines .box:nth-of-type(4) {
  font-weight: 600;
  letter-spacing: 0.1rem;
  width: 300px;
  flex-shrink: 0;
  justify-content: end;
  padding-right: 15px;
  box-sizing: border-box;
}

.loading-page__fifth-element .loading-page__fifth-element__npc_line {
  position: absolute;
}

.loading-page__fifth-element .loading-page__fifth-element__npc_line:nth-of-type(2) {
  width: 120px;
  top: 0;
  right: 500px;
  opacity: .8;
}

.loading-page__fifth-element .loading-page__fifth-element__npc_line:nth-of-type(3) {
  width: 40px;
  top: 0;
  right: 350px;
  opacity: .4;
}

.loading-page__sixth-element {
  display: flex;
  align-items: end;
  max-width: 1300px;
}

.loading-page__sixth-element__choices {
  min-height: 70px;
  width: fit-content;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.loading-page__sixth-element__choice {
  padding: .3rem 4rem .3rem .5rem;
  box-sizing: border-box;
  line-height: 1;
}

.loading-page__sixth-element__choice:nth-of-type(1) {
  color: rgb(var(--green-3));
}

.loading-page__sixth-element__choice:nth-of-type(2) {
  background-color: rgb(var(--green-3));
  box-sizing: border-box;
  color: black;
}

.loading-page__sixth-element__lines {
  position: relative;
  display: flex;
  margin-bottom: -20px;
  width: 100%;
}

.loading-page__sixth-element__line:nth-of-type(1) {
  width: 100px;
  background-color: rgb(var(--green-1));
  margin-left: 250px;
}


.loading-page__sixth-element__line:nth-of-type(2) {
  width: 70px;
  background-color: rgb(var(--green-3));
  margin-left: 50px;
}

.loading-page__sixth-element__lines__group {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-left: auto;
}

.loading-page__sixth-element__lines__group .loading-page__line {
  width: 80px;
}

.loading-page__sixth-element__lines__ambient {
  position: absolute;
  height: 30px;
  top: -30px;
  right: 0;
  left: 0;
  filter: blur(20px);
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgb(var(--green-1) / .15) 30%,
    rgba(0, 0, 0, 0) 100%
  );
}

@media screen and (max-height: 1550px) {
  .loading-page__fourth-element__arrow_back__status {
    top: -86px;
    --desired-height: 240px;
  }

  .loading-page__fourth-element__arrow_back, .loading-page__fourth-element__cores p {
    font-size: 4rem;
  }

  .loading-page__fourth-element__statuses .component__box-filled, .loading-page__fourth-element__statuses .component__box-outline {
    padding: 8px 32px 25px 9px;
  }

  .loading-page__fourth-element__cores__core div {
    padding: 9px 12px 10px 10px;
  }

  .loading-page__third-element__left {
    padding: 52px 25px;
  }

  .loading-page__third-element__right-list__item {
    font-size: 1.1rem;
    padding: 6px 18px;
  }

  .loading-page {
    padding: 48px 82px;
  }
}

@media screen and (max-height: 1000px) {
  #loading-page__third-element__main-text__main {
    font-size: 3rem;
    height: fit-content;
  }

  .loading-page__third-element__left {
    padding: 42px 24px;
  }

  .loading-page__third-element__right-list__item:nth-of-type(n+6) {
    display: none;
  }

  .loading-page__fourth-element__right-side {
    margin-left: 4%;
    padding-right: 50px;
  }

  .loading-page__fourth-element__cores__vertical-lines-bg {
    right: -60px;
  }

  .loading-page__fourth-element__arrow_back__status__text, .loading-page__fifth-element__arrow_back__status__top .part {
    font-size: .8rem;
  }

  .loading-page__fourth-element__arrow_back__status {
    width: 280px;
  }

  .loading-page__fifth-element__arrow_back__status__top {
    right: 50px;
  }

  .loading-page__fourth-element__arrow_back, .loading-page__fourth-element__cores p, .loading-page__fourth-element__arrow_back, .loading-page__fourth-element__statuses .filler {
    font-size: 3rem;
  }

  .loading-page__fourth-element__cores__core {
    font-size: .7rem;
  }

  .loading-page__fourth-element__statuses .component__box-filled, .loading-page__fourth-element__statuses .component__box-outline {
    padding: 8px 17px 17px 9px;
    font-size: 0.9rem;
  }

  .loading-page__fourth-element__arrow_back__status {
    --desired-height: 210px;
  }

  .loading-page__fifth-element {
    margin-top: -1rem;
  }

  .loading-page__fourth-element {
    justify-content: space-between;
  }

  .loading-page__sixth-element__choice,
  .loading-page__fifth-element__lines .box,
  .loading-page__fifth-element__lines,
  .loading-page__second-element .box,
  .loading-page__second-element__npc-lines {
    font-size: .8rem;
  }

  .loading-page__second-element {
    max-width: 95vw;
    width: 100%;
  }
}

@media screen and (max-width: 1180px) {
  .loading-page__third-element__right-list {
    margin-right: unset;
  }

  .component__with-triangle-left-3 {
    min-width: fit-content !important;
    width: auto !important;
  }
}

@media screen and (max-width: 1040px) {
  .loading-page__third-element__right-list {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    opacity: .6;
  }

  .loading-page {
    padding: 48px 18px;
  }

  .loading-page__fourth-element__arrow_back {
    display: none;
  }

  .loading-page__fourth-element__right-side {
    margin-left: auto;
    padding-right: 28px;
  }

  .loading-page__fourth-element__cores__vertical-lines-bg {
    right: -35px;
  }
}

@media screen and (max-width: 900px) {
  .loading-page__second-element {
    max-width: 95vw;
  }

  .loading-page__second-element .box:nth-of-type(1) {
    display: none;
  }

  .loading-page__second-element__npc-lines {
    margin: 0;
  }

  .loading-page__second-element__npc-lines .box:nth-of-type(4) {
    padding-left: 1.8rem;
  }
}

@media screen and (max-width: 640px) {
  #loading-page__third-element__main-text__main {
    overflow-wrap: anywhere;
  }

  .loading-page__fourth-element__cores__core:nth-of-type(n+4) {
    display: none;
  }

  .loading-page__fifth-element__lines .box:nth-of-type(1) {
    display: none;
  }

  .loading-page__first-element__text {
    font-size: 1.5rem;
  }

  .loading-page__first-element .box {
    font-size: 2rem;
    margin-left: 12px;
  }
}
