@font-face {
  font-family: "Jost";
  src: url("../font/woff/949adacb6381283a-s.p.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../font/woff/9dd75fadc5b3df29-s.p.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #171a24;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* iOS Safe Area поддержка */
@supports (padding: env(safe-area-inset-left)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* Улучшенные scrollbar стили для всего сайта */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4a4a4a;
}

/* Touch-friendly стили для кнопок */
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

/* Уменьшение анимаций для пользователей с особыми требованиями */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sidebar-wheel-active::before {
    animation: none !important;
  }
}

/* Универсальные стили типографики */

/* Заголовки */
h1,
h2,
h3,
h4 {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #f5f7fb;
  margin: 0 0 20px 0;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

/* Параграфы */
p {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Списки */
ul,
ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
  color: #e5e7eb;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #e5e7eb;
}

li:last-child {
  margin-bottom: 0;
}

ul ul,
ol ul {
  margin-top: 8px;
  margin-bottom: 8px;
}

ul ol,
ol ol {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Таблицы */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px 0;
  background-color: rgb(32, 41, 52);
  border-radius: 12px;
  overflow: hidden;
}

thead {
  background-color: rgb(49, 63, 75);
}

th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  color: #f5f7fb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #c72827;
}

td {
  padding: 14px 16px;
  font-size: 0.9375rem;
  color: #e5e7eb;
  border-bottom: 1px solid rgb(49, 63, 75);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Адаптивная типографика */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  h4 {
    font-size: 1.15rem;
  }

  p,
  li {
    font-size: 0.9375rem;
  }

  table {
    font-size: 0.875rem;
  }

  th,
  td {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  p,
  li {
    font-size: 0.875rem;
  }

  th,
  td {
    padding: 10px;
    font-size: 0.8125rem;
  }
}

.app-wrapper {
  display: flex;
  min-height: 100vh;
  justify-content: space-around;
}

.header {
  box-shadow: none;
  z-index: 1299;
  width: auto;
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
  background: linear-gradient(rgb(23, 26, 36) 75%, rgba(23, 26, 36, 0) 100%);
  transition: padding 0.5s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  place-content: center space-between;
  align-items: center;
  flex-flow: row;
  justify-content: center;
}

.header-toolbar {
  background: #202934;
  border-radius: 16px;
  height: 60px;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  padding: 0 30px;
  gap: 16px;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .header {
    left: 264px;
    right: 0;
    transition: left 0.5s ease, width 0.5s ease;
    width: calc(100% - 300px);
  }

  .app-wrapper.sidebar-collapsed .header {
    left: 96px;
    width: calc(100% - 96px);
  }

  .header-toolbar {
    max-width: calc(100% - 60px);
    margin: 0 auto;
    width: 100%;
  }
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo svg {
  width: 46px;
  height: 46px;
  display: none;
}

@media (max-width: 768px) {
  .header-logo svg {
    display: block;
  }
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.header-actions {
  gap: 8px;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
}

.header-action-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-register {
  background-color: #c72827;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  white-space: nowrap;
  height: 48px;
  box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
  .btn-register:hover {
    background-color: #a01f1e;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn-register:active {
    background-color: #a01f1e;
    transform: scale(0.98);
  }
}

.btn-icon {
  display: flex;
  align-items: center;
  margin-right: 4px;
}

.btn-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-login {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #c72827;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.2s ease;
  text-transform: none;
  white-space: nowrap;
  height: 48px;
  box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
  .btn-login:hover {
    background-color: rgba(199, 40, 39, 0.1);
    border-color: #a01f1e;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn-login:active {
    background-color: rgba(199, 40, 39, 0.2);
    border-color: #a01f1e;
    transform: scale(0.98);
  }
}

@media (max-width: 768px) {
  .btn-register {
    padding: 10px 16px;
    font-size: 13px;
    height: 42px;
  }

  .btn-login {
    padding: 10px 20px;
    font-size: 13px;
    height: 42px;
  }

  .btn-icon {
    margin-right: 2px;
  }

  .btn-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .btn-register {
    padding: 8px 12px;
    font-size: 12px;
    height: 38px;
    gap: 4px;
  }

  .btn-login {
    padding: 8px 16px;
    font-size: 12px;
    height: 38px;
  }

  .btn-icon {
    margin-right: 0;
  }

  .btn-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 360px) {
  .btn-register {
    padding: 6px 10px;
    font-size: 11px;
    height: 36px;
  }

  .btn-register span:not(.btn-icon) {
    display: none;
  }

  .btn-login {
    padding: 6px 12px;
    font-size: 11px;
    height: 36px;
  }
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sidebar-btn-wrapper {
  position: absolute;
  top: 10%;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
}

.sidebar-btn-shape {
  width: 42px;
  height: 75px;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(23, 26, 36);
  clip-path: path(
    "M 0 37.7213 C 0 43.7797 2.50647 49.2459 6.52753 53.1162 C 12.8941 59.2442 21 66.1634 21 75 V 0 C 21 8.83656 12.9026 15.8068 6.60245 22.003 C 2.53763 26.0007 0 31.6254 0 37.7213 Z"
  );
}

.sidebar-btn {
  color: rgb(23, 26, 36);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 32px;
  width: 32px;
  padding: 0px;
  border-radius: 50%;
  cursor: pointer;
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
  z-index: 100;
  background-color: rgb(62, 76, 89);
  border: none;
  transition: transform 0.3s ease;
}

.sidebar.collapsed .sidebar-btn svg {
  transform: rotate(180deg);
}

.sidebar {
  margin: 8px;
  padding: 8px;
  background: rgb(32, 41, 52);
  width: 212px;
  overflow-y: visible;
  border-radius: 16px;
  height: 895px;
  transition: width 0.5s, transform 0.3s ease-in-out;
  display: flex;
  flex-flow: column;
  place-content: center space-between;
  align-items: stretch;
  justify-content: space-between;
  flex-shrink: 0;
  position: fixed;
  left: 0;
  top: 0;
  will-change: transform;
}

.sidebar-header {
  padding: 0;
}

.sidebar-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  margin-bottom: 30px;
}

.sidebar-logo {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  width: 240px;
  height: 78px;
}

.sidebar-logo-back {
  color: rgb(23, 26, 36);
  position: absolute;
  top: 29%;
  height: 32px;
  width: 32px;
  padding: 0px;
  right: 0;
  border-radius: 50%;
  cursor: pointer;
  place-content: center;
  align-items: center;
  display: none;
  flex-flow: row;
  justify-content: center;
  z-index: 2;
  background-color: rgb(62, 76, 89);
  transition: background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .sidebar-logo-back:hover {
    background-color: rgb(52, 66, 79);
  }
}

@media (hover: none) and (pointer: coarse) {
  .sidebar-logo-back:active {
    background-color: rgb(52, 66, 79);
    transform: scale(0.95);
  }
}

.sidebar-logo svg,
.sidebar-logo svg.sidebar-logo-full,
.sidebar-logo .sidebar-logo-full {
  width: 240px !important;
  height: 78px !important;
  max-width: 240px !important;
  max-height: 65px !important;
  min-width: 240px !important;
  min-height: 65px !important;
  fill: none;
}

.sidebar-logo-small {
  display: none;
}

.sidebar-wheel-active {
  width: 100%;
  height: 64px;
  padding: 0 8px 0 77px;
  margin-bottom: 12px;
  position: relative;
  place-content: center space-between;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  border-radius: 16px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgb(13, 112, 121) 25.05%,
    rgb(0, 137, 123) 75%
  );
}

@keyframes wheel-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sidebar-wheel-active::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -15px;
  width: 88px;
  height: 88px;
  background-image: url(../images/other/wheel.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 1;
  animation: wheel-rotate 9s linear infinite;
}

.sidebar-wheel-active::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -2px;
  width: 70px;
  height: 70px;
  background-image: url(../images/other/gun.webp);
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  z-index: 2;
}

.wheel-text {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.wheel-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
}

.wheel-arrow {
  z-index: 1;
}

.sidebar-nav {
  flex: 1;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
}

.nav-group {
  margin-bottom: 8px;
}

.nav-group-title {
  margin: 0px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  display: block;
  line-height: 110%;
  color: rgb(229, 231, 235);
  white-space: normal;
  opacity: 1;
  text-decoration: none;
  padding: 8px 8px 4px 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 6px 4px 4px;
  color: #e5e7eb;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: background-color 0.2s ease;
  gap: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }
}

@media (hover: none) and (pointer: coarse) {
  .nav-link:active {
    background-color: rgba(255, 255, 255, 0.08);
  }
}

.nav-link-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-link:first-child .nav-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: rgb(255, 160, 1);
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
}

.nav-link:first-child .nav-link-icon svg {
  width: 20px;
  height: 20px;
}

.nav-link:nth-child(2) .nav-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: rgb(0, 136, 204);
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
}

.nav-link:nth-child(2) .nav-link-icon svg {
  width: 20px;
  height: 20px;
}

.nav-link:nth-child(3) .nav-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: rgb(0, 137, 123);
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
}

.nav-link:nth-child(3) .nav-link-icon svg {
  width: 20px;
  height: 20px;
}

.nav-group:nth-of-type(2) .nav-link .nav-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: rgb(49, 63, 75);
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
  position: relative;
}

.nav-group:nth-of-type(2) .nav-link .nav-link-icon svg,
.nav-group:nth-of-type(2) .nav-link .nav-link-icon img {
  width: 20px;
  height: 20px;
}

.nav-link-icon svg,
.nav-link-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-link-text {
  color: rgb(245, 247, 251);
  background-color: transparent;
  border-radius: 11px;
  max-height: 46px;
  min-width: 0px;
  margin-bottom: 0px;
  width: 100%;
  place-content: center space-between;
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  -webkit-box-pack: justify;
  white-space: nowrap;
}

.sidebar-divider {
  margin: 4px 0px 0px;
  flex-shrink: 0;
  border: none;
  border-bottom: 1px solid rgb(49, 63, 75);
  border-radius: 2px;
  height: 0;
  width: 100%;
}

.sidebar-promo {
  min-height: 46px;
  cursor: pointer;
  border-radius: 8px;
  background: rgb(49, 63, 75);
  padding-left: 8px;
  padding-right: 8px;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  border-bottom: 3px solid rgb(255, 160, 1);
  gap: 8px;
  margin-top: 10px;
}

.promo-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-content {
  flex: 1;
  min-width: 0;
  width: 100%;
  place-content: center space-between;
  align-items: flex-start;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: 4px;
}

.promo-title {
  margin: 0px;
  font-size: 0.625rem;
  font-weight: 500;
  display: block;
  color: rgb(245, 247, 251);
  line-height: 110%;
  opacity: 1;
  text-transform: none;
}

.promo-info {
  place-content: center space-between;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  width: 100%;
}

.promo-amount-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.promo-amount {
  margin: 0px;
  font-size: 0.625rem;
  font-weight: 500;
  display: block;
  color: rgb(245, 247, 251);
  line-height: 110%;
  opacity: 1;
  text-transform: none;
}

.promo-timer {
  display: flex;
  align-items: center;
}

.timer-item {
  margin: 0px;
  font-size: 0.625rem;
  font-weight: 500;
  display: block;
  color: rgb(245, 247, 251);
  line-height: 110%;
  opacity: 1;
  text-transform: none;
}

.timer-unit {
  color: rgb(210, 83, 82);
}

.sidebar-language {
  padding: 0;
}

.language-link {
  color: rgb(245, 247, 251);
  background-color: transparent;
  border-radius: 11px;
  max-height: 46px;
  min-width: 0px;
  padding: 8px 16px 8px 8px;
  margin-bottom: 0px;
  width: 100%;
  place-content: center space-between;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-top: 30px;
}

.language-link:hover {
  background-color: rgb(49, 63, 75) !important;
}

.language-flag-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.language-flag {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.language-flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.language-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

.language-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content {
  flex: 1;
  padding: 30px;
  padding-top: 90px;
  overflow-y: auto;
  min-height: 0;
}

.banners-section {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.banner-carousel {
  display: flex;
  gap: 15px;
  align-items: center;
  position: relative;
  width: 100%;
}

.carousel-btn {
  background-color: #2a2a2a;
  border: none;
  color: #ffffff;
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.carousel-btn-wrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-btn-wrapper-left {
  left: 0;
}

.carousel-btn-wrapper-right {
  right: 0;
}

.carousel-btn-shape {
  width: 42px;
  height: 75px;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(23, 26, 36);
  clip-path: path(
    "M 0 37.7213 C 0 43.7797 2.50647 49.2459 6.52753 53.1162 C 12.8941 59.2442 21 66.1634 21 75 V 0 C 21 8.83656 12.9026 15.8068 6.60245 22.003 C 2.53763 26.0007 0 31.6254 0 37.7213 Z"
  );
}

.carousel-btn-wrapper-left .carousel-btn-shape {
  transform: translate(-50%, -50%) rotateY(180deg);
}

.carousel-btn-wrapper-right .carousel-btn-shape {
  transform: translate(-50%, -50%);
}

.carousel-btn-left,
.carousel-btn-right {
  color: rgb(23, 26, 36);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 32px;
  width: 32px;
  padding: 0px;
  border-radius: 50%;
  cursor: pointer;
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
  z-index: 100;
  background-color: rgb(62, 76, 89);
  border: none;
}

.carousel-arrow-right {
  transform: scaleX(-1);
}

@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover {
    background-color: #3a3a3a;
  }
}

@media (hover: none) and (pointer: coarse) {
  .carousel-btn:active {
    background-color: #3a3a3a;
  }
}

.banner {
  flex: 1 1 0;
  border-radius: 12px;
  padding: 30px;
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 330px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  min-width: 0;
  width: 0;
}

.banner-tg {
  background-image: url("../images/slider/TG.webp");
}

.banner-welcome {
  background-image: url("../images/slider/Welcome.webp");
}

.banner-wheel {
  background-image: url("../images/slider/Wheel.webp");
}

.banner-blackfriday {
  background-image: url("../images/slider/Black_Friday_bonus_site.webp");
}

.banner-sweet {
  background-image: url("../images/slider/Sweet_Holiday_Chase_(Banda).webp");
}

.banner-fortune {
  background-image: url("../images/slider/Fortune_Bags_Site_Promo_(Banda).webp");
}

.banner-newgames {
  background-image: url("../images/slider/New_games.webp");
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.banner-content {
  flex: 1;
  z-index: 2;
  position: relative;
  color: #ffffff;
}

.banner-title {
  margin: 0px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  display: block;
  line-height: 110%;
  color: rgb(229, 231, 235);
  white-space: normal;
  opacity: 1;
  text-decoration: none;
}

.banner-subtitle {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.95;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-btn {
  background-color: #dc2626;
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .banner-btn:hover {
    background-color: #b91c1c;
  }
}

@media (hover: none) and (pointer: coarse) {
  .banner-btn:active {
    background-color: #b91c1c;
    transform: scale(0.97);
  }
}

.filters-main {
  width: 100%;
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 16px;
  background: rgb(32, 41, 52);
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
  gap: 15px;
}

.filter-providers-btn {
  flex-shrink: 0;
}

.filter-providers-content {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background-color: rgb(49, 63, 75);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.filter-providers-content:hover {
  background-color: rgb(58, 72, 84);
}

.filter-providers-content svg {
  width: 24px;
  height: 24px;
}

.filter-providers-content span {
  color: rgb(245, 247, 251);
  font-size: 14px;
  font-weight: 500;
}

.filter-swiper-wrapper {
  flex: 1;
  min-width: 0;
}

.filter-swiper {
  width: 100%;
}

.filter-swiper .swiper-wrapper {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.filter-swiper .swiper-slide {
  width: fit-content;
  margin-right: 8px;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: rgb(49, 63, 75);
  border: 1px solid transparent;
  border-radius: 50px;
  color: rgb(229, 231, 235);
  font-size: 1rem;
  font-weight: 700;
  height: 35px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  background-color: rgb(58, 72, 84);
}

.filter-btn.active {
  background-color: rgb(62, 76, 89);
  border-color: rgb(199, 40, 39);
}

.filter-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.filter-btn-icon img,
.filter-btn-icon svg {
  width: 18px;
  height: 18px;
}

.filter-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: rgb(49 63 75 / 0%);
  border: 1px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.filter-search-btn:hover {
  background-color: rgb(58, 72, 84);
}

.filter-search-btn svg {
  width: 24px;
  height: 24px;
}

.filters-advanced {
  margin-top: 15px;
  display: none;
}

.filters-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filters-form-row {
  display: flex;
  gap: 15px;
  align-items: center;
}

.filter-input-wrapper {
  position: relative;
  flex: 1;
}

.filter-search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background-color: rgb(49, 63, 75);
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgb(245, 247, 251);
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.filter-search-input:focus {
  outline: none;
  border-color: rgb(199, 40, 39);
}

.filter-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.filter-input-icon svg {
  width: 24px;
  height: 24px;
}

.filter-advanced-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: rgb(49, 63, 75);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.filter-advanced-btn:hover {
  background-color: rgb(58, 72, 84);
}

.filter-advanced-btn svg {
  width: 24px;
  height: 24px;
}

.filter-select-wrapper {
  flex: 1;
  position: relative;
}

.filter-select-label {
  display: block;
  margin-bottom: 8px;
  color: rgb(245, 247, 251);
  font-size: 14px;
  font-weight: 500;
}

.filter-select-label-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-select-label-content svg {
  width: 24px;
  height: 24px;
}

.filter-select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background-color: rgb(49, 63, 75);
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgb(245, 247, 251);
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23E5E7EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
  transition: border-color 0.2s ease;
}

.filter-select:focus {
  outline: none;
  border-color: rgb(199, 40, 39);
}

.filter-select option {
  background-color: rgb(49, 63, 75);
  color: rgb(245, 247, 251);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .filter-swiper {
    overflow: visible;
  }
}

@media (hover: hover) and (pointer: fine) {
  .filter-item:hover {
    background-color: #3a3a3a;
  }
}

@media (hover: none) and (pointer: coarse) {
  .filter-item:active {
    transform: scale(0.97);
  }
}

.filter-item.active {
  background-color: #dc2626;
}

.filter-search {
  padding: 10px;
}

.search-icon {
  font-size: 18px;
}

.filter-arrow {
  font-size: 12px;
  margin-left: 5px;
}

.filter-badge {
  background-color: #dc2626;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
}

.section-view-all {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  padding: 5px 10px;
}

.view-all-arrows {
  display: flex;
  gap: 5px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.banda-games-carousel {
  width: 100%;
  margin-bottom: 16px;
}

.banda-games-carousel .banda-carousel-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 16px;
}

.banda-games-carousel .banda-carousel-slide {
  width: auto;
  height: auto;
}

.banda-game-card {
  border-radius: 8px;
  aspect-ratio: 1.45 / 1;
  height: 200px;
  max-width: 280px;
  width: 100%;
  position: relative;
  cursor: pointer;
  display: block;
  overflow: hidden;
  background-color: rgb(32, 41, 52);
  flex: 0 1 auto;
}

.banda-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.3s ease;
}

.banda-game-card:hover img {
  filter: blur(4px);
}

.banda-game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 26%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.banda-game-card::after {
  content: "ИГРАТЬ";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #c72827;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.2s ease;
  z-index: 2;
  pointer-events: none;
}

.banda-game-card:hover::before {
  opacity: 1;
}

.banda-game-card:hover::after {
  opacity: 1;
}

.banda-game-card:hover::after:hover {
  background-color: #a01f1e;
}

@media (min-width: 1025px) {
  .main-content {
    margin-left: 230px;
    transition: margin-left 0.5s ease;
  }

  .app-wrapper.sidebar-collapsed .main-content {
    margin-left: 80px;
  }

  .footer {
    margin-left: 230px;
    transition: margin-left 0.5s ease;
  }

  .app-wrapper.sidebar-collapsed .footer {
    margin-left: 80px;
  }

  /* Улучшенная адаптация плиток игр для ноутбуков */
  .banda-games-carousel .banda-carousel-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    justify-content: start;
  }

  .banda-game-card {
    max-width: 100%;
    height: auto;
    min-height: 180px;
  }
}

/* Средние ноутбуки (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .banda-games-carousel .banda-carousel-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
  }

  .banda-game-card {
    min-height: 160px;
  }
}

/* Большие ноутбуки (1367px - 1600px) */
@media (min-width: 1367px) and (max-width: 1600px) {
  .banda-games-carousel .banda-carousel-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }

  .banda-game-card {
    min-height: 190px;
  }
}

/* Очень большие экраны (1601px - 1919px) */
@media (min-width: 1601px) and (max-width: 1919px) {
  .banda-games-carousel .banda-carousel-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .banda-game-card {
    min-height: 200px;
  }
}

@media (min-width: 1920px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
  }

  .main-content {
    padding: 75px 75px 0px 75px;
    padding-top: 85px;
  }

  .banner-title {
    font-size: 36px;
  }

  .banner-subtitle {
    font-size: 18px;
  }

  /* Оптимизация плиток для больших экранов */
  .banda-games-carousel .banda-carousel-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
  }

  .banda-game-card {
    min-height: 220px;
  }
}

.game-card {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  height: 200px;
  max-width: 290px;
  position: relative;
  cursor: pointer;
  place-content: center;
  align-items: center;
  display: flex;
  flex-flow: row;
  justify-content: center;
  gap: 16px;
  background-color: rgb(32, 41, 52);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.game-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.game-title {
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.game-provider {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.winning-card .winning-info {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px 12px;
  font-size: 12px;
}

.winning-user {
  color: #888;
}

.winning-amount {
  color: #16a34a;
  font-weight: 600;
}

@media (min-width: 1201px) and (max-width: 1600px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .sidebar {
    width: 212px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .banner-title {
    font-size: 28px;
  }

  .main-content {
    padding: 20px;
    padding-top: 90px;
  }

  /* Адаптация плиток для средних ноутбуков */
  .banda-games-carousel .banda-carousel-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
  }

  .banda-game-card {
    min-height: 160px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sidebar {
    position: fixed;
    left: -280px;
    transform: translateX(0);
  }

  .header {
    left: 0;
    right: 0;
    width: auto;
    /*     margin: 0.7rem; */
  }

  .banner {
    padding: 25px;
  }

  .banner-title {
    font-size: 24px;
  }

  .banner-subtitle {
    font-size: 14px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  /* Адаптация плиток для планшетов */
  .banda-games-carousel .banda-carousel-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    justify-content: start;
  }

  .banda-game-card {
    max-width: 100%;
    height: auto;
    min-height: 150px;
  }
}

@media (max-width: 768px) {
  .app-wrapper {
    flex-direction: column;
  }

  .sidebar-btn-wrapper {
    display: none;
  }

  .filters-main {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 12px;
    padding: 12px;
    flex-wrap: nowrap;
  }

  .filters-main::-webkit-scrollbar {
    height: 4px;
  }

  .filters-main::-webkit-scrollbar-track {
    background: rgba(49, 63, 75, 0.3);
    border-radius: 2px;
  }

  .filters-main::-webkit-scrollbar-thumb {
    background: rgb(49, 63, 75);
    border-radius: 2px;
  }

  .filter-providers-btn {
    flex-shrink: 0;
  }

  .filter-providers-content {
    padding: 10px 14px;
    white-space: nowrap;
  }

  .filter-swiper-wrapper {
    flex-shrink: 0;
    min-width: 0;
  }

  .filter-search-btn {
    flex-shrink: 0;
  }

  .filter-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .filter-btn-icon {
    width: 16px;
    height: 16px;
  }

  .filter-btn-icon img,
  .filter-btn-icon svg {
    width: 16px;
    height: 16px;
  }

  .filters-advanced {
    margin-top: 12px;
  }

  .filters-form-row {
    flex-direction: column;
    gap: 12px;
  }

  .filter-input-wrapper,
  .filter-select-wrapper {
    width: 100%;
  }

  .filter-advanced-btn {
    width: 100%;
    height: 44px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 16px;
    border-radius: 0;
    z-index: 1500;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .sidebar-logo-wrapper {
    margin-bottom: 16px;
  }

  .sidebar-logo-back {
    display: flex;
  }

  .sidebar-wheel-active {
    margin-bottom: 16px;
  }

  .sidebar-nav {
    padding: 0;
  }

  .nav-link {
    padding: 5px 16px;
    font-size: 15px;
  }

  .nav-group-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .content-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .header {
    margin: 0;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .header-toolbar {
    padding: 0 12px;
  }

  .header-logo svg {
    width: 36px;
    height: 36px;
    display: block;
  }

  .main-content {
    padding: 15px;
    padding-top: 90px;
  }

  .banner-carousel {
    flex-direction: column;
    gap: 10px;
    width: 95%;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .carousel-btn-wrapper {
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .carousel-btn-wrapper-left {
    left: 0;
  }

  .carousel-btn-wrapper-right {
    right: 0;
  }

  .carousel-btn-shape {
    width: 37px;
    height: 75px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .carousel-btn-wrapper-left .carousel-btn-shape {
    transform: translate(-50%, -50%) rotateY(180deg);
  }

  .carousel-btn-wrapper-right .carousel-btn-shape {
    transform: translate(-50%, -50%);
  }

  .carousel-btn-left,
  .carousel-btn-right {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 32px;
    width: 32px;
    z-index: 100;
  }

  .banner {
    width: 100%;
    min-height: 300px;
    padding: 20px;
    padding-left: 50px;
    padding-right: 50px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .banner-content {
    position: absolute;
    bottom: 20px;
    left: 50px;
    right: 50px;
    width: auto;
    text-align: left;
  }

  .banner-title {
    font-size: 20px;
  }

  .banner-subtitle {
    font-size: 13px;
  }

  .banner-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .filters-section {
    margin-bottom: 20px;
  }

  .filter-swiper .swiper-wrapper {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
  }

  .filter-swiper-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .filter-swiper-wrapper::-webkit-scrollbar {
    height: 4px;
  }

  .filter-swiper-wrapper::-webkit-scrollbar-track {
    background: rgba(49, 63, 75, 0.3);
    border-radius: 2px;
  }

  .filter-swiper-wrapper::-webkit-scrollbar-thumb {
    background: rgb(49, 63, 75);
    border-radius: 2px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-view-all {
    font-size: 12px;
  }

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

  .games-section {
    margin-bottom: 24px;
  }

  .section-header {
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .banda-games-carousel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 0;
  }

  .banda-games-carousel .banda-carousel-wrapper,
  .banda-games-carousel .swiper-wrapper {
    display: contents !important;
    transform: none !important;
    transition-duration: 0ms !important;
    width: 100% !important;
    height: auto !important;
  }

  .banda-games-carousel .banda-carousel-slide,
  .banda-games-carousel .swiper-slide,
  .banda-games-carousel .banda-carousel-slide[style],
  .banda-games-carousel .swiper-slide[style] {
    width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    transform: none !important;
  }

  .banda-game-card {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.45 / 1;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .banda-games-carousel {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 0;
  }

  .banda-games-carousel .banda-carousel-wrapper,
  .banda-games-carousel .swiper-wrapper {
    display: contents !important;
    transform: none !important;
    transition-duration: 0ms !important;
    width: 100% !important;
    height: auto !important;
  }

  .banda-games-carousel .banda-carousel-slide,
  .banda-games-carousel .swiper-slide,
  .banda-games-carousel .banda-carousel-slide[style],
  .banda-games-carousel .swiper-slide[style] {
    width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    transform: none !important;
  }

  .banda-game-card {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.45 / 1;
  }
}

@media (max-width: 480px) {
  .header-toolbar {
    padding: 0 12px;
  }

  .filters-main {
    padding: 8px;
    gap: 8px;
  }

  .filter-providers-content {
    padding: 8px 12px;
    font-size: 12px;
  }

  .filter-providers-content svg {
    width: 18px;
    height: 18px;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .filter-btn-icon {
    width: 14px;
    height: 14px;
  }

  .filter-btn-icon img,
  .filter-btn-icon svg {
    width: 14px;
    height: 14px;
  }

  .filter-search-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

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

  .filter-advanced-btn {
    height: 40px;
  }

  .filter-search-input {
    padding: 10px 14px 10px 40px;
    font-size: 13px;
  }

  .filter-select {
    padding: 10px 36px 10px 14px;
    font-size: 13px;
  }

  .main-content {
    padding: 10px;
    padding-top: 80px;
  }

  .banner {
    padding: 15px;
    padding-left: 45px;
    padding-right: 45px;
    min-height: 180px;
    align-items: flex-start;
    justify-content: center;
  }

  .banner-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 45px;
    width: auto;
    text-align: left;
  }

  .banner-title {
    font-size: 18px;
  }

  .banner-subtitle {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .banner-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .section-title {
    font-size: 18px;
  }

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

  .games-section {
    margin-bottom: 20px;
  }

  .section-header {
    margin-bottom: 10px;
  }

  .banda-games-carousel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 0;
  }

  .banda-games-carousel .banda-carousel-wrapper,
  .banda-games-carousel .swiper-wrapper {
    display: contents !important;
    transform: none !important;
    transition-duration: 0ms !important;
  }

  .banda-games-carousel .banda-carousel-slide,
  .banda-games-carousel .swiper-slide {
    width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  .banda-game-card {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.45 / 1;
  }
}

/* Очень маленькие экраны (менее 360px) */
@media (max-width: 360px) {
  .header {
    height: 60px;
    margin: 0;
  }

  .header-toolbar {
    padding: 0 10px;
  }

  .header-logo svg {
    width: 32px;
    height: 32px;
    display: block;
  }

  .sidebar-logo-back {
    display: flex;
  }

  .main-content {
    padding: 8px;
    padding-top: 90px;
  }

  .banner {
    padding: 12px;
    padding-left: 40px;
    padding-right: 40px;
    min-height: 160px;
    align-items: flex-start;
    justify-content: center;
  }

  .banner-content {
    position: absolute;
    bottom: 12px;
    left: 40px;
    right: 40px;
    width: auto;
    text-align: left;
  }

  .banner-title {
    font-size: 16px;
  }

  .banner-subtitle {
    font-size: 11px;
  }

  .banner-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .filter-item {
    padding: 6px 10px;
    font-size: 12px;
  }

  .section-title {
    font-size: 16px;
  }

  .games-section {
    margin-bottom: 16px;
  }

  .section-header {
    margin-bottom: 8px;
  }

  .games-grid {
    gap: 8px;
  }

  .banda-games-carousel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    margin-bottom: 0;
  }

  .banda-games-carousel .banda-carousel-wrapper,
  .banda-games-carousel .swiper-wrapper {
    display: contents !important;
    transform: none !important;
    transition-duration: 0ms !important;
  }

  .banda-games-carousel .banda-carousel-slide,
  .banda-games-carousel .swiper-slide {
    width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  .banda-game-card {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.45 / 1;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .header {
    height: 80px;
  }

  .header-logo svg {
    display: block;
  }

  .sidebar {
    width: 260px;
    transform: translateX(-100%);
  }

  .sidebar-logo-back {
    display: flex;
  }

  .main-content {
    padding: 10px;
    padding-top: 90px;
  }

  .banner {
    min-height: 150px;
    padding: 15px;
    padding-left: 50px;
    padding-right: 50px;
    align-items: flex-start;
    justify-content: center;
  }

  .banner-content {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 50px;
    width: auto;
    text-align: left;
  }

  .banner-title {
    font-size: 20px;
  }

  .banner-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .banda-games-carousel {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 0;
  }

  .banda-games-carousel .banda-carousel-wrapper,
  .banda-games-carousel .swiper-wrapper {
    display: contents !important;
    transform: none !important;
    transition-duration: 0ms !important;
    width: 100% !important;
    height: auto !important;
  }

  .banda-games-carousel .banda-carousel-slide,
  .banda-games-carousel .swiper-slide,
  .banda-games-carousel .banda-carousel-slide[style],
  .banda-games-carousel .swiper-slide[style] {
    width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    transform: none !important;
  }

  .banda-game-card {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.45 / 1;
  }
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar.collapsed .sidebar-logo-full {
  display: none;
}

.sidebar.collapsed .sidebar-logo-small {
  display: block !important;
  width: 46px;
  height: 46px;
}

.sidebar.collapsed .nav-link-text,
.sidebar.collapsed .nav-group-title {
  display: none;
}

.sidebar.collapsed .sidebar-language .language-text,
.sidebar.collapsed .sidebar-language .language-arrow {
  display: none;
}

.sidebar.collapsed .sidebar-language .language-link {
  justify-content: center;
  padding: 8px;
}

.sidebar.collapsed .sidebar-language .language-flag-wrapper {
  justify-content: center;
}

.sidebar.collapsed .sidebar-promo .promo-content {
  display: none;
}

.sidebar.collapsed .sidebar-promo {
  justify-content: center;
  padding: 8px;
  min-height: auto;
  height: auto;
}

.sidebar.collapsed .sidebar-wheel-active .wheel-text,
.sidebar.collapsed .sidebar-wheel-active .wheel-arrow {
  display: none;
}

.sidebar.collapsed .sidebar-wheel-active {
  padding: 0;
  height: 60px;
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin: 30px auto 12px;
  overflow: hidden;
}

.sidebar.collapsed .sidebar-wheel-active::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: none;
  background-position: center center;
  background-size: contain;
}

.sidebar.collapsed .sidebar-wheel-active::after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: none;
  background-position: center center;
  background-size: contain;
}

.sidebar.collapsed .nav-link {
  justify-content: center;
  padding: 8px;
}

.sidebar.collapsed .nav-link-icon {
  margin: 0;
}

.sidebar.collapsed .sidebar-logo-wrapper {
  justify-content: center;
  margin-bottom: 20px;
}

.footer {
  padding: 8px 24px;
}

.footer-container {
  border-radius: 16px;
  height: 100%;
  margin: 0 auto 8px;
  background: rgb(32, 41, 52);
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 32px;
  box-sizing: border-box;
  width: 100%;
  max-width: calc(100% - 100px);
}

.footer-info {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.footer-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer-icon svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.footer-icon-badge {
  width: 40px;
  height: 45px;
  flex-shrink: 0;
}

.footer-text {
  font-size: 11px;
  line-height: 1.6;
  color: #8b92a0;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 80px;
  flex-shrink: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

.footer-column-title {
  font-size: 15px;
  font-weight: 600;
  color: #f5f7fb;
  margin: 0 0 8px 0;
}

.footer-link {
  font-size: 13px;
  color: #8b92a0;
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-link:hover {
  color: #f5f7fb;
}

.footer-link-blue {
  color: #3b82f6;
}

.footer-link-blue:hover {
  color: #60a5fa;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    padding: 24px;
  }

  .footer-links {
    gap: 40px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 15px;
    margin-top: 30px;
  }

  .footer-container {
    gap: 20px;
    padding: 16px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
  }

  .footer-info {
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
  }

  .footer-icon {
    flex-shrink: 0;
    gap: 8px;
  }

  .footer-icon svg {
    width: 40px;
    height: 40px;
  }

  .footer-icon-badge {
    width: 32px;
    height: 36px;
  }

  .footer-text {
    font-size: 9px;
    line-height: 1.5;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .footer-column {
    min-width: auto;
  }

  .footer-column-title {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-link {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 10px;
    margin-top: 20px;
  }

  .footer-container {
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
  }

  .footer-info {
    gap: 10px;
  }

  .footer-icon {
    gap: 6px;
  }

  .footer-icon svg {
    width: 36px;
    height: 36px;
  }

  .footer-icon-badge {
    width: 28px;
    height: 32px;
  }

  .footer-text {
    font-size: 8px;
    line-height: 1.4;
  }

  .footer-column-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .footer-link {
    font-size: 10px;
  }

  .footer-links {
    gap: 12px;
  }
}

.main_text p {
  margin: 0 0 14px;
  color: #cfcfd7;
}

.faq-section {
  margin: 40px 0;
  padding: 0 20px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: #1e2129;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2d35;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #3a3d45;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #252831;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #c72827;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

.faq-answer p {
  color: #cfcfd7;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.contacts-section {
  margin: 40px 0;
  padding: 0 20px;
}

.contacts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-item {
  background: #1e2129;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #2a2d35;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: #3a3d45;
  transform: translateY(-2px);
}

.contact-icon {
  flex-shrink: 0;
  color: #c72827;
  width: 24px;
  height: 24px;
}

.contact-content {
  flex: 1;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: #c72827;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 15px;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

.contact-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #c72827;
}

.contacts {
  padding: 32px;
  margin-top: 60px;
  border-radius: 16px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  background: rgb(32, 41, 52);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(199, 40, 39, 0.1);
  border-radius: 10px;
  color: #c72827;
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-block strong {
  font-size: 12px;
  font-weight: 600;
  color: #8b92a0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.4;
}

.contact-block span,
.contact-block a {
  font-size: 14px;
  color: #cfcfd7;
  line-height: 1.5;
  margin: 0;
}

.contact-block a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-block a:hover {
  color: #c72827;
}

.footer-update-date {
  margin-top: 16px;
  font-size: 12px;
  color: #8a8a8a;
  text-align: center;
}

@media (max-width: 768px) {
  .faq-section,
  .contacts-section {
    padding: 0 16px;
    margin: 32px 0;
  }

  .contacts {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .contact-block {
    padding: 16px;
    gap: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .faq-question {
    padding: 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 16px 16px;
  }

  .contacts-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-item {
    padding: 20px;
  }

  .contact-label {
    font-size: 13px;
  }

  .contact-value {
    font-size: 14px;
  }

  .contact-block strong {
    font-size: 11px;
  }

  .contact-block span,
  .contact-block a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .contacts {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .contact-block {
    padding: 14px;
    gap: 10px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-block strong {
    font-size: 10px;
  }

  .contact-block span,
  .contact-block a {
    font-size: 12px;
  }
}

.youtube-video-section {
  margin: 20px auto;
}

.custom-video-player {
  position: relative;
  width: 100%;
  padding-bottom: 16.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: linear-gradient(
    90deg,
    rgb(32, 41, 52) 25%,
    rgb(0, 137, 123) 100%
  );
  transition: padding-bottom 0.5s ease;
}

.custom-video-player.playing {
  padding-bottom: 56.25%;
}

.video-background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-bg-game {
  position: absolute;
  opacity: 0.2;
  filter: blur(1px);
  pointer-events: none;
}

.video-bg-game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.video-bg-game-1 {
  width: 360px;
  height: 240px;
  top: 10%;
  left: -100px;
}

.video-bg-game-2 {
  width: 400px;
  height: 280px;
  top: 60%;
  right: -120px;
}

.video-bg-game-3 {
  width: 320px;
  height: 220px;
  top: 30%;
  right: 15%;
}

.video-bg-game-4 {
  width: 380px;
  height: 260px;
  bottom: 15%;
  left: 10%;
}

.video-bg-game-5 {
  width: 340px;
  height: 230px;
  top: 5%;
  right: 5%;
}

.video-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.video-thumbnail {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: 90%;
  max-width: 70%;
  object-fit: contain;
  object-position: bottom right;
}

.video-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
}

.video-logo svg {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.video-duration {
  color: #f5f7fb;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  display: none;
  z-index: 1;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.custom-video-player.playing .video-preview {
  display: none !important;
}

.custom-video-player.playing .video-container {
  display: block !important;
}

@media (max-width: 1024px) {
  .video-bg-game-1,
  .video-bg-game-2,
  .video-bg-game-3,
  .video-bg-game-4,
  .video-bg-game-5 {
    width: 200px !important;
    height: 135px !important;
    opacity: 0.15;
  }
}

@media (max-width: 768px) {
  .youtube-video-section {
    margin: 10px auto;
  }

  .custom-video-player {
    border-radius: 12px;
	  padding-bottom: 26.25%;
  }
  
  


  .video-play-btn {
    transform: translate(-50%, -50%) scale(0.8);
  }

  .video-play-btn svg {
    width: 64px;
    height: 64px;
  }

  .video-info {
    padding: 16px;
    top: 55%;
    bottom: auto;
  }

  .video-duration {
    font-size: 16px;
  }

  .video-logo {
    top: 10px;
    left: 10px;
  }

  .video-logo svg {
    width: 50px;
    height: 50px;
  }

  /* Уменьшаем размеры изображений игр на мобильных */
  .video-bg-game {
    opacity: 0.12;
    filter: blur(0.5px);
  }

  .video-bg-game-1 {
    width: 140px !important;
    height: 95px !important;
    top: 5%;
    left: -40px;
  }

  .video-bg-game-2 {
    width: 150px !important;
    height: 100px !important;
    top: 55%;
    right: -50px;
  }

  .video-bg-game-3 {
    width: 130px !important;
    height: 88px !important;
    top: 25%;
    right: 10%;
  }

  .video-bg-game-4 {
    width: 145px !important;
    height: 98px !important;
    bottom: 10%;
    left: 5%;
  }

  .video-bg-game-5 {
    width: 135px !important;
    height: 91px !important;
    top: 2%;
    right: 3%;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  /* Еще больше уменьшаем изображения */
  .video-bg-game-1,
  .video-bg-game-2,
  .video-bg-game-3,
  .video-bg-game-4,
  .video-bg-game-5 {
    width: 100px !important;
    height: 68px !important;
    opacity: 0.1;
  }

  .video-bg-game-1 {
    top: 8%;
    left: -30px;
  }

  .video-bg-game-2 {
    top: 60%;
    right: -35px;
  }

  .video-bg-game-3 {
    top: 30%;
    right: 8%;
  }

  .video-bg-game-4 {
    bottom: 12%;
    left: 3%;
  }

  .video-bg-game-5 {
    top: 3%;
    right: 2%;
  }
}

/* Большие экраны */
@media (min-width: 1440px) {
  .video-bg-game-1 {
    width: 450px;
    height: 300px;
  }

  .video-bg-game-2 {
    width: 500px;
    height: 350px;
  }

  .video-bg-game-3 {
    width: 400px;
    height: 275px;
  }

  .video-bg-game-4 {
    width: 475px;
    height: 325px;
  }

  .video-bg-game-5 {
    width: 425px;
    height: 290px;
  }
}
