.slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
}

.slots-grid + .layout-title {
  margin-top: 32px;
}

.slots-grid:not(.active) {
  display: none;
}

.slots-grid__item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, #282d3b 85%, #282d3b77);
  /* border: 1px solid #363b4c; */
  border-radius: 24px;
  -webkit-user-select: none;
  user-select: none;
}

.slots-grid__item.is-empty {
  background: none;
  grid-column: 1 / -1;
}

.slots-grid__img {
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}

.slots-grid__img::after {
  opacity: .15;
}

.slots-grid__img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: all .3s ease-in-out;
  transform: scale(1.05);
}

.slots-grid__item:hover .slots-grid__img img {
  transform: scale(1);
}

.slots-grid__preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .25);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  color: white;
  opacity: 0;
  transition: all .3s ease-in-out;
  pointer-events: none;
}

@media (hover: hover) {
  .slots-grid__item:not(.game-starting):hover .slots-grid__preview {
    opacity: 1;
  }
}

.slots-grid__item img.loading {
  opacity: 0;
}

.slots-grid__item.game-starting img {
  opacity: .25;
}

.slots-grid__loader {
  text-align: center;
  grid-column: 1 / -1;
}

.slots-grid__title {
  font-family: 'Rubik';
  text-align: center;
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 16px;
  font-size: 12px;
}

.slots-grid__search {
  grid-column: 1 / -1;
}

.slots-grid__search .input-group input {
  border-radius: 16px !important;
}

.slots-game {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: #151d28;
  transition: all .2s ease-in-out;
  z-index: 1049;
  display: grid;
  grid-template-rows: 56px 1fr;
}

.slots-game iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.slots-game:not(.is-active) {
  opacity: 0;
  pointer-events: none;
}

.slots-game__logo .menu-brand {
  height: 56px;
  font-size: 8px;
  background: none;
  padding: 0;
  position: relative;
  top: 1px;
}

.slots-game__logo .menu-brand img {
  width: 42px;
  height: 42px;
}

.slots-game__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #2b2f3c;
}

.slots-game__actions, .slots-game__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slots-game__actions .btn {
  height: 32px;
  line-height: 1.55;
  display: flex;
  align-items: center;
  gap: 4px;
}

.slots-game__brand .form-check-label {
  font-size: 14px;
}

.slots-game__actions .btn.is-mobile {
  display: none;
  font-size: 18px;
  width: 32px;
  padding: 0;
  justify-content: center;
}

.slots-game__close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background-color: #90b5ff22;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #90b5ff;
  transition: all .1s ease-in-out;
  cursor: pointer;
}

.slots-game__close:hover {
  opacity: .75;
}

.slots-game__close:active {
  transform: scale(.96);
  opacity: .5;
}

.slots-page iframe {
  width: 100%;
  height: 80vh;
  border-radius: 16px;
}

.slots-page-images {
  display: flex;
  gap: 16px;
}

.slots-page-choose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
  gap: 12px;
  cursor: pointer;
}

.slots-page-choose__item {
  background-color: #282d3b;
  padding: 12px 0;
  text-align: center;
  border-radius: 16px;
}

.slots-icon {
  max-width: 180px;
  object-fit: contain;
  height: 78px;
  border-radius: 16px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.slots-provider:not(.is-amatic):not(.is-spinomenal) {
  background-color: #212531;
}

.slots-provider {
  padding: 16px;
}

.slots-provider.is-amatic, .slots-provider.is-spinomenal {
  background-color: white;
}

.slots-page-article + .slots-page-article {
  margin-top: 32px;
}

.slots-page-article + .slots {
  margin: 32px 0;
}

.slots-page-article h1 {
  font-weight: 600;
  margin-bottom: 24px;
}

.slots-page-article p {
  font-size: 14px;
}

.slots-internal-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  gap: 16px;
}

.slots-internal-links a {
  color: #b4c1dd;
  font-size: 15px;
}

.slots-internal-links a:hover {
  text-decoration: underline;
}

.slots-providers a {
  display: flex;
  align-items: center;
  font-size: 18px;
  gap: 16px;
}

.slots-providers a img {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .slots-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .slots-internal-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 512px) {
  .slots-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 424px) {
  .slots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .slots .scrollable__left,
  .slots .scrollable__right {
    display: none;
  }

  .slots .scrollable {
    grid-template-columns: 1fr;
  }

  .slots-game__actions .btn.is-desktop {
    display: none;
  }

  .slots-game__actions .btn.is-mobile {
    display: flex;
  }
}