/**
 * Dikey sayfa scroll + yatay slider uyumu.
 * Swiper JS tabanlı touch handling (cssMode: false) kullanır.
 * Native oyun şeritleri (games-grid_carousel) hâlâ overflow-x scroll ile çalışır.
 */
html {
  scroll-behavior: auto;
}

/* Native oyun şeritleri — mandatory snap dikey scroll'u yutar */
.games-grid_carousel-iixhO,
.games-grid_carousel-modal-iixhO {
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

@media (pointer: coarse) {
  .games-grid_carousel-iixhO,
  .games-grid_carousel-modal-iixhO {
    scroll-snap-type: x proximity;
  }
}

.base-tab-section_items-SryNQ,
#casino-jackpot .slider_root-4hTRI {
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

/*
 * Banner Swiper: parent overflow:hidden (Swiper transform slides ile kaydırır).
 */
.banners-carousel_root-pijlK .banners-carousel_swiper-pijlK.swiper {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Oyun şeritleri: Swiper height:100% yüksekliği sıfırlamasın */
.home-game-slider.swiper,
.home-game-slider .swiper-wrapper,
.home-game-slider .swiper-slide {
  height: auto !important;
}

/* Son kazançlar: aynı yükseklik çökmesi */
.sn-last-wins-swiper.swiper,
.sn-last-wins-swiper .swiper-wrapper,
.sn-last-wins-swiper .swiper-slide {
  height: auto !important;
}
.home-game-slider-wrap {
  position: relative;
}
@media (min-width: 768px) {
  .home-game-slider-wrap {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
  }
}
.home-game-slider-wrap .home-game-slider__nav--prev {
  left: 0;
  right: auto;
}
.home-game-slider-wrap .home-game-slider__nav--next {
  right: 0;
  left: auto;
}
.home-game-slider .swiper-slide > a {
  display: block;
  width: 100%;
}
.home-game-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 130 / 230;
  max-height: min(280px, 32vh);
}
@media (max-width: 767px) {
  .home-game-card-media {
    max-height: min(224px, 25.6vh);
  }
}
.home-game-card-media .skeleton-loader,
.home-game-card-media .home-game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-game-slider-wrap .home-game-slider__nav--hidden,
.home-game-slider-wrap .home-game-slider__nav.swiper-button-disabled,
.home-game-slider-wrap .home-game-slider__nav.swiper-button-lock {
  display: none !important;
}
@media (min-width: 768px) {
  .home-game-slider-wrap:has(.home-game-slider__nav--prev.home-game-slider__nav--hidden) {
    padding-left: 0;
  }
  .home-game-slider-wrap:has(.home-game-slider__nav--next.home-game-slider__nav--hidden) {
    padding-right: 0;
  }
}
