/* ==========================================================================
   games-slider block — Swiper-based horizontal game carousel
   BEM: games-slider__element--modifier
   ========================================================================== */
.games-slider { position: relative; margin-top: var(--space-heading-gap); }

.games-slider__slide { width: clamp(140px, 40vw, 200px); height: auto; }

.games-slider__card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg-dark);
}

.games-slider__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}
.games-slider__card:hover .games-slider__image { transform: scale(1.06); }

.games-slider__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: linear-gradient(180deg, rgba(20, 18, 18, 0) 0%, rgba(20, 18, 18, 0.92) 78%);
}

.games-slider__name {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  font-size: var(--fs-small);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.games-slider__play {
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  width: 100%;
}

.games-slider__nav {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.games-slider__arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-bg-dark);
  color: var(--color-heading-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}
.games-slider__arrow:hover { background: rgba(255, 179, 117, 0.16); }
.games-slider__arrow.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
