html {
  scroll-behavior: smooth;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

* {
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

body {
  font-size: 16px;
  color: #fff;
  background-color: #212132;
  font-family: sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.grid {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.app-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  width: 150px;
  background: #488aec;
  gap: 5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  margin: 20px auto;
}
.main .app-btn img {
  width: 30px;
  margin: 0;
}

.header {
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: rgba(37, 37, 54, 0.9);
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.header-wrapper .logo {
  color: #fe284a;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 900;
}

.header-wrapper .action-buttons a {
  -webkit-box-align: center;
  align-items: center;
  border-bottom: 1px solid #fff;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: normal;
}

.header-wrapper .action-buttons a.light-btn {
  font-weight: bold;
  box-shadow: 0 3px 0 0 #871628, 0 4px 4px 0 #000;
  background-color: #cd1835;
  border-radius: 25px;
  padding: 10px 32px;
}

.header-wrapper .action-buttons a:hover {
  opacity: 0.9;
}
.action-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.action-buttons .lang {
  display: flex;
  align-items: center;
}
.action-buttons .lang .lang-item {
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.action-buttons .lang .lang-item:first-child {
  border-right: 1px solid #fff;
  font-size: 12px;
  color: #ffffff74;
}
.action-buttons .lang a {
  border-bottom: none;
}
.action-buttons .lang img {
  width: 15px;
}

@media (max-width: 500px) {
  .header-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    height: 100px;
  }
  .header-wrapper .logo {
    font-size: 36px;
    line-height: 1;
    margin: 5px 0 15px;
  }
  .header-wrapper .action-buttons a.light-btn {
    padding: 8px 24px;
  }
  .topbar {
    margin-top: 100px !important;
  }
}

.topbar {
  background: url(./images/topbar-bg.svg);
  box-shadow: inset 0 5px 25px 0 rgb(0 0 0 / 80%);
  background-color: #212132;
  margin-top: 70px;
}

.topbar-wrapper {
  height: 100%;
}

.topbar-wrapper ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.topbar-wrapper ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25%;
}

.topbar-wrapper ul li a {
  width: 100%;
  display: flex;
  height: 70px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
}

.topbar-wrapper ul li a:hover {
  background-color: rgba(37 37 54, 1);
}

.topbar-wrapper ul li a span {
  font-size: 16px;
}

.topbar-wrapper img {
  height: 40px;
  margin-right: 10px;
}

.topbar-wrapper li:first-child img {
  height: 30px;
}

@media (max-width: 900px) {
  .topbar-wrapper img {
    height: 30px;
  }
  .topbar-wrapper li:first-child img {
    height: 22px;
  }
  .topbar-wrapper ul {
    flex-wrap: wrap;
  }
  .topbar-wrapper ul li {
    width: auto;
    flex: 0 0 50%;
  }
  .topbar-wrapper ul li a span {
    font-size: 13px;
  }
}

.main {
  overflow-x: hidden;
  position: relative;
  background: url(./images/bg.svg) repeat-y;
  background-size: 100%;
  padding-top: 40px;
  padding-bottom: 25px;
}

.main h1,
.main h2,
.main h3,
.main h4,
.main h5,
.main h6 {
  margin-bottom: 20px;
  line-height: 1.3;
}

.main h1 {
  font-size: 32px;
}

.main h2 {
  font-size: 28px;
}

.main h3 {
  font-size: 24px;
}

.main h4 {
  font-size: 20px;
}

.main h5 {
  font-size: 18px;
}

.main h6 {
  font-size: 16px;
}

.main p {
  margin-bottom: 25px;
  line-height: 1.4;
  font-size: 16px;
}

.main p a {
  color: #fff;
  text-decoration: underline;
}

.main p a:hover {
  text-decoration: none;
}

.main img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.main ul,
.main ol {
  padding-left: 25px;
  list-style-type: disc;
  font-size: 1.6rem;
  margin-bottom: 25px;
  margin-left: 10px;
}

.main ol {
  list-style-type: decimal;
}

.main ul li,
.main ol li {
  font-size: 16px;
  margin-bottom: 10px;
}

.main table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 25px;
  border-spacing: 0;
}

.main table tr {
  border-left: 1px solid #fff;
  border-top: 1px solid #fff;
}

.main table tr td,
.main table tr th {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 10px;
}

.main table tr th {
  font-weight: bold;
  font-size: 16px;
}

.benefits {
  background: #161626;
  border-top: 1px dashed #303036;
  border-bottom: 1px dashed #303036;
}

.benefits-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefit-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0 20px;
  padding: 40px 0;
}

.benefit-item img {
  height: 35px;
  margin-right: 15px;
}

.benefit-item h4 {
  font-size: 18px;
}

.benefit-item p {
  padding-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #7d8196;
  display: inline-block;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .benefits-wrapper {
    flex-direction: column;
    padding: 40px 0 15px;
  }
  .benefit-item {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 0 25px;
  }
  .benefit-item__info {
    text-align: center;
  }
  .benefit-item h4 {
    margin: 15px 0 10px;
  }
}

footer {
  background: #181821;
  padding-top: 40px;
}

footer h5 {
  color: #646a87;
  margin: 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #222330;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
  font-size: 17px;
  padding-bottom: 5px;
}

.payments-items,
.partners-items {
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: stretch;
  align-items: stretch;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  margin-bottom: 20px;
  margin-left: -15px;
  margin-right: -15px;
  width: 100%;
}

.payments-items img,
.partners-items img {
  padding: 10px 15px;
  height: 50px;
}

.copyright {
  border-top: 1px dashed #303036;
  background: #171720;
  padding: 40px 0;
}

.copyright-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright-wrapper div {
  width: 46%;
  margin: 0 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright img {
  width: 40px;
  margin-left: 40px;
}

.copyright span {
  color: #646a87;
  font-size: 14px;
  line-height: 1.3;
}

.img-responsive {
  width: 100%;
  overflow-x: auto;
}

@media (max-width: 900px) {
  .copyright-wrapper {
    flex-direction: column;
  }
  .copyright img {
    margin-bottom: 15px;
    margin-left: 0;
  }
  .copyright-wrapper div {
    width: 100%;
    margin: 0;
    flex-direction: column-reverse;
    text-align: center;
  }
  .copyright-wrapper .copyright__right-side {
    margin-top: 25px;
  }
}
.review-content {
  margin-bottom: 20px;
}
.faq-item,
.review-item {
  padding: 16px;
}
.faq-item-title,
.review-item-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
  letter-spacing: 0;
  color: #8a8aae;
}
.faq-pagination-next-button,
.faq-pagination-prev-button,
.review-pagination-next-button,
.review-pagination-prev-button {
  width: 40px;
  height: 36px;
}
.faq-pagination-label,
.review-pagination-label {
  width: 86px;
  font-size: 12px;
}
.footer-social-btn:hover {
  opacity: 0.8;
}
.footer-social-btn:active {
  background: #000;
}
@media screen and (max-width: 1024px) {
  .footer-content-first-part,
  .footer-content-second-part {
    flex-wrap: wrap;
  }
  .footer-content-first-part {
    justify-content: center;
  }
  .footer-content-second-part .footer-second-part-item:first-child {
    max-width: 100%;
  }
  .footer-content-second-part .footer-second-part-item:nth-child(2) {
    max-width: calc(100% - 214px);
  }
  .header-lang .choose-lang-button span {
    display: block;
  }
  .header-lang .choose-lang-list {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    top: -260px;
    right: -19px;
    transform-origin: top right;
  }
}
@media screen and (max-width: 668px) {
  .footer {
    margin: 0 20px;
  }
  .footer-content-first-part,
  .footer-content-second-part {
    justify-content: center;
    padding: 20px 0;
  }
  .footer-content-second-part .footer-second-part-item:first-child {
    order: 2;
  }
  .footer-content-second-part .footer-second-part-item:nth-child(2) {
    max-width: 100%;
    order: 3;
  }
  .footer-content-second-part .footer-second-part-item:nth-child(3) {
    order: 1;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-second-part-item-text {
    font-size: 10px;
  }
}
.footer-lang .choose-lang-button:hover,
.header-lang .choose-lang-button:hover {
  background: #41415e;
}
.header-lang .choose-lang-list li:first-child:nth-last-child(2n) {
  grid-column: inherit;
}
.choose-lang-list.show {
  visibility: visible;
  transform: scale(1);
}
.choose-lang-list li:hover {
  background-color: #2d3047;
}
.choose-lang .lang-native-select {
  display: none;
}
h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 24px;
}
.text-block-second h2 {
  margin-top: 30px;
  margin-bottom: 24px;
}
/* mirror */
.mirror {
  background-color: #090f1e;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 300px;
  margin-bottom: 2rem;
}
.mirror .mirror__text {
  font-size: 24px;
  font-weight: 600;
}
.mirror .mirror__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background-color: #cd1835;
  border-radius: 20px;
  padding: 12px;
  width: 200px;
  margin: 0 auto;
  transition: all 0.2s ease-in-out;
}
.mirror .mirror__btn:hover {
  background-color: #b10824;
}
/* bonus */

.bonus {
  background-color: #3a3f4e;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
  margin-bottom: 2rem;
}
.bonus p {
  margin: 0;
}
.bonus__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bonus__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  background-color: #24b260;
  box-shadow: 0 5px 20px rgb(49 188 105 / 50%);
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
}
.bonus__btn:hover {
  background-color: #15d967;
}
.bonus__title {
  font-size: 24px;
  font-weight: 600;
}
.bonus .bonus__img {
  flex: 0 0 25%;
}

/* rate */

.rate {
  background-color: #090f1e;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  border-radius: 20px;
}
.rate h2 {
  text-align: center;
  margin-bottom: 0;
}
.rate .rate__blocks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rate .rate__blocks .rate__block h5 {
  margin-bottom: 5px;
}
.rate .rate__blocks .rate__block .rate__line {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
}
.rate .rate__blocks .rate__block .rate__line span {
  background-color: #cd1835;
  display: flex;
  justify-content: flex-end;
  border-radius: 10px;
  padding: 2px 5px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .bonus {
    flex-direction: column;
    gap: 1rem;
  }
  .bonus__img {
    max-width: 200px;
    margin: 0 auto;
  }
}
/* lang */
.lang.toggle {
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.lang.toggle.active .lang-toggle-button svg {
  transform: rotate(0deg);
}
.lang.toggle.active .lang-popup {
  display: flex;
}
.copyright .lang img {
  margin: 0;
  width: auto;
}
.lang .lang-toggle-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  cursor: pointer;
}
.lang .lang-toggle-button img {
  border-radius: 50%;
}
.lang .lang-toggle-button span {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
}
.lang .lang-toggle-button svg {
  width: 15px;
  height: 15px;
  fill: #fff;
  transform: rotate(180deg);
  transition: all 0.2s ease-in-out;
}
.lang-popup {
  display: none;
  position: absolute;
  top: -4rem;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #4a5372;
  flex-direction: column;
  gap: 1rem;
  padding: 12px;
  border-radius: 10px;
  z-index: -1;
}
.lang-popup ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lang-popup ul li span {
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
}
.lang-popup ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
}
.lang-popup ul li a:hover {
  text-decoration: underline;
}
.lang-popup ul li a img {
  border-radius: 50%;
}

@media (max-width: 768px) {
  .copyright .lang img {
    margin-left: 0;
    margin: 0;
    width: auto;
  }
  .lang .lang-toggle-button {
    justify-content: center;
    width: 100%;
  }
}