.footer-brand {
  margin-top: -6px;
}

.footer-description {
  color: #74779F;
}

.footer-link {
  color: #74779F;
}

.main-header {
  border-radius: 16px;
}

.main-header__brand {
  display: grid;
  grid-template-columns: 32px 64px;
  align-items: center;
  margin-left: 2px;
  gap: 8px;
}

.main-header__part:last-child {
  /* padding-right: 6px; */
}

.user-block__profile,
.top-header__item,
.user-block__avatar,
.main-header__item,
.home-categories__subtitle,
.sections-slots .sections-link,
.slots-providers__item,
.slots-search .field .icon {
  color: #74779F;
}

.top-header__item {
  padding: 0 10px;
  height: 36px;
  font-weight: 500;
  border-radius: 10px;
}

.top-header__telegram {
  background-image: linear-gradient(90deg, #2AABEE22, #229ED920);
  color: #2AABEE;
}

.top-header__lang {
  color: white;
}

.top-header__arrow {
  width: 24px;
  height: 24px;
  background-color: #1E202D;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5F638F;
  margin-right: -4px;
}

.user-block {
  background-color: #1E1F2C;
  border-radius: 12px;
  padding: 6px 8px 6px 6px;
  gap: 10px;
}

.user-block__avatar {
  border-radius: 6px;
  background-color: #252637;
}

.user-block__menu {
  border-left: none;
  width: 24px;
  height: 24px;
  background-color: #252637;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #5F638F;
}

.user-block-balance {
  padding: 5px 7px 5px 5px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #00000055, #1E1F2C) padding-box, linear-gradient(90deg, #2ed67455, #1F202D00) border-box;
}

.user-block__currency {
  width: 24px;
  height: 24px;
  margin: 2px 0 2px 2px;
  border-radius: 8px;
  background-image: linear-gradient(0deg, #2B691B, #70B65F);
  color: white;
  font-size: 14px;
}

.user-block-balance .user-block__menu {
  width: 22px;
  height: 22px;
  background: linear-gradient(180deg, #29671A25, #71B76025);
  margin-right: 2px;
}

.user-block-balance .user-block__menu svg {
  width: 12px;
  height: 12px;
}

.home-bonuses__filter {
  display: none;
}

.home-bonuses__title {
  font-size: 28px !important;
  text-shadow: none;
  line-height: 1.4;
}

.home-bonuses__title:not(.is-small) {
  max-width: 300px;
}

.main-header__item {
  height: 36px;
  padding: 0 12px;
  background-color: #20212F;
  border-radius: 10px;
  border: 1px solid transparent;
  overflow: hidden;
  position: relative;
  display: flex;
  gap: 6px;
}

.main-header__item > * {
  position: relative;
}

.main-header__item:not(.is-home):hover,
.main-header__item:not(.is-home).active,
.btn-auth {
  background: linear-gradient(#8238ED, #4E02BC) padding-box,
        linear-gradient(to bottom, #AC73FF, #792fe400) border-box;
  border: 1px solid transparent;
  color: white;
}

.btn-primary, .btn-register {
  background: linear-gradient(#70B85B, #2C6A1D) padding-box,
        linear-gradient(to bottom, #9ad38b, #19311B) border-box;
  border: 1px solid transparent;
  color: white;
}

.main-header__item.active::before {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 65%);
  content: '';
  width: 75%;
  aspect-ratio: 2 / 1;
  background-image: radial-gradient(closest-side, #C993FF, transparent);
}

.main-header__item::after {
  display: none;
}

.main-header__item.is-home {
  background-color: transparent;
  padding: 0;
  border: none;
}

.main-header__item.is-home svg {
  width: 36px;
  height: auto;
}

.slots-cover {
  filter: contrast(110%);
}

.home-categories__item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #242639, #191A25);
}

.home-categories__item img {
  position: absolute;
  width: auto;
  height: 64px;
  bottom: 0;
  right: 24px;
}

.sections-slots .sections-title svg {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

.sections-slots__slots .sections-title svg {
  color: greenyellow;
}

.sections-slots__quick .sections-title .icon {
  color: #3DDCF4;
}

.sections-slots__live .sections-title svg {
  color: #F84C4C;
}

.sections-slots__best {
  background: linear-gradient(135deg, #8238ED, #4E02BC);
  position: relative;
}

.sections-slots__best > * {
  position: relative;
}

.sections-slots__best::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(/assets/img/winup/dots.png) top right;
  opacity: .08;
}

.sections-slots__best .sections-title span {
  padding: 4px 8px;
  border-radius: 8px;
  background-image: linear-gradient(180deg, #B0261F, #EC5B54);
  color: white;
}

.sections-slots .sections-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #27293A;
  transition: all 100ms ease-in-out;
}

.sections-slots .sections-link:hover {
  background-color: #27293A;
}

.sections-slots__best .sections-link {
  color: white;
  border-color: rgba(255, 255, 255, .15);
  background-color: #752ed9;
}

.sections-slots__best .sections-link:hover {
  background-color: white;
  color: #752ed9;
}

.sections-slots .sections-link .icon {
  font-size: 16px;
}

.sections-slots .sections-link:hover {
  text-decoration: none;
}

.sections-item:not(.sections-slots) .sections-title span {
  padding: 3px 7px;
  background-color: #20212F;
  color: #74779F;
  border-radius: 20px;
  font-size: 12px;
}

.slots-providers__item.active {
  background-color: #20212F;
  color: white;
}

.slots-search .field {
  background-color: #1E1F2C;
}

.slots-search .field .icon {
  font-size: 20px;
}

.slots-search .field > * {
  height: 44px !important;
}

.footer-description-block {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
}

.footer-top {
  gap: 24px;
}

.footer-description-block img {
  width: 100%;
  height: auto;
}

.game-window-header__title {
  padding-left: 8px;
  font-weight: 500;
  max-width: 256px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-bonuses__btn {
  border-radius: 12px;
  height: 46px;
}

.home-bonuses__btn .icon {
  font-size: 18px;
}

.home-bonuses__image {
  height: 300px;
}

.home-bonuses__details {
  top: 32px;
  left: 32px;
  right: 32px;
  bottom: 32px;
}

.user-block__mobile,
.slots-providers__expand {
  display: none;
}

.slots-providers__expand .btn {
  width: 100%;
  height: 48px;
  font-size: 16px;
  border: 1px solid transparent;
  background: linear-gradient(#F14D41, #BF2A23) padding-box,
        linear-gradient(to bottom, #F66465, #491718) border-box;
}

.game-page {
  border-radius: 12px;
  overflow: hidden;
  background-color: #191A25;
}

.game-page__header {
  display: grid;
  grid-template-columns: 88px 1fr 142px;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  gap: 18px;
}

.game-page__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.game-page__actions > * {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  background-color: #20212F;
  cursor: pointer;
  color: #74779F;
}

.game-page__actions > *:hover {
  opacity: .5;
}

.game-page__title {
  font-size: 18px;
}

.game-page__demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-radius: 8px;
  height: 38px;
  background-color: #20212F;
  padding: 0 12px;
  cursor: pointer;
}

.game-page__demo > span {
  font-size: 12px;
}

.game-page__toggler {
  width: 34px;
  position: relative;
  background-color: #292A3B;
  border-radius: 20px;
  height: 20px;
}

.game-page__demo:hover .game-page__toggler {
  background-color: #35374e;
}

.game-page__toggler span {
  position: absolute;
  top: 3px;
  left: 3px;
  bottom: 3px;
  width: 14px;
  display: block;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .5);
  transition: all 150ms ease-in-out;
}

.game-page__demo.active .game-page__toggler span {
  left: calc(34px - 14px - 3px);
  background-image: linear-gradient(180deg, #71B760, #29671A);
}

.game-page iframe {
  border: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.home-bonuses__image.is-mobile {
  display: none;
}


.help {
  display: grid;
  grid-template-columns: 220px 4fr;
  gap: 24px;
  padding: 24px 0;
}

.help-menu {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  gap: 6px;
}

.help-menu__item {
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .1s ease-in-out;
  color: #74779F;
  font-size: 16px;
}

.help-menu__item:hover,
.help-menu__item.active {
  background-color: #191A25;
  color: white;
}

.help-content:not(.active) {
  display: none;
}

.help-content__title:not(:first-child) {
  margin-top: 24px;
}

.help-content__title {
  margin-bottom: 12px;
}

.help-content__item {
  padding: 16px;
  border-radius: 12px;
  background-color: #191A25;
  cursor: pointer;
}

.help-content__item.active {
  background-color: #20212F;
}

.help-content__item + .help-content__item {
  margin-top: 10px;
}

.help-content__question {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b9db6;
  -webkit-user-select: none;
  user-select: none;
  font-size: 16px;
  line-height: 1.5;
}

.help-content__question span {
  transition: all .1s ease-in-out;
  flex: 1 1 auto;
}

.help-content__question .icon {
  font-size: 18px;
}

.help-content__question .icon:last-child {
  color: #96a0af;
}

.help-content__answer {
  margin-left: -16px;
  margin-right: -16px;
  border-top: 1px solid #2F3043;
  margin-top: 16px;
  padding: 16px 16px 0;
  color: #74779F;
  line-height: 1.5;
  font-size: 16px;
}

.help-content__answer pre {
  white-space: normal;
}

.help-content__answer a {
  color: white;
  text-decoration: underline;
}

.help-content__answer p {
  margin-bottom: 12px;
}

.help-content__answer p:last-child,
.help-content__answer pre:last-child {
  margin-bottom: 0;
}

.help-content__answer p b,
.help-content__answer li b,
.help-content__answer pre {
  font-weight: 600;
  color: #c1cad7;
}

.help-content__answer ul li:not(:last-child),
.help-content__answer ol li:not(:last-child) {
  margin-bottom: 8px;
}

.help-content__item:not(.active) .help-content__answer {
  display: none;
}

.help-content__item:hover .help-content__question span,
.help-content__item.active .help-content__question span {
  color: white;
}

.help-content__item.active .help-content__question .icon:last-child {
  transform: rotate(180deg);
}

.help-content__documents .help-content__answer {
  font-size: 12px;
}

.help-content__heading {
  font-size: 16px;
  color: white;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 1140px) {
  .main-header__nav > div {
    display: none;
  }
}

@media (max-width: 1023px) {
  .main-header__nav {
    display: flex;
  }

  .sections-sidebar .sections-item:last-child {
    max-height: unset;
    overflow: hidden;
  }

  .slots-providers {
    max-height: calc(36px * 3 + 6px * 2);
    overflow: hidden;
  }

  .slots-providers.show {
    max-height: calc(36px * 7 + 6px * 6);
    overflow-y: auto;
  }

  .slots-providers__expand {
    display: block;
  }
}

@media (max-width: 856px) {
  .main-header__nav {
    display: none;
  }

  .game-page iframe {
    aspect-ratio: unset;
    height: 90dvh;
  }

  .help {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .help-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .top-header__lang,
  .home-bonuses__image:not(.is-mobile) {
    display: none;
  }

  .game-page__title {
    font-size: 16px;
  }

  .home-bonuses__image.is-mobile {
    display: block;
    height: 260px;
  }

  .home-bonuses__title {
    font-size: 26px !important;
  }
}

@media (max-width: 480px) {
  .game-page__title {
    display: none;
  }

  .game-page__header {
    grid-template-columns: 88px 142px;
    justify-content: space-between;
  }

  .game-window-header__title {
    max-width: 100px;
  }
  
  .user-block__desktop {
    display: none;
  }

  .user-block__mobile {
    display: block;
  }

  .top-header__bonus {
    display: flex;
  }

  .top-header__telegram span,
  .top-header__support span {
    display: none;
  }
}

@media (max-width: 390px) {
  .sections-slots__best .sections-title span {
    display: none;
  }

  .sections-slots .sections-title {
    font-size: 16px;
  }

  .sections-slots .sections-title svg {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }

  .sections-slots .sections-link {
    padding: 8px;
    font-size: 12px;
  }

  .sections-slots .sections-link .icon {
    display: none;
  }
}

@media (max-width: 360px) {
  .main-header__brand {
    grid-template-columns: 28px 52px;
  }

  .btn-auth, .btn-register {
    font-size: 13px;
    padding: 0 10px;
  }
}