/* Games slider */
.games-slider { overflow: hidden; }

.games-slider__swiper { overflow: hidden; }

.games-slider__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-bg-dark);
  cursor: pointer;
}
.games-slider__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.games-slider__card:hover img { transform: scale(1.06); }

.games-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36,34,34,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.875rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.games-slider__card:hover .games-slider__overlay { opacity: 1; }

.games-slider__name {
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.4rem;
}
.games-slider__btn {
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  width: 100%;
  justify-content: center;
}

.games-slider__nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.games-slider__btn-prev,
.games-slider__btn-next {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--color-bg-dark);
  border: 1px solid var(--color-btn-outline-border);
  color: var(--color-white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.games-slider__btn-prev:hover,
.games-slider__btn-next:hover { background: var(--color-bg-primary); }
