/* RAMADABET clone theme (mobile + desktop) */

:root {
  color-scheme: dark;
  --rb-red: rgb(var(--primary));
  --rb-bg: rgb(var(--b));
  --rb-black: #000;
  --rb-gray: #333333;
  --rb-white: #fff;
  --rb-brand: #e60026;
  --rb-brand-dark: #b01020;
  --rb-deposit-green: #23963e;
  --rb-deposit-green-light: #3adb6b;
  --rb-navy: #1e3558;
}

html,
body {
  /* Açık tema: gövde ve içerik beyaz */
  background-color: #ffffff !important;
  color: #111;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* benimbahis-header-exact --ref-bg-page ile uyum */
html body {
  --ref-bg-page: #ffffff;
}

/* ===== Pull exact colors from reference customWeb.css ===== */
body {
  background-color: #ffffff !important;
}
.main-wrapper {
  background-color: #ffffff !important;
}
.dyn_homepage {
  padding: 0 24px;
  height: auto;
  min-height: 0;
  background-color: #ffffff !important;
}

main.site-main,
.home-page.ref-home {
  background-color: #ffffff !important;
}

/* Kayıt / giriş sayfası: main beyaz kaldığında form metni kayboluyordu — tam genişlik koyu premium zemin */
main.site-main:has(.rb-register-surface),
main.site-main:has(.rb-logon-surface) {
  background: radial-gradient(1200px 600px at 50% -10%, rgba(230, 0, 38, 0.14), transparent 55%),
    linear-gradient(180deg, #0c0d10 0%, #12141a 40%, #0a0b0e 100%) !important;
  /* Mobil fixed header boşluğu (--rb-mheader-h); bu kural genel main padding’i ezmesin */
  padding-top: calc(var(--rb-mheader-h, 0px) + env(safe-area-inset-top, 0px) + 16px) !important;
  padding-bottom: 3rem !important;
  min-height: calc(100vh - 72px) !important;
}

/* Girişli üst çubuk: misafir header ile aynı metin markası (Georgia) */
html body .header-topbar.ref-header-bnh .ref-bnh-logo--text {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  min-width: 0 !important;
}
html body .header-topbar.ref-header-bnh .ref-bnh-logo--text .rb-mobile-brand {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  line-height: 1 !important;
}
html body .header-topbar.ref-header-bnh .ref-bnh-logo--text .rb-mobile-brand__title {
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif !important;
}
html body .header-topbar.ref-header-bnh .ref-bnh-logo--text .rb-mobile-brand__sub {
  font-family: Georgia, "Times New Roman", serif !important;
  margin-top: 4px !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  color: #e60026 !important;
}

/* Footer: aynı metin markası fontu (koyu zemin) */
.footer .footer-brand.rb-mobile-brand {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.footer .footer-brand .rb-mobile-brand__title {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
}
.footer .footer-brand .rb-mobile-brand__sub {
  font-family: Georgia, "Times New Roman", serif !important;
  margin-top: 4px !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  color: #e60026 !important;
}

/* Alt navigasyon şeridi (TROY/menü satırı): üst koyu şeridin altında beyaz yüzey */
html body .header-topbar.header-topbar--guest .header__bottom,
html body .tl_header_bot_row.dynamic_menu.header__bottom {
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html body .tl_main_nav_item {
  color: #1a1a1a !important;
  background: rgba(0, 0, 0, 0.045) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}
html body .tl_main_nav_item:hover {
  color: #0d0d0d !important;
  border-color: rgba(230, 0, 38, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(230, 0, 38, 0.12);
}
html body .rb-nav-ico {
  background: rgba(230, 0, 38, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(230, 0, 38, 0.28) !important;
  color: #c40022 !important;
}

/* ===== Header: black strip + red accent ===== */
html body .header-topbar-container {
  max-width: 1392px;
}

html body .header-topbar.header-topbar--guest,
html body .header-topbar.ref-header-bnh {
  background: #000 !important;
  border-radius: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Desktop: keep container rounded like screenshot */
@media (min-width: 768px) {
  html body .header-topbar.header-topbar--guest,
  html body .header-topbar.ref-header-bnh {
    border-radius: 10px !important;
  }
}

/* Guest buttons: Kayıt Ol (red), Giriş Yap (dark gray) */
html body .header-topbar.header-topbar--guest .button.primary {
  background: var(--rb-red) !important;
  border: 0 !important;
  box-shadow: 0 0 0 1px rgba(230, 0, 38, 0.2), 0 10px 26px rgba(230, 0, 38, 0.22) !important;
}
html body .header-topbar.header-topbar--guest .guest .buttons .button.secondary {
  background: var(--rb-gray) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Brand typography (RAMADABET BY WYNDHAM vibe) */
html body .header-topbar .main_logo {
  filter: saturate(1.05);
}

/* ===== Desktop clone header markup (from asak.devtools) ===== */
.tl_header_top_row.fixed_head {
  width: 100%;
}
.header__fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 56px;
  z-index: 16;
  background: linear-gradient(0deg, #4c0212 0%, #a30827 100%) !important;
  color: #ffffff;
  box-shadow: 0 1px 12px rgb(255 0 0 / .7) !important;
  border-radius: 0;
  border: 0;
}
.header__logo--text-only {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
}
.rb-logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}
.rb-logo-text__title {
  display: block;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}
.rb-logo-text__sub {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #e60026;
  font-family: Georgia, "Times New Roman", serif;
}
.tl_time {
  margin-left: 12px;
  gap: 6px;
  font-weight: 700;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}
.tl_time .time {
  color: rgba(255, 255, 255, 0.92);
}
.header__top-links {
  margin-left: 16px;
  gap: 12px;
}
.header__top-promolink {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  background: linear-gradient(180deg, #484747 0%, #525050 9%, #2e2e2e 91%) !important;
  border-radius: 20px;
  box-shadow: 0 1px 2px 1px rgb(255 0 0 / 70%) !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.header__top-promolink:hover {
  color: var(--rb-red);
}
.rb-toplink-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.header__fixed-right {
  gap: 8px;
}
.tl_btn {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}
.tl_btn:hover {
  filter: brightness(1.04);
}
.h-bg-primary {
  background: var(--rb-red);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(230, 0, 38, 0.18), 0 10px 22px rgba(230, 0, 38, 0.16);
}
.cw_sign_in_button {
  background: #2b2b2b;
}

.tl_acc_lang .lang.tr {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(230, 0, 38, 0.9), rgba(230, 0, 38, 0.35));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.header__bottom {
  /* reference customWeb.css uses tl_header_bot_row spacing */
  background: linear-gradient(0deg, #4c021200 0%, #a3082700 100%) !important;
  border-radius: 0;
  border: 0;
  height: 110px;
  padding-top: 56px;
}
.tl_header_bot_row_fix {
  width: 100%;
  padding: 0 10px;
}
.tl_header_navigation {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

/* Desktop dynamic menu: match reference CSS (skinner-layout_desk.css/customWeb.css) */
@media (min-width: 768px) {
  html body .tl_header_bot_row.dynamic_menu.header__bottom {
    height: 110px !important;
    padding-top: 56px !important;
    background: #ffffff !important; /* ensure not black */
    color: #000000 !important;
  }

  /* Force a WHITE canvas for the whole menu band */
  html body .header__bottom,
  html body .tl_header_bot_row.dynamic_menu.header__bottom,
  html body .tl_header_bot_row_fix,
  html body #js_dy_hdr_cont,
  html body #js_dy_hdr,
  html body .dynamic_menu .tl_bot_header_cont,
  html body .dynamic_menu .tl_responsive_header_navigation,
  html body .dynamic_menu .tl_header_navigation {
    background: #ffffff !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: none !important;
  }

  /* Remove padding that exposes underlying dark background */
  html body .tl_header_bot_row_fix,
  html body .dynamic_menu .tl_header_bot_row_fix {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body .dynamic_menu .tl_header_navigation {
    padding: 0 !important;
    margin: 0 !important;
  }

  html body .dynamic_menu .tl_header_navigation {
    display: flex !important;
    align-items: center !important;
    height: 56px !important;
  }

  html body .dynamic_menu .tl_header_bot_row_fix {
    max-width: 1608px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 16px !important;
  }

  html body .dynamic_menu .tl_header_bot_row_fix > div {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  /* Remove any black "frame/capsule" around the menu row */
  html body .dynamic_menu .tl_bot_header_cont,
  html body .dynamic_menu .tl_responsive_header_navigation,
  html body .dynamic_menu .tl_header_navigation {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html body #js_dy_hdr_cont,
  html body #js_dy_hdr {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    filter: none !important;
  }

  /* Kill wrapper DIVs that may paint a rounded black box */
  html body .tl_header_bot_row_fix,
  html body .dynamic_menu .tl_header_bot_row_fix {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  html body #js_dy_hdr_cont::before,
  html body #js_dy_hdr_cont::after,
  html body #js_dy_hdr::before,
  html body #js_dy_hdr::after,
  html body .dynamic_menu .tl_bot_header_cont::before,
  html body .dynamic_menu .tl_bot_header_cont::after,
  html body .dynamic_menu .tl_responsive_header_navigation::before,
  html body .dynamic_menu .tl_responsive_header_navigation::after,
  html body .dynamic_menu .tl_header_navigation::before,
  html body .dynamic_menu .tl_header_navigation::after {
    content: none !important;
    display: none !important;
  }

  html body .dynamic_menu button.tl_main_nav_item,
  html body .dynamic_menu .tl_main_nav_item {
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    white-space: nowrap !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111111 !important;
  }

  html body .dynamic_menu .tl_main_nav_item-inner {
    padding: 0 12px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    column-gap: 6px !important;
  }

  /* Our custom icon chip shouldn't look like a pill on desktop */
  html body .dynamic_menu .rb-nav-ico {
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
  }
}
.rb-nav-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(230, 0, 38, 0.16);
  box-shadow: inset 0 0 0 1px rgba(230, 0, 38, 0.35);
  font-weight: 900;
}

/* ===== Slider (hero carousel) ===== */
.homepage-slider-wrapper {
  position: relative;
}

/* Ref dots (red active, small circles) */
.homepage-slider-wrapper .progress-dots .dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,0.20) !important;
  cursor: pointer;
}
.homepage-slider-wrapper .progress-dots .dot.active,
.homepage-slider-wrapper .progress-dots .dot:hover {
  background: #e60026 !important;
}
.homepage-slider-wrapper .progress-dots .dot .fill {
  display: none !important; /* keep as simple dots */
}

/* Mobile header: force single row (prevents buttons dropping below logo) */
@media (max-width: 767.98px) {
  /* Mobile header bar like reference */
  html body .header-topbar.header-topbar--guest {
    background: linear-gradient(180deg, #141414 0%, #0b0b0b 55%, #070707 100%) !important;
    border-top: 1px solid rgba(230, 0, 38, 0.65) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55) !important;
  }

  /* Mobile: header should FOLLOW user (fixed), with glassy backdrop */
  :root {
    --rb-mheader-h: 64px;
    /* Girişli mobil: JS (--rb-mheader-logged-h) gerçek yükseklik yazar; FOUC için yaklaşık değer */
    --rb-mheader-logged-h: 118px;
  }
  html body .header-topbar.header-topbar--guest,
  html body .header-topbar.header-topbar--logged-in {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(10, 10, 10, 0.62) !important;
    backdrop-filter: blur(10px) saturate(1.15);
    -webkit-backdrop-filter: blur(10px) saturate(1.15);
  }

  /* Ensure wrapper doesn't clip sticky */
  html body .header-topbar-container {
    overflow: visible !important;
  }

  /* Prevent content being hidden under fixed header */
  html body main.site-main {
    padding-top: var(--rb-mheader-h) !important;
  }

  /* Kayıt sayfası: üstteki genel kural + :has(.rb-register-surface) birlikte girişli yüksekliği yutuyordu */
  html body:has(.header-topbar--logged-in) main.site-main:has(.rb-register-surface),
  html body.auth-logged-in main.site-main:has(.rb-register-surface) {
    padding-top: calc(var(--rb-mheader-logged-h, 118px) + env(safe-area-inset-top, 0px) + 16px) !important;
  }

  /* Girişli: üst blok daha yüksek; aynı 64px ile içerik menünün altında kalıyordu */
  html body:has(.header-topbar--logged-in) main.site-main,
  html body.auth-logged-in main.site-main {
    padding-top: var(--rb-mheader-logged-h) !important;
  }

  /* Girişli şerit: tema alt marjını kaldır — içerik üst boşluğu header’a yapışık */
  html body .header-topbar.ref-header-bnh {
    margin-bottom: 0 !important;
  }

  /* Eski temadaki min-height: 50vh + alt bar boşluğu girişli sayfalarda devasa beyaz alan yapıyordu */
  html body.auth-logged-in main.site-main {
    min-height: 0 !important;
  }

  /* Modallar: dikey ortalı dialog küçük ekranda üst şeridin altında kesiliyordu */
  body .modal-dialog.modal-dialog-centered:not(.modal-fullscreen) {
    align-items: flex-start !important;
    margin-top: calc(var(--rb-mheader-h) + 12px) !important;
    margin-bottom: 1rem !important;
    min-height: auto !important;
  }
  html body:has(.header-topbar--logged-in) .modal-dialog.modal-dialog-centered:not(.modal-fullscreen),
  html body.auth-logged-in .modal-dialog.modal-dialog-centered:not(.modal-fullscreen) {
    margin-top: calc(var(--rb-mheader-logged-h) + 12px) !important;
  }

  /* Spor iframe: tam otursun (header + alt bar kadar düş) */
  :root {
    --rb-bottom-bar-h: 92px;
  }
  html body:has(.webspor-page) main.site-main,
  html body:has(#oneXBetFrame) main.site-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }
  html body:has(.webspor-page) .layout-content-holder-bc.webspor-page,
  html body:has(.webspor-page) .webspor-root,
  html body:has(.webspor-page) #webspor-iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
  html body:has(.webspor-page) #webspor-iframe {
    height: calc(100dvh - var(--rb-mheader-h, 64px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
    min-height: calc(100dvh - var(--rb-mheader-h, 64px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
  }
  html body:has(.webspor-page) .layout-content-holder-bc.webspor-page,
  html body:has(.webspor-page) .webspor-root {
    min-height: calc(100dvh - var(--rb-mheader-h, 64px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
  }
  html body:has(.header-topbar--logged-in):has(.webspor-page) #webspor-iframe,
  html body.auth-logged-in:has(.webspor-page) #webspor-iframe {
    height: calc(100dvh - var(--rb-mheader-logged-h, 118px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
    min-height: calc(100dvh - var(--rb-mheader-logged-h, 118px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
  }
  html body:has(.header-topbar--logged-in):has(.webspor-page) .layout-content-holder-bc.webspor-page,
  html body.auth-logged-in:has(.webspor-page) .layout-content-holder-bc.webspor-page,
  html body:has(.header-topbar--logged-in):has(.webspor-page) .webspor-root,
  html body.auth-logged-in:has(.webspor-page) .webspor-root {
    min-height: calc(100dvh - var(--rb-mheader-logged-h, 118px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
  }
  html body:has(#oneXBetFrame) #oneXBetFrame {
    width: 100% !important;
    height: calc(100dvh - var(--rb-mheader-h, 64px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
    display: block !important;
    border: 0 !important;
  }
  html body.auth-logged-in:has(#oneXBetFrame) #oneXBetFrame,
  html body:has(.header-topbar--logged-in):has(#oneXBetFrame) #oneXBetFrame {
    height: calc(100dvh - var(--rb-mheader-logged-h, 118px) - var(--rb-bottom-bar-h, 92px) - env(safe-area-inset-bottom)) !important;
  }

  /* Slots: .slots-page min-height(100vh) + main padding-bottom => altta ekstra boşluk oluşuyordu */
  main.site-main .slots-page {
    min-height: calc(100vh - 92px - env(safe-area-inset-bottom)) !important;
  }

  .ref-mobile-header {
    padding: 10px 12px !important;
  }

  .rb-mobile-brand {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }
  .rb-mobile-brand__title {
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif !important;
  }
  .rb-mobile-brand__sub {
    font-family: Georgia, "Times New Roman", serif !important;
    margin-top: 4px !important;
    font-size: 9.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase !important;
    color: #e60026 !important;
  }

  .ref-mobile-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }
  .ref-mobile-header__left {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  .ref-mobile-header__actions {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  .ref-mobile-header__actions .buttons {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .ref-mobile-header__actions .buttons .button {
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    padding: 0 16px !important;
    font-size: 12px !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.42) !important;
  }
  .ref-mobile-header__actions .buttons .button.secondary {
    background: #3a3a3a !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 10px 24px rgba(0,0,0,0.42) !important;
    text-shadow: none !important;
  }
  .ref-mobile-header__actions .buttons .button.primary {
    background: #e60026 !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.12) inset,
      0 0 0 1px rgba(230, 0, 38, 0.18),
      0 14px 30px rgba(230, 0, 38, 0.20) !important;
  }
}

.homepage-slider-wrapper #main-carousel {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

/* Remove horizontal scrollbar:
   style.css sets `.owl-stage-outer, .owl-stage { overflow-x: visible !important; }`
   Owl stage is wider than viewport, so we must re-hide overflow for homepage slider.
*/
.home-page.ref-home .homepage-slider-wrapper,
.home-page.ref-home .homepage-slider-wrapper #main-carousel,
.home-page.ref-home .homepage-slider-wrapper #main-carousel .owl-stage-outer,
.home-page.ref-home .homepage-slider-wrapper #main-carousel .owl-stage {
  overflow: hidden !important;
}

/* Fix: style.css narrows slider by 430px */
.home-page.ref-home .homepage-carousel-container {
  width: 100% !important;
  max-width: 100% !important;
}

/* Fix: style.css forces #main-carousel height:309px */
.home-page.ref-home .homepage-carousel-container #main-carousel {
  height: auto !important;
}

/* If banner column exists, hide it */
.home-page.ref-home .jackpots-slide-container {
  display: none !important;
}

/* ===== Home layout: make hero full-width like Ramada ===== */
.home-page.ref-home .container.custom-container.home-page__inner {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

@media (min-width: 1200px) {
  .home-page.ref-home .container.custom-container.home-page__inner {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
}

.home-page.ref-home .home-hero__row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.home-page.ref-home .homepage-carousel-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home-page.ref-home .homepage-slider-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

/* Mobile: make slider full-bleed (edge-to-edge) */
@media (max-width: 767.98px) {
  .home-page.ref-home .container.custom-container.home-page__inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home-page.ref-home .homepage-slider-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  .home-page.ref-home .homepage-slider-wrapper #main-carousel {
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

.homepage-carousel__img {
  width: 100%;
  display: block;
  height: auto;
}

/* ===== Slider: reference behavior =====
   Desktop: full billboard height, show arrows + 1/9
   Mobile: shorter height, crop image (shows half)
*/
.homepage-slider-wrapper #main-carousel,
.homepage-slider-wrapper #main-carousel .owl-stage-outer,
.homepage-slider-wrapper #main-carousel .owl-stage,
.homepage-slider-wrapper #main-carousel .owl-item,
.homepage-slider-wrapper #main-carousel .item,
.homepage-slider-wrapper #main-carousel .item > a {
  height: 272px;
}

@media (min-width: 1281px) {
  .homepage-slider-wrapper #main-carousel,
  .homepage-slider-wrapper #main-carousel .owl-stage-outer,
  .homepage-slider-wrapper #main-carousel .owl-stage,
  .homepage-slider-wrapper #main-carousel .owl-item,
  .homepage-slider-wrapper #main-carousel .item,
  .homepage-slider-wrapper #main-carousel .item > a {
    height: calc(272px + (444 - 272) * (100vw - 1200px) / (1920 - 1200));
  }
}

@media (min-width: 1921px) {
  .homepage-slider-wrapper #main-carousel,
  .homepage-slider-wrapper #main-carousel .owl-stage-outer,
  .homepage-slider-wrapper #main-carousel .owl-stage,
  .homepage-slider-wrapper #main-carousel .owl-item,
  .homepage-slider-wrapper #main-carousel .item,
  .homepage-slider-wrapper #main-carousel .item > a {
    height: 444px;
  }
}

.homepage-carousel__img {
  height: 100% !important;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 767.98px) {
  /* Mobile: full-bleed slider (do NOT lock to fixed px) */
  .home-page.ref-home .homepage-carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-page.ref-home .homepage-slider-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .homepage-slider-wrapper #main-carousel,
  .homepage-slider-wrapper #main-carousel .owl-stage-outer,
  .homepage-slider-wrapper #main-carousel .owl-stage,
  .homepage-slider-wrapper #main-carousel .owl-item,
  .homepage-slider-wrapper #main-carousel .item,
  .homepage-slider-wrapper #main-carousel .item > a {
    height: 240px !important;
  }

  .homepage-carousel__img {
    object-position: 50% 0%;
  }

  .rb-billboard-arrows {
    display: none !important;
  }

  /* Reduce gap between slider and quick cards */
  .home-page.ref-home .dynamic_featured_content {
    margin-top: 6px !important;
  }
}

/* ===== Slider sizing logic (match reference behavior) =====
   - Desktop: billboard has fixed/responsive height, arrows + fraction visible
   - Mobile: shorter viewport; image is cropped (shows "half")
*/
.homepage-slider-wrapper #main-carousel .owl-stage-outer,
.homepage-slider-wrapper #main-carousel .owl-stage,
.homepage-slider-wrapper #main-carousel .owl-item,
.homepage-slider-wrapper #main-carousel .item,
.homepage-slider-wrapper #main-carousel .item > a {
  width: 100%;
}

@media (min-width: 768px) {
  .homepage-slider-wrapper #main-carousel,
  .homepage-slider-wrapper #main-carousel .owl-stage-outer,
  .homepage-slider-wrapper #main-carousel .owl-stage,
  .homepage-slider-wrapper #main-carousel .owl-item,
  .homepage-slider-wrapper #main-carousel .item,
  .homepage-slider-wrapper #main-carousel .item > a {
    height: 272px;
  }

  @media (min-width: 1281px) {
    .homepage-slider-wrapper #main-carousel,
    .homepage-slider-wrapper #main-carousel .owl-stage-outer,
    .homepage-slider-wrapper #main-carousel .owl-stage,
    .homepage-slider-wrapper #main-carousel .owl-item,
    .homepage-slider-wrapper #main-carousel .item,
    .homepage-slider-wrapper #main-carousel .item > a {
      height: calc(272px + (444 - 272) * (100vw - 1200px) / (1920 - 1200));
    }
  }

  @media (min-width: 1921px) {
    .homepage-slider-wrapper #main-carousel,
    .homepage-slider-wrapper #main-carousel .owl-stage-outer,
    .homepage-slider-wrapper #main-carousel .owl-stage,
    .homepage-slider-wrapper #main-carousel .owl-item,
    .homepage-slider-wrapper #main-carousel .item,
    .homepage-slider-wrapper #main-carousel .item > a {
      height: 444px;
    }
  }

  .homepage-carousel__img {
    height: 100% !important; /* override inline height:auto */
    object-fit: cover;
    object-position: top;
  }

  .rb-billboard-arrows {
    display: flex;
  }
}

@media (max-width: 767.98px) {
  .homepage-slider-wrapper #main-carousel,
  .homepage-slider-wrapper #main-carousel .owl-stage-outer,
  .homepage-slider-wrapper #main-carousel .owl-stage,
  .homepage-slider-wrapper #main-carousel .owl-item,
  .homepage-slider-wrapper #main-carousel .item,
  .homepage-slider-wrapper #main-carousel .item > a {
    height: 240px;
  }

  .homepage-carousel__img {
    height: 100% !important;
    object-fit: cover;
    object-position: 50% 0%;
  }

  /* Mobile reference doesn't show arrows/fraction overlay */
  .rb-billboard-arrows {
    display: none !important;
  }
}

/* Dots strip under slider (match reference) */
.homepage-slider-wrapper .progress-dots {
  /* Ref: only dots, no dark/gray strip */
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 0 10px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.homepage-slider-wrapper {
  position: relative;
}

/* Billboard arrows + fraction (asak.devtools look) */
.rb-billboard-arrows {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 5;
}

/* Hard reset to avoid global ".slick-arrow/.banners_*" rules leaking in */
.rb-billboard-arrows,
.rb-billboard-arrows * {
  box-sizing: border-box;
}

.banners__slider_number {
  padding: 8px 20px;
  background: #00000066;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  min-width: 85px;
}

/* Ensure "1 / 9" stays on one line */
.rb-billboard-arrows .banners_billboard_arrow__count,
.rb-billboard-arrows .banners__slider_number {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.rb-billboard-arrows .banners_billboard_arrow__count > * {
  display: inline-block;
  line-height: 1;
}

.rb-billboard-arrows .rb-bgs-nav {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  outline: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.rb-billboard-arrows .rb-arrow-ico {
  font-size: 26px;
  color: #fff;
  line-height: 1;
  transform: translateY(-1px);
}
.banners__slider_number_gradient {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

/* Reference category cards row (dynamic_featured_content) */
.dynamic_featured_content {
  gap: 10px;
  margin-top: 14px;
}
.dynamic_featured_item {
  background: linear-gradient(0deg, #4c0212 0%, #a30827 100%) !important;
  color: #fff !important;
  border-radius: 16px !important;
  transition: background-color .2s;
  box-shadow: 0 1px 4px 0px rgb(38 38 38) !important;
  border: 0 !important;
  text-decoration: none;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 14px 8px 12px;
  min-height: 92px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
.dynamic_featured_item:active {
  transform: translateY(1px);
}
.dynamic_featured_item .fixed_size {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-top: 0;
}
.dynamic_featured_title {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 16px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Oyunların altı: sponsor + partner görseli (arada boşluk yok) */
.home-page.ref-home .rb-home-featured-followup-stack {
  margin-top: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  line-height: 0;
}

/* Mobil sponsor görseli: sadece ana sayfa + küçük ekran; masaüstünde gizli (Bootstrap display ile çakışmasın) */
.home-page.ref-home .rb-home-mobile-sponsor-banner {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  box-sizing: border-box;
}
.home-page.ref-home .rb-home-mobile-sponsor-banner__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.home-page.ref-home .rb-home-partner-awards {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.home-page.ref-home .rb-home-partner-awards__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

/* Oyunların altı: kırmızı çerçeveli yazı kutusu */
.home-page.ref-home .rb-home-framed-copy {
  margin-top: 12px;
  padding: 16px 16px 12px;
  border-radius: 14px;
  background: #f3f3f3;
  border: 2px solid rgba(230, 0, 38, 0.85);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  color: #2b2b2b;
}
.home-page.ref-home .rb-home-framed-copy__title {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e60026;
}
.home-page.ref-home .rb-home-framed-copy__body {
  font-size: 13px;
  line-height: 1.55;
  color: #2c2c2c;
  max-height: 92px;
  overflow: hidden;
}
.home-page.ref-home .rb-home-framed-copy.is-expanded .rb-home-framed-copy__body {
  max-height: none;
}
.home-page.ref-home .rb-home-framed-copy__toggle {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: #1f1f1f;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.home-page.ref-home .rb-home-framed-copy__chev {
  display: inline-block;
  transform: translateY(1px);
  transition: transform 0.2s ease;
}
.home-page.ref-home .rb-home-framed-copy.is-expanded .rb-home-framed-copy__chev {
  transform: rotate(180deg);
}

/* Desktop: hide Mission + partner awards image above it */
@media (min-width: 768px) {
  .home-page.ref-home .rb-home-partner-awards,
  .home-page.ref-home .rb-home-framed-copy {
    display: none !important;
  }
}

/* Desktop-only banner under Gates/Sweet featured games */
.home-page.ref-home .rb-home-desktop-gates-banner {
  display: none;
}
@media (min-width: 768px) {
  .home-page.ref-home .rb-home-desktop-gates-banner {
    display: block;
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .home-page.ref-home .rb-home-desktop-gates-banner img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* Ana sayfa: altta 4 Canlı Casino poster — mobil: referans (gri zemin, tam görsel, yuvarlak); masaüstü: şeffaf + parlama */
.home-page.ref-home .rb-home-bottom-posters {
  margin-top: 12px;
  padding: 0;
}
.home-page.ref-home .rb-home-bottom-posters__inner {
  display: flex;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.home-page.ref-home .rb-home-bottom-posters__inner::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.home-page.ref-home .rb-home-bottom-posters__card:focus-visible {
  outline: 2px solid rgba(230, 0, 38, 0.45);
  outline-offset: 3px;
}

/* Mobil + tablet: yatay şerit — ~3 tam kart + 4.’nün ucu, scrollbar yok */
@media (max-width: 991.98px) {
  .home-page.ref-home .rb-home-bottom-posters {
    margin-top: 10px;
    margin-left: -12px;
    margin-right: -12px;
    padding: 14px 0 16px;
    background: #e8e8ea;
    border-radius: 0;
  }
  .home-page.ref-home .rb-home-bottom-posters__inner {
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    padding: 4px 12px 6px;
    align-items: stretch;
  }
  .home-page.ref-home .rb-home-bottom-posters__card {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - 24px) / 3.12);
    max-width: 200px;
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
  }
  @media (hover: hover) {
    .home-page.ref-home .rb-home-bottom-posters__card:hover {
      transform: scale(1.02);
    }
    .home-page.ref-home .rb-home-bottom-posters__card:active {
      transform: scale(0.99);
    }
  }
  .home-page.ref-home .rb-home-bottom-posters__card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center center;
  }
}

@media (min-width: 992px) {
  .home-page.ref-home .rb-home-bottom-posters {
    margin-left: 0;
    margin-right: 0;
    background: transparent;
    padding: 0;
  }
  .home-page.ref-home .rb-home-bottom-posters__inner {
    gap: 14px;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    padding: 12px 6px 22px;
  }
  .home-page.ref-home .rb-home-bottom-posters__card {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.25s ease, filter 0.25s ease;
    isolation: isolate;
  }
  /* Masaüstü: parlama bandı yalnızca burada */
  .home-page.ref-home .rb-home-bottom-posters__card::after {
    content: "";
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(
      115deg,
      transparent 38%,
      rgba(255, 255, 255, 0) 42%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0) 58%,
      transparent 62%
    );
    transform: translateX(-35%) rotate(0deg);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
  }
  .home-page.ref-home .rb-home-bottom-posters__card:hover::after {
    animation: rb-poster-shine 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  .home-page.ref-home .rb-home-bottom-posters__card:hover {
    transform: translateY(-4px);
    box-shadow: none;
  }
  .home-page.ref-home .rb-home-bottom-posters__card:hover img {
    filter:
      drop-shadow(0 14px 28px rgba(0, 0, 0, 0.14))
      drop-shadow(0 0 22px rgba(230, 0, 38, 0.14));
  }
  .home-page.ref-home .rb-home-bottom-posters__card img {
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(360px, 38vw);
    object-fit: contain;
    object-position: center center;
    background: transparent;
    border-radius: 24px;
    transition: filter 0.25s ease;
  }
}

@keyframes rb-poster-shine {
  0% {
    transform: translateX(-45%) skewX(-12deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateX(55%) skewX(-12deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page.ref-home .rb-home-bottom-posters__card:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 992px) {
  .home-page.ref-home .rb-home-bottom-posters__card::after {
    animation: none !important;
  }
}

/* Mobilde üst görsel ile alt görsel tek blok gibi birleşir (ortada çift radius yok) */
@media (max-width: 767.98px) {
  .home-page.ref-home .rb-home-mobile-sponsor-banner__img {
    border-radius: 12px 12px 0 0;
  }
  .home-page.ref-home .rb-home-partner-awards__img {
    border-radius: 0 0 12px 12px;
  }
}

@media (min-width: 768px) {
  .home-page.ref-home .rb-home-mobile-sponsor-banner {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* Masaüstünde sponsor yok — partner görseli tam kart */
  .home-page.ref-home .rb-home-partner-awards__img {
    border-radius: 12px;
  }
}
.rb-featured-games {
  margin-top: 16px;
}
.rb-featured-grid-scroll {
  min-width: 0;
}
.rb-featured-grid-inner {
  min-width: 0;
}
.rb-game-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(0,0,0,0.06);
}
.rb-game-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Büyük hero kart: görsel çerçeveyi köşeden köşeye doldurur (iç boşluk yok) */
.rb-game-card--hero {
  display: block;
  position: relative;
  background: #ffffff;
  box-sizing: border-box;
  padding: 0;
}
.rb-game-card--hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Mobile: 1 big on top; below = 2 columns × 2 rows visible, scroll horizontally for 8 games */
@media (max-width: 767.98px) {
  .rb-featured-games {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
  }

  .rb-game-card--hero {
    width: 100%;
    /* 16:9’a göre biraz daha yüksek — slot kapaklarında alttaki yazı için daha iyi alan */
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    min-height: 0;
  }

  .rb-featured-grid-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    margin: 0 -4px;
    padding: 0 4px 6px;
  }
  .rb-featured-grid-scroll::-webkit-scrollbar {
    height: 4px;
  }

  .rb-featured-grid-inner {
    display: grid;
    grid-template-rows: repeat(2, minmax(100px, 28vw));
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, calc(50vw - 22px));
    column-gap: 12px;
    row-gap: 12px;
    width: max-content;
    max-width: none;
    padding-right: 8px;
  }

  /* 4 columns × 2 rows = 8 cells; each column ~ half viewport */
  .rb-featured-grid-inner .rb-game-card--small {
    scroll-snap-align: start;
    min-height: 0;
  }
}

/* Desktop: hero left 2 rows; 8 smalls in 4×2 to the right */
@media (min-width: 768px) {
  .rb-featured-games {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    gap: 14px;
  }
  .rb-featured-grid-scroll,
  .rb-featured-grid-inner {
    display: contents;
  }

  .rb-game-card--hero {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 260px;
    min-width: 0;
  }
  .rb-game-card--small {
    min-height: 118px;
  }
}

@media (max-width: 575.98px) {
  .dynamic_featured_content { gap: 10px; }
  /* Mobile: show max 5 tiles like reference */
  .dynamic_featured_content {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    overflow: hidden !important;
  }
  .dynamic_featured_content > .dynamic_featured_item:nth-child(n+6) {
    display: none !important;
  }

  .dynamic_featured_item {
    height: 78px !important;
    border-radius: 14px !important;
    padding: 10px 6px 9px !important;
    /* exactly 5 items per row */
    flex: 0 0 calc((100% - (10px * 4)) / 5) !important;
    max-width: calc((100% - (10px * 4)) / 5) !important;
  }
  .dynamic_featured_item .fixed_size { width: 26px !important; height: 26px !important; }
  .dynamic_featured_title { font-size: 12px !important; line-height: 16px !important; }
}

/* ===== Top winners (Son Kazananlar) — Ramada clone ===== */
.top_winners_block.home_winners {
  margin-top: 14px;
}
.rd_title__block .rd_title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #111;
}

.rd_header_tabs {
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.topWinsCategory_wrapper,
.topWinsTypes_wrapper {
  position: relative;
}

.topWinsDropdown_heading {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topWinsCategory_dropdown,
.topWinsTypes_dropdown {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.rd_header_tab_item {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.rd_header_tab_item.active,
.rd_header_tab_item:hover {
  border-color: rgba(230, 0, 38, 0.45);
  box-shadow: 0 0 0 1px rgba(230, 0, 38, 0.22);
  color: #fff;
}

.rb23-topwinners-viewport {
  margin-top: 12px;
  border-radius: 14px;
  background: #ececec;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  overflow: hidden;
}

/* Existing track (#bigwin-track) content is injected by JS; ensure spacing */
.rb23-topwinners-viewport #bigwin-track {
  padding: 12px;
}

/* Mobile: hide whole winners block (requested) */
@media (max-width: 767.98px) {
  .top_winners_block.home_winners {
    display: none !important;
  }
}

/* Desktop: keep pills in one clean row like reference */
@media (min-width: 768px) {
  .top_winners_block.home_winners {
    margin-top: 10px;
  }

  /* Reference-like light container */
  .top_winners_block.home_winners {
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 10px 12px 12px;
  }

  .rd_header_tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .topWinsCategory_dropdown,
  .topWinsTypes_dropdown {
    margin-top: 0;
  }

  .topWinsCategory_wrapper,
  .topWinsTypes_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .topWinsDropdown_heading {
    white-space: nowrap;
  }

  .rd_header_tab_item {
    white-space: nowrap;
  }

  /* Pills */
  .topWinsDropdown_heading {
    background: #111;
    border-color: rgba(0, 0, 0, 0.12);
    color: #fff;
  }
  .rd_header_tab_item {
    background: #efefef;
    border-color: rgba(0, 0, 0, 0.10);
    color: #111;
  }
  .rd_header_tab_item.active,
  .rd_header_tab_item:hover {
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: none;
    color: #111;
  }

  /* Track cards: match screenshot (horizontal white cards) */
  .rb23-topwinners-viewport #bigwin-track {
    padding: 10px 12px;
    gap: 12px;
  }
  .rb23-topwinners-viewport #bigwin-track .bigwin-card.bigwin-card--son {
    width: 260px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 10px;
    gap: 10px;
  }
  .rb23-topwinners-viewport #bigwin-track .bigwin-card--son .bigwin-thumb {
    width: 52px;
    height: 52px;
    aspect-ratio: auto;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f3f3;
    flex: 0 0 52px;
  }
  .rb23-topwinners-viewport #bigwin-track .bigwin-card--son .bigwin-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .rb23-topwinners-viewport #bigwin-track .bigwin-card--son .bigwin-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
  }
  .rb23-topwinners-viewport #bigwin-track .bigwin-card--son .bigwin-username {
    font-size: 12px;
    font-weight: 800;
    color: #111;
  }
  .rb23-topwinners-viewport #bigwin-track .bigwin-card--son .bigwin-amount {
    font-size: 12px;
    font-weight: 900;
    color: #111;
  }
}

.homepage-slider-wrapper .progress-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease;
}
.homepage-slider-wrapper .progress-dots .dot:hover {
  background: #fff;
}
.homepage-slider-wrapper .progress-dots .dot.active {
  background: #e60026;
  box-shadow: 0 0 14px rgba(230, 0, 38, 0.95);
  outline: 1px solid rgba(255, 255, 255, 0.35);
  outline-offset: 0;
}
.homepage-slider-wrapper .progress-dots .dot .fill {
  display: none;
}

/* Hide legacy bgs-navigation on home (reference doesn’t show) */
.bgs-navigation,
.site-navigator-icon {
  display: none !important;
}

/* ===== Mobile navigation (moved from theme-benimbahis.css) ===== */
.mobile-navigation-body,
.mobile-navigation1-body {
  background: linear-gradient(180deg, #101010 0%, #0a0a0a 100%) !important;
  border-right: none !important;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.55);
}
.mobile-navigation-header {
  padding: 0 !important;
  margin: 0 !important;
  background: linear-gradient(180deg, rgba(230, 0, 38, 0.14) 0%, rgba(0, 0, 0, 0) 80%), #0b0b0b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}
.mobile-nav-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: radial-gradient(circle at 20% 10%, rgba(230, 0, 38, 0.18), transparent 55%);
}
.mobile-nav-logo {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.mobile-nav-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  max-width: 100%;
}

/* Brand text (match site header) */
.mobile-navigation-header .rb-mobile-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
  text-decoration: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s ease;
}
.mobile-navigation-header .rb-mobile-brand__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.98);
  font-family: Georgia, "Times New Roman", serif;
}
.mobile-navigation-header .rb-mobile-brand__sub {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #e60026;
}
.mobile-nav-logo-link:hover .rb-mobile-brand {
  transform: translateY(-0.5px);
}

/* Keep old image class harmless if present */
.mobile-nav-logo-img { display: none; }
.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e60026;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.mobile-nav-close:hover {
  background: rgba(230, 0, 38, 0.16);
  border-color: rgba(230, 0, 38, 0.45);
  transform: rotate(90deg);
}
.mobile-nav-close svg {
  width: 20px;
  height: 20px;
}
.mobile-nav-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(230, 0, 38, 0.14) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-nav-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e60026 0%, #8b0010 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 18px rgba(230, 0, 38, 0.25);
  flex-shrink: 0;
}
.mobile-nav-user-info {
  flex: 1;
  min-width: 0;
}
.mobile-nav-username {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-nav-balance {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #e60026;
}
.mobile-nav-currency {
  font-size: 14px;
  opacity: 0.8;
}
.mobile-nav-auth-buttons {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(230, 0, 38, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}
.mobile-nav-btn svg {
  flex-shrink: 0;
}
.mobile-nav-btn-login {
  background: linear-gradient(180deg, #484747 0%, #525050 9%, #2e2e2e 91%) !important;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-weight: 800;
}
.mobile-nav-btn-login:hover {
  background: linear-gradient(180deg, #5a5959 0%, #4f4d4d 30%, #2f2f2f 100%) !important;
  border-color: rgba(230, 0, 38, 0.35);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.mobile-nav-btn-register {
  background: linear-gradient(180deg, #ff2a49 0%, #e60026 55%, #b00018 100%) !important;
  color: #fff;
  box-shadow: 0 10px 26px rgba(230, 0, 38, 0.22);
}
.mobile-nav-btn-register:hover {
  background: linear-gradient(180deg, #ff3a57 0%, #f10028 55%, #c0001a 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(230, 0, 38, 0.24);
}
.mobile-nav-quick-icons {
  display: flex;
  justify-content: space-around;
  padding: 16px 12px;
  background: rgba(0, 0, 0, 0.2);
  gap: 8px;
}
.mobile-nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.25s ease;
  min-width: 60px;
}
.mobile-nav-icon-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.mobile-nav-icon-btn i {
  font-size: 22px;
  color: #e60026;
  transition: transform 0.2s ease;
}
.mobile-nav-icon-btn:hover {
  background: rgba(230, 0, 38, 0.14);
  color: #ffffff;
}
.mobile-nav-icon-btn:hover img,
.mobile-nav-icon-btn:hover i {
  transform: scale(1.1);
}
.mobile-nav-menu-section {
  padding: 20px 16px;
}

/* More premium spacing + typography */
.mobile-navigation-body {
  color: rgba(255, 255, 255, 0.92);
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  /* keep rounded corners without killing scroll */
  overflow-x: hidden;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-navigation-body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 320px at 15% 0%, rgba(230, 0, 38, 0.22), transparent 55%),
    radial-gradient(520px 260px at 90% 18%, rgba(255, 255, 255, 0.06), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
}
.mobile-navigation-body > * {
  position: relative;
  z-index: 1;
}
.mobile-nav-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav-category-header {
  padding: 14px 16px;
}
.mobile-nav-category-title {
  font-weight: 700;
}
.menu-icon-wrapper,
.mobile-nav-category-icon {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.mobile-nav-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
  padding-left: 8px;
  opacity: 0.8;
}
.mobile-navigation .left-menu-list {
  padding: 0 4px;
}
.mobile-navigation .left-menu-list .left-menu-item {
  margin: 4px 0;
  padding: 0;
  border-radius: 12px;
  border-left: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.mobile-navigation .left-menu-list .left-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(197, 32, 33, 0.2) 0%, transparent 100%);
  transition: width 0.3s ease;
}
.mobile-navigation .left-menu-list .left-menu-item:hover::before {
  width: 100%;
}
.mobile-navigation .left-menu-list .left-menu-item a {
  color: #c8ccd0;
  padding: 14px 12px 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
}
.mobile-navigation .left-menu-list .left-menu-item a > div {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.25s ease;
}
.mobile-navigation .left-menu-list .left-menu-item a > div img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.mobile-navigation .left-menu-list .left-menu-item:hover {
  border-left-color: #e60026;
  background: rgba(230, 0, 38, 0.12) !important;
  transform: translateX(4px);
}
.mobile-navigation .left-menu-list .left-menu-item:hover a {
  color: #ffffff !important;
}
.mobile-navigation .left-menu-list .left-menu-item:hover a > div {
  background: rgba(230, 0, 38, 0.18);
}
.mobile-navigation .left-menu-list .left-menu-item:hover a > div img {
  transform: scale(1.1);
}
.mobile-navigation .left-menu-list .left-menu-item.active {
  border-left-color: #e60026;
  background: linear-gradient(90deg, rgba(230, 0, 38, 0.22) 0%, rgba(230, 0, 38, 0.06) 100%) !important;
  box-shadow: inset 0 0 20px rgba(230, 0, 38, 0.12);
}
.mobile-navigation .left-menu-list .left-menu-item.active a {
  color: #ffffff !important;
  font-weight: 600;
}
.mobile-navigation .left-menu-list .left-menu-item.active a > div {
  background: rgba(230, 0, 38, 0.18);
}
.mobile-navigation .left-menu-list .left-menu-item:active {
  background: rgba(197, 32, 33, 0.25) !important;
  transform: translateX(2px);
}
.mobile-navigation .left-menu-list .left-menu-item.active::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e60026;
  box-shadow: 0 0 10px rgba(230, 0, 38, 0.95);
}
.mobile-navigation ul li a:hover,
.mobile-navigation1 ul li a:hover {
  color: #ffffff !important;
}
.mobile-navigation ul li.active,
.mobile-navigation1 ul li.active {
  background: rgba(230, 0, 38, 0.12) !important;
}
.mobile-navigation {
  position: fixed;
  inset: 0;
  z-index: 20000; /* must be above fixed header */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-navigation:not(.active) {
  opacity: 0;
  visibility: hidden;
}
.mobile-navigation.active {
  opacity: 1;
  visibility: visible;
}
.mobile-navigation-body {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(420px, 86vw);
  z-index: 20001;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-navigation.active .mobile-navigation-body {
  transform: translateX(0);
}
.mobile-navigation-space {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}
.mobile-navigation.add-backdrop .mobile-navigation-space {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.mobile-navigation1-body {
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-navigation1.active .mobile-navigation1-body {
  transform: translateX(0);
}
.mobile-navigation1-header {
  padding: 20px;
  background: linear-gradient(135deg, #0f1c22 0%, #051a38 100%);
  border-bottom: 1px solid rgba(197, 32, 33, 0.15);
}
.head-mobile-navigation1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.head-mobile-navigation1 > div:first-child {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.head-mobile-navigation1 > div:first-child::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #c52021 0%, #9e1a1b 100%);
  border-radius: 2px;
}
.mobile-navigation-body::-webkit-scrollbar,
.mobile-navigation1-body::-webkit-scrollbar {
  width: 4px;
}
.mobile-navigation-body::-webkit-scrollbar-track,
.mobile-navigation1-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.mobile-navigation-body::-webkit-scrollbar-thumb,
.mobile-navigation1-body::-webkit-scrollbar-thumb {
  background: rgba(230, 0, 38, 0.32);
  border-radius: 2px;
}
.mobile-navigation-body::-webkit-scrollbar-thumb:hover,
.mobile-navigation1-body::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 0, 38, 0.55);
}

/* ===== Home category cards row under slider ===== */
.ramada-cat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

@media (min-width: 992px) {
  .ramada-cat-row {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
  }
}

.ramada-cat {
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff !important;
  border-radius: 12px;
  padding: 14px 10px 12px;
  background: linear-gradient(180deg, #c5051f 0%, #8b0000 52%, #3f0006 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.42);
  min-height: 78px;
  position: relative;
  overflow: hidden;
}
.ramada-cat:active {
  transform: translateY(1px);
  filter: brightness(0.98);
}

.ramada-cat__ico {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.ramada-cat__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}

/* ===== Bottom pill nav (mobile) ===== */
nav.ref-bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 560px);
  padding: 8px 12px max(10px, env(safe-area-inset-bottom));
  z-index: 9999;
  background: transparent !important;
}

nav.ref-bottom-bar ul.bottom_bar {
  margin: 0;
  list-style: none;
  display: flex;
  height: 58px;
  align-items: stretch;
  justify-content: space-between;
  padding: 6px;
  border-radius: 26px;
  background: linear-gradient(180deg, #8b1a2b 0%, #700d1d 42%, #4a0812 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

nav.ref-bottom-bar ul.bottom_bar > li {
  flex: 1 1 0;
  min-width: 0;
}

nav.ref-bottom-bar ul.bottom_bar > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.05;
}

nav.ref-bottom-bar ul.bottom_bar > li > a.active,
nav.ref-bottom-bar ul.bottom_bar > li.ref-bottom-bar__item--center > a {
  box-shadow: 0 0 0 1px rgba(230, 0, 38, 0.55), 0 0 24px rgba(230, 0, 38, 0.45);
}

/* Bottom nav icon sizing (svg + fontawesome) */
nav.ref-bottom-bar .ref-bottom-bar__ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
nav.ref-bottom-bar .ref-bottom-bar__svg {
  width: 22px;
  height: 22px;
  display: block;
}
nav.ref-bottom-bar .ref-bottom-bar__fa {
  font-size: 20px;
  line-height: 1;
  color: #ffffff;
}

/* Prevent floating brand overlay from blocking clicks */
.ref-bottom-bar__brand-floating {
  pointer-events: none !important;
}

/* Give content room above fixed bottom bar */
main.site-main {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

/* Slots (mobil özellikle): main padding alanı beyaz kalıp "Daha Fazla Göster" altında boşluk gibi görünüyordu */
html body:has(.slots-page),
html body:has(.slots-page) main.site-main {
  background: #0a0b0d !important;
}

/* ===== Remove visual conflicts from older themes ===== */
.ref-telegram-strip,
.bellpanel-wrapper {
  display: none !important;
}

/* Hide legacy top notices for clean home */
#flippanel,
#panel,
.mobile-domain-notice-wrap {
  display: none !important;
}

/* ===== Slider FINAL overrides (force ref sizing) =====
   Owl may inline-style heights; these must win.
*/
.home-page.ref-home .home-page__inner {
  max-width: 1392px;
}

/* Desktop: let slider span the full content width */
@media (min-width: 768px) {
  .home-page.ref-home .homepage-carousel-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home-page.ref-home .homepage-slider-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-page.ref-home .homepage-slider-wrapper #main-carousel {
    width: 100% !important;
  }
}

.homepage-slider-wrapper #main-carousel,
.homepage-slider-wrapper #main-carousel .owl-stage-outer,
.homepage-slider-wrapper #main-carousel .owl-stage,
.homepage-slider-wrapper #main-carousel .owl-item,
.homepage-slider-wrapper #main-carousel .item,
.homepage-slider-wrapper #main-carousel .item > a {
  height: 272px !important;
}

@media (min-width: 1281px) {
  .homepage-slider-wrapper #main-carousel,
  .homepage-slider-wrapper #main-carousel .owl-stage-outer,
  .homepage-slider-wrapper #main-carousel .owl-stage,
  .homepage-slider-wrapper #main-carousel .owl-item,
  .homepage-slider-wrapper #main-carousel .item,
  .homepage-slider-wrapper #main-carousel .item > a {
    height: calc(272px + (444 - 272) * (100vw - 1200px) / (1920 - 1200)) !important;
  }
}

@media (min-width: 1921px) {
  .homepage-slider-wrapper #main-carousel,
  .homepage-slider-wrapper #main-carousel .owl-stage-outer,
  .homepage-slider-wrapper #main-carousel .owl-stage,
  .homepage-slider-wrapper #main-carousel .owl-item,
  .homepage-slider-wrapper #main-carousel .item,
  .homepage-slider-wrapper #main-carousel .item > a {
    height: 444px !important;
  }
}

.homepage-slider-wrapper img.homepage-carousel__img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important; /* consistent across devices, no crop */
  object-position: 50% 10% !important;
}

/* Slider: prevent any horizontal page shift */
html,
body {
  overflow-x: hidden;
}

/* Slider: keep image centered inside slide */
.homepage-slider-wrapper #main-carousel .item > a {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 767.98px) {
  /* Mobile slider: show full banner (no crop), no left shift */
  html,
  body {
    overflow-x: hidden !important;
  }

  .home-page.ref-home .homepage-carousel-container,
  .home-page.ref-home .homepage-slider-wrapper,
  .home-page.ref-home #main-carousel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Owl base CSS hides carousels until .owl-loaded — force visible on mobile */
  .home-page.ref-home #main-carousel.owl-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* If Owl fails to init, still show the first slide */
  .home-page.ref-home #main-carousel:not(.owl-loaded) .item {
    display: none !important;
  }
  .home-page.ref-home #main-carousel:not(.owl-loaded) .item:first-child {
    display: block !important;
  }

  /* Dış kabuk %100; .owl-stage / .owl-item genişliği Owl tarafından (inline) verilir.
     Hepsine width:100% !important vermek mobilde 2. slaytı görünmez yapıyordu. */
  .home-page.ref-home #main-carousel,
  .home-page.ref-home #main-carousel .owl-stage-outer,
  .home-page.ref-home #main-carousel .item,
  .home-page.ref-home #main-carousel .item > a {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(250px, calc(100vh - var(--rb-mheader-h, 64px) - 64px), 420px) !important;
  }

  .home-page.ref-home #main-carousel .owl-stage,
  .home-page.ref-home #main-carousel .owl-item {
    height: clamp(250px, calc(100vh - var(--rb-mheader-h, 64px) - 64px), 420px) !important;
  }

  html body.auth-logged-in .home-page.ref-home #main-carousel,
  html body.auth-logged-in .home-page.ref-home #main-carousel .owl-stage-outer,
  html body.auth-logged-in .home-page.ref-home #main-carousel .item,
  html body.auth-logged-in .home-page.ref-home #main-carousel .item > a {
    height: clamp(250px, calc(100vh - var(--rb-mheader-logged-h, 118px) - 64px), 420px) !important;
  }

  html body.auth-logged-in .home-page.ref-home #main-carousel .owl-stage,
  html body.auth-logged-in .home-page.ref-home #main-carousel .owl-item {
    height: clamp(250px, calc(100vh - var(--rb-mheader-logged-h, 118px) - 64px), 420px) !important;
  }

  /* Owl: sadece taşmayı kes — stage’e transform/width zorlama yok (kaydırma translate3d ile çalışır) */
  .home-page.ref-home #main-carousel .owl-stage-outer {
    overflow: hidden !important;
  }

  .home-page.ref-home #main-carousel .item > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: flex-start !important; /* stick banner to top */
    justify-content: center !important;
  }

  .home-page.ref-home #main-carousel img.homepage-carousel__img {
    width: 98% !important; /* slightly narrower (no distortion) */
    height: 100% !important;
    display: block !important;
    object-fit: contain !important; /* keep full banner without crop */
    object-position: 50% 8% !important; /* closer to top like reference */
    background: transparent !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  /* Dots: place INSIDE the photo area */
  .home-page.ref-home .homepage-slider-wrapper {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .home-page.ref-home .homepage-carousel-container {
    margin-bottom: 0 !important;
  }
  .home-page.ref-home section.home-hero {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .home-page.ref-home .homepage-slider-wrapper .progress-dots {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    /* Kutunun içinde, görselin alt bandında — dışarı taşmadan ortalanmış */
    bottom: 12px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 5px 12px !important;
    line-height: 0 !important;
    z-index: 6 !important;
    pointer-events: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.28) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .home-page.ref-home .homepage-slider-wrapper .progress-dots .dot {
    flex-shrink: 0 !important;
    align-self: center !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }

  .home-page.ref-home .homepage-slider-wrapper .progress-dots .dot.active {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35) !important;
  }

  /* Kill any leftover dots padding that creates "gap" perception */
  .homepage-slider-wrapper .progress-dots {
    margin: 0 !important;
  }

  .rb-billboard-arrows {
    display: none !important;
  }
}

/* ===== Ana sayfa — Popüler Slot / Canlı Casino (referans görünüm, açık tema) ===== */
.home-page.ref-home section.home-popular {
  padding-top: 0.5rem !important;
  padding-bottom: 0.75rem !important;
}

.home-page.ref-home #popular-games-container.popular-games-container {
  background: #f2f2f2 !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  border-radius: 16px !important;
  padding: 14px 12px 18px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06) !important;
  margin-top: 0 !important;
}

.home-page.ref-home .home-popular .popular-games-section {
  margin-top: 0;
}

.home-page.ref-home .home-popular .popular-games-section + .popular-games-section {
  margin-top: 1.5rem !important;
}

.home-page.ref-home .home-popular .ref-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px 0;
  flex-wrap: wrap;
}

.home-page.ref-home .home-popular .ref-section-head__title {
  margin: 0;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7a111f 0%, #4a0812 100%);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 14px rgba(74, 8, 18, 0.35);
}

.home-page.ref-home .home-popular .ref-section-head__title .ref-section-head__ico {
  font-size: 13px;
  opacity: 0.95;
}

.home-page.ref-home .home-popular .ref-section-head__all {
  font-size: 13px;
  font-weight: 700;
  color: #c40022 !important;
  text-decoration: none;
  white-space: nowrap;
}

.home-page.ref-home .home-popular .ref-section-head__all:hover {
  color: #8f0018 !important;
  text-decoration: underline;
}

/* Grid: mobil 2 sütun, tablet+ 3 sütun (style.css 210px kolonlarını ez) */
.home-page.ref-home #popular-games-container .popular-games-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  justify-content: stretch !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

/* Tablet: 3 sütun, tam genişlik — küçültme yok */
@media (min-width: 768px) and (max-width: 991.98px) {
  .home-page.ref-home #popular-games-container.popular-games-container {
    padding: 18px 16px 22px !important;
  }

  .home-page.ref-home #popular-games-container .popular-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

/* Sadece PC (≥992px): Slot / Canlı Casino — ana sayfaya yayılır, referans gibi çok sütun */
@media (min-width: 992px) {
  .home-page.ref-home #popular-games-container.popular-games-container {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 14px 12px 18px !important;
  }

  /* Dar laptop: 4 sütun tam genişlik */
  .home-page.ref-home #popular-games-container .popular-games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .home-page.ref-home #popular-games-container .game-card .banner-card {
    aspect-ratio: 16 / 10 !important;
  }

  .home-page.ref-home #popular-games-container .ref-game-card .ref-game-info {
    padding: 12px 7px 0 !important;
  }

  .home-page.ref-home #popular-games-container .ref-game-card .ref-game-title {
    font-size: 11px !important;
  }

  .home-page.ref-home #popular-games-container .ref-game-card .ref-game-provider {
    font-size: 9px !important;
    margin: 0 0 6px 0 !important;
  }

  .home-page.ref-home #popular-games-container .ref-game-card .ref-oyna-btn {
    padding: 7px 8px !important;
    font-size: 11px !important;
  }
}

/* Geniş PC: 6 sütun × 2 satır (referans), tam genişlik */
@media (min-width: 1200px) {
  .home-page.ref-home #popular-games-container .popular-games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

@media (min-width: 1400px) {
  .home-page.ref-home #popular-games-container .popular-games-grid {
    gap: 10px !important;
  }
}

.home-page.ref-home #popular-games-container .game-card.popular-game-card.ref-game-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0, 0, 0, 0.075) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09) !important;
  overflow: hidden !important;
  background: #fff !important;
  cursor: pointer;
}

.home-page.ref-home #popular-games-container .game-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(230, 0, 38, 0.18) !important;
}

.home-page.ref-home #popular-games-container .game-card .img-wrapper {
  position: relative !important;
  border-radius: 14px 14px 0 0 !important;
  overflow: hidden !important;
}

.home-page.ref-home #popular-games-container .game-card .banner-card {
  aspect-ratio: 4 / 3 !important;
}

.home-page.ref-home #popular-games-container .game-card .banner {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

/* Canlı masa: görsel altında hafif gradient (limit şeridine benzer zemın) */
.home-page.ref-home #popular-games-container .ref-live-cover-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(40%, 52px);
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
}

.home-page.ref-home #popular-games-container .ref-game-card .ref-game-info {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 26px 10px 0 !important;
  background: linear-gradient(180deg, #1c1c1e 0%, #121214 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.home-page.ref-home #popular-games-container .ref-fav-heart {
  position: absolute !important;
  top: 8px !important;
  left: 10px !important;
  right: auto !important;
  z-index: 3;
  pointer-events: none;
}

.home-page.ref-home #popular-games-container .ref-fav-heart__icon {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 14px !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.home-page.ref-home #popular-games-container .ref-game-card .ref-game-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  line-height: 1.25 !important;
  margin: 0 0 4px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  padding-right: 4px;
}

.home-page.ref-home #popular-games-container .ref-game-card .ref-game-provider {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0 0 10px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.home-page.ref-home #popular-games-container .ref-game-card .ref-oyna-btn {
  display: block !important;
  width: calc(100% + 20px) !important;
  margin: 0 -10px 0 !important;
  padding: 10px 10px !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(180deg, #e31837 0%, #b01028 100%) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.home-page.ref-home #popular-games-container .ref-game-card .ref-oyna-btn:hover {
  color: #fff !important;
  filter: brightness(1.06);
}

.home-page.ref-home #popular-games-container .ref-game-card .ref-oyna-btn:focus-visible {
  outline: 2px solid rgba(230, 0, 38, 0.65);
  outline-offset: 2px;
}

/* ===== Footer (mobile) — Sponsorlarımız ===== */
.footer-mobile-sponsors {
  position: relative;
  margin: 0 0 14px;
  padding: 18px 12px 14px;
  border: 1px solid rgba(230, 0, 38, 0.55);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.0) 60%), rgba(18, 18, 18, 0.85);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.footer-mobile-sponsors__title {
  width: max-content;
  margin: -30px auto 14px;
  padding: 7px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2a49 0%, #e60026 55%, #b00018 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(230, 0, 38, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.footer-mobile-sponsors__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer-mobile-sponsors__card {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.footer-mobile-sponsors__card-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-decoration: none;
}
.footer-mobile-sponsors__card-link {
  cursor: default;
  border: 0;
  background: transparent;
}
.footer-mobile-sponsors__btn {
  cursor: pointer;
}
.footer-mobile-sponsors__btn:active {
  transform: scale(0.99);
}

.footer-mobile-sponsors__img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

/* device split now handled server-side in layout/slider.php */

/* =============================================================================
   Site içi sayfalar — Ramada paleti (kırmızı marka, yeşil yatırım, koyu lacivert ikincil)
   Bootstrap mavi / mor gradient kalıntılarını kapatır.
   ============================================================================= */

/* Bootstrap birincil = marka kırmızısı */
main.site-main .btn-primary,
body .modal .btn-primary {
  background: linear-gradient(180deg, var(--rb-brand) 0%, var(--rb-brand-dark) 100%) !important;
  border-color: var(--rb-brand-dark) !important;
  color: #ffffff !important;
}

main.site-main .btn-primary:hover,
body .modal .btn-primary:hover {
  filter: brightness(1.06);
  color: #ffffff !important;
}

/* Multipay tutar modalı — mor gradient (global .btn-primary override’ının üstünde) */
#multipayAmountModal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

#multipayAmountModal .modal-footer .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  color: #ffffff !important;
}

/* Modal — sabit üst şeridin üzerinde */
.modal-backdrop {
  z-index: 10040 !important;
}

.modal {
  z-index: 10050 !important;
}

main.site-main .text-primary,
body .modal .text-primary {
  color: var(--rb-brand) !important;
}

main.site-main .btn-info,
body .modal .btn-info {
  background: linear-gradient(180deg, #2d4f7d 0%, var(--rb-navy) 100%) !important;
  border-color: var(--rb-navy) !important;
  color: #ffffff !important;
}

main.site-main .btn-success,
body .modal .btn-success {
  background: linear-gradient(135deg, var(--rb-deposit-green-light) 0%, var(--rb-deposit-green) 100%) !important;
  border-color: var(--rb-deposit-green) !important;
  color: #ffffff !important;
}

/* ===== Giriş modalı — metin markası + premium kart ===== */
#login-modal.rb-login-modal-premium .rb-login-modal-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 0 2px;
}

#login-modal.rb-login-modal-premium .rb-login-modal-brand__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 5.5vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

#login-modal.rb-login-modal-premium .rb-login-modal-brand__sub {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rb-brand);
  line-height: 1;
  opacity: 0.95;
}

#login-modal.rb-login-modal-premium .modal-dialog {
  max-width: 400px;
}

#login-modal.rb-login-modal-premium .modal-content {
  margin: 0;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(230, 0, 38, 0.18), transparent 55%),
    linear-gradient(168deg, #1e1e1e 0%, #0c0c0c 48%, #141414 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 0 0 1px rgba(230, 0, 38, 0.18),
    0 32px 64px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

#login-modal.rb-login-modal-premium .modal-content > .row {
  height: auto !important;
  position: relative;
  margin: 0;
}

#login-modal.rb-login-modal-premium .modal-header {
  padding: 28px 40px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(230, 0, 38, 0.2) 0%, rgba(230, 0, 38, 0.05) 45%, transparent 100%);
}

#login-modal.rb-login-modal-premium .modal-login {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 24px 26px 30px;
}

#login-modal.rb-login-modal-premium .login-welcome {
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: #f9fafb !important;
}

#login-modal.rb-login-modal-premium .login-account {
  text-align: center;
  padding: 0 4px 22px !important;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#login-modal.rb-login-modal-premium .login-account a {
  color: #ff7a88 !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 136, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

#login-modal.rb-login-modal-premium .login-account a:hover {
  color: #ffb8c0 !important;
  border-bottom-color: rgba(255, 184, 192, 0.55);
}

#login-modal.rb-login-modal-premium .modal-login .input-group {
  position: relative;
  display: block;
}

#login-modal.rb-login-modal-premium .modal-login .input-group:not(.rb-login-pw-wrap) {
  margin-top: 16px;
}

#login-modal.rb-login-modal-premium .modal-login .input-group .login-input {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 14px !important;
  height: 52px;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

#login-modal.rb-login-modal-premium .modal-login .input-group .login-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

#login-modal.rb-login-modal-premium .modal-login .input-group .login-input:focus {
  border-color: rgba(230, 0, 38, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(230, 0, 38, 0.15);
  outline: none !important;
}

#login-modal.rb-login-modal-premium .modal-login .input-group .switchbutton {
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: 16px !important;
  right: 10px !important;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

#login-modal.rb-login-modal-premium .modal-login .input-group .switchbutton:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Kullanıcı adı alanı da şifre ile aynı genişlik/ölçü */
#login-modal.rb-login-modal-premium .modal-login .login-input__userName,
#login-modal.rb-login-modal-premium .modal-login .login-input__mobileNumber {
  padding-right: 52px !important; /* sağdaki switchbutton üstüne binmesin */
}

#login-modal.rb-login-modal-premium .rb-login-pw-wrap {
  position: relative;
  margin-top: 14px;
}

#login-modal.rb-login-modal-premium .rb-login-pw-input {
  padding-right: 52px !important;
  width: 100%;
}

#login-modal.rb-login-modal-premium .rb-login-pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

#login-modal.rb-login-modal-premium .rb-login-pw-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

#login-modal.rb-login-modal-premium .rb-login-pw-toggle:focus-visible {
  outline: 2px solid rgba(230, 0, 38, 0.65);
  outline-offset: 2px;
}

#login-modal.rb-login-modal-premium .rb-login-pw-toggle i {
  font-size: 18px;
  pointer-events: none;
}

#login-modal.rb-login-modal-premium .modal-content .btn-close,
#login-modal.rb-login-modal-premium .btn-close1 {
  position: absolute !important;
  right: 14px !important;
  top: 14px !important;
  z-index: 6;
  opacity: 0.7;
  filter: invert(1);
  padding: 8px;
}

#login-modal.rb-login-modal-premium .login-btn {
  margin-top: 26px !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

#login-modal.rb-login-modal-premium .login-btn .btn-primary {
  width: 100%;
  height: 52px;
  border-radius: 14px !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: 0 8px 24px rgba(230, 0, 38, 0.28);
}

#login-modal.rb-login-modal-premium .login-btn a {
  float: none !important;
  text-align: center;
  margin: 0 !important;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58) !important;
}

#login-modal.rb-login-modal-premium .login-btn a:hover {
  color: #ff9aa6 !important;
}

@media (max-width: 767.98px) {
  #login-modal.rb-login-modal-premium .modal-dialog {
    max-width: calc(100vw - 22px);
    margin: 0.65rem auto;
  }

  #login-modal.rb-login-modal-premium .modal-header {
    padding: 24px 18px 16px;
  }

  #login-modal.rb-login-modal-premium .modal-login {
    padding: 20px 18px 26px;
  }

  #login-modal.rb-login-modal-premium .login-welcome {
    font-size: 1.2rem;
  }
}
