*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-header: #0d0d0d;
  --text: #ffffff;
  --red-brand: #d63f17;
  --red-brand-hover: #bf3814;
  --green-signup: #1e6b5c;
  --green-signup-hover: #185a4d;
  --nav-muted: rgba(255, 255, 255, 0.92);
  --header-top-height: 50px;
  --nav-height: 44px;
  --header-inline-pad: 12px;
  --slide-width: 320px;
  --slide-height: 155px;
  --slide-gap: 10px;
  --game-card-width: 138px;
  --game-card-height: 148.38px;
  --live-game-w-sm: 160px;
  --live-game-h-sm: 100px;
  --live-game-w-lg: 224px;
  --live-game-h-lg: 140px;
  --app-slide-width: 336px;
  --app-slide-height: 146px;
  --side-menu-width: min(85vw, 342px);
  --side-menu-bg: #1a1d21;
  --side-menu-block-gap: 10px;
  --side-menu-block-radius: 14px;
  --side-menu-block-inset: 10px;
  --side-menu-item-height: 42px;
  --side-menu-item-bg: #2a2e35;
  --side-menu-item-pad: 8px 12px 8px 10px;
  --side-menu-font-size: 0.9375rem;
}

body {
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  background: #111;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-header);
  width: 100%;
  max-width: 100%;
}

/* —— Üst satır —— */
.header-top {
  position: relative;
  z-index: 502;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: var(--header-top-height);
  padding: 0 var(--header-inline-pad);
  background: var(--bg-header);
}

.header-top__start {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto;
}

/* Betboo export CSS (top-menu-bar, spb-logo) site header ile çakışmasın */
.site-header .top-menu-bar__item-header,
.site-header .top-menu-bar__item--logo,
.site-header .spb-logo,
.site-header .spb-logo__logo-container,
.site-header .spb-logo__img,
.site-header .menu-btn,
.site-header .spb-icon-btn {
  float: none !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
  background: transparent !important;
  border-bottom: none !important;
  z-index: auto !important;
}

.site-header .menu-btn::before,
.site-header .menu-btn::after,
.site-header .spb-icon-btn--header-left-menu::before,
.site-header .spb-icon-btn--header-left-menu::after {
  content: none !important;
  display: none !important;
}

.site-header .logo,
.site-header .logo__img {
  margin: 0 !important;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-btn__bar {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 148px;
  height: 40px;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo__img {
  display: block;
  width: auto;
  max-width: 148px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
}

.header-actions--auth {
  gap: 6px;
}

.header-actions--auth[hidden],
.header-actions--guest[hidden] {
  display: none !important;
}

.header-actions--auth:not([hidden]),
.header-actions--guest:not([hidden]) {
  display: flex !important;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.header-icon-btn--contact {
  width: 32px;
  height: 32px;
}

.header-icon-btn--profile {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-brand);
  color: var(--text);
}

.header-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 10px;
  border: none;
  border-radius: 4px;
  background: #18856a;
  color: var(--text);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.site-header.is-logged-in .header-top__start {
  flex: 0 1 auto;
  min-width: 0;
}

.site-header.is-logged-in .logo {
  width: 132px;
  height: 36px;
}

.site-header.is-logged-in .logo__img {
  max-width: 132px;
  height: 28px;
}

@media (max-width: 390px) {
  .site-header.is-logged-in .logo {
    width: 118px;
  }

  .site-header.is-logged-in .logo__img {
    max-width: 118px;
    height: 24px;
  }

  .header-actions--auth {
    gap: 4px;
  }

  .header-icon-btn--contact {
    width: 28px;
    height: 28px;
  }

  .header-icon-btn--contact svg {
    width: 22px;
    height: 22px;
  }

  .header-icon-btn--profile {
    width: 30px;
    height: 30px;
  }

  .header-balance {
    height: 30px;
    padding: 0 7px;
    font-size: 0.75rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn--login {
  background: var(--red-brand);
  min-width: 58px;
}

.btn--login:hover {
  background: var(--red-brand-hover);
}

.btn--signup {
  background: var(--green-signup);
  min-width: 68px;
}

.btn--signup:hover {
  background: var(--green-signup-hover);
}

/* —— Alt navigasyon —— */
.header-nav {
  position: relative;
  z-index: 501;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  background: var(--bg-header);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.header-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  min-height: var(--nav-height);
  padding: 0 var(--header-inline-pad);
  width: max-content;
}

.header-nav__link {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  color: var(--nav-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.header-nav__link:first-child {
  padding-left: 0;
}

.header-nav__link:hover {
  color: var(--text);
}

.header-nav__link.is-active {
  color: var(--text);
}

.header-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

.header-nav__link.is-active:first-child::after {
  left: 0;
}

/* —— Yan menü (hamburger) —— */
.side-menu-overlay {
  position: fixed;
  inset: var(--header-top-height) 0 0 0;
  /* Casino/canlı casino ISM şeridi export CSS'te z-index ~1000+ */
  z-index: 2500;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.side-menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-menu-open .header-nav {
  visibility: hidden;
  pointer-events: none;
}

body.is-menu-open .spb-casino-export .spb-ism-category-picker,
body.is-menu-open .spb-live-casino-export .spb-ism-category-picker {
  z-index: 1;
}

.side-menu {
  position: fixed;
  top: var(--header-top-height);
  left: 0;
  bottom: 0;
  z-index: 2501;
  width: var(--side-menu-width);
  max-width: 100%;
  background: var(--side-menu-bg);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
  box-shadow: 6px 0 28px rgba(0, 0, 0, 0.5);
}

.side-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.side-menu__inner {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--side-menu-block-inset) var(--side-menu-block-inset) 24px;
  display: flex;
  flex-direction: column;
  gap: var(--side-menu-block-gap);
}

.side-menu__card {
  width: 100%;
  background: var(--side-menu-item-bg);
  border-radius: var(--side-menu-block-radius);
  overflow: hidden;
}

.side-menu__list {
  list-style: none;
}

.side-menu__list li + li {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.side-menu__link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: var(--side-menu-item-height);
  height: var(--side-menu-item-height);
  padding: var(--side-menu-item-pad);
  margin: 0;
  background: transparent;
  color: var(--text);
  font-size: var(--side-menu-font-size);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s ease;
}

.side-menu__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.side-menu__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #fff;
}

.side-menu__app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--red-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.side-menu__promo {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 46px;
  border-radius: var(--side-menu-block-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background-color: #1b5e54;
  background-image: linear-gradient(115deg, #1b5e54 0%, #164a42 45%, #1a5248 100%);
}

.side-menu__promo--has-art {
  background-image: linear-gradient(90deg, rgba(26, 54, 50, 0.92) 0%, rgba(26, 54, 50, 0.4) 55%, transparent 100%),
    url("../../menu/promosyonlar-bg.webp");
  background-position: 0 0, right center;
  background-size: auto, auto 100%;
  background-repeat: no-repeat;
}

.side-menu__promo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: var(--side-menu-item-pad);
  font-size: var(--side-menu-font-size);
  font-weight: 700;
  line-height: 1.2;
}

.side-menu__promo-art {
  display: none;
}

.side-menu__accordion {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: var(--side-menu-item-height);
  height: var(--side-menu-item-height);
  padding: var(--side-menu-item-pad);
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: var(--side-menu-font-size);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.side-menu__accordion:hover {
  background: rgba(255, 255, 255, 0.06);
}

.side-menu__accordion-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.side-menu__chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.side-menu__accordion[aria-expanded="true"] .side-menu__chevron {
  transform: rotate(180deg);
}

.side-menu__panel {
  padding: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.side-menu__panel[hidden] {
  display: none;
}

.side-menu__sublink {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: var(--side-menu-item-height);
  padding: var(--side-menu-item-pad);
  padding-left: 40px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.side-menu__sublink:hover {
  background: rgba(255, 255, 255, 0.06);
}

.side-menu__social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  padding: 2px 0 0;
  width: 100%;
}

.side-menu__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--side-menu-item-bg);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease;
}

.side-menu__social-link:hover {
  background: #454545;
}

body.is-menu-open {
  overflow: hidden;
}

.page-main {
  background: #111;
  box-sizing: border-box;
  max-width: 100%;
  padding: 10px 8px 0;
}

.page-main--casino {
  padding-bottom: 8px;
}

.page-main--live-casino:not(.page-main--spb) {
  padding-bottom: 16px;
}

.casino-tabs--live .casino-tabs__item--active {
  background: var(--green-signup);
}

.live-games--page {
  margin-bottom: 18px;
}

.live-games--page .live-games__cta {
  display: none;
}

.live-tables__list {
  display: flex;
  gap: 8px;
  width: max-content;
  list-style: none;
}

.live-table-card {
  position: relative;
  display: block;
  width: 138px;
  height: 148px;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.live-table-card--wide {
  width: 160px;
  height: 100px;
}

.live-table-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-table-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

/* —— Casino sayfası —— */
.casino-hero {
  padding-bottom: 10px;
}

.casino-hero__link {
  display: block;
  width: 384px;
  max-width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}

.casino-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.casino-tabs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 6px 4px;
  border-radius: 10px;
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.casino-tabs__item--active {
  background: var(--red-brand);
  color: #fff;
}

.casino-tabs__icon {
  opacity: 0.95;
}

.casino-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.casino-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #2a2a2a;
}

.casino-search__icon {
  display: flex;
  color: rgba(255, 255, 255, 0.55);
}

.casino-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
}

.casino-search__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.casino-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: #2a2a2a;
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.casino-section {
  margin-bottom: 18px;
}

.casino-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.casino-section__title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.casino-section__icon {
  flex-shrink: 0;
  color: #fff;
}

.casino-section__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.casino-section__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.casino-section__all {
  min-height: 28px;
  padding: 0 10px;
  border: none;
  border-radius: 999px;
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.casino-section__nav {
  display: flex;
  gap: 6px;
}

.casino-section__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: #2a2a2a;
  color: #fff;
  cursor: pointer;
}

.casino-section__nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.casino-section__viewport {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.casino-section__viewport::-webkit-scrollbar {
  display: none;
}

.lucky-players__list {
  display: flex;
  gap: 8px;
  width: max-content;
  list-style: none;
}

.lucky-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 168px;
  min-height: 72px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #2a2a2a;
}

.lucky-card__thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.lucky-card__game {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.88);
}

.lucky-card__user {
  margin-top: 2px;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.lucky-card__amount {
  margin-top: 2px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #3ddbb9;
}

.page-main--casino .top10-games {
  padding-top: 0;
}

.casino-popular__list {
  display: flex;
  gap: 8px;
  width: max-content;
  list-style: none;
}

.casino-popular__card {
  position: relative;
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.casino-popular__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-popular__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 4px;
  background: #2b6cff;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* —— Hero slider —— */
.hero-slider {
  padding-bottom: 14px;
}

.hero-slider__frame {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr) 3px;
  gap: 6px;
  align-items: stretch;
}

.hero-slider__edge {
  width: 3px;
  border-radius: 2px;
  background: #3d3d3d;
  min-height: var(--slide-height);
  align-self: center;
  height: calc(var(--slide-height) - 20px);
}

.hero-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
}

.hero-slider__viewport::-webkit-scrollbar {
  display: none;
}

.hero-slider__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.hero-slider__track {
  display: flex;
  align-items: stretch;
  gap: var(--slide-gap);
  width: max-content;
  padding-inline: 4px;
}

.hero-slider__slide {
  flex: 0 0 var(--slide-width);
  width: var(--slide-width);
  height: var(--slide-height);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #1a1a1a;
}

.hero-slider__img {
  display: block;
  width: var(--slide-width);
  height: var(--slide-height);
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* —— Güvenli giriş banner (tek, kaydırmasız) —— */
.promo-banner {
  padding-bottom: 14px;
}

.promo-banner__link {
  display: block;
  width: 384px;
  max-width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #1a1a1a;
}

.promo-banner__img {
  display: block;
  width: 384px;
  max-width: 100%;
  height: 140px;
  object-fit: cover;
  vertical-align: middle;
}

/* —— En popüler 10 oyun —— */
.top10-games {
  position: relative;
  padding: 4px 0 24px;
}

.top10-games::before {
  content: "";
  position: absolute;
  left: 55%;
  top: 58%;
  width: 220px;
  height: 160px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(88, 52, 140, 0.2) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.top10-games__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.top10-games__title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.top10-games__subtitle {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.62);
}

.top10-games__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 2px;
}

.top10-games__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: #2b2b2b;
  color: #c4c4c4;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.top10-games__nav-btn:hover:not(:disabled) {
  background: #353535;
  color: var(--text);
}

.top10-games__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.top10-games__viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.top10-games__viewport::-webkit-scrollbar {
  display: none;
}

.top10-games__list {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  list-style: none;
  min-height: var(--game-card-height);
  padding: 0 2px 4px;
}

.top10-games__item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  /* Kart, rakamın üstüne biner; solda sadece rakamın bir kısmı görünür */
  padding-left: 28px;
  min-height: var(--game-card-height);
}

.top10-games__rank {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 0;
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-size: 7.25rem;
  font-weight: 900;
  font-style: normal;
  line-height: 0.76;
  letter-spacing: -0.08em;
  transform: translateY(-50%);
  background: linear-gradient(
    165deg,
    #1a3d72 0%,
    #2a6cb8 38%,
    #4da3e8 72%,
    #7ec8ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.92;
  filter: drop-shadow(0 2px 10px rgba(36, 98, 170, 0.28));
  pointer-events: none;
  user-select: none;
}

.top10-games__item--rank10 {
  padding-left: 32px;
}

.top10-games__item--rank10 .top10-games__rank {
  left: 0;
  font-size: 5.35rem;
  letter-spacing: -0.1em;
  transform: translateY(-50%);
}

.game-card {
  position: relative;
  z-index: 2;
  display: block;
  margin-left: 0;
  width: var(--game-card-width);
  height: var(--game-card-height);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(160deg, #3a3a4a 0%, #222 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.game-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: rgba(8, 8, 12, 0.72);
  opacity: 0;
  transition: opacity 0.15s ease;
  text-align: center;
}

.game-card:hover .game-card__overlay,
.game-card:focus-visible .game-card__overlay {
  opacity: 1;
}

.game-card__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--green-signup);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.game-card__name {
  max-width: 100%;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* —— Oyun sağlayıcıları —— */
.providers-section {
  padding: 18px 0 28px;
}

.providers-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.providers-section__icon {
  flex-shrink: 0;
  color: #5eb0f0;
}

.providers-carousel {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  margin-bottom: 18px;
}

.providers-carousel:active {
  cursor: grabbing;
}

.providers-carousel::-webkit-scrollbar {
  display: none;
}

.providers-carousel__list {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: max-content;
  list-style: none;
  padding: 2px 0;
}

.providers-carousel__item {
  flex: 0 0 auto;
}

.provider-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 52px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: #242424;
  cursor: pointer;
  transition: background 0.15s ease;
}

.provider-card:hover {
  background: #303030;
}

.provider-card__logo {
  display: block;
  width: auto;
  max-width: 80px;
  height: 20px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.providers-section__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: var(--green-signup);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.providers-section__cta:hover {
  background: var(--green-signup-hover);
}

/* —— Canlı oyunlar —— */
.live-games {
  padding: 18px 0 28px;
}

.live-games__header {
  margin-bottom: 16px;
}

.live-games__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.live-games__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5eb0f0;
  color: #0d0d0d;
  flex-shrink: 0;
}

.live-games__subtitle {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.62);
}

.live-games__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
  cursor: grab;
  margin-bottom: 18px;
  overscroll-behavior-x: contain;
}

.live-games__viewport.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.live-games__viewport:active {
  cursor: grabbing;
}

.live-games__viewport::-webkit-scrollbar {
  display: none;
}

.live-games__track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  list-style: none;
  min-height: var(--live-game-h-lg);
  padding: 2px 0;
}

.live-games__slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: width 0.28s ease;
}

.live-games__card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  background: #1a1a1a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.live-games__img {
  display: block;
  width: var(--live-game-w-sm);
  height: var(--live-game-h-sm);
  object-fit: cover;
  transition: width 0.28s ease, height 0.28s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.live-games__slide--active .live-games__img {
  width: var(--live-game-w-lg);
  height: var(--live-game-h-lg);
}

.live-games__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: var(--red-brand);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.live-games__cta:hover {
  background: var(--red-brand-hover);
}

/* —— App slider (8 slayt + noktalar) —— */
.app-slider {
  padding: 18px 0 28px;
}

.app-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}

.app-slider__viewport.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.app-slider__viewport::-webkit-scrollbar {
  display: none;
}

.app-slider__track {
  display: flex;
  align-items: stretch;
  gap: var(--slide-gap);
  width: max-content;
  padding-inline: 2px;
}

.app-slider__slide {
  flex: 0 0 var(--app-slide-width);
  width: var(--app-slide-width);
  height: var(--app-slide-height);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #1a1a1a;
}

.app-slider__img {
  display: block;
  width: var(--app-slide-width);
  height: var(--app-slide-height);
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.app-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.app-slider__dot {
  width: 22px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #4a4a4a;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.app-slider__dot.is-active {
  width: 28px;
  background: #ffffff;
}

.app-slider__dot:hover:not(.is-active) {
  background: #666666;
}

/* —— Footer —— */
.site-footer {
  background: #2d3238;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 8px;
}

.site-footer__inner {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 16px 36px;
  text-align: center;
}

.site-footer__downloads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.store-btn:hover {
  opacity: 0.88;
}

.store-btn__img {
  display: block;
  width: 156px;
  height: 28px;
  object-fit: contain;
}

.site-footer__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.site-footer__badge {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.92;
}

.site-footer__legal,
.site-footer__warning {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.site-footer__warning {
  margin-bottom: 22px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  row-gap: 6px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  user-select: none;
}

@media (min-width: 768px) {
  .header-top {
    gap: 12px;
    padding: 0 16px;
  }

  .header-top__start {
    gap: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn {
    height: auto;
    min-width: 72px;
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .btn--login,
  .btn--signup {
    min-width: 72px;
  }

  .header-nav__list {
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
  }

  .header-nav__link {
    padding: 12px 14px;
  }

  .header-nav__link:first-child {
    padding-left: 14px;
  }

  .header-nav__link.is-active::after {
    left: 14px;
    right: 14px;
  }

  .header-nav__link.is-active:first-child::after {
    left: 14px;
  }
}

@media (max-width: 374px) {
  :root {
    --header-inline-pad: 8px;
  }

  .logo {
    width: 124px;
  }

  .logo__img {
    max-width: 124px;
    height: 26px;
  }

  .btn {
    padding: 0 9px;
    font-size: 0.8125rem;
  }

  .btn--login {
    min-width: 52px;
  }

  .btn--signup {
    min-width: 60px;
  }
}

.header-actions .btn--login,
.header-actions .btn--signup {
  font: inherit;
  cursor: pointer;
  border: none;
}

/* —— Canlı bakiye / ödeme bildirimleri —— */
.betboo-toast-host {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(420px, calc(100vw - 24px));
  transform: translateX(-50%);
  pointer-events: none;
}

.betboo-toast {
  padding: 12px 14px;
  border-radius: 8px;
  background: #323235;
  color: #f8f8f8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.betboo-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.betboo-toast--success {
  border-left: 4px solid #18856a;
}

.betboo-toast--error {
  border-left: 4px solid #d63f17;
}

.betboo-toast--info {
  border-left: 4px solid #5b9bd5;
}

.betboo-toast__title {
  display: block;
  margin: 0 0 4px;
  font-size: 0.875rem;
  font-weight: 700;
}

.betboo-toast__message {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(248, 248, 248, 0.9);
}
