@import url("https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --line1: 264px;
  --line2: 552px;
  --line3: 840px;
  --line4: 1128px;
  --line5: 244px;

  --fs-h1: 86px;
  --fs-h2: 48px;
  --fs-h3: 36px;
  --fs-h4: 26px;
  --fs-md: 18px;
  --fs-sm: 12px;

  --padding_base: 24px;

  --purpur_900: #1e092f;

  --blue2: #0fdfff;

  --black: #322f37;
  --black_600: #656172;
  --black_800: #322f37;
}

::selection {
  color: white;
  background: rgba(30, 27, 35, 0.9);
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  /* font-size: 16px; */
  /* line-height: 120%; */
  /* font-family: "Istok Web", sans-serif, system-ui, -apple-system; */
  font: 400 16px/1.2 "Istok Web", sans-serif;
  background-color: var(--purpur_900);
  color: white;
}

.mobile {
  display: none !important;
}

.desktop {
  display: flex !important;
}

section {
  width: 100%;
  max-width: 1320px;
  margin: 140px auto;
}

section.top {
  margin-top: 0;
}

section.none {
  margin: 0 auto;
}

section > div {
  z-index: 10;
}

.line2 > div,
section.line2 > div {
  width: 50%;
}

.text_h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
}

.text_h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
}

.text_h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}

.text_h4 {
  font-size: var(--fs-h4);
  font-weight: 600;
}

.text_h1 > span,
.text_h2 > span,
.text_h3 > span,
.text_h4 > span {
  color: var(--blue2);
}

.text_small {
  font-size: var(--fs-sm);
}

.text_center {
  text-align: center;
}

.button {
  background: #1700ed;
  border-radius: 24px;
  font-weight: 700;
  font-size: var(--fs-md);
  color: #ffffff;
  letter-spacing: 0.18px;
  padding: 10px 32px;
  cursor: pointer;
  text-decoration: none;
}

.button_demo {
    z-index: 2;
    padding: 12px 60px;
}

@media (hover: hover) {
  .button:hover {
    background: #0000b1;
  }
}

.width-full {
  width: 100%;
}

.width-full2 {
  width: 100%;
}

/* ------------------- FLEX ------------------- */

.flex_gap {
  display: flex;
  gap: 32px;
}

.flex_gap2 {
  display: flex;
  gap: 64px;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-mix {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.flex-row-center {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.flex-row.just-center,
.flex-row-center.just-center {
  justify-content: center;
}

.flex-row.just-between,
.flex-row-center.just-between {
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-column-left {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.flex-column-center-just {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mg-t24 {
  margin-top: 24px;
}

.mg-t56 {
  margin-top: 56px;
}

/* ------------------- SITE ------------------- */

.cover::before {
  content: "";
  display: block;
  background: url(../img/grid/1.svg) center center no-repeat;
  background-size: cover;
  opacity: 0.25;
  width: 100%;
  height: 77.8645833333vw;
  position: absolute;
  left: 0;
}

.games::before {
  content: "";
  display: block;
  background: url(../img/grid/2.svg) center center no-repeat;
  background-size: cover;
  opacity: 0.25;
  width: 100%;
  height: 94.6354166667vw;
  position: absolute;
  left: 0;
  transform: translate(0%, -45%);
}

.integration::before {
  content: "";
  display: block;
  background: url(../img/grid/3.svg) center center no-repeat;
  background-size: cover;
  opacity: 0.25;
  width: 100%;
  height: 94.6354166667vw;
  position: absolute;
  z-index: 1;
  transform: translate(0%, -15%);
}

.contact::before {
  content: "";
  display: block;
  background: url(../img/pic.webp) center center no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 85vh;
  z-index: 1;
}

.cover_menu {
  width: 100%;
  height: 100vh;
  background: #551cd9;
  position: fixed;
  z-index: 999;
  transform: translate(110%, 0%);
  opacity: 0;
}

.cover_menu_active {
  opacity: 1;
  transform: translate(0, 0);
  transition: transform 0.4s ease-in-out, opacity 0.1s ease;
}

.cover_menu > div:first-child {
  margin: 24px 2vw;
}

.cover_menu > div {
  margin: 2vw;
}

.cover_menu > div.middle {
  flex-grow: 1;
  margin-top: 12vw;
}

.cover_menu > div.middle > div:first-child {
  opacity: 0.7;
  padding: 6px 0;
  font-weight: 600;
}

.cover_menu_wrap {
  gap: 2vw;
}

.cover_contact_wrap {
  z-index: 5;
}

.cover_menu_text {
  font-size: 12px;
  opacity: 0.4;
  text-align: justify;
  padding-bottom: 40px;
}

.cover_menu_face {
  position: absolute;
  right: -10px;
  bottom: 16vh;
}

.cover_menu_wrap > a {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 8px;
  background: #6927ff;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.cover_menu_wrap > a.button {
  align-self: auto;
    border-radius: 30px;
    font-size: 18px;
    padding: 16px 40px;
}

section.cover {
  height: 96vh;
  justify-content: space-between;
}

.cover .header {
  margin: 24px 0px;
  width: 96%;
}

.cover_nav {
  gap: 24px;
}

.cover_nav a {
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
}

.cover_nav a:hover {
  color: var(--blue2);
}

.cv_text1 {
  margin-top: 15vh;
}

.cv_text2 {
  flex-grow: 1;
  margin-top: 5vh;
  /* font-size: 26px; */
}

.img_line2 > svg,
.img_line2 > img {
  width: 40%;
  max-width: 578px;
  position: absolute;
  border-radius: 16px;
}

.img_line3 {
  gap: 1vw;
}

.img_line3 > img,
.img_line3 > svg {
  width: 31%;
}

.img_phone > img {
  width: 18%;
  max-width: 280px;
  position: absolute;
  transform: translate(-50%, -50%);
}

.img_pc > img {
  max-width: 578px;
  position: absolute;
  transform: translate(-50%, -50%);
}

.img_code > img {
  width: 32%;
  max-width: 460px;
  position: absolute;
  transform: translate(-50%, -52%);
}

.a1_img > svg {
  /* width: 30%; */
  max-width: 400px;
  position: absolute;
  transform: translate(-50%, -50%);
}

.a1_img1 {
  animation: moveA1Img 8s ease 2s infinite;
  display: flex;
}

.a1_img2 {
  animation: moveA1Img 8s ease 2.2s infinite;
  display: flex;
}

.a1_img3 {
  animation: moveA1Img 8s ease 2.4s infinite;
  display: flex;
}

.a1_img1 > img,
.a1_img2 > img,
.a1_img3 > img {
  max-width: 408px;
  position: absolute;
  border-radius: 16px;
}

.a1_img1 > img {
  transform: translate(-30%, -110%);
}

.a1_img2 > img {
  transform: translate(-70%, -50%);
}

.a1_img3 > img {
  transform: translate(0%, 10%);
}

.a2_img1 > img {
  transform: translate(-50%, -50%);
}

.a2_img2 > img {
  width: 13%;
  max-width: 180px;
  transform: translate(-130%, -30%);
}

.a2_player {
  position: absolute;
  transform: translate3d(20%, -55%, 0)  scale(0.9);
  transform-origin: center center;
}

.a3_img1 > img {
  transform: translate(-50%, -50%);
}

.a3_img2 > img {
  transform: translate(-85%, -50%);
}

.pr_img1 > svg {
  position: absolute;
  transform: translate(-50%, -50%);
}

.pr_img2 > img {
  transform: translate(-85%, -50%);
}

.a4_center {
  width: 30vw;
  max-width: 352px;
  height: 30vw;
  max-height: 352px;
  border-radius: 50%;
  background: #3c1d5f;
  position: absolute;
  /* transform: translate(46%, -115%); */
  z-index: 5;
}

/* .a4_platform > div {
  width: 18vw;
} */

.a4_arrow_wraper {
  width: 100%;
  height: 90px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.a4_arrow {
  position: relative;
  will-change: transfrom;
  animation: moveArrowUp 1.5s linear infinite;
}

.a4_platform {
  z-index: 10;
  position: relative;
  /* margin-right: 80px; */
  gap: 72px;
  /* width: 100%; */
  /* max-width: 325px;*/
}

.a4_platform > div > div {
  display: flex;
}

.a4_platform a {
  display: contents;
}
/* .a4_platform > div {
  width: 40vw
} */

.a4_youtube {
  margin: 0px 0 210px;
  animation: moveYoutube 3s linear infinite;
  animation-delay: 0.5s;
}

.a4_trovo {
  margin-left: 28px;
  animation: moveTrovo 5.1s linear infinite;
  animation-delay: 1.1s;
}

.a4_vkplay {
  margin: 50px 0 180px 0;
  animation: moveVKplay 3.1s linear infinite;
  animation-delay: 0.9s;
}

.a4_twitch {
  animation: moveTwitch 4.5s linear infinite;
  animation-delay: 0.5s;
}

.a4_youtube > a > svg:hover,
.a4_trovo > a > svg:hover,
.a4_vkplay > a >  svg:hover,
.a4_twitch > a >  svg:hover {
  cursor: pointer;
  transform: scale(1.03);
}

.games > div.text_h2 {
  max-width: 90vw;
  margin-bottom: 92px;
}

.games > div:nth-child(2) {
  gap: 1vw;
}

.gm_img img {
  border-radius: 16px;
  width: 100%;
}

.gm_img img:hover {
  cursor: pointer;
  transform: scale(1.02);
}

.product_desc {
  display: flex;
  flex-direction: column;
}

.product_info_list {
  max-width: 96%;
}

.product_info_list > div.item {
  font-size: var(--fs-md);
  font-weight: 600;
  font-style: normal;
  line-height: 120%;
  width: 100%;
  max-width: 390px;
  column-gap: 24px;
}

section.slogan {
  background: #3c1d5f;
  z-index: 10;
  text-align: center;
  margin-top: 0;
  border-radius: 40px;
}

.slogan {
  font-style: italic;
  font-family: "Cormorant Garamond";
  font-size: var(--fs-h1);
  color: #0fdfff;
}

.slogan > div {
  padding: 104px 0;
}

.slogan > div::before {
  content: "❞";
  position: absolute;
  transform: translate(-120%, -15%);
  font-size: 1.4em;
  font-style: normal;
}

section.advantage_1,
section.advantage_2,
section.advantage_3 {
  margin-bottom: 280px;
}

section.integration {
  row-gap: 168px;
  margin-bottom: 6vw;
}

.integration_actions {
  max-width: 1000px;
  margin: 0 5%;
  column-gap: 6vw;
}

.integration_actions > div {
  width: 50%;
  row-gap: 6vw;
}

.integration_actions > div:last-child {
  margin-top: 20%;
}

.integration_actions div.item {
  padding: 70px;
  border-radius: 20px;
  row-gap: 20px;
  background: #6927ff;
}

.integration_actions div.num {
  font: 400 16px/1.2 "Roboto Mono", monospace;
}

.integration_actions div.title {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.integration_actions div.text {
  font-size: var(--fs-md);
}

section.contact {
  background: #1e1b23;
  position: relative;
  z-index: 10;
  margin: 0 auto;
  max-width: 100%;
}

.contact > div > img {
  left: 0;

  width: 100%;
  position: relative;
}

.contact_block {
  position: relative;
}

.contact_block > div {
  background: #6927ffe6;
  padding: 70px;
  position: absolute;
  top: -200px;
  max-width: 760px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact_connect-row {
  display: flex;
  column-gap: 80px;
}

div.footer {
  background: #1e1b23;
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 180px;
  padding-bottom: 36px;
}

section.footer {
  gap: 36px;
}

section.footer > span {
  text-align: justify;
}

.bg_stain {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(../img/stain-v2.png) center center no-repeat;
  background-size: cover;
  object-fit: cover;
  position: fixed;
  z-index: 2;
}

/* ------------------- KEY FRAME ------------------- */

@keyframes moveA1Img {
  0% {
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes moveArrowUp {
  0% {
    top: 90.85px;
  }
  100% {
    top: -90.85px;
    animation-timing-function: ease-in-out;
  }
}

@keyframes moveYoutube {
  0%,
  100% {
    transform: translateY(0);
    animation-timing-function: ease-in-out;
  }
  50% {
    transform: translateY(16px);
    animation-timing-function: ease-in-out;
  }
}

@keyframes moveTrovo {
  0%,
  100% {
    transform: translateY(0);
    animation-timing-function: ease-in-out;
  }
  50% {
    transform: translateY(-20px);
    animation-timing-function: ease-in-out;
  }
}

@keyframes moveVKplay {
  0%,
  100% {
    transform: translateY(0);
    animation-timing-function: ease-in-out;
  }
  50% {
    transform: translateY(17px);
    animation-timing-function: ease-in-out;
  }
}

@keyframes moveTwitch {
  0%,
  100% {
    transform: translateY(0);
    animation-timing-function: ease-in-out;
  }
  50% {
    transform: translateY(-12px);
    animation-timing-function: ease-in-out;
  }
}

/* ------------------- MEDIA ------------------- */

@media screen and (max-width: 1340px) {
  section.slogan {
    border-radius: 0px;
  }
}
@media screen and (max-width: 900px) {
  :root {
    --fs-h1: 68px;
    --fs-h2: 36px;
    --fs-h3: 28px;
    --fs-h4: 22px;
    --fs-md: 14px;
    --fs-sm: 10px;
  }

  /* body {
    width: 100vw;
  } */

  .flex_gap {
    gap: 16px;
  }

  .flex_gap2 {
    gap: 32px;
  }

  section {
    margin: 90px auto;
  }

  section.advantage_1,
  section.advantage_2,
  section.advantage_3 {
    margin-bottom: 135px;
  }

  .integration_actions div.item,
  .integration_actions div.item_desktop {
    padding: 50px;
  }

  .a2_player {
    transform: translate3d(0%, -55%, 0) scale(0.7);
  }

  .logo-text {
    font-size: 30px;
  }

  .contact_block > div {
    max-width: 560px;
    padding: 50px;
    top: -150px;
  }

  .a4_center {
    width: 40vw;
    height: 40vw;
  }

  .a4_platform {
    gap: 48px;
  }

  .a4_platform > div {
    width: 22vw;
  }

  /* .a4_platform svg {
    transform: scale(0.7);
  } */
}

@media screen and (max-width: 740px) {
  .cover_nav {
    display: none  !important;
  }
}

@media screen and (max-width: 600px) {
  :root {
    --fs-h1: 42px;
  }

  section {
    margin: 70px auto;
  }

  section.advantage_1 {
    margin-bottom: 105px;
  }

  .width-full {
    width: 98%;
  }

  .mobile {
    display: flex !important;
  }

  .mobile.block {
    display: block !important;
  }

  .desktop {
    display: none !important;
  }

  /* section {
    gap: 24px;
} */

  .text_h2 {
    text-align: center;
  }

  .flex-mix {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .line2 > div,
  section.line2 > div {
    width: 100%;
  }

  section.cover {
    height: 84vh;
  }

  .cv_text2 {
    font-size: 26px;
    padding: 0 26px;
  }

  .img_line2 > svg,
  .img_line2 > img {
    width: 98%;
  }

  .img_line3 > img,
  .img_line3 > svg {
    width: 70%;
  }

  .img_phone > img {
    width: 60%;
  }

  .img_code > img {
    width: 78%;
  }

  .a1_img1 > img {
    transform: translate(-45%, -130%);
  }

  .a1_img3 > img {
    transform: translate(-30%, 30%);
  }

  .a2_player {
    transform: translate(10%, 175%) scale(0.7);
  }

  .a2_img2 > img {
    max-width: 280px;
    transform: translate(-50%, -40%);
  }

  .a3_img2 > img {
    transform: translate(-50%, -40%);
  }

  .pr_img2 > img {
    transform: translate(-55%, -60%);
  }

  .img_wrap {
    margin: 210px 0;
  }

  .advantage_2 > div:first-child,
  .advantage_4 > div:first-child,
  .integration > div.line2 > div:first-child {
    order: 2;
  }

  .advantage_2 > div:last-child,
  .advantage_4 > div:last-child,
  .integration > div.line2 > div:last-child {
    order: 1;
  }

  .a4_center {
    width: 80vw;
    height: 80vw;
  }

  .a4_platform {
    gap: 48px;
  }

  .a4_platform > div {
    width: 40vw;
  }

  .gm_img img {
    width: 99%;
  }

  .gm_img img:hover {
    cursor: pointer;
    transform: none;
  }

  .product_desc {
    align-items: center;
  }

  .product_desc > div.text_h4 {
    text-align: center;
  }

  section.integration {
    row-gap: 48px;
    margin-bottom: 1vw;
  }

  .integration_actions {
    margin: 0 1vw;
  }

  .integration div.img_wrap {
    margin: 140px 0;
  }

  .integration_actions > div {
    width: 100%;
    gap: 1vw;
  }

  .contact_block > div {
    position: initial;
    margin: 1vw;
    padding: 40px 24px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact_connect-row {
    display: flex;
    column-gap: 80px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 44px;
  }

  .contact::before {
    content: "";
    display: block;
    background: url(../img/pic.webp) center center no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 60vh;
    z-index: 1;
  }

  div.footer {
    padding-top: 0px;
    padding-bottom: 16px;
  }

  .bg_stain {
    background: url(../img/stainm.webp) center center no-repeat;
  }

  .logo-text {
    font-size: 26px;
  }
}

/* ── Logo text ─────────────────────────────────────────── */
.logo-text {
  font-family: 'Lexend', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1.5px;
  line-height: 1;
}
.logo-text span {
  color: #0FDFFF;
}

/* ── Prevent animation frames from widening the page ───── */
.img_wrap {
  overflow: hidden;
}
