.Home_games {
  margin-bottom: 20px;
  background: var(--color-bg-text);
  border-radius: 20px;
  padding: 1px 0;
  padding-bottom: 10px;
}

.Home_header {
  margin: 15px;
}

.HomeSection_header {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
  position: relative;
  margin-bottom: 15px;
}

.HomeSection_icon.HomeSection_icon {
  height: 30px;
  margin-right: 10px;
}

.HomeSection_label {
  font-size: 19px;
  font-weight: 500;
}

.HomeSection_right {
  margin-left: auto;
}

.HomeSection_headerLink {
  color: #0085ff;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

.HomeSection_caption {
  color: #94a6cd;
  font-size: 11px;
  text-transform: lowercase;
}

/* Casino Games Section */

.HomeSectionCasinoGames_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 150px);
  grid-auto-columns: 150px;
  grid-gap: 15px;
  overflow-x: auto;
  box-sizing: content-box;
  padding: 0 15px;
}

@media (max-width: 800px) {
  .HomeSectionCasinoGames_list {
    grid-auto-flow: column;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-padding: 0 15px;
  }
}

.HomeSectionCasinoGames {
  min-width: 150px;
  scroll-snap-align: start;
}

.HomeSectionCasinoGames::-webkit-scrollbar {
  display: none;
}

.HomeSectionCasinoGames_game {
  min-width: 150px;
  scroll-snap-align: start;
}

/* Casino Game Card */
.CasinoGameCard_root {
  cursor: pointer;
  -webkit-mask-image: radial-gradient(#fff, #000);
  mask-image: radial-gradient(#fff, #000);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.CasinoGamePreview_root {
  border: 2px solid #E9AB0F00;
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 74%;
  position: relative;
  transition: border-color .3s ease-in-out;
  cursor: pointer;
}

.CasinoGamePreview_root.CasinoGamePreview_active {
  border-color: #e9ab0f;
}

.CasinoGamePreview_image {
  background-color: #141b2f;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.ResponsivePicture_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.6s ease;
}

.ResponsivePicture_withTransition:hover {
  transform: scale(1.05);
}

/* Game Information */
.CasinoGameCard_info {
  display: grid;
  grid-template-columns: [info-start] 1fr [info-end star-start] fit-content(16px) [star-end];
  grid-template-rows: [provider-start] 1fr [provider-end];
  margin-top: 8px;
}

.CasinoGameCard_withProvider {
  grid-template-columns: [info-start] 1fr [info-end star-start] fit-content(16px) [star-end];
  grid-template-rows: [provider-start] 16px [provider-end name-start] 1fr [name--end];
}

.CasinoGameCard_info .CasinoGameCard_provider {
  align-items: center;
  display: flex;
  grid-area: provider / info;
  overflow: hidden;
}

.CasinoGameCard_info .CasinoGameCard_provider .CasinoGameCard_icon {
  height: 16px;
  margin-right: 4px;
  width: 16px;
}

.CasinoGameCard_info .CasinoGameCard_provider .CasinoGameCard_name {
  color: #667697;
  flex-grow: 1;
  font-size: 11px;
  font-weight: 500;
  overflow: hidden;
  padding-right: 6px;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

.CasinoGameCard_gameName {
  -webkit-box-orient: vertical;
  color: #fff;
  display: -webkit-box;
  font-size: 14px;
  font-weight: 500;
  grid-area: provider / info;
  -webkit-line-clamp: 2;
  line-height: 20px;
  overflow: hidden;
}

.CasinoGameCard_info.CasinoGameCard_withProvider .CasinoGameCard_gameName {
  grid-area: name / info / name / star;
  margin-top: 4px;
}