*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

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

img {
  display: block;
  object-fit: cover;
}

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

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

button:disabled {
  cursor: default;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-focus-outline);
  outline-offset: 2px;
}

input {
  font: inherit;
}

ol,
ul {
  padding-left: 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 16px;
}

.main {
  padding-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.button--primary {
  background-color: var(--color-primary);
  color: var(--color-cta-text);
  box-shadow: var(--shadow-soft);
}

.button--primary:hover,
.button--primary:focus-visible {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.button--secondary {
  background-color: var(--color-mobile-menu-bg);
  color: var(--color-cta-text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background-color: var(--color-secondary-hover);
}

.button--ghost {
  background-color: transparent;
  border-color: var(--color-border-subtle);
  color: var(--color-text-main);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--color-text-main);
}

.button--full {
  width: 100%;
}

.button--light {
  background-color: var(--color-button-light-bg);
  color: var(--color-body-bg);
}

.button--light:hover,
.button--light:focus-visible {
  background-color: var(--color-border-strong);
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-scrolltop-start), var(--color-scrolltop-end));
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top__icon {
  width: 18px;
  height: 18px;
  border-left: 2px solid var(--color-cta-text);
  border-bottom: 2px solid var(--color-cta-text);
  transform: rotate(135deg);
  position: relative;
  top: 5px;
}

.scroll-top--visible {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  opacity: 0.85;
}

.header {
  inset-inline: 0;
  top: 0;
  z-index: 40;
  background-color: var(--color-header-bg);
  padding: 12px 0;
}

.header-fixed {
  position: fixed;
}

.header__inner {
  min-height: 56px;
  gap: 16px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo img {
  height: auto;
  display: block;
}

.header__nav {
  position: absolute;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
  top: 191px;
  left: -100%;
  background-color: var(--color-header-second);
  z-index: 1000;
  padding: 20px;
  justify-content: start;
  transition: 0.2s all;
}

.header__nav--active {
  left: 0;
}

.header__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
  padding-bottom: 20px;
}

.header__menu > li > a {
  color: var(--color-header-bg);
  font-weight: 700;
}

.header__menu--desktop > li {
  transition: 0.2s all;
}

.header__menu--desktop > li:hover {
  scale: 1.1;
  transition: 0.2s all;
}

.header__menu > .menu-item-has-children {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.sub-menu {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.header__menu > .pll-parent-menu-item > .sub-menu {
  display: none;
  flex-direction: column;
  padding-left: 0;
  width: 70px;
  gap: 0;
}

.sub-menu-language-active > .sub-menu {
  background-color: var(--color-header-bg);
  display: flex !important;
  border-radius: 0px 0px 10px 10px !important;
}

.sub-menu-language-active > a {
  border-radius: 10px 10px 0 0 !important;
  border-bottom: 1px solid #000 !important;
}

.sub-menu-language-active > a::after {
  transform: translateY(-50%) rotate(-90deg) !important;
}

.header__nav > .header__menu > .pll-parent-menu-item {
  gap: 0px;
  justify-content: center;
  display: flex;
  align-items: center;
  border-top: 2px solid #fff;
  padding-top: 20px;
}

.header__nav > .header__menu > .pll-parent-menu-item > a {
  display: flex;
  align-items: center;
  background-color: var(--color-header-bg);
  padding: 3px;
  border: 1px solid #0000001c;
  border-radius: 10px;
  width: 70px;
  color: #fff;
  position: relative;
}

.header__nav > .header__menu > .pll-parent-menu-item > a::after {
  content: " ";
  position: absolute;
  width: 15px;
  height: 15px;
  background: url("../img/chevron.svg") no-repeat center / cover;
  right: 5px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.header__menu > .pll-parent-menu-item > .sub-menu > li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu > li > .sub-menu > li > a {
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
}

.header__burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  width: 30px;
  position: relative;
}

.header__burger-line {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: 0.2s all;
}

.header__burger--active > .header__burger-line:nth-child(1) {
  position: absolute;
  transform: rotate(45deg);
  top: 50%;
}

.header__burger--active > .header__burger-line:nth-child(2) {
  position: absolute;
  top: 50%;
  width: 0;
}

.header__burger--active > .header__burger-line:nth-child(3) {
  position: absolute;
  transform: rotate(-45deg);
  top: 50%;
}

.header__action {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__button {
  padding: 0 40px 0 10px;
  border-radius: 10px;
  min-height: 48px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  transition: 0.2s all;
  position: relative;
}

.header__button:hover {
  scale: 1.05;
  transition: 0.2s all;
}

.header__button--register {
  background-color: var(--color-header-second);
}

.header__button--register::after {
  content: " ";
  width: 30px;
  height: 30px;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #000;
  border-radius: 100%;
  background: url("../img/user_icon.svg") center / contain no-repeat;
}

.header__button--download {
  background-color: #fff;
}

.header__button--download::after {
  content: " ";
  width: 30px;
  height: 30px;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #000;
  border-radius: 100%;
  background: url("../img/download_icon.svg") center / contain no-repeat;
}

.header__button-icon {
  color: var(--color-header-signup-text);
  text-align: left;
  font-size: 0.95rem;
}

.hero {
  min-height: 80vh;
  padding-block: 32px 40px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.hero__header h1 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  line-height: 1.3;
}

.hero__header p {
  margin: 0;
  color: var(--color-text-muted);
}

.hero-banner {
  margin-top: 12px;
  border-radius: 18px;
  background-color: var(--color-hero-banner-bg);
  color: var(--color-hero-banner-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  max-width: 420px;
}

.hero__banner-bottom {
  display: none;
}

.hero-banner__body {
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  justify-content: center;
}

.hero-banner__body p {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-banner__accent {
  color: var(--color-hero-banner-accent);
}

.hero-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__banner-bottom {
  display: flex;
  justify-content: center;
}

.hero-banner__button {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.2s all;
  width: 100%;
}

.hero-banner__button:hover {
  scale: 1.05;
}

.hero-banner__button--android {
  background-color: var(--color-hero-button-bg);
  color: #ffffff;
}

.hero-banner__button--ios {
  background-color: var(--color-header-second);
  color: #ffffff;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.hero__text p {
  margin: 0;
  color: var(--color-text-muted);
}

.hero__media {
  max-width: 420px;
  margin-left: auto;
}

.hero__image-wrapper {
  border-radius: 24px;
  overflow: hidden;
}

.hero-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding-block: 8px;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 32;
  display: none;
}

.hero-sticky__inner {
  display: flex;
  gap: 8px;
}

.hero-sticky__button {
  flex: 1 1 0;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-sticky__button--android {
  background-color: var(--color-hero-button-bg);
  color: #ffffff;
}

.hero-sticky__button--ios {
  background-color: #f0ba41;
  color: #ffffff;
}

.bonus-banner__inner {
  display: flex;
  justify-content: center;
}

.bonus-banner__card {
  position: relative;
  width: 260px;
  padding: 56px 16px 18px;
  border-radius: 16px;
  background-color: var(--color-bonus-card-bg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.bonus-banner__icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-color: var(--color-bonus-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-bonus-card-dark);
}

.bonus-banner__icon img {
  width: 28px;
  height: auto;
}

.bonus-banner__content p:first-of-type {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

.bonus-banner__content p:last-of-type {
  margin: 6px 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.bonus-banner__actions {
  margin-top: 4px;
}

.bonus-banner__button {
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
  background-color: var(--color-bonus-card-dark);
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
}

.content {
  padding-block: 32px 40px;
}

.content__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.content-section {
  padding: 20px 20px 24px;
  border-radius: 24px;
  background-color: var(--color-surface-primary);
  border: 1px solid var(--color-border-subtle);
}

.content-section__header h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.content-section__header p {
  margin: 0;
  color: var(--color-text-muted);
}

.content-section__body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-section__body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.content-section__body h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--color-text-main);
}

.content-section__body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.content-section__body ul,
.content-section__body ol,
.content-section__body .wp-block-list {
  margin: 0;
  padding-left: 22px;
  color: var(--color-text-muted);
  line-height: 1.55;
  list-style-position: outside;
}

.content-section__body ul,
.content-section__body .wp-block-list:not(ol) {
  list-style: disc;
}

.content-section__body ol {
  list-style: decimal;
}

.content-section__body li {
  margin: 0 0 10px 0;
}

.content-section__body li:last-child {
  margin-bottom: 0;
}

.content-section__body ul ul,
.content-section__body ul ol,
.content-section__body ol ul,
.content-section__body ol ol {
  margin-top: 10px;
  padding-left: 18px;
}

.content-section .wp-block-media-text {
  padding-bottom: 20px;
}

.table-block {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-block__scroll {
  width: 100%;
  overflow-x: auto;
}

.table-block table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.table-block thead {
  background-color: var(--color-surface-secondary);
}

.table-block th,
.table-block td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: left;
  font-size: 0.9rem;
}

.table-block th {
  font-weight: 600;
}

.table-block tbody tr:hover {
  background-color: var(--color-surface-secondary);
}

.table-block p {
  margin: 0;
  color: var(--color-text-muted);
}

.games-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.games-grid__item {
  display: flex;
}

.games-grid__thumb {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-surface-secondary);
}

.games-grid__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--color-games-overlay) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.games-grid__thumb:hover::before,
.games-grid__thumb:focus-within::before {
  opacity: 1;
}

.games-grid__button {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding-inline: 16px;
  min-height: 32px;
  font-size: 0.8rem;
  border-radius: 999px;
  background-color: var(--color-secondary);
  color: var(--color-text-main);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
  width: 85%;
}

.games-grid__thumb:hover .games-grid__button,
.games-grid__thumb:focus-within .games-grid__button {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-4px);
}

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

.payments__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.payments__logos img {
  border-radius: 100%;
}

.content-section__body--with-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-section__aside {
  padding: 16px 18px;
  border-radius: 20px;
  background-color: var(--color-surface-secondary);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
}

.content-section__aside p {
  margin: 0 0 8px;
}

.howto {
  padding-block: 32px 40px;
  background-color: var(--color-surface-primary);
}

.howto__inner {
  max-width: 960px;
  margin: 0 auto;
  padding-inline: 16px;
}

.howto__header h2 {
  margin: 0 0 8px;
}

.howto__header p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 640px;
}

.howto__steps {
  margin-top: 24px;
  position: relative;
  padding-left: 56px;
}

.howto__steps::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background-color: var(--color-border-subtle);
}

.howto__step {
  position: relative;
  margin-bottom: 24px;
  padding: 20px 20px 18px 24px;
  border-radius: 24px;
  background-color: transparent;
  border: none;
}

.howto__step:last-child {
  margin-bottom: 0;
}

.howto__step-marker {
  position: absolute;
  left: -55px;
  top: 0;
  width: 30px;
  height: 30px;
  background-color: var(--color-secondary);
  color: var(--color-cta-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.howto__step-text h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.howto__step-text p {
  margin: 0 0 6px;
  color: var(--color-text-muted);
}

.howto__step-text p:last-of-type {
  margin-bottom: 0;
}

.howto__step-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface-secondary);
  min-height: 160px;
}

.howto__step-media img {
  display: block;
  width: 100%;
  height: auto;
}

.faq {
  padding-block: 40px 56px;
  background-color: var(--color-faq-bg);
}

.faq__inner {
  max-width: 740px;
}

.faq__header h2 {
  margin: 0 0 8px;
}

.faq__header p {
  margin: 0;
  color: var(--color-text-muted);
}

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

.faq__item {
  border-radius: 16px;
  background-color: var(--color-faq-item-bg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-text-main);
}

.faq__icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--color-border-subtle);
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-text-main);
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  padding-inline: 16px;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq__answer p {
  margin: 12px 0 16px;
  color: var(--color-text-muted);
}

.faq__item--open .faq__answer {
  max-height: 200px;
  padding-bottom: 8px;
}

.faq__item--open .faq__icon::after {
  opacity: 0;
}

.footer {
  padding: 10px 0;
  background-color: var(--color-footer-bg);
  border-top: 1px solid var(--color-border-subtle);
  max-width: 100%;
  margin-top: auto;
  position: static;
}

.footer__logo-row {
  margin: 0 auto 16px;
  padding-inline: 16px;
  display: flex;
  align-items: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

.footer__logo img {
  display: block;
  height: auto;
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}

.footer__column {
  min-width: 160px;
}

.footer__column h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer__column ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__column a {
  text-decoration: none;
}

.footer__column a:hover,
.footer__column a:focus-visible {
  text-decoration: underline;
}

.footer__downloads {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer__downloads .footer__download {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer__downloads .footer__download:hover,
.footer__downloads .footer__download:focus-visible {
  background-color: var(--color-border-strong);
  color: var(--color-text-main);
}

.footer__download {
  min-width: 230px;
  max-width: 280px;
  justify-content: center;
}

.footer__rg-row {
  flex-direction: column;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
}

.footer__rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.footer__rg-links a {
  font-size: 0.9rem;
  text-decoration: none;
}

.footer__rg-links a:hover,
.footer__rg-links a:focus-visible {
  text-decoration: underline;
}

.footer__age {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.footer__age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: var(--color-secondary);
  color: var(--color-cta-text);
  font-weight: 700;
}

.footer__social {
  display: flex;
  justify-content: center;
}

.footer__social-list {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.footer__social-link img {
  border-radius: 100%;
}

.footer__bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 16px;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.menu-item-has-children--active {
  display: flex;
}

.menu-item-has-children--active > .sub-menu {
  display: flex !important;
}

.menu-item-has-children--active > a::after {
  transform: translateY(-50%) rotate(-90deg) !important;
}

.page--404 > .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 5%;
}

@media (max-width: 480px) {
  .container {
    padding-inline: 8px;
  }

  .header__inner {
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
}

@media (min-width: 480px) {
  .header__inner {
    flex-direction: row;
  }

  .header__button {
    min-width: 90px;
  }

  .header__nav {
    top: 80px;
  }
}

@media (max-width: 767px) {
  .hero__content {
    justify-content: center;
    align-items: center;
  }

  .hero__media {
    margin: 0 auto;
  }

  .scroll-top {
    width: 40px;
    height: 40px;
  }

  .hero__banner-bottom {
    display: flex;
    bottom: 0;
    margin-top: 16px;
    padding-bottom: 8px;
    justify-content: center;
    z-index: 20;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .games-grid__item,
  .games-grid__thumb {
    width: 100%;
  }

  .games-grid__thumb img {
    display: block;
    width: 100%;
    height: auto;
  }

  .howto__steps {
    padding-left: 0;
  }

  .howto__steps::before {
    content: none;
  }

  .howto__step {
    margin: 0;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .howto__step + .howto__step {
    margin-top: 8px;
  }

  .howto__step-marker {
    position: static;
    width: 28px;
    height: 28px;
    margin-top: 4px;
    flex: 0 0 28px;
  }

  .howto__step-main {
    flex: 1 1 auto;
  }

  .howto__step-media {
    min-height: 140px;
    margin-top: 8px;
  }

  .footer__nav {
    gap: 24px;
  }

  .footer__downloads {
    align-content: center;
    flex-wrap: wrap;
  }

  .footer__download {
    width: 100%;
  }

  .footer__rg-row {
    align-items: flex-start;
  }

  .footer__age {
    align-self: stretch;
  }
}

@media (min-width: 768px) {
  .hero__banner-bottom {
    display: none;
  }

  .hero-banner__buttons {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .hero-banner__button {
    width: 100%;
  }

  .header__inner {
    min-height: 64px;
  }

  .hero {
    padding-block: 48px 56px;
  }

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

  .hero__content {
    max-width: 52%;
  }

  .hero__media {
    max-width: 40%;
  }

  .content {
    padding-block: 40px 56px;
  }

  .howto {
    padding-block: 40px 56px;
  }

  .howto__steps {
    position: relative;
    padding-left: 56px;
  }

  .howto__steps::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 999px;
    background-color: var(--color-border-subtle);
  }

  .howto__step {
    position: relative;
  }

  .howto__step-marker {
    position: absolute;
    left: -38px;
    top: 0px;
  }

  .howto__step-main {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
  }

  .howto__step-text {
    flex: 1 1 45%;
  }

  .howto__step-media {
    flex: 1 1 55%;
    min-height: 220px;
  }

  .footer__columns {
    flex-direction: row;
  }

  .menu-item-has-children--active > .sub-menu {
    display: none;
  }

  .menu-item-has-children--active > .sub-menu > li:not(:last-child) {
    border-bottom: 1px solid #686868;
  }
}

@media (min-width: 992px) {
  .main {
    padding-top: 20px;
  }

  .hero__header h1 {
    font-size: 2.2rem;
  }

  .header__burger {
    display: none;
  }

  .header__nav {
    display: flex;
    position: unset;
    background-color: var(--color-header-bg);
    height: auto;
    width: 100%;
    padding: 0;
    justify-content: space-between;
  }

  .header__menu {
    flex-direction: row;
    gap: 0;
    justify-content: space-around;
    padding: 0;
    align-items: center;
    width: 100%;
  }

  .header__menu > li > a {
    color: var(--color-header-links);
  }

  .header__nav > .header__menu > .pll-parent-menu-item {
    border: none;
    padding: 0;
    position: relative;
  }

  .header__nav > .header__menu > .pll-parent-menu-item > a,
  .sub-menu-language-active > .sub-menu {
    background-color: var(--color-header-second);
    color: var(--color-header-bg);
  }

  .sub-menu-language-active > .sub-menu > .lang-item > a > span {
    color: var(--color-header-bg) !important;
  }

  .header__menu > .pll-parent-menu-item > .sub-menu {
    position: absolute;
    top: 31px;
    min-width: auto;
  }

  .sub-menu {
    display: none;
    gap: 3px;
    padding: 0;
    position: absolute;
    top: 56px;
    left: 0;
    min-width: 150px;
    background-color: var(--color-header-second);
    padding: 5px;
    border-radius: 0 0 15px 15px;
  }

  .header__menu > li > .sub-menu > li > a {
    color: var(--color-header-bg);
  }

  .header__menu > li > .sub-menu > li > a:hover {
    text-decoration: underline;
  }

  .header__menu > .menu-item-object-page {
    transition: 0.2s all;
  }

  .header__menu > .menu-item-object-page > a:hover {
    text-decoration: underline;
    transition: 0.2s all;
  }

  .header__menu > .menu-item-has-children {
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .header__menu > .menu-item-object-page.menu-item-has-children > a::after {
    content: " ";
    position: absolute;
    width: 15px;
    height: 15px;
    background: url(../img/chevron.svg) no-repeat center / cover;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
  }

  .content-section {
    padding: 24px 24px 28px;
  }

  .content-section__body--with-aside {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
  }

  .content-section__body--with-aside > * {
    flex: 1 1 0;
  }

  .footer__top {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer__brand {
    flex: 1 1 40%;
  }

  .footer__columns {
    flex: 1 1 60%;
    justify-content: space-between;
  }
}

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

/* ===== REPLACE: було ".page > .content > .content__inner > .content-section ..." ===== */
/* Тепер ці правила застосуються до будь-якого .content-section (і для #top-casinos, і для #games) */
.content-section > p {
  font-size: 16px;
  padding: 4px 0;
}

.content-section > .wp-block-media-text {
  padding-bottom: 20px;
}

.content-section ul,
.content-section ol {
  margin: 0 0 8px 0;
  padding-left: 22px;
  list-style-position: outside;
}

.content-section li {
  margin: 0 0 10px 0;
  line-height: 1.55;
}

.content-section li:last-child {
  margin-bottom: 0;
}

.content-section ul {
  list-style: disc;
}

.content-section ol {
  list-style: decimal;
}

.content-section .wp-block-list {
  margin: 0 0 8px 0;
  padding-left: 22px;
}

.content-section ul ul,
.content-section ul ol,
.content-section ol ul,
.content-section ol ol {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 20px;
}

.content-section p + ul,
.content-section p + ol,
.content-section h2 + ul,
.content-section h2 + ol,
.content-section h3 + ul,
.content-section h3 + ol {
  margin-top: 16px;
}

.content-section ul + p,
.content-section ol + p,
.content-section ul + h2,
.content-section ol + h2,
.content-section ul + h3,
.content-section ol + h3 {
  margin-top: 16px;
}

.content-section ul,
.content-section ol,
.content-section__body ul,
.content-section__body ol {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.content-section li,
.content-section__body li {
  margin: 0;
}

.content-section ul ul,
.content-section ul ol,
.content-section ol ul,
.content-section ol ol,
.content-section__body ul ul,
.content-section__body ul ol,
.content-section__body ol ul,
.content-section__body ol ol {
  margin: 0;
  padding-left: 0;
}
