.app-download__title {
  max-width: 770px;
}

.app-download__subtitle {
  max-width: 1168px;
  margin-top: 16px;
}

.app-download__subtitle a {
  text-decoration: underline;
}

.app-download__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.app-download__card {
  background: var(--background-gray);
  border-radius: var(--radius-main);
}

.app-download__card--android {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

.app-download__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.app-download__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-download__stat-value {
  width: 100%;
  text-align: center;
  font-size: var(--basic-font-size);
  font-weight: 600;
}

.app-download__stat-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(63, 214, 43, 0) 0%,
    #3fd62b 25%,
    #3fd62b 75%,
    rgba(63, 214, 43, 0) 100%
  );
}

.app-download__stat-label {
  width: 100%;
  text-align: center;
  color: var(--text-color-secondary);
  font-size: var(--basic-font-size-mobile);
  line-height: 22px;
}

.app-download__android-btn {
  width: fit-content;
  margin: 0 auto;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-small);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  font-size: var(--subheader-font-size-desktop);
  font-weight: 600;
  text-transform: uppercase;
}

.app-download__android-btn img {
  width: 20px;
  height: 20px;
}

.app-download__android-btn span {
  color: var(--color-button-text);
}

.app-download__card--bonus {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.app-download__bonus-title {
  font-size: var(--header-font-size-mobile);
  font-weight: 700;
  text-transform: uppercase;
}

.app-download__bonus-title span {
  color: var(--color-accent);
}

.app-download__bonus-text {
  font-size: var(--basic-font-size-mobile);
  line-height: 18px;
  text-align: justify;
}

.app-download__promo-code {
  width: 100%;
  background: #212121;
  border-radius: var(--radius-small);
  border: none;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.app-download__promo-code .hero-main__promo-code-text {
  flex: 1;
  text-align: left;
  color: var(--color-accent);
  font-size: var(--basic-font-size);
  line-height: 22px;
}

.app-download__promo-code img {
  width: 20px;
  height: 20px;
}

.app-download__promo-code.is-copied {
  box-shadow:
    0 0 0 1px var(--color-accent),
    inset 0 0 0 1px var(--color-accent);
}

.app-characteristics__subtitle {
  margin-top: 16px;
}

.app-characteristics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-characteristics__card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 16px;
  border-radius: var(--radius-small);
  background: var(--background-gray);
}

.app-characteristics__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.app-characteristics__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-characteristics__text h3 {
  font-size: var(--header-font-size-mobile);
  font-weight: 600;
  color: var(--text-color-primary);
}

.app-characteristics__text p {
  font-size: var(--basic-font-size);
  line-height: 22px;
  color: var(--text-color-secondary);
  text-align: justify;
}

.why-download-app__head {
  display: flex;
  flex-direction: column;
}

.why-download-app__subtitle {
  margin-top: 12px;
  max-width: 1168px;
}

.why-download-app__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.why-download-app__card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 84px;
  padding: 16px;
  border: 1px solid #484848;
  border-radius: var(--radius-medium);
  background: var(--background-dark-gray);
}

.why-download-app__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.why-download-app__card p {
  color: var(--text-color-secondary);
  font-size: var(--basic-font-size);
  line-height: 22px;
  text-align: justify;
}

.why-download-app__btn {
  width: fit-content;
  margin: 0 auto;
  border-radius: var(--radius-small);
  padding: 13px 32px;
  font-size: var(--subheader-font-size-desktop);
  font-weight: 600;
  text-transform: uppercase;
}

.app-download__title {
  max-width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.app-download__tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-download__tab-list {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 546px;
  height: 50px;
  margin: 0 auto;
  padding: 4px;
  border-radius: var(--radius-small);
  background: var(--background-gray);
}

.app-download__tab-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  background: transparent;
  color: #b7b7b7;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.app-download__tab-btn.is-active {
  background: #0e7500;
  border-color: #0e7500;
  color: #fff;
}

.app-download__tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.app-download__panel[hidden] {
  display: none;
}

.app-download__panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.app-download__panel .app-install__subtitle {
  margin-top: 0;
  max-width: 100%;
}

.app-install {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.app-install__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-install__title {
  max-width: 100%;
}

.app-install__subtitle {
  margin-top: 0;
  max-width: 100%;
}

.app-install__content {
  display: flex;
  gap: 24px;
}

.app-install-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.app-install__image {
  width: auto;
  height: 305px;
}

.app-install__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-install__step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.app-install__step p {
  color: var(--text-color-secondary);
  font-size: var(--basic-font-size);
  line-height: 22px;
  text-align: justify;
}

.app-install__outro {
  color: var(--text-color-primary);
  font-size: var(--basic-font-size);
  line-height: 22px;
  text-align: justify;
}

.app-install__btn {
  width: fit-content;
  margin: 0 auto;
  border: 1px solid #ff313e;
  border-radius: var(--radius-small);
  padding: 13px 32px;
  font-size: var(--subheader-font-size-desktop);
  font-weight: 600;
  text-transform: uppercase;
}

.howCreateAccount__slider {
  margin-top: 24px;
}

.howCreateAccount__viewport {
  width: 100%;
}

.howCreateAccount__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.howCreateAccount__slide {
  border-radius: var(--radius-small);
  background: var(--background-gray);
  padding: 24px 16px 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.howCreateAccount__content {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.howCreateAccount__step-number {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-button-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.howCreateAccount__content p {
  color: var(--text-color-primary);
  font-size: var(--basic-font-size-mobile);
  line-height: 1.2;
  text-align: justify;
}

.howCreateAccount__image-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.howCreateAccount__image {
  width: 100%;
  height: auto;
  display: block;
}

.app-requirements {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-requirements__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-requirements__title {
  max-width: 100%;
  text-transform: uppercase;
}

.app-requirements__subtitle {
  margin-top: 0;
  max-width: 100%;
}

.app-requirements__table-wrap {
  width: 100%;
  border-radius: var(--radius-small);
  overflow: hidden;
}

.app-requirements__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.app-requirements__table th,
.app-requirements__table td {
  width: 50%;
  background: var(--background-dark-gray);
}

.app-requirements__table th {
  padding: 16px;
  border-top: 1px solid #484848;
  border-bottom: 1px solid #484848;
  color: var(--text-color-primary);
  font-size: var(--header-font-size-mobile);
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.app-requirements__table td {
  padding: 16px;
  border-bottom: 1px solid #484848;
  color: var(--text-color-secondary);
  font-size: var(--basic-font-size);
  line-height: 22px;
}

.app-requirements__table th:first-child,
.app-requirements__table td:first-child {
  border-left: 1px solid #484848;
  border-right: 1px solid #484848;
}

.app-requirements__table th:last-child,
.app-requirements__table td:last-child {
  border-right: 1px solid #484848;
}

.app-requirements__btn {
  width: fit-content;
  margin: 0 auto;
  border-radius: var(--radius-small);
  padding: 13px 32px;
  font-size: var(--subheader-font-size-desktop);
  font-weight: 600;
  text-transform: uppercase;
}

.app-start-using__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-start-using__subtitle {
  margin-top: 0;
  max-width: 100%;
  color: var(--text-color-primary);
}

.app-start-using__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-start-using__step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.app-start-using__step p {
  color: var(--text-color-secondary);
  font-size: var(--basic-font-size);
  line-height: 22px;
  text-align: justify;
}

.app-start-using__btn {
  width: fit-content;
  margin: 0 auto;
  border-radius: var(--radius-small);
  padding: 13px 32px;
  font-size: var(--subheader-font-size-desktop);
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.app-bonuses__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-bonuses__subtitle {
  margin-top: 0;
  max-width: 100%;
}

.app-bonuses__subtitle a {
  text-decoration: underline;
}

.app-bonuses__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-bonuses__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.app-bonuses__item img {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
}

.app-bonuses__item p {
  color: var(--text-color-secondary);
  font-size: var(--basic-font-size);
  line-height: 22px;
  text-align: justify;
}

.app-bonuses__btn {
  width: fit-content;
  margin: 0 auto;
  border-radius: var(--radius-small);
  padding: 13px 32px;
  font-size: var(--subheader-font-size-desktop);
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.app-payments__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-payments__title {
  text-transform: uppercase;
}

.app-payments__subtitle {
  margin-top: 0;
  max-width: 100%;
}

.app-payments__subtitle a {
  text-decoration: underline;
}

.app-payments__table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-small);
}

.app-payments__table-wrap::-webkit-scrollbar {
  height: 6px;
}

.app-payments__table-wrap::-webkit-scrollbar-track {
  background: var(--background-dark-gray);
  border-radius: 6px;
}

.app-payments__table-wrap::-webkit-scrollbar-thumb {
  background: #484848;
  border-radius: 6px;
}

.app-payments__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 565px;
}

.app-payments__table th,
.app-payments__table td {
  border-bottom: 1px solid #484848;
  border-right: 1px solid #484848;
  background: var(--background-dark-gray);
  text-align: center;
  vertical-align: middle;
}

.app-payments__table th {
  padding: 16px;
  border-top: 1px solid #484848;
  color: var(--text-color-secondary);
  font-size: var(--subheader-font-size-mobile);
  font-weight: 600;
  line-height: 18px;
}

.app-payments__table td {
  padding: 16px;
  color: var(--text-color-primary);
  font-size: var(--basic-font-size);
  font-weight: 600;
  line-height: 22px;
}

.app-payments__table th:first-child,
.app-payments__table td:first-child {
  border-left: 1px solid #484848;
  text-align: right;
  color: var(--text-color-secondary);
}

.app-payments__table thead th:first-child {
  border-top-left-radius: var(--radius-small);
}

.app-payments__table thead th:last-child {
  border-top-right-radius: var(--radius-small);
}

.app-payments__table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-small);
}

.app-payments__table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-small);
}

.app-payments__btn {
  width: fit-content;
  margin: 0 auto;
  border-radius: var(--radius-small);
  padding: 13px 32px;
  font-size: var(--subheader-font-size-desktop);
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.app-screenshots__carousel {
  width: 100%;
}

.app-screenshots__viewport {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 601px;
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.app-screenshots__track {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-screenshots__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition:
    left 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.55s ease;
}

.app-screenshots__slide.is-no-transition {
  transition: none;
}

.app-screenshots__slide-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.app-screenshots__slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.app-screenshots__slide[data-offset="-2"] {
  left: calc(50% - 421px);
  width: 138px;
  height: 300px;
  opacity: 0.5;
  z-index: 1;
}

.app-screenshots__slide[data-offset="2"] {
  left: calc(50% + 421px);
  width: 138px;
  height: 300px;
  opacity: 0.5;
  z-index: 1;
}

.app-screenshots__slide[data-offset="-2"] .app-screenshots__slide-media,
.app-screenshots__slide[data-offset="2"] .app-screenshots__slide-media {
  border-radius: 20.5px;
}

.app-screenshots__slide[data-offset="-2"] .app-screenshots__slide-media::after,
.app-screenshots__slide[data-offset="2"] .app-screenshots__slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.app-screenshots__slide[data-offset="-1"] {
  left: calc(50% - 243.5px);
  width: 185px;
  height: 400px;
  opacity: 1;
  z-index: 2;
}

.app-screenshots__slide[data-offset="1"] {
  left: calc(50% + 243.5px);
  width: 185px;
  height: 400px;
  opacity: 1;
  z-index: 2;
}

.app-screenshots__slide[data-offset="-1"] .app-screenshots__slide-media,
.app-screenshots__slide[data-offset="1"] .app-screenshots__slide-media {
  border-radius: 27px;
}

.app-screenshots__slide[data-offset="0"] {
  left: 50%;
  width: 270px;
  height: 585px;
  opacity: 1;
  z-index: 3;
}

.app-screenshots__slide[data-offset="0"] .app-screenshots__slide-media {
  border-radius: 40px;
  background: #fff;
}

.app-screenshots__frame {
  position: absolute;
  left: 50%;
  top: 0;
  width: 293px;
  height: 600px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  .app-screenshots__slide {
    transition: none;
  }
}

@media (max-width: 1168px) {
  .app-download__cards {
    grid-template-columns: 1fr;
  }

  .app-download__android-btn {
    width: 100%;
    font-size: var(--basic-font-size);
  }

  .howCreateAccount__viewport {
    overflow: hidden;
  }

  .howCreateAccount__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
  }

  .howCreateAccount__track::-webkit-scrollbar {
    display: none;
  }

  .howCreateAccount__slide {
    flex: 0 0 389px;
    width: 389px;
    scroll-snap-align: start;
  }
}

@media (max-width: 1024px) {
  .app-install__content {
    flex-direction: column;
  }

  .app-install__image-wrap {
    margin-inline: auto;
  }

  .app-characteristics__grid {
    grid-template-columns: 1fr;
  }

  .why-download-app__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .app-download__card--android {
    gap: 19px;
  }

  .app-download__bonus-title {
    font-size: var(--header-font-size-mobile);
  }

  .app-start-using__title {
    font-size: var(--header-font-size-mobile);
  }

  .app-start-using__subtitle {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-start-using__step p {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-start-using__btn {
    font-size: var(--subheader-font-size-desktop);
    padding: 13px 32px;
  }

  .app-bonuses__title {
    font-size: var(--header-font-size-mobile);
  }

  .app-bonuses__subtitle {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-bonuses__item p {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-bonuses__btn {
    width: 100%;
    max-width: 312px;
    display: flex;
    justify-content: center;
    font-size: var(--subheader-font-size-desktop);
  }

  .app-payments__head {
    gap: 12px;
  }

  .app-payments__title {
    font-size: var(--header-font-size-mobile);
    line-height: normal;
  }

  .app-payments__subtitle {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-payments__table th,
  .app-payments__table td {
    padding: 16px 8px;
  }

  .app-payments__btn {
    width: 100%;
    max-width: 312px;
    display: flex;
    justify-content: center;
  }

  .app-characteristics__grid {
    gap: 16px;
  }

  .app-characteristics__card {
    align-items: flex-start;
  }

  .app-characteristics__text h3 {
    font-size: var(--subheader-font-size-mobile);
  }

  .app-characteristics__text p {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .why-download-app__subtitle {
    margin-top: 8px;
    line-height: 18px;
  }

  .why-download-app__card p {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-download__title {
    text-align: left;
  }

  .app-download__tabs {
    gap: 24px;
  }

  .app-download__tab-list {
    max-width: 100%;
  }

  .app-download__tab-btn {
    padding: 12px 16px;
    font-size: 18px;
  }

  .app-download__panel .app-install__subtitle {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-install {
    gap: 24px;
  }

  .app-install__head {
    gap: 8px;
  }

  .app-install__subtitle {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-install__image {
    height: auto;
    width: 100%;
  }

  .app-install__steps {
    gap: 24px;
  }

  .app-install__step p {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-install__btn {
    width: 100%;
    font-size: var(--subheader-font-size-desktop);
    line-height: normal;
    padding: 12px 16px;
  }

  .app-requirements {
    gap: 16px;
  }

  .app-requirements__head {
    gap: 12px;
  }

  .app-requirements__title {
    font-size: var(--header-font-size-mobile);
  }

  .app-requirements__subtitle {
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-requirements__table th {
    padding: 16px 8px;
    font-size: var(--subheader-font-size-mobile);
    line-height: 18px;
  }

  .app-requirements__table td {
    padding: 16px 8px;
    font-size: var(--basic-font-size-mobile);
    line-height: 18px;
  }

  .app-requirements__btn {
    width: 100%;
    text-align: center;
    font-size: var(--subheader-font-size-desktop);
    line-height: normal;
    padding: 13px 16px;
  }

  .app-screenshots__slide:not([data-offset="0"]) {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden;
    pointer-events: none;
  }

  .app-screenshots__slide[data-offset="0"] {
    left: 50%;
    width: min(270px, calc(100vw - 32px));
    height: auto;
    aspect-ratio: 270 / 585;
  }

  .app-screenshots__frame {
    width: min(293px, calc(100vw - 16px));
    height: auto;
    aspect-ratio: 293 / 600;
  }
}
