:root {
  --white: #fff;
  --blue: #268bf3;
  --blue-dark: #167ee9;
  --blue-deep: #3878ff;
  --blue-light: #e9f3fe;
  --green-light: #6eb83f;
  --green: #39a22e;
  --green-deep: #7ad640;
  --lime: #f0f8ec;
  --orange: #ff9c35;
  --orange-dark: #ff8d28;
  --orange-light: #fff6ea;
  --yellow: #ffcc31;
  --pink: #f17bcf;
  --gray: #a0a8b5;
  --gray-dark: #6b7280;
  --gray-light: #f4f6fa;
  --black: #000;
  --red: #ef4851;
  --red-light: #ffeeed;
  --page: #f4f5f7;
  --bg-color: #fff;
  --content: #ffffff;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --field: #f0f2f6;
  --button-soft: #f4f5f7;
  --button-soft-raised: #ffffff;
  --field-strong: #e9edf4;
  --line: #e5e9f1;
  --text: #202838;
  --text-dark: #2c3242;
  --heading: #111720;
  --muted: #8a94a6;
  --muted-strong: #647085;
  --gradient-1: linear-gradient(
    85deg,
    var(--orange-dark) 0%,
    var(--yellow) 100%
  );
  --gradient-1-reverse: linear-gradient(
    85deg,
    var(--yellow) 0%,
    var(--orange-dark) 100%
  );
  --gradient-2: linear-gradient(0deg, #ffaf2e 0%, var(--orange-dark) 100%);
  --shadow-light: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 10px 34px rgba(20, 40, 80, 0.08);
  --shadow-card: 0 10px 26px rgba(23, 31, 45, 0.07);
  --shadow-hover: 0 16px 34px rgba(23, 31, 45, 0.12);
  --shadow-blue: 0 10px 22px rgba(38, 139, 243, 0.28);
  --shadow-green: 0px 0px 18px 0px rgba(122, 214, 64, 0.5);
  --focus-ring: 0 0 0 4px rgba(38, 139, 243, 0.18);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-height: 80px;
  --search-mobile-height: 76px;
  --shell: 1200px;
  --workspace: calc(var(--shell) + 80px);
  --page-gutter: max(40px, calc((100vw - var(--shell)) / 2));
  --mobile-gutter: 16px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #0f1218;
  --bg-color: #1e222b;
  --content: #11151c;
  --surface: #1e242f;
  --surface-raised: #202733;
  --field: #242c38;
  --button-soft: #252d3a;
  --button-soft-raised: #252d3a;
  --field-strong: #2b3442;
  --line: #2a323f;
  --text: #d9e1ec;
  --text-dark: #fff;
  --heading: #f4f7fb;
  --muted: #8f9bad;
  --muted-strong: #bec8d7;
  --shadow-soft: 0 10px 34px rgba(20, 40, 80, 0.078);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.22);
  --shadow-hover: 0 18px 36px rgba(0, 0, 0, 0.28);
  --focus-ring: 0 0 0 4px rgba(38, 139, 243, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color-scheme: light;
}

body {
  min-width: 1280px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: "Montserrat", "SF Pro Display", "SF Pro Text", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

body.preloader-active,
body.catalog-open,
body.auth-modal-open,
body.mobile-search-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(38, 139, 243, 0.42);
  outline-offset: 3px;
}

img,
svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  height: var(--header-height);
  background: var(--page);
}

body.catalog-open .site-header {
  z-index: 130;
}

.site-header::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(100%, var(--workspace));
  border-bottom: 1px solid var(--line);
  background: var(--content);
  transform: translateX(-50%);
}

.header-inner {
  position: relative;
  z-index: 1;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link,
.logo-link img {
  width: 128px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-link img,
.bonus-btn img {
  transition:
    transform 0.24s var(--ease),
    filter 0.24s ease,
    box-shadow 0.24s ease;
}

.theme-switch {
  width: 24px;
  height: 44px;
  display: grid;
  margin-left: 6px;
  padding: 2px;
  border-radius: 12px;
  background: #f2f4f7;
}

.theme-btn {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.theme-btn img {
  width: 12px;
  height: 12px;
  transition:
    transform 0.36s ease,
    filter 0.36s ease;
}

.theme-btn.is-active {
  background: var(--blue);
}

.theme-btn.is-active img {
  filter: brightness(0) invert(1);
}

body.theme-animating .theme-btn.is-active img {
  animation: theme-icon-pop 0.46s var(--ease);
}

body.theme-animating,
body.theme-animating
  :where(
    .site-header,
    main,
    .services-row,
    .topup-row,
    .product-card,
    .blogger-card,
    .side-card,
    .article-card,
    .review-card,
    .site-footer,
    .catalog-layer,
    .catalog-mega,
    .catalog-sidebar,
    .catalog-content,
    .mobile-search-layer,
    .mobile-search-page,
    .auth-modal-dialog,
    .profile-btn,
    .catalog-btn,
    .theme-switch,
    .search-form,
    .search-form::before,
    .form-field,
    .amount-field-shell,
    .topup-promo-input,
    .topup-payment-method,
    .topup-payment-icon,
    .topup-total-copy,
    .topup-quick-popover,
    .topup-quick-popover-buttons button,
    .currency-tabs button,
    .chip,
    .show-all
  ) {
  transition-property:
    background-color, color, border-color, box-shadow, filter;
  transition-duration: 0.42s;
  transition-timing-function: ease;
}

body.theme-animating .site-header::before {
  transition:
    background-color 0.42s ease,
    border-color 0.42s ease;
}

@keyframes theme-icon-pop {
  0% {
    opacity: 0.35;
    transform: scale(0.62) rotate(-28deg);
  }

  65% {
    opacity: 1;
    transform: scale(1.16) rotate(8deg);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.catalog-btn,
.search-submit {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.catalog-btn {
  min-width: 120px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0%;
  text-decoration: none;
}

.catalog-btn img {
  width: 20px;
  height: 20px;
}

.catalog-btn:hover,
.catalog-btn[aria-expanded="true"],
.search-submit:hover {
  background: var(--blue-dark);
  box-shadow: var(--shadow-blue);
}

.search {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.search-back {
  display: none;
}

.search-form {
  position: relative;
  height: 44px;
  min-width: 688px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: var(--blue);
}

.search-form::before {
  content: "";
  position: absolute;
  inset: 2px 44px 2px 2px;
  z-index: 0;
  border-radius: 8px;
  background: var(--bg-color);
}

.search-form input {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 12px;
  appearance: none;
  background: transparent;
  font-family: Montserrat;
  font-size: 12px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -3%;
  color: #76829b;
}

.search-form input::placeholder {
  color: #76829b;
  opacity: 1;
}

html[data-theme="dark"] .search-form input::placeholder {
  color: #76829b;
  opacity: 1;
}

.search-form:focus-within {
  box-shadow: var(--focus-ring);
}

.search-form input:focus-visible {
  outline: 0;
}

.search-favorite {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-right: 4px;
  border: 0;
  border-radius: 6px;
  background: #eff1f5;
  z-index: 1;
}

html[data-theme="dark"] .search-favorite {
  background-color: var(--field);
}

.search-favorite img {
  width: 14px;
  height: 13px;
}

.search-submit {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  z-index: 1;
}

.search-submit svg {
  width: 20px;
  height: 20px;
}

.bonus-btn {
  width: 60px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
}

.bonus-btn img {
  width: 60px;
  height: 44px;
}

.profile-menu {
  position: relative;
  z-index: 110;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.profile-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background-color: #f2f4f7;
}

html[data-theme="dark"] .profile-btn {
  background-color: var(--field);
}

.profile-btn img {
  width: 20px;
  height: 20px;
}

.search-favorite:hover,
.profile-btn:hover {
  background: var(--field-strong);
  box-shadow: 0 8px 18px rgba(23, 31, 45, 0.1);
}

.bonus-btn:hover img {
  transform: scale(1.03);
  filter: saturate(1.06);
}

.catalog-btn:active,
.search-submit:active,
.search-favorite:active,
.bonus-btn:active,
.profile-btn:active {
  transform: translateY(0) scale(0.98);
}

.profile-toggle-indicator {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #eef1f5;
  border-radius: 50%;
  background-color: var(--blue);
  color: #fff;
  z-index: 2;
}

html[data-theme="dark"] .profile-toggle-indicator {
  border-color: var(--field);
}

.profile-toggle-indicator svg {
  width: 10px;
  height: 10px;
  transform: rotate(180deg);
  transition: transform 0.24s var(--ease);
}

.profile-menu.is-open .profile-toggle-indicator svg {
  transform: rotate(0);
}

.profile-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(270px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 18px;
  background-color: var(--bg-color);
  color: var(--text);
  box-shadow: 0 22px 50px rgba(15, 30, 60, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top right;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.24s var(--ease);
}

.profile-menu.is-open .profile-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.profile-popover-heading {
  padding: 14px 12px 10px;
  text-align: center;
}

.profile-popover-heading h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  color: #1f2937;
}

html[data-theme="dark"] .profile-popover-heading h2 {
  color: #fff;
}

.profile-popover-heading p {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--muted);
}

.profile-popover-heading p span {
  display: block;
  white-space: nowrap;
}

.profile-popover-nav {
  display: grid;
}

.profile-menu-item {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
}

.profile-menu-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.profile-menu-item:disabled {
  color: #8a94a6;
  cursor: not-allowed;
}

.profile-menu-item:disabled .profile-menu-icon {
  opacity: 0.42;
  filter: grayscale(1);
}

.profile-menu-item:not(:disabled):hover {
  background: var(--field);
  transform: translateX(2px);
}

.profile-login {
  color: #6db63e;
}

.profile-login.is-logout {
  color: var(--red);
}

@media (max-width: 767px) {
  .profile-popover {
    top: calc(100% + 12px);
  }
}

.catalog-layer {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--page);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.catalog-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalog-mega {
  width: min(100%, var(--workspace));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  overflow: hidden;
  background: var(--content);
  transform: translateY(-12px);
  transition: transform 0.26s var(--ease);
}

.catalog-layer.is-open .catalog-mega {
  transform: translateY(0);
}

.catalog-side-content {
  display: none;
}

.catalog-sidebar {
  min-height: 100%;
  padding-top: 16px;
  border-right: 1px solid var(--line);
  background: var(--content);
}

.catalog-side-link {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #4c5564;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.catalog-side-link--mobile-all {
  display: none;
}

.catalog-side-all-icon {
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("/assets/catalog.svg") center / 20px 20px no-repeat;
  mask: url("/assets/catalog.svg") center / 20px 20px no-repeat;
}

.catalog-side-link:hover,
.catalog-side-link.is-active {
  background: var(--field);
  color: var(--heading);
}

.catalog-side-wrapper--bonus {
  padding: 4px 20px;
}

.catalog-bonus-link {
  --catalog-bonus-base: #e8f3ff;
  --catalog-bonus-fill: #dcecff;
  --catalog-bonus-progress: 0%;
  position: relative;
  height: 58px;
  border: 1px solid #dcecff;
  border-radius: 10px;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  text-decoration: none;
  background: var(--catalog-bonus-base);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.catalog-bonus-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: var(--catalog-bonus-progress);
  background: var(--catalog-bonus-fill);
  pointer-events: none;
  transition: width 1s linear;
}

.catalog-bonus-link.is-ready {
  --catalog-bonus-progress: 100%;
  --catalog-bonus-fill: #dcecff;
}

.catalog-bonus-link.is-countdown {
  --catalog-bonus-fill: #dcecff;
}

.catalog-bonus-link:hover {
  border-color: #cfe5ff;
  color: var(--heading);
  background: var(--catalog-bonus-base);
}

.catalog-bonus-icon {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.catalog-bonus-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.catalog-bonus-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.catalog-bonus-text strong,
.catalog-bonus-text span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.catalog-bonus-text strong {
  color: #268bf3;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.12;
}

.catalog-bonus-text span {
  color: #6fadf3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.12;
}

.catalog-bonus-arrow {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  color: #6fadf3;
}

html[data-theme="dark"] .catalog-bonus-link {
  border-color: #dcecff;
  color: var(--heading);
}

html[data-theme="dark"] .catalog-side-link img {
  filter: brightness(0) invert(1);
}

.catalog-showcase h2 span,
.catalog-link-group h3 span {
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 0.8;
}

.catalog-chevron {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: transform 0.24s ease-in-out;
}

.catalog-side-link.is-active .catalog-chevron {
  transform: rotate(0deg);
}

html[data-theme="dark"] .catalog-chevron svg path {
  stroke: #b8c1cf;
}

.catalog-content {
  min-width: 0;
  padding: 32px 40px 40px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c7cfdb transparent;
}

.catalog-content::-webkit-scrollbar {
  width: 7px;
}

.catalog-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c7cfdb;
}

.catalog-showcase h2,
.catalog-link-group h3 {
  margin: 0;
  color: var(--heading);
  font-weight: 600;
}

.catalog-block-panel[hidden] {
  display: none;
}

.catalog-showcase h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 1.1;
}

.catalog-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.catalog-showcase-title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.catalog-showcase-all {
  min-width: 128px;
  height: 30px;
  padding: 0 10px 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  background: var(--gray-light);
  color: #9aa4b2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.catalog-showcase-all-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #a0a8b5;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.catalog-showcase-all svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.catalog-showcase-all:hover {
  background: #e8f3ff;
  color: var(--blue);
}

.catalog-showcase-all:hover .catalog-showcase-all-count {
  background: var(--blue);
}

.catalog-showcase-title-link:hover {
  color: var(--blue);
}

.catalog-showcase h2 span {
  font-size: 25px;
}

.catalog-showcase-row {
  margin-top: 24px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78px;
  justify-content: space-between;
  gap: 14px;
}

@media (min-width: 768px) {
  .catalog-showcase-row {
    grid-template-columns: repeat(6, 78px);
    grid-auto-flow: row;
    grid-auto-columns: unset;
    justify-content: start;
    column-gap: clamp(18px, 2.3vw, 34px);
    row-gap: 14px;
  }
}

.catalog-showcase-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
}

.catalog-showcase-item.more {
  display: none;
}

.catalog-showcase-item:hover {
  color: var(--blue);
}

.catalog-showcase-image {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  background: var(--button-soft);
  box-shadow: 0 5px 12px rgba(22, 30, 45, 0.08);
  overflow: hidden;
}

.catalog-showcase-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(38, 139, 243, 0.18);
}

.catalog-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-showcase-item span {
  width: 78px;
  min-height: 26px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-new {
  margin-top: 28px;
}

.catalog-platforms {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 48px 28px;
}

.catalog-link-group {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
}

.catalog-link-group h3 {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1;
}

.catalog-link-group h3 span {
  font-size: 22px;
}

.catalog-link-group a {
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.28;
}

.catalog-link-group a:hover {
  color: var(--blue);
  transform: translateX(2px);
}

main {
  width: min(100%, var(--workspace));
  min-height: calc(100vh - var(--header-height));
  margin-inline: auto;
  padding-top: 16px;
  padding-bottom: 60px;
  background: var(--content);
}

/* Footer Begin */
.site-footer {
  margin-top: 16px;
  padding: 24px;
  border-radius: 18px;
  background-color: var(--bg-color);
  box-shadow: 0px 20px 50px 0px rgba(20, 30, 60, 0.08);
}

.footer-top {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.footer-top img {
  width: 132px;
  height: 45px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-top nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-top nav a {
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  text-decoration: none;
}

.footer-top nav a:hover {
  color: var(--blue);
}

.footer-mid {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

html[data-theme="dark"] .footer-mid {
  border-top-color: #2a2e39;
  border-bottom-color: #2a2e39;
}

.footer-social,
.footer-blogger {
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 10px;
  background-color: var(--gray-light);
}

html[data-theme="dark"] .footer-social,
html[data-theme="dark"] .footer-blogger {
  background-color: #2a2e39;
}

.footer-blogger {
  background-color: var(--blue-light);
}

.footer-info {
  display: flex;
  flex-direction: column;
  margin-right: 24px;
}

.footer-info b {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--text-dark);
}

.footer-info b a {
  text-decoration: none;
  color: var(--blue);
}

.footer-info span {
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--gray);
}

.footer-blogger .footer-info span {
  color: var(--blue);
}

.footer-list {
  display: flex;
  gap: 14px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: var(--bg-color);
  transition: background-color 0.3s ease-in-out;
}

.social-icon:hover {
  background-color: var(--blue);
}

.social-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: filter 0.3s ease-in-out;
}

.social-icon[aria-label="TikTok"] img {
  width: 14px;
  height: 17px;
}

.social-icon:hover img {
  filter: brightness(0) invert(1);
}

.social-icon:hover[aria-label="Dzen"] img {
  filter: brightness(1) invert(1);
}

.footer-payments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-left: auto;
}

.footer-payments span {
  min-width: 54px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-light);
}

html[data-theme="dark"] .footer-payments span {
  border-color: #2a2e39;
  background-color: #2a2e39;
}

.footer-payments img {
  max-width: 39px;
  max-height: 18px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-bottom nav a {
  font-size: 14px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.5px;
  color: var(--gray-dark);
  text-decoration: none;
}

.footer-bottom nav a:hover {
  color: var(--blue);
}

.footer-bottom span {
  font-size: 13px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
  color: #717e95;
}
/* Footer End */

.mobile-search-layer {
  display: none;
}

.mobile-search-page {
  --mobile-search-side: clamp(14px, 3.47vw, 20px);
  --mobile-search-card: clamp(66px, 17.01vw, 98px);
  width: 100%;
  max-width: 576px;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(16px, 4.17vw, 24px) var(--mobile-search-side)
    clamp(44px, 9vw, 64px);
  background: var(--surface-raised);
  color: var(--text);
}

.mobile-search-topbar {
  display: grid;
  grid-template-columns: clamp(44px, 11.11vw, 64px) minmax(0, 1fr);
  gap: clamp(11px, 3vw, 17px);
}

.mobile-search-back,
.mobile-search-form {
  height: clamp(44px, 11.11vw, 64px);
  border: 0;
  border-radius: clamp(12px, 3.47vw, 20px);
  background: var(--field);
}

.mobile-search-back {
  display: grid;
  place-items: center;
  color: var(--text);
}

.mobile-search-back svg,
.mobile-search-form > svg {
  width: clamp(21px, 5.21vw, 30px);
  height: clamp(21px, 5.21vw, 30px);
}

.mobile-search-form {
  padding: 0 clamp(15px, 3.82vw, 22px);
  display: flex;
  align-items: center;
  gap: clamp(11px, 2.78vw, 16px);
}

.mobile-search-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  color: var(--text);
  font-size: clamp(15px, 3.82vw, 22px);
  font-weight: 500;
}

.mobile-search-section h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(19px, 4.51vw, 26px);
  font-weight: 600;
  line-height: 1.14;
}

.mobile-search-services-section {
  margin-top: clamp(28px, 7vw, 40px);
}

.mobile-search-new-section {
  margin-top: clamp(24px, 6vw, 34px);
}

.mobile-search-cards {
  width: calc(100% + var(--mobile-search-side));
  margin: clamp(14px, 3.8vw, 22px) calc(-1 * var(--mobile-search-side)) 0 0;
  padding: 0 var(--mobile-search-side) 4px 0;
  display: flex;
  gap: clamp(9px, 2.08vw, 12px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-search-cards::-webkit-scrollbar {
  display: none;
}

.mobile-search-card {
  width: var(--mobile-search-card);
  min-width: var(--mobile-search-card);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: clamp(8px, 1.91vw, 11px);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-size: clamp(12px, 3.13vw, 18px);
  font-weight: 500;
  line-height: 1.18;
}

.mobile-search-card > img,
.mobile-search-more > span {
  width: var(--mobile-search-card);
  height: var(--mobile-search-card);
  border-radius: clamp(13px, 3.47vw, 20px);
}

.mobile-search-card > img {
  object-fit: cover;
  background: var(--field);
  box-shadow: 0 5px 10px rgba(27, 37, 54, 0.13);
}

.mobile-search-card strong {
  width: calc(var(--mobile-search-card) + 8px);
  overflow: hidden;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mobile-search-more > span {
  display: grid;
  place-items: center;
  background: var(--field);
}

.mobile-search-more > span img {
  width: 36%;
  height: 36%;
  object-fit: contain;
}

.mobile-search-game-cards {
  gap: clamp(18px, 4.34vw, 25px);
}

.mobile-search-game-cards .mobile-search-card > img {
  box-shadow: none;
}

.mobile-search-platforms {
  margin-top: clamp(22px, 5.8vw, 34px);
  display: grid;
}

.mobile-search-platforms a {
  height: clamp(56px, 14.24vw, 82px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(16px, 3.99vw, 23px);
  font-weight: 500;
}

.mobile-search-platforms a > span:last-child {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: clamp(29px, 6.6vw, 38px);
  font-weight: 300;
}

html[data-theme="dark"] .theme-switch {
  background: #222a35;
}

html[data-theme="dark"] .profile-menu-item:disabled {
  color: #596170;
}

html[data-theme="dark"] .profile-menu-item:disabled .profile-menu-icon {
  opacity: 0.36;
}

html[data-theme="dark"] main,
html[data-theme="dark"] .site-header::before {
  background: #16181d;
}

html[data-theme="dark"] .catalog-side-link,
html[data-theme="dark"] .catalog-link-group a {
  color: #b8c1cf;
}

html[data-theme="dark"] .catalog-showcase-all {
  background: var(--field);
  color: #b8c1cf;
}

html[data-theme="dark"] .catalog-showcase-all-count {
  background: #647085;
}

html[data-theme="dark"] .payments span {
  border-color: #313a47;
}

html[data-theme="dark"] .payments img[alt="VISA"],
html[data-theme="dark"] .social-icon[aria-label="TikTok"] img {
  filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
  :root {
    --header-height: 58px;
    --marquee-height: 44px;
    --mobile-gutter: 16px;
  }

  html,
  body {
    width: 100%;
    min-width: 0;
  }

  body {
    font-size: 14px;
  }

  .shell {
    width: auto;
    margin-inline: var(--mobile-gutter);
  }

  .site-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    padding: 4px 0;
  }

  .site-header::before {
    border-bottom: 0;
  }

  .header-inner {
    width: auto;
    height: 100%;
    margin-inline: var(--mobile-gutter);
    gap: 8px;
  }

  .logo-link {
    order: 1;
  }

  .logo-link,
  .logo-link img {
    width: 117px;
    height: 40px;
  }

  .theme-switch {
    width: 24px;
    height: 44px;
    margin-left: 0;
    flex: 0 0 auto;
    order: 2;
  }

  .search {
    display: none;
  }

  body.mobile-search-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 254, 254, 0.8);
    z-index: 21;
  }

  html[data-theme="dark"] body.mobile-search-open::before {
    background-color: rgba(0, 0, 0, 0.52);
  }

  body.mobile-search-open .search {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    column-gap: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 16px var(--mobile-gutter);
    background-color: var(--content);
  }

  .search-back {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    padding: 0;
    outline: 0;
    background-color: #f0f2f5;
  }

  html[data-theme="dark"] .search-back {
    background-color: var(--field);
  }

  html[data-theme="dark"] .search-back svg path {
    stroke: #76829b;
  }

  .search-form {
    min-width: unset;
  }

  .header-inner .catalog-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 10px;
    gap: 0;
    margin-left: 0;
    padding: 0;
    flex: 0 0 44px;
    order: 5;
  }

  .header-inner .catalog-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .header-inner .catalog-btn img {
    width: 22px;
    height: 22px;
  }

  .bonus-btn {
    width: 60px;
    height: 44px;
    margin-left: auto;
    order: 3;
  }

  .bonus-btn img {
    width: 60px;
    height: 44px;
  }

  .profile-menu,
  .profile-btn {
    width: 44px;
    height: 44px;
  }

  .profile-menu {
    position: static;
    margin-left: 0;
    order: 4;
  }

  .profile-btn {
    position: relative;
    border-radius: 10px;
  }

  main {
    width: 100%;
    min-height: auto;
    padding-top: 12px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  /* Footer Begin */
  .site-footer {
    border-radius: 16px;
    padding: 12px 12px 18px;
  }

  .footer-top {
    height: auto;
    display: block;
    margin-bottom: 18px;
  }

  .footer-top img {
    width: 116px;
    height: 40px;
    margin-bottom: 16px;
  }

  .footer-top nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-top nav a {
    font-size: 15px;
  }

  .footer-mid {
    display: block;
    padding: 0;
    border: 0;
  }

  .footer-social,
  .footer-blogger {
    justify-content: space-between;
    padding: 0 12px;
  }

  .footer-social {
    margin-bottom: 4px;
  }

  .footer-blogger {
    margin-bottom: 9px;
  }

  .footer-info {
    margin-right: 8px;
  }

  .footer-info b a {
    white-space: nowrap;
  }

  .footer-list {
    gap: 4px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .social-icon img {
    width: 16px;
    height: 16px;
  }

  .footer-payments span {
    height: 40px;
    flex: 1;
  }

  .footer-bottom {
    display: block;
    margin-top: 13px;
  }

  .footer-bottom nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  /* Footer End */

  .mobile-search-layer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--surface-raised);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.24s var(--ease);
  }

  .mobile-search-layer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .catalog-layer {
    top: calc(var(--header-height) + var(--search-mobile-height));
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - (var(--header-height) + var(--search-mobile-height)));
    z-index: 120;
  }

  .catalog-mega {
    width: 100%;
    max-width: none;
    height: 100%;
    margin-inline: 0;
    display: block;
    overflow: hidden;
  }

  .catalog-layer .catalog-mega.shell {
    width: 100%;
    margin-inline: 0;
  }

  .catalog-sidebar {
    position: relative;
    top: 0;
    z-index: 2;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
    border-right: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .catalog-sidebar::-webkit-scrollbar,
  .catalog-showcase-row::-webkit-scrollbar {
    display: none;
  }

  .catalog-side-wrapper {
    max-width: 100vw;
  }

  .catalog-side-wrapper--bonus {
    padding: 4px 8px;
  }

  .catalog-side-link {
    width: 100%;
    height: 54px;
    flex: 0 0 auto;
    grid-template-columns: 22px auto auto;
    gap: 6px;
    border-radius: 0;
    padding: 0 var(--mobile-gutter);
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0;
    color: var(--text-dark);
  }

  .catalog-side-wrapper--mobile-all .catalog-side-link--desktop-all,
  .catalog-side-wrapper--mobile-all .catalog-side-content {
    display: none;
  }

  .catalog-side-link--mobile-all {
    display: grid;
    text-decoration: none;
  }

  .catalog-bonus-link {
    height: 62px;
    grid-template-columns: 22px minmax(0, 1fr) 20px;
    gap: 6px;
    border-radius: 10px;
    padding: 0 8px;
  }

  .catalog-bonus-icon {
    width: 22px;
    height: 22px;
  }

  .catalog-bonus-icon img {
    width: 22px;
    height: 22px;
  }

  .catalog-bonus-text strong {
    font-size: 16px;
    font-weight: 700;
  }

  .catalog-bonus-text span {
    font-size: 12px;
  }

  .catalog-chevron {
    margin-left: auto;
    transform: rotate(-90deg);
    transition: transform 0.3s ease-in-out;
  }

  .catalog-side-link.is-active .catalog-chevron {
    transform: rotate(0deg);
  }

  .catalog-side-content {
    display: block;
    max-height: 0;
    padding: 0 var(--mobile-gutter);
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .catalog-side-content.is-open {
    max-height: 3000px;
    padding: 12px var(--mobile-gutter) 0;
  }

  .catalog-showcase {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .catalog-side-content.is-open .catalog-showcase {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
  }

  .catalog-showcase {
    margin-bottom: 12px;
  }

  .catalog-showcase:last-child {
    margin-bottom: 0;
  }

  .catalog-showcase h2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--text-dark);
  }

  .catalog-showcase h2 span {
    display: none;
  }

  .catalog-showcase-row {
    width: calc(100% + calc(var(--mobile-gutter) * 2));
    margin: 12px calc(var(--mobile-gutter) * -1) 0;
    padding: 0 var(--mobile-gutter);
    grid-auto-columns: calc((100vw - (var(--mobile-gutter) * 2) - 32px) / 5);
    justify-content: start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-showcase--mobile-limited .catalog-showcase-row {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow-x: hidden;
  }

  .catalog-showcase-item {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    color: #1f2937;
  }

  html[data-theme="dark"] .catalog-showcase-item {
    color: var(--text);
  }

  .catalog-showcase-item.more {
    display: grid;
  }

  .catalog-showcase-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 14px;
  }

  .catalog-showcase-item--section-more .catalog-showcase-image {
    display: grid;
    place-items: center;
    background: #e5e7eb;
    box-shadow: none;
  }

  .catalog-showcase-item--section-more .catalog-showcase-image strong {
    color: #667085;
    font-size: clamp(16px, 4.8vw, 22px);
    font-weight: 700;
    line-height: 1;
  }

  html[data-theme="dark"] .catalog-showcase-item--section-more .catalog-showcase-image {
    background: #303743;
  }

  html[data-theme="dark"] .catalog-showcase-item--section-more .catalog-showcase-image strong {
    color: #b8c1cf;
  }

  .catalog-showcase-item.more .catalog-showcase-image {
    padding: 18px;
    background-color: var(--button-soft);
    box-shadow: unset;
  }

  html[data-theme="dark"] .catalog-showcase-item.more img {
    filter: brightness(0) invert(1);
  }

  .catalog-showcase-item span {
    width: 100%;
    min-height: 0;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .catalog-new {
    margin-top: 0;
  }

  .catalog-content {
    display: none;
  }

  .catalog-platforms {
    display: none;
  }

  .catalog-link-group h3 {
    font-size: 16px;
  }

  .catalog-link-group a {
    font-size: 13px;
  }

  .catalog-content {
    display: none;
  }
}

@media (max-width: 400px) {
  :root {
    --mobile-gutter: 12px;
  }

  .header-inner {
    gap: 6px;
  }

  .bonus-btn,
  .bonus-btn img {
    width: 50px;
    height: 38px;
  }

  .header-inner .catalog-btn {
    width: 46px;
    min-width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .header-inner .catalog-btn img {
    width: 20px;
    height: 20px;
  }

  .profile-menu,
  .profile-btn {
    width: 46px;
    height: 46px;
  }

  .catalog-platforms {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359.98px) {
  /* Footer Begin */
  .footer-social,
  .footer-blogger {
    padding: 0 8px;
  }
  /* Footer End */
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
