: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: #121419;
  --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;
}

/* Header Begin */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  height: var(--header-height);
  background: var(--page);
  overflow: visible;
  isolation: isolate;
}

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%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 140px;
  background: var(--content);
  pointer-events: none;
  z-index: 0;
}

html[data-theme="dark"] .site-header::after {
  background: #16181d;
}

.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-bottom-nav,
    .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;
}

.search-form:focus-within {
  box-shadow: var(--focus-ring);
}

.search-form input:focus-visible {
  outline: 0;
}

.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;
}

.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,
.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);
}

@media (max-width: 767px) {
  .site-header {
    height: var(--header-height);
    padding: 4px 0;
  }

  .site-header::before {
    border-bottom: 0;
  }

  .header-inner {
    gap: 8px;
    height: 100%;
  }

  .logo-link {
    order: 1;
  }

  .logo-link,
  .logo-link img {
    width: 117px;
    height: 40px;
  }

  .theme-switch {
    margin-left: 0;
    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-radius: 12px;
    border: 0;
    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;
  }

  .catalog-btn {
    min-width: 44px;
    margin-left: 0;
    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 {
    order: 3;
    margin-left: auto;
  }

  .profile-menu {
    position: static;
    order: 4;
    margin-left: 0;
  }

  .profile-btn {
    position: relative;
  }
}

/* Header End */

/* Profile Popover Begin */
.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);
  box-shadow: 0 22px 50px rgba(15, 30, 60, 0.22);
  color: var(--text);
  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;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--text);
}

.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;
}

@media (max-width: 767px) {
  .profile-popover {
    top: calc(100% + 12px);
  }
}
/* Profile Popover End  */

.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-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: 600;
}

.catalog-side-link:hover,
.catalog-side-link.is-active {
  background: var(--field);
  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);
}

html[data-theme="dark"] .catalog-chevron svg path {
  stroke: #b8c1cf;
}

.catalog-content {
  min-width: 0;
  padding: 40px 40px 54px;
  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-showcase h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 1.1;
}

.catalog-showcase h2 span {
  font-size: 25px;
}

.catalog-showcase-row {
  margin-top: 29px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84px;
  justify-content: space-between;
  gap: 8px;
}

.catalog-showcase-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  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: 84px;
  height: 84px;
  border-radius: 16px;
  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: 84px;
  min-height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-new {
  margin-top: 47px;
}

.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);
}

.mobile-bottom-nav {
  display: none;
}

/* 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 */

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"] .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 (min-width: 767px) {
  .catalog-side-wrapper .catalog-side-content {
    display: none !important;
  }
}

@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);
  }

  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-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 140;
    height: calc(65px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
    box-shadow: 0 -10px 28px rgba(25, 35, 55, 0.08);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav a {
    min-width: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: var(--muted);
    text-decoration: none;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
  }

  .mobile-bottom-nav svg {
    width: 20px;
    height: 20px;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus,
  .mobile-bottom-nav a[aria-expanded="true"],
  body.catalog-open .mobile-bottom-nav a.is-active,
  body.mobile-search-open .mobile-bottom-nav a.is-active {
    background: transparent;
    color: var(--blue);
  }

  .mobile-bottom-nav a.is-active {
    color: var(--blue);
  }

  .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: 0;
  }

  .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: auto;
  }

  .catalog-sidebar::-webkit-scrollbar,
  .catalog-showcase-row::-webkit-scrollbar {
    display: none;
  }

  .catalog-side-wrapper {
    max-width: 100vw;
  }

  .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.5px;
    color: var(--text-dark);
  }

  .catalog-chevron {
    margin-left: auto;
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
  }

  .catalog-side-link.is-active .catalog-chevron {
    transform: rotate(180deg);
  }

  .catalog-side-content {
    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: 58px;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-showcase-item {
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -1%;
    color: #363636;
  }

  html[data-theme="dark"] .catalog-showcase-item {
    color: var(--text);
  }

  .catalog-showcase-item.more {
    display: grid;
  }

  .catalog-showcase-image {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .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: 58px;
    min-height: 8px;
    -webkit-line-clamp: 1;
  }

  .catalog-new {
    margin-top: 0;
  }

  .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 (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
