html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 400;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.no-scroll {
  overflow: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.header {
  flex: 0 0 auto;
}

.main {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--color-bg-header);
}

h1 {
  font-size: 24px;
  line-height: 1.3;
}

h2 {
  font-size: 20px;
  line-height: 1.4;
}

h3 {
  font-size: 17px;
  line-height: 1.4;
}

p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--color-accent-pink);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-accent-gold);
  text-decoration: underline;
}

.header__menu-link,
.footer__nav-link {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.header__button,
.bonus-banner__button,
.footer__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-white);
  background-image: var(--gradient-cta);
  transition:
    background-image 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.header__button:hover,
.bonus-banner__button:hover,
.footer__download:hover {
  background-image: var(--gradient-cta-hover);
  box-shadow: 0 6px 18px var(--color-shadow-cta);
  transform: translateY(-1px);
  text-decoration: none;
}

.main {
  margin-top: 64px;
}

.header {
  position: fixed;
  width: 100%;
  background-color: var(--color-bg-header);
  color: var(--color-white);
  height: 64px;
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header__side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: 32px;
  height: 32px;
}

.header__logo-icontext {
  display: none;
}

.header__nav {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(500px, 100%);
  padding-bottom: 56px;
  z-index: 900;
  background-color: var(--color-bg-header);
  overflow-y: auto;
}

.header__nav.header__nav--open {
  display: block;
}

.header__nav-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  justify-content: space-between;
  width: 265px;
  margin: 24px;
}

.header__nav-header .header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: 173px;
  height: 32px;
}

.header__nav-header .header__logo-icontext {
  display: block;
}

.header__close {
  border: none;
  background-color: var(--color-overlay-dark-25);
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header__close-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.header__close-icon::before,
.header__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-white);
}

.header__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.header__menu {
  list-style: none;
  margin: 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.header__menu-item {
  padding: 0 24px;
  min-height: 48px;
  border-radius: 4px;
  isolation: isolate;
  transition: font-variation-settings 0.2s ease-out;
  font-size: 1.125rem;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.header__menu-item--active {
  color: var(--color-accent-gold);
  font-weight: 600;
  background-image: var(--gradient-cta);
}

.header__menu-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-white);
  text-decoration: none;
}

.header__menu-link:hover {
  color: var(--color-accent-gold);
}

.header__action--desktop {
  display: none;
}

.header__action--mobile {
  display: block;
}

.header__menu-icon {
  display: inline-block;
  font-size: 0.8em;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.header__menu-text {
  display: inline-block;
}

.header__burger {
  border: none;
  background: transparent;
  padding: 4px 2px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.header__burger-line {
  width: 18px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
}

.header__search {
  border: 2px solid var(--color-border-search);
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header__search-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-icon-strong);
}

.header__search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-icon-strong);
  right: -4px;
  bottom: -1px;
  transform: rotate(40deg);
}

.bonus-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  border-radius: 0 !important;
  gap: 16px;
  color: var(--color-white);
}

.bonus-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

.bonus-banner__title {
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  margin: 10px;
}

.content {
  background-color: var(--color-white);
  margin: 0 auto;
  max-width: 1100px;
  padding: 20px;
}

.content h2 {
  margin-top: 30px;
  margin-bottom: 16px;
}

.content h3 {
  margin-top: 30px;
  margin-bottom: 16px;
}

.content h4 {
  margin-top: 30px;
  margin-bottom: 16px;
}

.content p {
  margin-bottom: 16px;
}

.content ul,
.content ol {
  margin: 20px 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.content img {
  max-width: 100%;

  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 8px;
  filter: none;
}

.content div {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content table {
  margin: 24px 0;
  border: 1px solid var(--color-border-soft);
  font-size: 15px;
  line-height: 1.6;
}

.content th,
.content td {
  padding: 10px 12px;
  border: 1px solid var(--color-border-soft);
  min-width: 100px;
}

.content th {
  background-color: var(--color-bg-soft);
  color: var(--color-bg-header);
  font-weight: 600;
}
figure.wp-block-table {
  display: block !important;
}
.wp-block-table thead {
  border-bottom: 0px solid !important;
}
table {
  display: block !important;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
thead,
tbody {
  display: flex;
  flex-direction: column;
  width: 100%;
}
tr {
  display: flex;
  width: 100%;
}

table th,
table td {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  min-width: 110px;
}

table thead th {
  font-weight: 600;
}
.howto {
  background-color: var(--color-white);
}

.howto__header {
  margin-bottom: 24px;
}

.howto__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.howto__step-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.faq {
  background-color: var(--color-bg-page);
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background-color: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-border-faq);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px;
  background: transparent;
  border: none;
  cursor: default;
}

.faq__question-text {
  margin-bottom: 0px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-bg-header);
  order: 1;
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #ff5f6d, #ffc371);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  position: static;
  order: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-white);
  border-radius: 1px;
}

.faq__icon::before {
  content: "?";
  position: static;
  width: auto;
  height: auto;
  background: none;
}

.faq__icon::after {
  content: none;
}

.faq__answer {
  max-height: none;
  overflow: visible;
  padding: 0 16px 16px;
  opacity: 1;
  transition: none;
}

.faq__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-faq-answer);
}

.faq__item--open .faq__answer {
  max-height: none;
  padding: 0 16px 16px;
  opacity: 1;
}

.footer {
  background-color: var(--color-bg-footer);
  color: #ffffff;
  z-index: -1;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: 200px;
}

.footer__logo-img {
  max-height: 40px;
  width: auto;
}

.footer__divider {
  border: 0;
  border-top: 1px solid var(--color-footer-divider);
  margin: 12px 0;
}

.footer__nav {
  width: 100%;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer__nav-item {
  margin: 0;
}

.footer__nav-link {
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  text-decoration: none;
}

.footer__nav-link:hover {
  color: var(--color-accent-gold);
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.footer__payment-icon {
  border-radius: 15px;
  max-height: 50px;
  width: 50px;
  display: block;
  background-color: #fff;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__download {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  background-image: linear-gradient(135deg, #ff5f6d, #ffc371);
  box-shadow: 0 6px 18px rgba(255, 95, 109, 0.35);
  color: #ffffff;
}

.footer__download:hover {
  background-image: linear-gradient(135deg, #ff7a8a, #ffd08a);
}

.footer__download-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.1);
}

.footer__download-icon-img {
  max-width: 20px;
  max-height: 20px;
  width: auto;
  height: auto;
}

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

.footer__download-label {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.footer__download-subtitle {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
  color: var(--color-footer-text-secondary);
}

.footer__partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: flex-start;
}

.footer__partner-icon {
  max-width: 90px;
  width: auto;
  height: auto;
  display: block;
}

.footer__rights {
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #ffffff;
}

.footer--stuck {
  margin-top: auto !important;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-accent-pink);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
  z-index: 950;
}

.scroll-top__icon {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid var(--color-white);
}

.scroll-top:hover {
  background-color: var(--color-accent-gold);
}

.scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 768px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .header__menu-link,
  .footer__nav-link {
    font-size: 15px;
  }

  .header__button,
  .bonus-banner__button,
  .footer__download {
    font-size: 16px;
  }

  .content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .content p {
    margin-bottom: 20px;
  }

  .content ul,
  .content ol {
    margin: 24px 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  .content img {
    max-width: 100%;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
  }

  .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid var(--color-border-soft);
    font-size: 15px;
    line-height: 1.6;
  }

  .content th,
  .content td {
    padding: 10px 12px;
    border: 1px solid var(--color-border-soft);
  }

  .content th {
    background-color: var(--color-bg-soft);
    color: var(--color-bg-header);
    font-weight: 600;
  }

  .content__inner {
    max-width: 1100px;
  }

  .howto__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .games-grid__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .scroll-top {
    width: 48px;
    height: 48px;
    right: 24px;
    bottom: 24px;
  }

  .header__inner {
    height: 64px;
    padding-inline: 16px;
    padding: 0 10px;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .header__nav {
    position: static;
    display: block !important;
    padding: 0;
    margin-right: auto;
    height: auto;
    overflow: visible;
    background-color: unset;
  }

  .header__nav-header {
    display: none;
  }

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

  .header__menu-item--mobile-home {
    display: none;
  }

  .header__menu-link {
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-header-nav-text);
  }

  .header__menu-link:hover {
    color: var(--color-white);
  }

  .header__menu-icon {
    display: none;
  }

  .header__menu-link {
    gap: 0;
  }

  .header__side--left {
    flex: 0 0 auto;
    width: 150px;
  }

  .header__side--right {
    flex: 0 0 auto;
    gap: 16px;
  }

  .header__menu-item {
    border-radius: 0px;
    isolation: isolate;
    transition: font-variation-settings 0.2s ease-out;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    background: none;
  }

  .header__action--desktop {
    display: block;
  }

  .header__action--mobile {
    display: none;
  }

  .header__burger {
    display: none;
  }

  .header__logo {
    width: 150px;
  }

  .header__logo-icon {
    display: none;
  }

  .header__logo-icontext {
    display: block;
    min-width: 150px;
    height: 30px;
  }

  .bonus-banner {
    height: 340px;
  }

  .bonus-banner__content {
    padding: 10px 10px;
    width: auto;
    height: auto;
  }

  .bonus-banner__title {
    font-size: 24px;
  }

  .faq__question {
    padding: 24px;
  }

  .faq__answer {
    padding: 0 24px 24px;
  }

  .faq__question-text {
    font-size: 18px;
  }

  .faq__answer p {
    font-size: 15px;
  }

  .footer__inner {
    padding: 40px 40px 30px;
    gap: 18px;
  }

  .footer__divider {
    margin: 16px 0;
  }

  .footer__list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }

  .footer__rows {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer__payments {
    justify-content: flex-start;
  }

  .footer__downloads {
    flex-direction: column;
    align-items: flex-end;
  }

  .footer__download {
    width: 250px;
    max-width: 360px;
    margin: 0 0 0 auto;
  }

  .footer__partners {
    justify-content: flex-start;
  }
}
