* {
  box-sizing: border-box;
  outline: 0;
}
html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: hidden;
}
body {
  background: #171b23;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
}
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: inherit;
}
a button {
  cursor: pointer;
}

.mobile-on {
  display: none;
}
.decs {
  display: block;
}

.box-btn-menu {
  display: flex;
  gap: 8px;
}
.btn-log button,
.btn-sign button {
  min-width: 100px;
  height: 48px;
  border-radius: 8px;
  padding: 12px;
  border: none;
  font: 600 16px/24px Inter, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-log button {
  color: #161920;
  background: #fdbd14;
}
.btn-sign button {
  color: #fff;
  background: transparent;
  border: 1px solid #fdbd14;
}
.main-btn button:hover,
.btn-log button:hover,
.btn-sign button:hover {
  filter: brightness(1.2);
  transition: 0.3s;
}

footer {
  display: flex;
  flex-direction: column;
  background: #000;
}
.footer-contant {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-menu {
  display: flex;
  gap: 80px;
  align-items: flex-end;
}
.footer-menu li {
  margin-bottom: 12px;
}
.footer-menu li:last-child {
  margin-bottom: 0;
}
.footer-menu a {
  color: #fff;
  font: 500 16px Nunito, sans-serif;
  letter-spacing: 0.32px;
  margin: 0 25px;
}
.footer-menu a:hover {
  color: #ff5ab3;
  transition: 0.3s;
}
.rights-reserved {
  color: #adaeb4;
  margin-top: 40px;
  font: 500 14px Nunito, sans-serif;
}
.logo-footer {
  width: 77px;
  height: 83px;
}

/* side bar */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 217px;
  padding: 0px 8px;
  padding-bottom: 15px;
  background: #2c323f;
  color: #e9eef7;
  z-index: 1000;
  transition: width 0.25s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  z-index: 100;
}
.scale-mini {
  transform: scale(0.9);
}
.sb-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.sidebar.small {
  width: 48px;
}
.sb-toggle {
  position: absolute;
  top: 12px;
  left: 8px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: #41495c;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  transform: rotate(180deg);
}

.sb-toggle img {
  width: 24px;
  height: 24px;
  transform: rotate(0deg);
}
.sidebar.small .sb-toggle img {
  transform: rotate(180deg);
}

.sb-head {
  margin-top: 18px;
  width: 100%;
  min-height: 130px;
  padding: 8px;
  background: radial-gradient(
      circle at bottom,
      #7139e9 0,
      rgba(113, 57, 233, 0) 100%
    ),
    linear-gradient(135deg, #612cd0 3%, #2d0995 88%),
    linear-gradient(135deg, #434a5d 6%, #383e4d 94%);
  border-radius: 4px;
}
.t-sidebar-menu-welcome__title {
  max-width: 140px;
  font: 400 10px / 16px Inter, sans-serif;
  letter-spacing: 0.01em;
}
.t-sidebar-menu-welcome__title span {
  font: 800 14px / 14px Sora, sans-serif;
  color: #4edfff;
  white-space: nowrap;
}
.sb-logo {
  display: block;
  width: 160px;
  height: 42px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  margin: 0 auto 12px;
}
.sb-note {
  font-size: 13px;
  color: #9aa3b2;
  text-align: center;
  margin-bottom: 10px;
}
.sb-link {
  margin-left: 6px;
  color: #e9eef7;
  cursor: pointer;
}
.sb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 16px;
}
.btn {
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  background: #fdbd14;
  color: #000000;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  font: 600 14px / 16px Inter, sans-serif;
  text-align: center;
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid #fdbd14;
}

.sb-scroll {
}
.nav-item {
  margin: 4px 0;
}
.nav-item img {
  width: 24px;
  height: 24px;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  width: 100%;
  color: #e7ecf5;
  transition: 0.2s;
  background-color: #41495c;
  font: 400 12px / 18px Inter, sans-serif;
  position: relative;
}
.nav-link:hover {
  background-color: #6c7489;
}
.arr {
  position: absolute;
  left: 90%;
  width: 8px;
  height: 8px;

  background-image: url(../img/arr.svg);
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;

  transition: 0.7s;
}
.drop {
  display: none;
}
.nav-item.open .drop {
  display: block;
  padding: 8px 12px;
  background-color: #131620;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}
.nav-item.open .arr {
  transform: rotate(180deg);
}
.sub {
  color: #c5ccda;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 4px 8px;
  color: #cfcfe5;
  background-color: transparent;
  border-radius: 8px;
  font: 400 12px / 18px Inter, sans-serif;
  margin-bottom: 4px;
}
.sub:hover {
  background: #6c7489;
}
.sub:last-child {
  color: #ffe65f;
}
.nav-item.first-item .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  font: 400 14px / 24px Inter, sans-serif;
  padding: 6px 12px;
}
.nav-item.first-item {
  margin-bottom: 0;
}
.nav-box .nav-item img {
  width: 32px;
  height: 32px;
}
.nav-box,
.nav {
  margin-top: 12px;
  margin-bottom: 12px;
}
.nav-box-bonus {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-box-bonus .nav-link {
  width: 47px;
  height: 44px;
  justify-content: center;
}

.nav-box-bonus .nav-link::after {
  position: absolute;
  bottom: 0;
  width: 28px;
  height: 2px;
  content: "";
  border-top-left-radius: 1px;
  border-top-right-radius: 1px;
}
.nav-box-bonus .nav-link.red::after {
  background-color: #f45532;
  box-shadow: 0 0 5.8px 0 #ff540b;
}
.nav-box-bonus .nav-link.yellow::after {
  background-color: #f7cd62;
  box-shadow: 0 0 5.8px 0 #f7cd62;
}
.nav-box-bonus .nav-link.purple::after {
  background-color: #ab4eff;
  box-shadow: 0 0 5.8px 0 #ab4eff;
}
.nav-box-bonus .nav-link.white::after {
  background-color: #fff;
  box-shadow: 0 0 5.8px 0 #fff;
}
.orange {
  color: #fdbd14;
  font-weight: normal;
}
/* small side bar */
.sidebar.small .drop,
.sidebar.small .sb-head,
.sidebar.small .sb-note,
.sidebar.small .sb-actions,
.sidebar.small .nav-link span,
.sidebar.small .arr {
  display: none;
}
.sidebar.small .sb-logo {
  width: 42px;
  height: 42px;
  margin: 0 auto;
}
.sidebar.small .nav-link {
  justify-content: center;
  padding: 10px;
}

.page {
  margin-left: 217px;
  transition: all 0.3s;
}
body.sb-small .page {
  margin-left: 48px;
}
body.sb-small .sb-toggle {
  background: transparent;
  left: 4px;
  transition: all 0.3s;
}
body.sb-small .nav-link {
  padding: 8px;
  width: 40px;
  height: 40px;
}
body.sb-small .sb-scroll {
  margin-top: 70px;
}
body.sb-small .sidebar {
  padding: 0 4px;
}
.sidebar.small .nav-box,
.sidebar.small .nav-box-bonus .nav-item {
  margin-top: 0;
  margin-bottom: 0;
}
.sidebar.small .nav-box-bonus {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.sidebar.small .nav-item.first-item {
  margin-bottom: 4px;
}

/* header */


.site-navbar {
  background-color: #252a36;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 24px;
}
.site-logo {
  margin-right: 20px;
}

.menu__list {
  display: flex;
  align-items: center;
  gap: 0px;
  margin: 0;
  padding: 0;
}
.menu-logo {
  width: 110px;
}
.menu__item a {
  color: #fdfee7;
  font: 400 16px / 24px Inter, sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 26px;
}
.menu__item a img {
  width: 24px;
  height: 24px;
}
.menu__item a:hover img {
  filter: brightness(0) saturate(100%) invert(87%) sepia(24%) saturate(5095%)
    hue-rotate(347deg) brightness(103%) contrast(98%);
}

.box-btn-menu.decs {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.box-btn-menu.decs button {
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: #ff5ab3;
  color: #fff;
  font-weight: 600;
}

.content {
  padding: 70px 0;
}
.logo-side-bar {
  display: block;
  max-width: 110px;
  margin-top: 12px;
  margin-left: 55px;
}
.sidebar.small .logo-side-bar {
  display: none;
}

.hero {
  padding: 24px 3px 24px 24px;

  position: relative;
}
.hero * {
  box-sizing: border-box;
}
.hero__container {
  max-width: 100%;
}
.hero__swiper {
  overflow: hidden;
  overscroll-behavior: contain;
}
.hero__slide {
  position: relative;
  height: 244px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
}
.hero__controls {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hero__btn {
  width: 20px;
  height: 19.5px;
  position: relative;
  cursor: pointer;
}
.hero__btn svg {
  position: absolute;
  top: -2px;
  left: -8px;
  transform: scale(0.6);
  stroke: #8c8e92;
}
.hero__btn svg:hover {
  stroke: #fbfbfb;
  transition: 0.9s;
}

.hero__slide img {
  height: 244px;
  width: 100%;
  max-width: 500px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero__title {
  font-family: Sora;
  text-transform: uppercase;
  font-size: 32px;
  font-weight: 700;
  color: #fdfee7;
  line-height: 32px;
}
.hero__title strong {
  font-size: 24px;
  font-weight: 400;
}
.hero__slide p {
  color: #fdfee7;
  font-family: Sora;
  margin-top: 8px;
  font-family: Sora, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}
.hero__slide p strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 22px;
  color: #fdbd14;
}

.main-btn button {
  color: #191d25;
  text-align: center;
  cursor: pointer;
  background: #fdbd14;
  border: none;
  border-radius: 8px;
  transition: all 0.3s;
  padding: 8px 12px;
  font: 600 16px / 24px Inter, sans-serif;
}
.hero__pagination.swiper-pagination {
  position: static;
}

.hero__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 4px;
  border-radius: 4px;
  background-color: #8c8e92;
  margin: 0 4px;
  transition: width 0.5s ease, background-color 0.3s ease;
  opacity: 1;
  cursor: pointer;
}

.hero__pagination .swiper-pagination-bullet-active {
  width: 32px;
  height: 4px;
  background-color: #fff;
}

.hero__pagination .swiper-pagination-bullet:hover {
  background-color: #fff;
}
.hero__slide:hover img {
  transform: scale(1.1);
  transition: 0.9s;
}



/* game w game */
.gwg {
  padding: 15px 24px 32px;
  background: transparent;
}
.gwg__container {
  width: 100%;
  margin: 0 auto;
}
.gwg__slide {
  width: auto;
  cursor: pointer;
}
.gwg-card {
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gwg-card__picwrap {
}
.gwg-card__picture {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.gwg-card__picture img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
}
.gwg-card__equal.cant-play {
  background-image: none;
  background-color: #00000070;
}

.gwg-card__picture:hover .gwg-card__equal.cant-play {
  position: absolute;
  background-image: url(../img/none-game.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: #000000b1;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 52px;
  height: 52px;

  transition: ease-in 0.4s;
}
.gwg-card__content {
  display: grid;
  gap: 2px;
}
.gwg-card__name {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  text-overflow: ellipsis;
  font-family: Inter;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gwg-card__win {
  overflow: hidden;
  color: #ffcd4b;
  text-overflow: ellipsis;
  font-family: Inter;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
  max-width: 69px;
  text-wrap: nowrap;
}

.gwg-card__game {
  max-width: 69px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: rgba(255, 255, 255, 0.5);
  text-overflow: ellipsis;
  font-family: Inter;
  text-wrap: nowrap;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
}
/* game */

.kcats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 8px;
  width: 100%;
}
.kcats__bar {
  display: flex;
  gap: 10px;
  align-items: center;
}
.kcats__search-btn {
  height: 44px;
  padding: 0 57px 0 12px;
  border-radius: 12px;
  font: 500 14px / 20px Inter, sans-serif;
  color: hsla(0, 0%, 100%, 0.5);
  display: inline-flex;
  align-items: center;
  text-wrap: nowrap;
  gap: 12px;
  cursor: pointer;
  width: 100%;
  background: #2d3242;
  border-radius: 4px;
  border: none;
}
.kcats__search-btn svg {
  width: 18px;
  height: 18px;
  stroke: #e9ecf1;
}

.kcats__slider {
  position: relative;
  max-width: 764px;
  width: 100%;
}
body.sb-small .kcats__slider {
  max-width: 930px;
}
.kcats__mask {
  position: relative;
}
.kcats__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 5;
}
.kcats__fade--l {
  left: -1%;
  background: linear-gradient(to right, #0f1116e5, rgba(15, 17, 22, 0));
}

.kcats .swiper {
  overflow: hidden;
}
.kcats .swiper-wrapper {
  display: flex;
}
.kcats .swiper-slide {
  width: auto;
}
.kcats__card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  max-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  transition: opacity 0.3s ease-in-out;
  gap: 8px;
  background-color: rgb(45, 50, 66);
}
.kcats__card:hover {
  opacity: 0.7;
}
.kcats__card.sport-btn span {
  color: #fdbd14;
}
.kcats__card,
.kcats__card * {
  transform: none !important;
}
.kcats__card img {
  width: 24px;
  height: 24px;
  pointer-events: none;
  -webkit-user-drag: none;
}
.kcats__card span {
  font: 400 16px / 24px Inter, sans-serif;
  color: white;
}

.kcats__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.kcats__btn {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a1f2d;
  border: 1px solid #394055;
  color: #e9ecf1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 6;
}
.kcats__btn svg {
  width: 18px;
  height: 18px;
}

.kcats-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.kcats-modal.is-open {
  display: flex;
}
.kcats-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.kcats-modal__dialog {
  position: relative;
  z-index: 1;

  padding: 32px;

  width: 100%;

  max-width: 680px;
  background: #3e465a;
  border: 1px solid hsla(0, 0%, 100%, 0.12);
  border-radius: 20px;
}
.kcats-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background-color: #2c313f;
  background-size: 16px;
  border: 1px solid #2c313f;
  border-radius: 8px;
  cursor: pointer;
}
.kcats-modal__title {
  margin: 0 0 12px;
  font-size: 18px;
  color: #e9ecf1;
}

/* poup secrch*/
.gbox {
  max-width: 920px;
}
.gbox h3 {
  font: 500 20px / 28px Inter, sans-serif;
  color: white;
}
.gbox h5 {
  font: 500 16px / 24px Inter, sans-serif;
  color: white;
  margin-bottom: 10px;
}
.gbox__bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
}
.gbox__search-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #394055;
  background: #1a1f2d;
  color: #e9ecf1;
  cursor: pointer;
}
.gbox__search {
  position: relative;
}
.gbox__search-input {
  position: relative;
  width: 100%;
  height: 48px;
  padding: 6px 48px 6px 43px;
  font: 400 16px / 24px Inter, sans-serif;
  color: #fff;
  background: #292e39;
  border: 1px solid #58617b;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: 15px;
}
.gbox__bar img {
  position: absolute;
  top: 27px;
  left: 12px;
  width: 24px;
  height: 24px;
}
.gbox__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 900px) {
  .gbox__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .gbox__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.gcard {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1116;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 147px;
  height: 147px;
}
.gcard__link {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
  color: inherit;
  padding: 12px 12px 16px;
}
.gcard__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1) contrast(1.03);
}
.gcard__hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.922),
    rgba(0, 0, 0, 0.841) 50%,
    rgba(0, 0, 0, 0.823)
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  transition: opacity 0.18s ease;
}
.gcard:hover .gcard__hover {
  opacity: 1;
}
.gcard .gcard__title {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  color: #fff;
  text-overflow: ellipsis;
}
.gcard .gcard__provider {
  margin: 0;

  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  color: hsla(0, 0%, 100%, 0.5);
}
.gcard__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.gbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  font: 600 16px / 24px Inter, sans-serif;
}
.gbtn--primary {
  background: transparent;
  color: #fff;

  height: 44px;
  color: #fff;
  background: none;
  border: 1px solid #ffd873;
}
.gbtn--ghost {
  background: rgba(0, 0, 0, 0.25);
  font: 400 12px / 18px Inter, sans-serif;
  color: #ffe65f;
  border: none;
}
.gbox__empty {
  margin-top: 12px;
  color: #e9ecf1;
  opacity: 0.8;
}
@media (hover: none) {
  .gcard__hover {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.78),
      rgba(0, 0, 0, 0.25) 55%,
      rgba(0, 0, 0, 0)
    );
  }
}

.gcard__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.gbox .gbg-1 {
  background-image: url("../img/game-main-1.webp");
}
.gbox .gbg-2 {
  background-image: url("../img/game-main-2.webp");
}
.gbox .gbg-3 {
  background-image: url("../img/game-main-3.webp");
}
.gbox .gbg-4 {
  background-image: url("../img/game-main-4.webp");
}
.gbox .gbg-5 {
  background-image: url("../img/game-main-5.webp");
}
.gbox .gbg-6 {
  background-image: url("../img/game-main-6.webp");
}
.gbox .gbg-7 {
  background-image: url("../img/game-main-7.webp");
}
.gbox .gbg-8 {
  background-image: url("../img/game-main-8.gif");
}
/* small side bar */
.sidebar.small .sb-head,
.sidebar.small .sb-note,
.sidebar.small .sb-actions,
.sidebar.small .nav-link span,
.sidebar.small .arr {
  display: none;
}

.sidebar.small .nav-item.open > .drop,
.sidebar.small .nav-item.active > .drop {
  display: block;
}

/* === общие переменные для ширины сайдбара === */
:root{
  --sb-w: 240px;
  --sb-w-small: 72px;
  --page-max: 1240px;
  --page-pad: 16px;
}

/* === базовая раскладка === */
.with-sidebar .sidebar{
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sb-w);
  height: 100vh;
  z-index: 1000;
  will-change: width;
  transition: width .25s ease;
}

.with-sidebar header,
.with-sidebar .page{
top: 0;
  margin-left: var(--sb-w);
  transition: margin-left .25s ease;
}
.site-footer {
    margin-left: var(--sb-w);
}
.with-sidebar.sb-small .sidebar{
  width: var(--sb-w-small);
}
.with-sidebar.sb-small header,
.with-sidebar.sb-small .page,
.with-sidebar.sb-small footer{
  margin-left: var(--sb-w-small);
}

.with-sidebar .content{
  max-width: 100%;
    margin: 0 auto;
    padding: 40px 0 var(--page-pad);
    width: 100%;
}

/* hero и сам swiper */
.hero,
.hero__container,
.hero .swiper{
  width: 100%;
  max-width: none;
}

.page, .content{ width: 100%; }

@media (max-width: 1023px){
  .with-sidebar .sidebar{
    transform: translateX(-100%);
    width: var(--sb-w);
    box-shadow: none;
    transition: transform .25s ease;
  }
  .with-sidebar.sb-open .sidebar{
    transform: translateX(0);
  }

  .with-sidebar header,
  .with-sidebar .page,
  .with-sidebar footer{
    margin-left: 0;
  }

  .with-sidebar .sb-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 999;
  }
  .with-sidebar.sb-open .sb-overlay{
    opacity: 1;
    pointer-events: auto;
  }
}

/* на всякий случай */
.hero .swiper-slide{}

/* футер-косметика */
footer .footer-contant{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* =========================
   LAYOUT PATCH
   ========================= */
:root{
  --sb-w: 217px;
  --sb-w-small: 48px;
  --page-max: 1240px;
  --page-pad: 24px;
  --adminbar: 0px;
}
body.admin-bar{ --adminbar: 32px; }

.sidebar{
  position: fixed;
  top: var(--adminbar);
  left: 0;
  bottom: 0;
  width: var(--sb-w);
  height: calc(100dvh - var(--adminbar));
  z-index: 1000;
  overflow: hidden auto;
  transition: width .25s ease;
}
.sidebar.small{ width: var(--sb-w-small); }

header,
.page,
footer{
  margin-left: var(--sb-w);
  transition: margin-left .25s ease;
}
body.sb-small header,
body.sb-small .page,
body.sb-small footer{
  margin-left: var(--sb-w-small);
}

header{
  position: fixed;
  top: var(--adminbar);
  left: 0; right: 0;
  z-index: 900;
}

.content,
.hero__container,
.gwg__container,
.kcats,
.footer-contant{
  max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.content{
  padding-top: max(70px, 70px);
}

.hero{ width: 100%; padding-left: var(--page-pad); padding-right: var(--page-pad); }
.hero__container{ max-width: 100%; margin: 0 auto; padding: 0; }
.hero__swiper{ width: 100%; overflow: visible; }

.swiper-slide{ max-width: none; }

.hero__slide img{
  width: 100%;
  height: 244px;
  object-fit: cover;
}

.hero__controls{
  max-width: var(--page-max);
  margin: 12px auto 0;
  padding: 0 var(--page-pad);
}

footer .footer-contant{
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

@media (max-width: 1023px){
  header,
  .page,
  footer{ margin-left: 0; }

  header{ top: var(--adminbar); }

  .sidebar{
    transform: translateX(-100%);
    width: var(--sb-w);
    height: calc(100dvh - var(--adminbar));
    box-shadow: none;
    transition: transform .25s ease;
  }
  body.sb-open .sidebar{ transform: translateX(0); }

  .content,
  .hero__container,
  .gwg__container,
  .kcats,
  .footer-contant{
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* HERO ширина и маргины */
.hero .swiper,
.hero__swiper{
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* фон-картинка в слайде */
.hero__slide img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  z-index: -1;
}

/* финальный минимум без блокирующих transform */
.hero__swiper {
  width: 100%;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.hero__container { padding-left: 0 !important; }

/* смещение только шапки и футера */
header, footer{
  margin-left: var(--sb-w);
  transition: margin-left .25s ease;
}
body.sb-small header,
body.sb-small footer{
  margin-left: var(--sb-w-small);
}

/* страницу не смещаем */
.page{ margin-left: 0 !important; }

#site-main{ padding-left: var(--sb-w); }
body.sb-small #site-main{ padding-left: var(--sb-w-small); }

/* разрешаем жесты */
.hero__swiper{
  touch-action: pan-x pan-y !important;
  overflow: hidden;
}
.hero__pagination,
.hero__btn{ pointer-events: auto; }

/* — контейнеры Swiper без принудительного transform — */
.hero__swiper,
.gwg__swiper,
#kcats-1 .kcats__swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
  touch-action: pan-y pan-x;
}

.hero__swiper .swiper-wrapper,
.gwg__swiper .swiper-wrapper,
#kcats-1 .kcats__swiper .swiper-wrapper {
  display: flex !important;
  will-change: transform;
}

.hero__swiper .swiper-slide,
.gwg__swiper .swiper-slide,
#kcats-1 .swiper-slide {
  flex-shrink: 0 !important;
}
/* контейнер — скрываем «лишнее» */
.hero__swiper,
.gwg__swiper,
#kcats-1 .kcats__swiper {
  width: 100%;
  overflow: hidden;
  touch-action: pan-x;
}

/* wrapper — НИКАКОГО transform! */
.hero__swiper .swiper-wrapper,
.gwg__swiper .swiper-wrapper,
#kcats-1 .kcats__swiper .swiper-wrapper {
  display: flex;
  will-change: transform;
  transition-property: transform;
}

/* слайды не схлопываются */
.hero__swiper .swiper-slide,
.gwg__swiper .swiper-slide,
#kcats-1 .kcats__swiper .swiper-slide {
  flex-shrink: 0;
}
/* HERO text above image */
.hero__slide{ 
  position: relative;
}
.hero__slide img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;                /* фон ниже текста */
}
.hero__slide .box-hero-title,
.hero__slide .main-btn{
  position: relative;
  z-index: 2;                /* текст и кнопка поверх */
  color: #fdfee7;            /* на всякий случай зададим явный цвет */
}
/* Hero: фикс «квадратиков» на стрелках */
.hero__btn { 
  font: inherit; 
  line-height: 0;        /* убираем влияние шрифтов */
  background: inherit;
    border: navajowhite;
}
.hero__btn::before,
.hero__btn::after {
  content: none !important;   /* рубим иконки из шрифтов, если где-то задаются */
}
.hero__btn svg {
  display: block;
  width: 32px;
  height: 32px;
}

/* Если случайно используются стандартные стрелки Swiper */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: none !important;
}

/* На всякий случай: у пагинации не должно быть «шрифтовых» символов */
.hero__pagination::before,
.hero__pagination::after {
  content: none !important;
}
.kcats-section {
    padding: 10px 3px 24px 24px;
}
/* FOOTER — base */
.site-footer{background:#0f141b;color:#cfd6e4}
.site-footer a{color:#cfd6e4;text-decoration:none}
.site-footer a:hover{color:#fff}

.ft-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 24px;border-bottom:1px solid rgba(255,255,255,.06)}
.ft-legal{opacity:.85;white-space:normal}

.ft-lang{position:relative}
.ft-lang__btn{display:inline-flex;align-items:center;gap:8px;background:#1a212b;border:1px solid rgba(255,255,255,.08);color:#fff;padding:8px 12px;border-radius:8px}
.ft-lang__btn:focus{outline:2px solid #3d7eff;outline-offset:2px}
.ft-lang__list{position:absolute;inset:auto auto 0 0;transform:translateY(100%);background:#1a212b;border:1px solid rgba(255,255,255,.12);border-radius:8px;min-width:140px;padding:8px;display:none;z-index:20}
.ft-lang--open .ft-lang__list{display:block}
.ft-lang__list a{display:block;padding:8px;border-radius:6px}
.ft-lang__list a:hover{background:#242c38}

/* GRID — 6 columns */
.ft-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:28px;padding:28px 24px}
.ft-col h4{margin:0 0 10px;color:#fff;font-size:15px;font-weight:700}
.ft-col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ft-col ul li a{opacity:.95}

/* Social row */
.ft-social{display:flex;align-items:center;gap:14px;padding:12px 24px;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
.ft-social__label{color:#fff;margin-right:6px}
.ft-social__icon img{height:18px}
.ft-18{margin-left:auto;font-weight:800}
.ft-aware{opacity:.9}
.ft-aware a{text-decoration:underline;color:#fff}

/* Strips */
.ft-strip{display:flex;gap:28px;align-items:center;flex-wrap:wrap;padding:16px 24px}
.ft-providers img,.ft-payments img{height:22px;opacity:.9}

/* Copy */
.ft-copy{opacity:.7;font-size:.95rem;padding:10px 24px;border-top:1px solid rgba(255,255,255,.06)}

/* Responsive */
@media (max-width:1200px){ .ft-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:720px){
  .ft-top{flex-direction:column;align-items:flex-start}
  .ft-grid{grid-template-columns:1fr 1fr}
  .ft-18{order:3;margin-left:0}
  .ft-social{flex-wrap:wrap}
}
/* ========== FOOTER ========== */
:root {
  --foot-bg: #101317;
  --foot-bg-2: #0b0e12;
  --foot-text: #c9cdd6;
  --foot-muted: #8b92a1;
  --foot-dim: #6f7787;
  --foot-link: #e6eaef;
  --foot-link-hover: #ffffff;
  --foot-sep: rgba(255,255,255,0.06);
  --foot-accent: #ffd35a;
}

.site-footer {
  background: linear-gradient(180deg, var(--foot-bg) 0%, var(--foot-bg-2) 100%);
  color: var(--foot-text);
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid var(--foot-sep);
}

.site-footer a {
  color: var(--foot-link);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
  align-items: flex-start;
}
.site-footer a:hover { color: var(--foot-link-hover); }

.site-footer .footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

/* top meta row */
.footer__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 0 22px;
  border-bottom: 1px solid var(--foot-sep);
  margin-bottom: 22px;
}
.foot-copy {
  font-size: 13px;
  color: var(--foot-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 10px;
}
.foot-reg {
    padding-top: 10px;
}
.footer__providers {
    padding: 20px 0px;
border-bottom: 1px solid var(--foot-sep);
}
/* language dropdown */
.foot-lang__wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-direction: column;
}
.foot-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--foot-sep);
  border-radius: 10px;
  background: transparent;
  color: var(--foot-link);
  cursor: pointer;
  font: inherit;
}
.foot-lang__btn:hover { border-color: rgba(255,255,255,0.18); }
.foot-lang__chev { opacity:.7; }
.foot-lang__menu {
  position: absolute;
  left: 0;
  top: calc(40% + 8px);
  min-width: 180px;
  background: #0f1318;
  border: 1px solid var(--foot-sep);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: none;
  padding: 8px;
  z-index: 50;
}
.foot-lang__wrap.is-open .foot-lang__menu { display: block; }
.foot-lang__menu li { list-style: none; }
.foot-lang__link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--foot-text);
}
.foot-lang__item.is-current .foot-lang__link { background: rgba(255,255,255,0.06); }
.foot-lang__link:hover { background: rgba(255,255,255,0.09); color: #fff; }
.foot-lang__badge {
  width: 28px;
  height: 28px;
  display: inline-block;
  opacity: .9;
}

/* columns */
.footer__columns {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 28px 32px;
  padding: 8px 0 18px;
  margin-bottom: 20px;
}
.foot-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 12px;
}
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li + li { margin-top: 8px; }
.foot-col a { color: #ffffff80;
    font-size: 12px; }
.foot-col a:hover { color: var(--foot-link-hover); }

/* social + legal */
.footer__social {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer__social > span { color: var(--foot-muted); font-weight: 600; }

.foot-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-social img {
  width: 22px;
  height: 22px;
  display: block;
  filter: grayscale(100%) brightness(1.2);
  opacity: .85;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.foot-social a:hover img { filter: none; opacity: 1; transform: translateY(-1px); }

.foot-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foot-dim);
  font-size: 13px;
}
.foot-legal img { height: 15px; }
.foot-legal a:hover { opacity: .9; }
.foot-legal__age-icon {
    height: 30px!important;
}
/* providers & payments */
.footer__providers,
.footer__payments { padding: 20px 0; width: 100%;}

.foot-logos {
  display: grid;
  grid-template-columns: repeat(9, minmax(0,1fr));
  gap: 18px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}
.foot-logos li { display: flex; align-items: center; justify-content: center; }
.foot-logos img {
  max-width: 120px;
  max-height: 28px;
  width: 100%;
  height: auto;
  opacity: .75;
  filter: grayscale(100%) contrast(1) brightness(1.05);
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.foot-logos img:hover { opacity: 1; filter: none; transform: translateY(-1px); }

/* preloader logo in footer scope if present */
#preloader img.logo-footer,
.logo-footer { width: 130px; height: auto; }

/* responsive */
@media (max-width: 1200px) {
  .footer__columns { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .foot-logos { grid-template-columns: repeat(7, minmax(0,1fr)); }
}
@media (max-width: 992px) {
  .footer__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-copy { white-space: normal; }
  .footer__columns { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .foot-logos { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .foot-legal { margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .footer__columns { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
  .foot-social { gap: 12px; }
  .foot-logos { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .foot-lang__menu { min-width: 160px; }
}
@media (max-width: 520px) {
  .footer__columns { grid-template-columns: 1fr; }
  .foot-logos { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .site-footer .footer__inner { padding: 22px 16px 32px; }
}
.foot-logos{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 18px;
  margin:0;
  padding:0;
  list-style:none;
  justify-content: space-between;
}
.foot-logos li{ line-height:0; }

.footer__providers .foot-logos img,
.footer__payments  .foot-logos img{
  height:13px;
  width:auto;
  display:block;
  object-fit:contain;
  filter:grayscale(1) brightness(.78) contrast(1.05);
  opacity:.55;
  transition:filter .2s ease, opacity .2s ease, transform .2s ease;
}

.footer__providers .foot-logos img:hover,
.footer__payments  .foot-logos img:hover{
  filter:grayscale(1) brightness(.92) contrast(1.1);
  opacity:1;
  transform:translateY(-1px);
}
.foot-legal{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  color:#cfd6dd;
  font-size:12px;
}

.foot-legal__group{
  display:flex;
  align-items:center;
  gap:14px;
}

.foot-legal__aware{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-decoration:none;
  color:#cfd6dd;
  transition:opacity .2s ease;
}

.foot-legal__aware:hover{ opacity:.85; }

.foot-legal__age-icon,
.foot-legal__aware-logo{
  height:13px;
  width:auto;
  display:block;
  filter:grayscale(1) brightness(.9) contrast(1.1);
  opacity:.95;
}

.foot-legal__aware-text{
  line-height:1;
  font-size:12px;
  color:#cfd6dd;
  white-space:nowrap;
}

.foot-legal__text{
  line-height:1.2;
  opacity:.9;
}
.foot-lang__menu[hidden]{display:none;}
.foot-lang.is-open .foot-lang__menu{display:block;}
