/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #fdfdfd;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #414141;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #fff529;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

.header .nav-right a {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 4px;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05),
    6px 4px 19px rgb(115 103 240 / 20%);
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  display: none;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem !important;
  height: 100% !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: 0.375rem !important;
}

.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: hsl(var(--base));
  background-color: transparent;
  border-radius: 5px;
  height: 100%;
}

.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--base));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  /* border: 1px solid #fff; */
  /* border-top-color: var(--border-color); */
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width));
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base));
  display: inline-block;
  border-radius: 100%;
}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
  border-radius: 5px;
}

.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }
}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
  background: unset;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
  border: none;
  background: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;
}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 500;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover + .payment-item__btn {
  border-top-color: #fff;
}

.payment-item__btn p,
.payment-item__btn span {
  color: #b5b5b5;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.adjust-height .payment-system-list.is-scrollable {
  max-height: 461px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

label.required:after {
  content: "*";
  color: #dc3545 !important;
  margin-left: 2px;
}

/* Plataforma Games brand layer */
:root {
  --pg-ink: #08090d;
  --pg-panel: #10121a;
  --pg-violet: #8b5cf6;
  --pg-cyan: #22d3ee;
}

body {
  background: var(--pg-ink);
  color: #f8fafc;
}

.header {
  background: rgba(8, 9, 13, 0.9) !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
  backdrop-filter: blur(18px);
}

.brand-wordmark {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: #f8fafc !important;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, var(--pg-violet), var(--pg-cyan));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.28);
}

.brand-name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  color: var(--pg-cyan);
}

.brand-name span { color: #fff; }

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active { color: var(--pg-cyan) !important; }

.btn--gradient,
.btn--base {
  background: linear-gradient(110deg, var(--pg-violet), var(--pg-cyan)) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 8px 26px rgba(139, 92, 246, 0.24);
}

.banner-section {
  background-color: var(--pg-ink);
  background-image: radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.25), transparent 32%), radial-gradient(circle at 85% 30%, rgba(34, 211, 238, 0.16), transparent 28%);
}

.about-section,
.game-section,
.blog-section,
.faq-section,
.statistics-section { background: var(--pg-ink); }

.about-card,
.game-card,
.blog-card,
.custom--card {
  background: linear-gradient(160deg, rgba(23, 26, 37, 0.94), rgba(12, 14, 21, 0.94)) !important;
  border: 1px solid rgba(139, 92, 246, 0.16) !important;
  border-radius: 18px !important;
}

.footer-area {
  background: #06070a;
  border-top: 1px solid rgba(34, 211, 238, 0.15);
}

@media (max-width: 767px) {
  .brand-name { font-size: 1.25rem; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
}

/* Reference-inspired casino app layout */
:root { --heading-font: "Inter", sans-serif; }

.container { max-width: 1240px; }

.header .container { max-width: 1320px; }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .navbar { min-height: 76px; }

.banner-section {
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(8, 9, 13, 0.98) 0%, rgba(8, 9, 13, 0.76) 45%, rgba(8, 9, 13, 0.18) 100%), radial-gradient(circle at 70% 15%, rgba(139, 92, 246, 0.36), transparent 32%), radial-gradient(circle at 90% 72%, rgba(34, 211, 238, 0.16), transparent 28%);
}

.banner-section::before { opacity: 0.14; }

.banner-content { max-width: 570px; }

.banner-content__title {
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.banner-content__desc {
  max-width: 430px;
  font-size: 1.05rem;
  color: rgba(248, 250, 252, 0.7);
}

.banner-content__button .btn { padding: 14px 28px; border-radius: 999px; }

.banner-thumb img {
  filter: saturate(1.12) contrast(1.04) drop-shadow(0 28px 50px rgba(0, 0, 0, 0.42));
  transform: scale(1.08);
}

.games-section { padding-top: 96px !important; background: #08090d; }

.games-section-content::before,
.games-section-content::after { display: none; }

.section-heading { max-width: 720px; margin-bottom: 34px; }

.section-heading__title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.045em;
}

.section-heading__desc { color: rgba(248, 250, 252, 0.54); }

.games-section-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-item {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  transform: translateZ(0);
}

.game-item__image {
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  border-radius: 16px;
  background: #12151e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.game-item__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }

.game-item:hover .game-item__image img { transform: scale(1.07); }

.game-item__play {
  background: linear-gradient(180deg, transparent 24%, rgba(8, 9, 13, 0.92) 100%);
  align-items: flex-end;
  padding: 18px;
}

.game-item__play .btn--sm { border-radius: 999px; padding: 8px 14px; font-size: 0.78rem; }

.game-item__title {
  margin: 14px 3px 4px;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.about-section,
.why-choose-section,
.how-work-section,
.faq-section,
.testimonial-section,
.blog-section { padding-block: 86px !important; }

.footer-area__thumb,
.footer-area::before,
.footer-area::after { display: none; }

@media (max-width: 991px) {
  .banner-section { min-height: 590px; }
  .games-section-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .header .navbar { min-height: 64px; }
  .banner-section { min-height: 560px; padding-block: 78px 54px; }
  .banner-content__title { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .banner-thumb { margin-top: 28px; }
  .games-section-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game-item__image { border-radius: 12px; }
}

/* Exact reference structure: compact rail + promo mosaic */
body { padding-left: 48px; }

.reference-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 48px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #101216;
  border-right: 1px solid rgba(255,255,255,.055);
}

.reference-sidebar__menu,
.reference-sidebar__item {
  width: 48px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #78808d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  font-size: 17px;
}

.reference-sidebar__menu { color: #d8dde5; border-bottom: 1px solid rgba(255,255,255,.05); }
.reference-sidebar__nav { width: 100%; padding-top: 8px; }
.reference-sidebar__item span { display: none; }
.reference-sidebar__item:hover,
.reference-sidebar__item.is-active { color: #fff; background: #11151c; }
.reference-sidebar__item.is-active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 4px 4px 0; background: #1b70ff; }
.reference-sidebar__item.is-active i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #1b70ff; }
.reference-sidebar__item b { position: absolute; top: 6px; right: 6px; min-width: 14px; height: 14px; border-radius: 99px; background: #ef5b35; color: #fff; font-size: 9px; display: grid; place-items: center; }
.reference-sidebar__bottom { margin-top: auto; padding-bottom: 12px; }

.header { margin-left: -48px; padding-left: 48px; }
.header .container { max-width: 100%; padding-inline: 30px; }
.header .navbar-collapse { display: none !important; }
.header .header-right { display: block !important; margin-left: auto; }
.header .language { display: none !important; }
.header .navbar-toggler { display: none !important; }
.reference-header-promo { margin-left: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #191c22; color: #aab3bf; font-size: .72rem; }
.reference-header-promo i { color: #1b70ff; }
.header .login-registration-list__item .btn--gradient { background: #1a1d22 !important; box-shadow: none; border: 1px solid rgba(255,255,255,.04) !important; padding: 9px 17px; border-radius: 9px; }
.header .login-registration-list__item:last-child .btn--gradient { background: #1b70ff !important; border-color: #1b70ff !important; }

.reference-hero { padding: 16px 30px 0; background: #0b0c0f; }
.reference-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1320px; margin: 0 auto; }
.reference-promo { position: relative; min-height: 116px; overflow: hidden; border-radius: 12px; background-color: #171a20; background-position: center, center; background-size: auto, contain; background-repeat: no-repeat; border: 1px solid rgba(255,255,255,.1); }
.reference-promo--main { min-height: 302px; grid-row: span 2; }
.reference-promo-stack { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(2, minmax(0,1fr)); gap: 12px; }
.reference-promo__content { position: absolute; inset: auto 20px 18px; z-index: 1; max-width: 72%; }
.reference-promo--main .reference-promo__content { max-width: 68%; inset: auto 28px 28px; }
.reference-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,13,.8), transparent 72%); }
.reference-promo--main::after { background: linear-gradient(90deg, rgba(8,9,13,.72), rgba(8,9,13,.02) 78%), linear-gradient(0deg, rgba(8,9,13,.32), transparent 60%); }
.reference-promo__eyebrow { color: #72dcff; font-size: .64rem; font-weight: 800; letter-spacing: .14em; position: relative; z-index: 2; }
.reference-promo h1, .reference-promo h2, .reference-promo p { position: relative; z-index: 2; margin: 0; }
.reference-promo h1 { margin-top: 8px; color: #fff; font-size: clamp(2rem, 4vw, 4.5rem); line-height: .95; letter-spacing: -.06em; }
.reference-promo h2 { margin-top: 6px; color: #fff; font-size: 1.15rem; }
.reference-promo p { margin-top: 5px; color: rgba(255,255,255,.76); font-size: .78rem; }
.reference-promo__cta { position: relative; z-index: 2; display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; padding: 9px 15px; border-radius: 9px; color: #fff; background: #1b70ff; font-size: .8rem; font-weight: 700; text-decoration: none; }
.reference-promo--small h2 { font-size: 1.02rem; }
.reference-promo--small .reference-promo__eyebrow { color: #ff6b29; }

.reference-support-fab { position: fixed; right: 18px; bottom: 18px; z-index: 1000; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #1476ff; box-shadow: 0 8px 26px rgba(20,118,255,.38); }

.games-section { padding-top: 34px !important; }
.games-section-wrapper { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.game-item__image { aspect-ratio: .72; border-radius: 13px; }
.game-item__title { font-size: .82rem; }

@media (max-width: 900px) {
  .reference-hero { padding-inline: 16px; }
  .reference-hero__grid { grid-template-columns: 1fr; }
  .reference-promo--main { min-height: 280px; }
  .games-section-wrapper { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 600px) {
  body { padding-left: 0; padding-bottom: 56px; }
  .reference-sidebar { inset: auto 0 0; width: 100%; height: 56px; flex-direction: row; border-right: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .reference-sidebar__menu { display: none; }
  .reference-sidebar__nav { display: flex; justify-content: space-around; padding: 0; }
  .reference-sidebar__item { width: 42px; min-height: 56px; font-size: 18px; }
  .reference-sidebar__nav .reference-sidebar__item:nth-child(n+6) { display: none; }
  .reference-sidebar__bottom { margin: 0; padding: 0; }
  .reference-sidebar__bottom .reference-sidebar__item { display: none; }
  .header { margin-left: 0; padding-left: 0; }
  .header .container { padding-inline: 16px; }
  .reference-header-promo { display: none; }
  .reference-promo-stack { grid-template-columns: 1fr 1fr; }
  .reference-promo--small { min-height: 105px; }
  .reference-promo h2 { font-size: .9rem; }
  .reference-promo p { font-size: .68rem; }
  .games-section-wrapper { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
}

.reference-catalog { max-width: 1320px; margin: 0 auto; padding: 18px 30px 86px; background: #0b0c0f; }
.reference-catalog__toolbar { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; position: sticky; top: 76px; z-index: 30; margin-inline: -30px; padding: 12px 30px; background: rgba(11,12,15,.9); border-bottom: 1px solid rgba(255,255,255,.05); backdrop-filter: blur(16px); }
.reference-catalog__tabs { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.reference-catalog__tabs::-webkit-scrollbar { display: none; }
.reference-catalog__tabs button { border: 0; border-bottom: 2px solid transparent; padding: 10px 0; background: transparent; color: #7f8793; font: 600 .78rem var(--body-font); }
.reference-catalog__tabs button i { margin-right: 5px; }
.reference-catalog__tabs button.is-active { color: #fff; border-bottom-color: #1b70ff; }
.reference-catalog__search { margin-left: auto; flex: 0 0 290px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px; background: #1a1d22; color: #7e8794; }
.reference-catalog__search input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font: .78rem var(--body-font); }
.reference-game-row { margin-top: 24px; }
.reference-game-row__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.reference-game-row__header h2 { margin: 0; color: #f8fafc; font: 700 1.05rem var(--body-font); }
.reference-game-row__actions { display: flex; gap: 5px; }
.reference-game-row__actions button { border: 0; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 8px; background: #1a1d22; color: #aeb6c1; font-size: .72rem; }
.reference-game-row__actions button:first-child { color: #fff; }
.reference-game-row__grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.reference-game-row__grid .game-item { width: auto !important; min-width: 0; }
.reference-game-row__grid .game-item__image { width: 100%; min-width: 0; }
.reference-game-row__grid .game-item__image img { display: block; width: 100%; min-width: 0; }
.reference-game-row__grid .game-item__image { aspect-ratio: .72; border-radius: 14px; background: linear-gradient(145deg, #202631, #11141a); border: 1px solid rgba(255,255,255,.1); overflow: hidden; isolation: isolate; box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.reference-game-row__grid .game-item__play { padding: 10px; }
.reference-game-row__grid .game-item__play .btn--sm { padding: 6px 9px; font-size: .68rem; }
.reference-game-row__grid .game-item__image img { height: 100% !important; width: 100% !important; object-fit: cover; object-position: center; -webkit-mask-image: none !important; mask-image: none !important; transform: scale(1.001); transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.reference-game-row__grid .game-item__image::after { content: none !important; display: none !important; }
.reference-game-row__grid .game-item:hover .game-item__image img { transform: scale(1.06); filter: saturate(1.1) contrast(1.04); }
.reference-game-row__grid .game-item__play { background: linear-gradient(180deg, transparent 22%, rgba(7,9,13,.92) 100%); -webkit-mask-image: none; mask-image: none; }
.reference-game-row__grid .game-item__title { margin: 11px 2px 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e7ebf2; font: 600 .78rem var(--body-font); }
.reference-game-row__grid .game-item__play .btn--sm { border-radius: 7px; background: #1b70ff !important; box-shadow: 0 7px 18px rgba(27,112,255,.32); }
.reference-game-row__grid .game-item__image.is-empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 32%, rgba(50,73,112,.36), transparent 42%), linear-gradient(145deg, #1c2434, #10141d); }
.reference-game-row__grid .game-item__image.is-empty::before { content: '✦'; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #8bd7ff; font-size: 1.45rem; background: linear-gradient(145deg, rgba(139,92,246,.35), rgba(34,211,238,.18)); border: 1px solid rgba(139,92,246,.34); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.reference-game-row__grid .game-item__image.is-empty .game-item__play { display: none; }
.reference-game-row[hidden] { display: none; }
.game-item[hidden] { display: none !important; }
.reference-game-row__grid .game-item { transition: transform .22s ease, filter .22s ease; }
.reference-game-row__grid .game-item:hover { transform: translateY(-5px); filter: brightness(1.08); }
.reference-game-row__grid .game-item:focus-within { outline: 2px solid #1b70ff; outline-offset: 4px; border-radius: 14px; }
.reference-catalog__tabs button:focus-visible,
.reference-game-row__actions button:focus-visible,
.reference-catalog__search:focus-within { outline: 2px solid #1b70ff; outline-offset: 3px; }
.reference-game-row__header { scroll-margin-top: 135px; }
.reference-game-row__actions button:hover { background: #1b70ff; color: #fff; }

@media (max-width: 900px) {
  .reference-catalog { padding-inline: 16px; }
  .reference-catalog__toolbar { display: block; margin-inline: -16px; padding-inline: 16px; top: 64px; }
  .reference-catalog__search { margin-top: 14px; width: 100%; }
  .reference-game-row__grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
}

@media (max-width: 600px) {
  .reference-catalog { padding: 12px 12px 68px; }
  .reference-catalog__toolbar { margin-inline: -12px; padding-inline: 12px; }
  .reference-catalog__tabs { gap: 14px; }
  .reference-game-row__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .reference-game-row__grid .game-item__title { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reference-game-row__grid .game-item,
  .game-item__image img { transition: none !important; }
}

.cookies-card {
  width: 360px;
  left: 64px;
  bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(24, 27, 33, .96);
  box-shadow: 0 18px 44px rgba(0,0,0,.42);
}
.cookies-card__icon { width: 38px; height: 38px; font-size: 21px; }
.cookies-card__content { margin-top: 10px !important; font-size: 12px; line-height: 1.45; }
.cookies-card__btn { margin-top: 12px !important; }
@media (max-width: 600px) { .cookies-card { width: calc(100% - 24px); left: 12px; bottom: 68px; } }
