/* ==========================================================================
   games-slider block
   Card size is identical wherever this component is used (homepage, slots)
   because every page loads this same stylesheet and passes the same markup
   — nothing page-specific overrides width/aspect-ratio here.
   ========================================================================== */
.games-slider { position: relative; margin-block-end: var(--space-section); min-width: 0; }

.games-slider__viewport { position: relative; min-width: 0; }

.game-card {
  background: var(--color-card-bg);
  clip-path: var(--clip-corner);
  padding: 0.75rem;
  display: grid;
  gap: 0.6rem;
  height: 100%;
}
.game-card__image {
  width: 100%;
  aspect-ratio: 267 / 400;
  height: auto;
  object-fit: cover;
  background: var(--color-bg-dark);
}
.game-card__name {
  color: var(--color-white);
  font-weight: var(--fw-btn);
  font-size: var(--fs-small);
  text-align: center;
}
.game-card__cta { font-size: var(--fs-small); padding: 0.6rem 1rem; }

.games-slider__swiper { overflow: hidden; min-width: 0; }
.games-slider__swiper .swiper-slide { width: 12.5rem; height: auto; min-width: 0; }

/* Arrows sit on top of the card artwork at the left/right edge of the
   visible viewport, vertically centered on the image area (which occupies
   roughly the top ~75% of each portrait card). */
.games-slider__arrow {
  position: absolute;
  top: 34%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 22, 23, 0.75);
  color: var(--color-heading-accent);
  clip-path: var(--clip-corner-sm);
  font-size: 1.35rem;
  line-height: 1;
  transition: background var(--transition-fast);
}
.games-slider__arrow:hover { background: rgba(57, 73, 80, 0.92); }
.games-slider__arrow--prev { left: 0.5rem; }
.games-slider__arrow--next { right: 0.5rem; }
