.button {
  &.dark {
    --background: #242836;
    --rectangle: #1c212e;
    --arrow: #f5f9ff;
    --text: #f5f9ff;
    --success: #2f3545;
  }
}
.container1 {
  display: flex;
  justify-content: center; /* Центрирование по горизонтали */
  align-items: center; /* Центрирование по вертикали */
  margin-left: 20%;
}

.button {
  --background: #275efe;
  --rectangle: #184fee;
  --success: #{mix(white, #184fee, 20%)};
  --text: #fff;
  --arrow: #fff;
  --checkmark: #fff;
  --shadow: rgba(10, 22, 50, 0.24);
  display: flex;
  width: 200px;
  overflow: hidden;
  text-decoration: none;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 2px 8px -1px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  &:active {
    transform: scale(0.95);
    box-shadow: 0 1px 4px -1px var(--shadow);
  }
  ul {
    margin: 0;
    padding: 16px 40px;
    list-style: none;
    text-align: center;
    position: relative;
    backface-visibility: hidden;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    color: var(--text);
    li {
      &:not(:first-child) {
        top: 16px;
        left: 0;
        right: 0;
        position: absolute;
      }
      &:nth-child(2) {
        top: 76px;
      }
      &:nth-child(3) {
        top: 136px;
      }
    }
  }
  & > div {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--rectangle);
    &:before,
    &:after {
      content: "";
      display: block;
      position: absolute;
    }
    &:before {
      border-radius: 1px;
      width: 2px;
      top: 50%;
      left: 50%;
      height: 17px;
      margin: -9px 0 0 -1px;
      background: var(--arrow);
    }
    &:after {
      width: 60px;
      height: 60px;
      transform-origin: 50% 0;
      border-radius: 0 0 80% 80%;
      background: var(--success);
      top: 0;
      left: 0;
      transform: scaleY(0);
    }
    svg {
      display: block;
      position: absolute;
      width: 20px;
      height: 20px;
      left: 50%;
      top: 50%;
      margin: -9px 0 0 -10px;
      fill: none;
      z-index: 1;
      stroke-width: 2px;
      stroke: var(--arrow);
      stroke-linecap: round;
      stroke-linejoin: round;
    }
  }
  &.loading {
    ul {
      animation: text calc(var(--duration) * 1ms) linear forwards
        calc(var(--duration) * 0.065ms);
    }
    & > div {
      &:before {
        animation: line calc(var(--duration) * 1ms) linear forwards
          calc(var(--duration) * 0.065ms);
      }
      &:after {
        animation: background calc(var(--duration) * 1ms) linear forwards
          calc(var(--duration) * 0.065ms);
      }
      svg {
        animation: svg calc(var(--duration) * 1ms) linear forwards
          calc(var(--duration) * 0.065ms);
      }
    }
  }
}

@keyframes text {
  10%,
  85% {
    transform: translateY(-100%);
  }
  95%,
  100% {
    transform: translateY(-200%);
  }
}

@keyframes line {
  5%,
  10% {
    transform: translateY(-30px);
  }
  40% {
    transform: translateY(-20px);
  }
  65% {
    transform: translateY(0);
  }
  75%,
  100% {
    transform: translateY(30px);
  }
}

@keyframes svg {
  0%,
  20% {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
  21%,
  89% {
    stroke-dasharray: 26px;
    stroke-dashoffset: 26px;
    stroke-width: 3px;
    margin: -10px 0 0 -10px;
    stroke: var(--checkmark);
  }
  100% {
    stroke-dasharray: 26px;
    stroke-dashoffset: 0;
    margin: -10px 0 0 -10px;
    stroke: var(--checkmark);
  }
  12% {
    opacity: 1;
  }
  20%,
  89% {
    opacity: 0;
  }
  90%,
  100% {
    opacity: 1;
  }
}

@keyframes background {
  10% {
    transform: scaleY(0);
  }
  40% {
    transform: scaleY(0.15);
  }
  65% {
    transform: scaleY(0.5);
    border-radius: 0 0 50% 50%;
  }
  75% {
    border-radius: 0 0 50% 50%;
  }
  90%,
  100% {
    border-radius: 0;
  }
  75%,
  100% {
    transform: scaleY(1);
  }
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: inherit;
  &:before,
  &:after {
    box-sizing: inherit;
  }
}

/* 1. Footer Styles */
.footer {
  position: relative;
  font-size: 12px;
  color: #a8a8a8;
  text-align: center;
  background: #eee;
  padding: 50px 0 80px;
}
.footer_inner {
  border-top: 1px solid hsla(0, 0%, 100%, 0.12);
  margin: 0 auto;
}
.footer .link {
  padding: 6px 5px;
  color: #a8a8a8;
}
.footer_ele {
  padding: 6px 4px;
}
.footer_ele,
.ic_hook {
  position: relative;
  display: inline-block;
  *display: inline;
  zoom: 1;
}
.ic_hook {
  top: -3px;
  height: 0;
  width: 0;
  border-style: solid;
  border-width: 4px;
  border-color: transparent transparent #a8a8a8;
  margin-left: 0.5em;
  vertical-align: middle;
}
.footer_ele.copyright {
  padding: 6px 10px;
}
.last_footer_ele {
  margin-right: 0;
}
.footer_ele.first_footer_ele,
.footer_ele.first_footer_ele .link {
  padding-left: 0;
}

/* 2. Social Link Styles */
.social_link.footer_ele {
  padding-top: 10px;
  padding-right: 0;
}
.social_link.footer_ele .ic_insta {
  padding-right: 0;
  margin-right: 0;
}
.social_link .link {
  display: inline-block;
  *display: inline;
  zoom: 1;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0 5px;
  vertical-align: bottom;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  -ms-background-size: 60%;
  background-size: 60%;
  background-position: 50%;
  background-repeat: no-repeat;
}
.social_link .link:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* 3. Second Menu Styles */
.second_menu_area {
  display: none;
  position: absolute;
  bottom: 33px;
  left: 50%;
  width: 11em;
  padding: 10px 0;
  margin-left: -5.5em;
  margin-bottom: 0;
  text-align: left;
  background-color: rgba(33, 34, 35, 0.95);
}
.second_menu_area a {
  color: #fff;
}
.second_menu_ele {
  width: 100%;
}
.menu_lang {
  width: 21em;
  left: -30%;
}
.menu_lang .second_menu_ele {
  width: 50%;
  float: left;
  height: 34px;
}
.second_menu_link {
  display: block;
  padding: 8px 10px;
}
.second_menu_link:hover {
  background-color: #4e4e4e;
}
.second_menu_area .second_menu_hook {
  display: inline-block;
  *display: inline;
  zoom: 1;
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 0;
  margin-left: -5px;
  margin-bottom: -9px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px;
  border-color: rgba(33, 34, 35, 0.95) transparent transparent;
}
.footer_ele_lang {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAsAQMAAADrZPyBAAAABlBMVEUAAABUVFR8AzIeAAAAAXRSTlMAQObYZgAAAKxJREFUGNOl0DEKg0AQBdC/CKaR2Fos5AoJaSxCvIqQI6QVsiDkFDnMLAvWOcKKoG3SWbkZIy6BdPqZ4jEwDHysSeyUnJQ5yibtYa9qlvaiWSD8K/cqvOTvbmNZtRqEiXvgoKkKyodkKUuB6CPgiPwVgmdUEeI5KQ5Bo+Sluadf3bp3NdCWb+s2NUZFLN0mplQn/uE6p53oWefGoRCWBZuAs06p185R4vtjLcoHOe9HkNPeuc0AAAAASUVORK5CYII=")
    no-repeat 5px 5px;
  background-size: 33px;
  opacity: 0.5;
}

/* 4. General Page Styles */
html {
  overflow: auto;
  font-size: 16px;
  background-color: #a0a0a0;
}
.container,
body,
html {
  height: 100%;
  min-height: 100vh;
}
.container,
body {
  overflow: hidden;
}
li,
ul {
  list-style-type: none;
}
html {
  position: relative;
  background: url(../images/3cBQnDI.jpg) no-repeat 50%;
  background-size: cover;
  -webkit-background-size: cover;
  -ms-background-size: cover;
  -moz-background-size: cover;
}
body {
  font: 14px/1.5em PingHei, Lucida Grande, Lucida Sans Unicode, Helvetica, Arial,
    Verdana, "sans-serif";
  color: #fff;
}
body,
html,
li,
p,
ul {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
.group:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  clear: both;
  visibility: hidden;
}
.clr {
  clear: both;
}

/* 5. Logo and Slogan Styles */
.logo {
  width: 100px;
  height: 100px;
  background: url(../images/3ou3PnG.png) no-repeat center;
  background-size: contain;
  float: right; /* Move logo to the right */
  margin-left: 20px; /* Add some space between logo and content */
}
.bg_slogan {
  width: 100%; /* Changed from 120% to 100% */
  max-width: 500px; /* Limit maximum width */
  height: auto; /* Maintain aspect ratio */
}
.bg_slogan {
  width: 120%;
}
.logo {
  margin-right: 90px;
}

/* 6. Content and Main Area Styles */
.content {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding-top: 10%;
  max-width: 1200px;
  min-width: 500px;
  margin: 0 auto;
  margin-left: 15%;
  margin-top: 7%;
}
.ic_prod {
  width: 100%;
  max-width: 800px;
  margin-right: 5%;
  margin-left: 0;
}
.main {
  flex: 1;
  min-width: 300px; /* Ensure a minimum width on small screens */
  margin-top: 5em;
}
.btn,
.main {
  display: inline-block;
}

/* 7. Button Styles */
.btn {
  width: 100%; /* Make buttons full width */
  max-width: 173px; /* Limit maximum width */
  height: auto; /* Allow height to adjust */
  padding-top: 29.5%; /* Maintain aspect ratio (51/173 = 0.295) */
  margin-bottom: 12px;
  background-size: contain;
  background-position: center;
}
.btn:hover {
  opacity: 0.75;
}
.lang a {
  color: #5a5a5a;
}
.lang {
  display: none;
}

/* 8. Download List Styles */
.download_list {
  font-size: 0;
}
.download_ele {
  position: relative;
  display: inline-block;
  *display: inline;
  zoom: 1;
  width: 69px;
  height: 61px;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-right: none;
}
.download_ele:hover {
  background-color: #8b8b8b;
}
.download_ele.ele_new .ic_new {
  display: block;
}
.ic_new {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(../images/1uvhIzf.png);
  background-position: 100% 0;
}
.ic_download_ele,
.ic_new {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  -ms-background-size: 50%;
  background-size: 50%;
}
.ic_download_ele {
  display: block;
  background-position: 50%;
}
.download_ele_last {
  border-right: 1px solid hsla(0, 0%, 100%, 0.2);
}
.ic_download_android {
  background-repeat: no-repeat;
  margin-left: 12px;
  background-image: url(../images/uq8YAlZ.png);
  width: 135px;
  height: 48px;
}
.ic_download_apple {
  background-image: url(../images/3MmDWEv.png);
  background-repeat: no-repeat;
  width: 178px;
  height: 48px;
}
.ic_download_wp {
  background-image: url(../images/BqyAfcG.png);
  background-repeat: no-repeat;
}
.ic_download_mac {
  background-image: url(../images/u7U1PY3.png);
  width: 178px;
}
.ic_download_mac,
.ic_download_win {
  height: 48px;
  background-repeat: no-repeat;
}
.ic_download_win {
  background-image: url(../images/2d9odS_.png);
  width: 135px;
  margin-left: 12px;
}
.ic_download_web {
  background-image: url(../images/DEZJ1YN.png);
  background-repeat: no-repeat;
}
.ic_download_more {
  background-image: url(../images/119z7TM.png);
  background-repeat: no-repeat;
}
.btn_googlepaly,
.btn_url {
  display: block;
  width: 100%;
  height: 52px;
  background-repeat: no-repeat;
  background-size: 173px;
  line-height: 900px;
  overflow: hidden;
}
.btn_googlepaly:hover,
.btn_url:hover {
  opacity: 0.75;
}
.btn_weixin {
  display: flex;
  align-items: center;
  width: 100%;
  height: 52px;
  background-color: #000;
  border-radius: 0 0 5px 5px;
  color: #fff;
  padding-left: 8px;
  box-sizing: border-box;
  font-size: 15px;
}
.btn_weixin:before {
  color: #07c160;
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E  %3Cpath d='M15 6c5.525 0 10 3.808 10 8.497 0 4.688-4.475 8.496-10 8.496a11.12 11.12 0 0 1-3.272-.472c-.092-.031-.216-.031-.308-.031a.99.99 0 0 0-.429.104l-.096.053-2.191 1.29a.433.433 0 0 1-.185.063.346.346 0 0 1-.34-.346c0-.095.03-.157.062-.252.03-.031.308-1.07.463-1.7 0-.062.03-.157.03-.22 0-.251-.092-.44-.277-.566C6.358 19.374 5 17.046 5 14.496 5 9.809 9.475 6 15 6zm3.333 4.438c-.717 0-1.285.581-1.285 1.315s.568 1.315 1.285 1.315c.718 0 1.285-.58 1.285-1.315 0-.734-.567-1.315-1.285-1.315zm-6.666 0c-.718 0-1.285.581-1.285 1.315s.567 1.315 1.285 1.315c.717 0 1.285-.58 1.285-1.315 0-.734-.568-1.315-1.285-1.315z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E  %3Cpath d='M15 6c5.525 0 10 3.808 10 8.497 0 4.688-4.475 8.496-10 8.496a11.12 11.12 0 0 1-3.272-.472c-.092-.031-.216-.031-.308-.031a.99.99 0 0 0-.429.104l-.096.053-2.191 1.29a.433.433 0 0 1-.185.063.346.346 0 0 1-.34-.346c0-.095.03-.157.062-.252.03-.031.308-1.07.463-1.7 0-.062.03-.157.03-.22 0-.251-.092-.44-.277-.566C6.358 19.374 5 17.046 5 14.496 5 9.809 9.475 6 15 6zm3.333 4.438c-.717 0-1.285.581-1.285 1.315s.568 1.315 1.285 1.315c.718 0 1.285-.58 1.285-1.315 0-.734-.567-1.315-1.285-1.315zm-6.666 0c-.718 0-1.285.581-1.285 1.315s.567 1.315 1.285 1.315c.717 0 1.285-.58 1.285-1.315 0-.734-.568-1.315-1.285-1.315z'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: currentColor;
}
.btn_weixin:hover {
  opacity: 0.75;
}

.btn_googlepaly {
  background-image: url(../images/23dLsEF.png);
  margin-bottom: 1px;
  background-position: -15px;
}
.btn_android_wrap {
  position: absolute;
  top: -106px;
  left: 12px;
  width: 135px;
  background: #525252;
  border-radius: 10px;
}
.btn_android_wrap:after {
  width: 80%;
  border-top: 1px solid #fff;
  opacity: 0.2;
  left: 50%;
  transform: translate(-50%);
}
.btn_android_wrap:after,
.btn_android_wrap:before {
  content: " ";
  display: block;
  height: 1px;
  position: absolute;
  top: 52px;
}
.btn_android_wrap:before {
  width: 100%;
  border-top: 1px solid #000;
}
.download_android_btns {
  position: relative;
  display: inline-block;
}

/* Footer Specific Styles */
#page_footer.footer {
  background: none;
  color: #a8a8a8;
  padding: 0;
  margin-top: -46px;
}
#page_footer.footer .copyright a {
  color: #a8a8a8;
}
#page_footer.footer .footer_ele_lang {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAsAQMAAADrZPyBAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAAKxJREFUGNOl0DEKg0AQBdC/CKaR2Fos5AoJaSxCvIqQI6QVsiDkFDnMLAvWOcKKoG3SWbkZIy6BdPqZ4jEwDHysSeyUnJQ5yibtYa9qlvaiWSD8K/cqvOTvbmNZtRqEiXvgoKkKyodkKUuB6CPgiPwVgmdUEeI5KQ5Bo+Sluadf3bp3NdCWb+s2NUZFLN0mplQn/uE6p53oWefGoRCWBZuAs06p185R4vtjLcoHOe9HkNPeuc0AAAAASUVORK5CYII=);
}

/* Media Queries */

@media only screen and (max-height: 1000px) {
  .content {
    padding-top: 6%;
  }
}

@media only screen and (max-height: 880px) {
  .content {
    padding-top: 4%;
  }
  .ic_prod {
    width: 100%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  body .content {
    padding-top: 5%;
  }
  body .footer_inner {
    width: auto;
    padding: 0 0 0 20px;
  }
  body .footer_ele {
    padding: 6px 0;
  }
  body #page_footer.footer {
    margin-top: -130px;
  }
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
  .main {
    display: block;
    width: 80%;
    margin: 20px auto 0;
  }
  .logo {
    display: none;
  }
  #page_footer.footer {
    margin-top: -90px;
  }
}
