/* canlı sitede olduğu gibi dikey kaydırma çubuğu her zaman yer kaplasın */
html { overflow-y: scroll; }

/* /sports — ek düzeltmeler
   Canlı sitede JS'in yaptığı işlerin statik karşılıkları + gömülü sportsbook yerleşimi. */

/* ---- statik metin sayfaları (şartlar, kurallar): canlıda açık zemin ---- */
body.Page-Static { background: #f0f0f0; }
body.Page-Static .SectionContent { background: #f0f0f0; color: #212121; }
body.Page-Static .SectionContent a { color: #c8a200; }

/* ---- oyun kartı görselleri: canlıda JS'in eklediği "Loaded" sınıfı olmadan görünmüyorlardı ---- */
.GameCategoriesWrapper img.GameThumb,
.GameCategoriesWrapper img.ListGameImage,
.GameCategoriesWrapper .LazyImage {
  opacity: 1 !important;
  visibility: visible !important;
}
.GameCategoriesWrapper .GameThumbailWrapper,
.GameCategoriesWrapper .GameThumbContainer {
  opacity: 1 !important;
}

/* ---- gömülü sportsbook ---- */
.SportsIframeWrapper { position: relative; }

/* ---- hero (banner slider) — canlı banner API'sinden gelen görsellerle ---- */
.SporHero {
  position: relative;
  width: 100%;
  height: 25rem;
  overflow: hidden;
  border-radius: .4rem;
  background: #0e1f04;
  margin-bottom: 1.2rem;
}
.SporHeroSlayt {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.SporHeroSlayt.Aktif { opacity: 1; pointer-events: auto; }
.SporHeroOk {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.4rem;
  height: 3.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #f9c408;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease;
}
.SporHeroOk:hover { background: rgba(0, 0, 0, .7); }
.SporHeroOk--Sol { left: 1rem; }
.SporHeroOk--Sag { right: 1rem; }
.SporHeroNoktalar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  gap: .7rem;
  justify-content: center;
  z-index: 3;
}
.SporHeroNokta {
  width: .9rem;
  height: .9rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.SporHeroNokta.Aktif { background: #fff; transform: scale(1.15); }

.SportsIframe.SbInline {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;          /* iframe'in kırpmasını taklit eder */
  background: #191919;
}
.SportsIframe.SbInline > #sbMainContainer { display: block; }

/* ---- çekmece ---- */
html:not(.CekmeceAcik) .MenuDrawer:not(.Open) { pointer-events: none; }
.CekmecePerde {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 98;
}
html.CekmeceAcik, html.PencereAcik { overflow: hidden; }

/* ---- giriş penceresi ---- */
.ModalWindow.LoginModal { display: none; }
.ModalWindow.LoginModal.IsOpen { display: flex; animation: ModalFadeIn .5s forwards; }

/* ---- dil seçici tıklama ile ---- */
.ComponentSiteLanguageSelector.Acik .CustomListContainer {
  display: block;
  height: auto;
  z-index: 30;
  opacity: 1;
}

/* masaüstünde kategori bloğu canlıdan 3 px yüksek çıkıyor (alt piksel yuvarlama); footer hizası için telafi */
@media (min-width: 993px) {
  .GameCategoriesWrapper { margin-bottom: -0.3rem; }
}

/* mobilde kategori bloğu sportsbook alanının altına 2,84rem bindirir (canlı ile aynı) */
@media (max-width: 992px) {
  .GameCategoriesWrapper { margin-top: -2.84rem; position: relative; z-index: 2; }
  /* canlıda iframe alanı 1344,6 px; uygulamanın kendi içeriği 844 px ve altı uygulama zemini */
  .SportsIframeWrapper {
    height: 137.3rem;
    overflow: hidden;
    background: #101010;
  }
  .SportsIframeWrapper .SportsIframe.SbInline { height: 84.4rem !important; }
}

/* ---- mobil alt menü (statik gölge kopyası) ---- */.MobileBottomNavigationWrapper { display: none; }
@media (max-width: 992px) {
  .MobileBottomNavigationWrapper {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    height: 6.5rem;
  }
}
.gnb-sabit { display: block; width: 100%; height: 100%; }

/* ---- yatay kaydırma ---- */
.GamesSwipeable.Surukleniyor { cursor: grabbing; user-select: none; }

/* altbilgi içeriği canlıdan 3 px aşağıda kalıyor: görsel olarak hizala */
.footer-wrapper { position: relative; top: 3px; }

/* mobil kupon çubuğu */
.MobilKuponBar { display: none; }
@media screen and (max-width: 1023px) {
  .MobilKuponBar {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; left: 0; right: 0; bottom: 0; height: 52px; padding: 0 16px;
    background: #1b1b1b; border-top: 2px solid #f9c408; color: #fff;
    font: 600 13px/52px "Source Sans", Arial, sans-serif; z-index: 60; cursor: pointer;
  }
  .MobilKuponBar .MobilKuponSag { display: flex; align-items: center; gap: 8px; }
  .MobilKuponBar .MobilKuponSayac {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
    background: #f9c408; color: #1b1b1b; font: 700 11px/20px "Source Sans", Arial, sans-serif; text-align: center;
  }
  .MobilKuponBar .MobilKuponOk { color: #f9c408; font-size: 18px; }
  .MobilKuponKapat {
    display: none; position: fixed; right: 12px; top: 10px; z-index: 80;
    padding: 8px 14px; border: 0; border-radius: 6px; background: #f9c408; color: #1b1b1b;
    font: 700 12px "Source Sans", Arial, sans-serif; cursor: pointer;
  }
  body { padding-bottom: 52px; }
}

/* gömülü uygulama: sticky panel çalışsın diye kırpma kaldırıldı */
.SbInline, #SportsIframe { overflow: visible !important; }

/* JOJO-HEADER-KATMAN: header her zaman en üstte; gömülü uygulama altında kalır */
header.SectionHeader { z-index: 1000 !important; }
#SportsIframe, .SportsIframe.SbInline { position: relative; z-index: 0; }

/* Özel Oranlar: uzun vadeli bahis yok durumu */
.UzunVadeliYok {
  padding: 70px 12px; text-align: center; color: #c9c9c9;
  font: 400 14px/1.5 "Source Sans", Arial, sans-serif;
}

/* giriş uyarı popup */
#GirisUyariPopup { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
#GirisUyariPopup .GUP-arka { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
#GirisUyariPopup .GUP-kutu {
  position: relative; width: 380px; max-width: calc(100% - 32px); background: #1e1e1e;
  border: 1px solid #3a3a3a; border-radius: 8px; padding: 26px 22px 22px; text-align: center;
  font-family: "Source Sans Pro", "Source Sans", Arial, Helvetica, sans-serif;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
}
#GirisUyariPopup .GUP-baslik { color: #f9c408; font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
#GirisUyariPopup .GUP-mesaj { color: #dcdcdc; font-size: 13px; line-height: 1.5; margin-bottom: 20px; }
#GirisUyariPopup .GUP-butonlar { display: flex; gap: 12px; justify-content: center; align-items: center; }
#GirisUyariPopup .GUP-butonlar button {
  flex: 0 0 150px; max-width: 46%; height: 40px; padding: 0; border-radius: 22px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Source Sans Pro", "Source Sans", Arial, Helvetica, sans-serif;
  font-size: 13px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .5px; text-align: center;
}
#GirisUyariPopup .GUP-giris { background: #f9c408; color: #1b1b1b; }
#GirisUyariPopup .GUP-kayit { background: #2e2e2e; color: #f2f2f2; }
#GirisUyariPopup .GUP-x { position: absolute; top: 8px; right: 10px; width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: transparent; color: #9a9a9a; font: 400 20px/26px Arial, sans-serif; cursor: pointer; padding: 0; }
#GirisUyariPopup .GUP-x:hover { color: #fff; }

/* casino lobi: seçili sekme vurgusu */
a.GameCategory.IsActive, .ExtraCategories a.IsActive {
  color: #f9c408 !important; border-bottom: 2px solid #f9c408; padding-bottom: 4px;
}
