/* ==========================================================================
   Games slider block
   ========================================================================== */

.games-slider {
  position: relative;
}

.games-slider__swiper {
  overflow: hidden;
}

.games-slider__slide {
  height: auto;
  width: 11.25rem;
}

.game-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}

.game-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.game-card__name {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9375rem;
  line-height: 1.3;
  margin-bottom: 0;
  flex-grow: 1;
  /* Reserve space for exactly 2 lines regardless of the actual game name
     length, so every "Play Now" button lines up in the same row instead
     of shifting down for two-line titles. */
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card__cta {
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
}

.games-slider__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.games-slider__arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 0.0625rem solid var(--color-btn-secondary-border);
  background: transparent;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.games-slider__arrow:hover {
  background: rgba(255, 191, 22, 0.12);
}

.games-slider__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
