/* ═══════════════════════════════════════════════════════════════════════════
 * bl.css — دیزاین‌سیستم بت لند ۹۰
 *
 * همه‌ی مقدارهای این فایل از خودِ betland90.com اندازه‌گیری شده‌اند (اسنپ‌شات
 * ۱۷ ژوئن ۲۰۲۶ در Wayback، رندرشده با کروم در ۱۴۴۰px و ۳۹۰px):
 *
 *   هدر ۱۶۰px  =  ردیف بالا ۵۱  +  ردیف لوگو/منو ۵۹  +  نوار بازی‌ها ۴۰
 *   بدنه‌ی دسکتاپ سه‌ستونه:  ۳۵۰ (برگه‌ی شرط) │ ۷۵۰ (اصلی) │ ۳۰۰ (زنده+بازی‌ها)
 *   بنر ۷۵۰×۳۷۵ (۲:۱)        کارت بازی ۳۰۰×۱۵۰ (۲:۱)، گپ ۱۰
 *   تبِ دسته ۶۰×۳۴ در نوار ۶۹px      فوتر ۵۶ + ۷۹
 *   موبایل: هدر ۵۰، بنر ۳۹۰×۱۹۵، کارت ۳۹۰×۱۹۵، نوار پایین ۵۰
 *
 * پالتِ نمونه‌برداری‌شده:
 *   #000000 هدر و نوارهای عنوان      #0e0e0e نوار بازی‌ها و پنل‌ها
 *   #333333 پس‌زمینه‌ی دسکتاپ         #17191f پس‌زمینه‌ی موبایل
 *   #ffcb39 دکمه‌ی ثبت‌نام            #ffd33b سربرگ برگه‌ی شرط
 *   #789118 دکمه‌ی دانلود             #3f2024 نوار اپلیکیشن
 * ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --black: #000;
  --panel: #0e0e0e;
  --page: #333;
  --page-m: #17191f;
  --line: #242424;
  --line-soft: #1b1b1b;
  --gold: #ffcb39;
  --gold-2: #ffd33b;
  --gold-dim: #d9a72a;
  --olive: #789118;
  --olive-2: #8aa61d;
  --maroon: #3f2024;
  --live: #e0483c;
  --txt: #fff;
  --txt-2: #b9b9b9;
  --txt-3: #8a8a8a;

  --hdr-1: 51px;
  --hdr-2: 59px;
  --hdr-3: 40px;
  --gutter: 20px;
  --col-slip: 350px;
  --col-main: 750px;
  --col-live: 300px;
  --fa: Vazirmatn, IranSans, tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--page); color: var(--txt);
  font: 400 14px/1.7 var(--fa); overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.bl-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* ⚠️ «پرش به محتوا» را با inset-inline-start:-9999px پنهان نکنید: در RTL آن
   مقدار به right:-9999px ترجمه می‌شود و ناحیه‌ی اسکرول را ۹۹۹۹px به راست
   می‌کشد — یعنی کل صفحه در موبایل اسکرول افقی پیدا می‌کند. */
.bl-skip {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 999;
  background: var(--gold); color: #000; padding: 10px 18px; font-weight: 700;
  transform: translateY(-200%);
}
.bl-skip:focus { transform: none; }

/* ═══════════════════════════════════════════════════════════════ هدر ══
 * ردیف ۱ (۵۱px): پرچم + ورود + ثبت‌نام سمت چپ
 * ردیف ۲ (۵۹px): لوگو ۲۱۵×۵۶ سمت راست، شش لینکِ منو سمت چپِ لوگو
 * ردیف ۳ (۴۰px، ‎#0e0e0e‎): نوار بازی‌ها
 * ═══════════════════════════════════════════════════════════════════════ */
.bl-hdr { background: var(--black); }
.bl-hdr__wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.bl-hdr__top {
  height: var(--hdr-1); display: flex; align-items: center; gap: 8px;
  justify-content: flex-end; /* در RTL یعنی انتهای چپ — همان‌جای سایت مرجع */
}
.bl-hdr__lang {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  color: var(--txt-2); font-size: 14px;
}
.bl-hdr__lang img { width: 24px; height: 24px; }
.bl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: 14px; white-space: nowrap; border: 0; cursor: pointer;
}
.bl-btn--login {
  height: 30px; padding: 0 20px; background: #0e0e0e; color: #fff;
  border: 1px solid #4a4a4a;
}
.bl-btn--login:hover { border-color: var(--gold); color: var(--gold); }
.bl-btn--signup {
  height: 28px; padding: 0 20px; background: var(--gold); color: #000; font-weight: 700;
}
.bl-btn--signup:hover { background: #ffd964; }

.bl-hdr__main {
  height: var(--hdr-2); display: flex; align-items: flex-end; gap: 20px;
  padding-bottom: 10px; justify-content: flex-start;
}
.bl-hdr__logo { flex: 0 0 auto; }
.bl-hdr__logo img { width: 215px; height: 56px; object-fit: contain; }
.bl-topnav { display: flex; align-items: center; gap: 0; }
.bl-topnav a {
  padding: 0 15px; font-size: 14px; color: #fff; line-height: 16px; white-space: nowrap;
}
.bl-topnav a:hover { color: var(--gold); }
.bl-topnav a.is-live { color: var(--live); }
.bl-topnav a[aria-current='page'] { color: var(--gold); }

.bl-subnav { background: var(--panel); }
.bl-subnav__in {
  max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  height: var(--hdr-3); display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.bl-subnav__in::-webkit-scrollbar { display: none; }
.bl-subnav a {
  padding: 0 20px; height: 38px; display: inline-flex; align-items: center;
  font-size: 14px; color: var(--txt-2); white-space: nowrap; flex: 0 0 auto;
}
.bl-subnav a:hover { color: var(--gold); }
.bl-subnav a[aria-current='page'] { color: var(--gold); }

/* ═════════════════════════════════════════════ نوار اپلیکیشنِ چسبیده ══ */
.bl-appbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  height: 48px; background: var(--maroon);
  display: flex; align-items: center; padding: 0 15px;
}
.bl-appbar[hidden] { display: none; }
.bl-appbar__txt {
  margin-inline-start: auto; display: flex; align-items: center; gap: 10px;
  font-size: 12px; line-height: 1.4; text-align: start;
}
.bl-appbar__txt b { display: block; font-weight: 700; }
.bl-appbar__txt span { display: block; color: #dcc9cb; }
.bl-appbar__txt svg { width: 33px; height: 33px; fill: #a4c639; flex: 0 0 auto; }
.bl-appbar__dl {
  height: 35px; padding: 0 12px; border-radius: 5px; background: var(--olive);
  color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
.bl-appbar__dl:hover { background: var(--olive-2); }
.bl-appbar__dl svg { width: 16px; height: 16px; fill: currentColor; }
.bl-appbar__x {
  width: 30px; height: 30px; margin-inline-end: 10px; border: 0; cursor: pointer;
  background: transparent; display: grid; place-items: center;
}
.bl-appbar__x svg { width: 22px; height: 22px; fill: #c9b3b5; }
.bl-appbar__x:hover svg { fill: #fff; }
body { padding-bottom: 48px; }

/* ══════════════════════════════════════════════ چیدمانِ سه‌ستونه ══════
 * در RTL ترتیب منبع = راست→چپ. سایت مرجع سمت راست «بازی‌های زنده + کارت
 * بازی‌ها» دارد، وسط محتوای اصلی، و سمت چپ «فرم پیش بینی».
 * ═══════════════════════════════════════════════════════════════════════ */
.bl-page { max-width: 1440px; margin-inline: auto; padding: 5px var(--gutter) 20px; }
.bl-cols {
  display: grid; gap: 10px; align-items: start;
  grid-template-columns: var(--col-live) minmax(0, 1fr) var(--col-slip);
}
.bl-col--live { min-width: 0; }
.bl-col--main { min-width: 0; }
.bl-col--slip { min-width: 0; }

/* عنوانِ سیاهِ بالای هر پنل — ‎.title‎ سایت مرجع */
.bl-ttl {
  display: flex; align-items: center; gap: 8px;
  background: var(--black); color: #fff; font-size: 14px; font-weight: 500;
  padding: 14px; line-height: 1.2;
}
.bl-ttl svg { width: 16px; height: 16px; fill: var(--gold); flex: 0 0 auto; }
.bl-ttl__more {
  margin-inline-start: auto; font-size: 12px; color: var(--txt-3); white-space: nowrap;
}
.bl-ttl__more:hover { color: var(--gold); }
.bl-panel { background: var(--panel); }

/* ── بنر اصلی ۲:۱ ─────────────────────────────────────────────────────── */
.bl-hero { position: relative; overflow: hidden; }
.bl-hero__track { position: relative; aspect-ratio: 2 / 1; }
.bl-hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease;
  pointer-events: none;
}
.bl-hero__slide.is-on { opacity: 1; pointer-events: auto; }
.bl-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.bl-hero__dots {
  position: absolute; inset-inline-start: 12px; bottom: 12px; z-index: 3;
  display: flex; gap: 6px;
}
.bl-hero__dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45);
}
.bl-hero__dots button.is-on { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .bl-hero__slide { transition: none; } }

/* ── نوار تبِ دسته‌ها (‎.categories‎ — ۶۹px، هر تب ۶۰×۳۴) ──────────────── */
.bl-tabs {
  background: var(--panel); height: 69px; display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.bl-tabs::-webkit-scrollbar { display: none; }
.bl-tab {
  flex: 0 0 auto; min-width: 60px; padding: 10px; text-align: center;
  color: var(--txt-3); border-bottom: 2px solid transparent;
}
.bl-tab svg { width: 24px; height: 24px; margin: 0 auto 4px; fill: currentColor; }
.bl-tab span { display: block; font-size: 9px; line-height: 1.2; white-space: nowrap; }
.bl-tab:hover { color: #fff; }
.bl-tab.is-on { color: var(--gold); border-bottom-color: var(--gold); }

/* ── جعبه‌ی جستجو ─────────────────────────────────────────────────────── */
.bl-searchbox { background: var(--panel); padding: 10px; }
.bl-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--black); padding: 10px 8px 8px; height: 42px;
}
.bl-search svg { width: 16px; height: 16px; fill: var(--txt-3); flex: 0 0 auto; }
.bl-search input {
  flex: 1; background: transparent; border: 0; color: #fff;
  font: 400 14px/1.4 var(--fa); outline: none; min-width: 0;
}
.bl-search input::placeholder { color: #5c5c5c; }

/* ── گروه و ردیف (ساختارِ ‎.sport-categories‎) ─────────────────────────── */
.bl-group { border-top: 1px solid var(--line-soft); }
.bl-group__h {
  padding: 12px 14px 6px; color: var(--gold); font-size: 14px; font-weight: 700;
}
.bl-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-top: 1px solid var(--line-soft); min-height: 56px;
}
.bl-row:hover { background: rgba(255, 255, 255, .03); }
.bl-row__name { flex: 1; min-width: 0; font-size: 13px; line-height: 1.7; }
.bl-row__name b { display: block; font-weight: 400; color: #fff; }
.bl-row__name i { font-style: normal; color: var(--txt-3); font-size: 12px; }
.bl-row__cells { display: flex; gap: 6px; flex: 0 0 auto; }
.bl-cell {
  width: 62px; height: 34px; background: #1a1a1a; border: 1px solid #262626;
  display: grid; place-items: center; font-size: 12px; color: var(--txt-2);
  line-height: 1.15; text-align: center; padding: 2px;
}
.bl-cell b { display: block; color: var(--gold); font-weight: 700; font-size: 12px; }
.bl-cell:hover { border-color: var(--gold); color: #fff; }
.bl-showall {
  padding: 15px 0; text-align: center; font-size: 13px; color: var(--txt-2);
  border-top: 1px solid var(--line-soft);
}
.bl-showall a:hover { color: var(--gold); }

/* ── کارت بازی ۳۰۰×۱۵۰ (۲:۱) ──────────────────────────────────────────── */
.bl-cards { display: grid; gap: 10px; }
.bl-card {
  display: block; position: relative; aspect-ratio: 2 / 1; overflow: hidden;
  background: #2a1414; transition: transform .18s, box-shadow .18s;
}
.bl-card img { width: 100%; height: 100%; object-fit: cover; }
.bl-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .6); }
.bl-card__badge {
  position: absolute; top: 6px; inset-inline-start: 6px; z-index: 2;
  height: 18px; padding: 0 7px; background: var(--live); color: #fff;
  font: 700 10px/18px var(--fa);
}
.bl-card__badge--new { background: var(--olive); }
.bl-card[hidden] { display: none; }
/* شبکه‌ی کارت‌ها در صفحه‌های هاب */
.bl-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ── برگه‌ی شرط / ستون چپ ─────────────────────────────────────────────── */
.bl-slip__body {
  background: var(--gold-2); color: #1a1400; padding: 14px;
  font-size: 13px; line-height: 1.85;
}
.bl-slip__body b { font-weight: 700; }
.bl-promo { display: block; margin-top: 10px; }
.bl-promo img { width: 100%; height: auto; }
.bl-promo:hover { outline: 1px solid var(--gold); }

/* ═══════════════════════════════════════════════ نوار پایینِ موبایل ══ */
.bl-mbar { display: none; }

/* ═══════════════════════════════════════════════════════════ فوتر ════ */
.bl-foot { background: var(--panel); padding: 20px 0; text-align: center; font-size: 14px; }
.bl-foot__in { max-width: 1440px; margin-inline: auto; padding-inline: 10px; }
.bl-footlinks { background: var(--black); padding: 24px 0 20px; }
.bl-footlinks__in { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.bl-footcols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  padding-bottom: 20px;
}
.bl-footcol h2 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--gold); }
.bl-footcol ul { list-style: none; margin: 0; padding: 0; }
.bl-footcol li { margin-bottom: 7px; }
.bl-footcol a { font-size: 12px; color: var(--txt-2); }
.bl-footcol a:hover { color: #fff; }
.bl-footbot {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #1a1a1a; padding-top: 16px;
}
.bl-footbot__note { flex: 1; min-width: 240px; color: var(--txt-3); font-size: 12px; line-height: 1.9; }
.bl-footbot__note a { color: var(--txt-2); text-decoration: underline; }
.bl-footbot__note a:hover { color: var(--gold); }
.bl-footmini { display: grid; gap: 4px; text-align: start; }
.bl-footmini a { font-size: 12px; color: var(--txt-2); }
.bl-footmini a::before { content: '• '; color: var(--gold); }
.bl-footmini a:hover { color: #fff; }
.bl-foot18 {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #b0457f;
  color: #b0457f; direction: ltr; font: 700 10px/26px Arial, sans-serif;
  text-align: center; flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════════ محتوای صفحه ════ */
.bl-main { background: var(--panel); padding: 18px 20px 26px; }
.bl-crumb { font-size: 12px; color: var(--txt-3); margin-bottom: 10px; }
.bl-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bl-crumb li + li::before { content: '‹'; margin-inline-end: 6px; }
.bl-crumb a { color: var(--txt-2); }
.bl-crumb a:hover { color: var(--gold); }

.bl-h1 {
  font-size: clamp(19px, 3vw, 26px); font-weight: 700; color: #fff; line-height: 1.5;
  margin: 0 0 10px; padding-inline-start: 12px; border-inline-start: 4px solid var(--gold);
}
.bl-lead { font-size: 15px; color: var(--txt-2); line-height: 1.95; margin: 0 0 8px; max-width: 78ch; }

.bl-sec { margin-top: 26px; }
.bl-sec__h {
  font-size: clamp(16px, 2.3vw, 20px); font-weight: 700; color: #fff; margin: 0 0 8px;
  display: flex; align-items: center; gap: 9px; line-height: 1.5;
}
.bl-sec__h::before {
  content: ''; width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); flex: 0 0 auto;
}
.bl-sec__sub { color: var(--txt-2); margin: 0 0 14px; font-size: 13.5px; }

.bl-prose { color: #cfcfcf; font-size: 14.5px; line-height: 2; max-width: 82ch; }
.bl-prose p { margin: 0 0 1em; }
.bl-prose h2 { font-size: 18px; font-weight: 700; color: #fff; margin: 24px 0 8px; }
.bl-prose h3 { font-size: 16px; font-weight: 700; color: var(--gold); margin: 20px 0 6px; }
.bl-prose b, .bl-prose strong { color: #fff; font-weight: 700; }
.bl-prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.bl-prose ul, .bl-prose ol { margin: 0 0 1em; padding-inline-start: 1.3em; padding-inline-end: 0; }
.bl-prose li { margin-bottom: 7px; }
.bl-prose li::marker { color: var(--gold); }

.bl-note {
  border: 1px solid var(--line); border-inline-start: 3px solid var(--gold);
  background: #151515; padding: 12px 14px; margin: 16px 0;
  color: #cfcfcf; font-size: 14px; line-height: 1.95;
}
.bl-note--warn { border-inline-start-color: var(--live); }
.bl-note strong { color: #fff; }

.bl-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.bl-links a {
  display: block; background: #151515; border: 1px solid var(--line);
  padding: 11px 14px; color: #fff; font-weight: 700; font-size: 14px;
  transition: border-color .18s, background .18s;
}
.bl-links a span {
  display: block; font-weight: 400; font-size: 12.5px; color: var(--txt-2);
  line-height: 1.8; margin-top: 2px;
}
.bl-links a:hover { border-color: var(--gold); background: #1c1c1c; }

.bl-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.bl-box { background: #151515; border: 1px solid var(--line); padding: 14px 16px; }
.bl-box h3 { font-size: 15px; font-weight: 700; color: var(--gold); margin: 0 0 6px; }
.bl-box p { margin: 0; font-size: 13.5px; color: var(--txt-2); line-height: 1.9; }

.bl-steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 0; }
.bl-steps li { counter-increment: s; position: relative; padding-inline-start: 44px; margin-bottom: 14px; }
.bl-steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: 4px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--gold); color: #000; font-weight: 700; font-size: 14px;
}
.bl-steps li b { display: block; color: #fff; font-weight: 700; }
.bl-steps li span { display: block; color: var(--txt-2); font-size: 13.5px; }

.bl-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 22px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
}
.bl-cta--go { background: var(--gold); color: #000; }
.bl-cta--go:hover { background: #ffd964; }
.bl-cta--ghost { background: transparent; border-color: var(--line); color: #fff; }
.bl-cta--ghost:hover { border-color: var(--gold); color: var(--gold); }
.bl-cta--sm { height: 32px; padding: 0 16px; font-size: 13px; }

.bl-faq__list { display: grid; gap: 8px; }
.bl-faq__item { background: #151515; border: 1px solid var(--line); }
.bl-faq__item summary {
  cursor: pointer; padding: 12px 15px; font-weight: 700; color: #fff; font-size: 14.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
.bl-faq__item summary::-webkit-details-marker { display: none; }
.bl-faq__item summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; }
.bl-faq__item[open] summary::after { content: '−'; }
.bl-faq__a { padding: 0 15px 12px; color: #cfcfcf; font-size: 14px; line-height: 1.95; }
.bl-faq__a p { margin: 0 0 .8em; }
.bl-faq__a p:last-child { margin-bottom: 0; }
.bl-faq__a a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.bl-finder { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.bl-finder input {
  flex: 1 1 240px; height: 40px; background: #151515; border: 1px solid var(--line);
  padding: 0 14px; color: #fff; font: 400 14px/1.4 var(--fa);
}
.bl-finder input::placeholder { color: var(--txt-3); }
.bl-finder__count { color: var(--txt-2); font-size: 13px; }

/* ── فرم تماس ─────────────────────────────────────────────────────────── */
.bl-form { display: grid; gap: 14px; max-width: 640px; }
.bl-form__row { display: grid; gap: 6px; }
.bl-form label { font-size: 13px; font-weight: 500; color: #fff; }
.bl-form input, .bl-form select, .bl-form textarea {
  background: #151515; border: 1px solid var(--line); padding: 10px 12px;
  color: #fff; font: 400 14px/1.7 var(--fa); width: 100%;
}
.bl-form input:focus, .bl-form select:focus, .bl-form textarea:focus {
  border-color: var(--gold); outline: none;
}
.bl-form textarea { min-height: 130px; resize: vertical; }
.bl-form small { font-size: 12px; color: var(--txt-3); }
.bl-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bl-formnote {
  padding: 10px 12px; font-size: 13px;
  background: rgba(255, 203, 57, .12); border: 1px solid rgba(255, 203, 57, .45); color: #ffe9b0;
}
.bl-formnote[hidden] { display: none; }

/* ── جدول ─────────────────────────────────────────────────────────────── */
.bl-tablewrap { overflow-x: auto; }
.bl-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.bl-table th, .bl-table td { padding: 9px 10px; text-align: start; border-bottom: 1px solid var(--line-soft); }
.bl-table thead th { color: var(--txt-3); font-weight: 500; font-size: 12px; }
.bl-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.bl-table a { color: #fff; font-weight: 500; }
.bl-table a:hover { color: var(--gold); }
.bl-table td b { color: var(--gold); font-weight: 700; }

/* ═══════════════════════════════════════════════════════ میز بازی ════ */
.bl-stagewrap { margin: 0 0 8px; }
.bl-stagebar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--black); padding: 10px 14px; font-size: 13px;
}
.bl-stagebar__tag { color: var(--gold); font-weight: 700; }
.bl-stagebar__sp { flex: 1; }
.bl-stagebar button, .bl-stagebar a {
  background: #1a1a1a; border: 1px solid var(--line); color: #fff;
  padding: 5px 12px; font-size: 12.5px; cursor: pointer; font-family: inherit;
}
.bl-stagebar button:hover, .bl-stagebar a:hover { border-color: var(--gold); color: var(--gold); }
#bl-stage { position: relative; background: #0b0b0b; border: 1px solid var(--line); overflow: hidden; }
#bl-stage, #bl-stage * { -webkit-user-select: text; user-select: text; }
.bl-stageload {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; z-index: 3;
  background: #0b0b0b; color: var(--txt-2); text-align: center; padding: 20px;
}
.bl-stageload[hidden] { display: none; }
.bl-stageload__ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--gold);
  animation: blspin 1s linear infinite;
}
@keyframes blspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bl-stageload__ring { animation: none; } }
.bl-stageload__err { color: #ff9a9a; }
.bl-stageload__acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ══════════════════════════════════ بلوک‌های اختصاصیِ صفحه‌ی بازی ════ */
.bl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bl-two__c { background: #151515; border: 1px solid var(--line); padding: 16px 18px; }
.bl-two__c h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.bl-two__c ul { margin: 0; padding-inline-start: 1.2em; padding-inline-end: 0; }
.bl-two__c li { margin-bottom: 8px; color: #cfcfcf; line-height: 1.9; font-size: 14px; }
.bl-two__c--out { border-top: 3px solid var(--live); }
.bl-two__c--out h3 { color: var(--live); }
.bl-two__c--in { border-top: 3px solid var(--gold); }
.bl-two__c--in h3 { color: var(--gold); }
.bl-forwhom {
  border-inline-start: 4px solid var(--gold); background: #151515; padding: 16px 18px;
}
.bl-forwhom p { margin: 0; color: #fff; font-size: 16px; line-height: 2; }
.bl-loop {
  counter-reset: l; list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.bl-loop li {
  counter-increment: l; position: relative; padding: 14px 50px 14px 14px;
  background: #151515; border: 1px solid var(--line); color: #cfcfcf;
  line-height: 1.85; font-size: 14px;
}
.bl-loop li::before {
  content: counter(l); position: absolute; inset-inline-start: 13px; top: 13px;
  width: 26px; height: 26px; background: var(--gold); color: #000;
  font-weight: 700; font-size: 13px; text-align: center; line-height: 26px;
}
.bl-exit { border-inline-start: 4px solid var(--live); background: #151515; padding: 16px 18px; }
.bl-exit p { margin: 0; color: #cfcfcf; line-height: 2; }
.bl-path { counter-reset: p; list-style: none; padding: 0; margin: 0; }
.bl-path li {
  counter-increment: p; position: relative; padding: 13px 52px 13px 14px; margin-bottom: 8px;
  background: #151515; border: 1px solid var(--line); color: #cfcfcf; line-height: 1.9; font-size: 14px;
}
.bl-path li::before {
  content: counter(p); position: absolute; inset-inline-start: 12px; top: 12px;
  width: 28px; height: 28px; background: var(--gold); color: #000;
  font-weight: 700; font-size: 14px; text-align: center; line-height: 28px;
}
.bl-stop { list-style: none; padding: 0; margin: 0; }
.bl-stop li {
  position: relative; padding: 12px 44px 12px 14px; margin-bottom: 8px;
  background: #151515; border: 1px solid var(--line);
  border-inline-start: 3px solid var(--live); color: #cfcfcf; line-height: 1.9; font-size: 14px;
}
.bl-stop li::before {
  content: '\2715'; position: absolute; inset-inline-start: 16px; top: 13px;
  color: var(--live); font-weight: 700;
}

/* ═══════════════════════════════════════════════════════ ریسپانسیو ═══ */
@media (max-width: 1360px) {
  :root { --col-slip: 300px; --col-live: 270px; }
}
@media (max-width: 1100px) {
  /* ستون برگه‌ی شرط زیر محتوا می‌رود */
  .bl-cols { grid-template-columns: var(--col-live) minmax(0, 1fr); }
  .bl-col--slip { grid-column: 1 / -1; }
  .bl-col--slip .bl-promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .bl-col--slip .bl-promo { margin-top: 0; }
}
@media (max-width: 900px) {
  .bl-footcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-two { grid-template-columns: 1fr; }
  .bl-loop { grid-template-columns: 1fr; }
}

/* ── موبایل: زیر ۷۶۸px ────────────────────────────────────────────────
 * سایت مرجع در موبایل سه‌ستونه نیست: فقط ستون اصلی، و کارت‌های بازی
 * تمام‌عرض زیر فهرست می‌آیند. هدر ۵۰px با لوگوی وسط‌چین، و یک نوار پایینِ
 * پنج‌آیتمی که بالای نوار اپلیکیشن می‌نشیند.
 * ─────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  :root { --gutter: 0px; }
  body { background: var(--page-m); padding-bottom: 98px; }

  .bl-hdr__wrap { padding-inline: 10px; }
  .bl-hdr__top { display: none; }
  .bl-hdr__main {
    height: 50px; padding-bottom: 0; align-items: center; justify-content: center; gap: 0;
  }
  .bl-hdr__logo { order: 0; margin: 0; }
  .bl-hdr__logo img { width: 154px; height: 40px; }
  .bl-topnav { display: none; }
  .bl-subnav__in { padding-inline: 6px; }
  .bl-subnav a { padding: 0 12px; font-size: 13px; }

  .bl-page { padding: 0 0 12px; }
  .bl-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bl-col--live { display: contents; }
  .bl-col--slip .bl-promos { display: block; }
  .bl-col--slip .bl-promo { margin-top: 10px; }

  /* ترتیب موبایلِ سایت مرجع: بنر → تب‌ها → فهرست → کارت بازی‌ها → برگه‌ی شرط */
  .bl-col--main { order: 1; }
  .bl-m-games { order: 2; }
  .bl-col--slip { order: 3; }
  .bl-m-live { order: 4; }
  /* ⚠️ .bl-cols در حالت گرید align-items:start دارد. وقتی در موبایل به
     flex-direction:column تبدیل می‌شود، همان start روی محورِ عرضی می‌نشیند و
     بچه‌ها به‌جای عرضِ ظرف، عرضِ max-content می‌گیرند — نوار تب‌ها و بنر
     دو برابر پهن می‌شدند و نیمشان بیرون کادر می‌افتاد. */
  .bl-cols { display: flex; flex-direction: column; align-items: stretch; }

  .bl-ttl { padding: 12px 14px; }
  .bl-main { padding: 14px 12px 20px; }
  .bl-mbar {
    display: flex; position: fixed; inset-inline: 0; bottom: 48px; z-index: 88;
    height: 50px; background: var(--black); border-top: 1px solid #1a1a1a;
  }
  .bl-mbar a {
    flex: 1; min-width: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    font-size: 10px; color: var(--txt-3); text-align: center; padding: 0 2px;
  }
  .bl-mbar svg { width: 18px; height: 18px; fill: currentColor; }
  .bl-mbar a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bl-mbar a:hover, .bl-mbar a[aria-current='page'] { color: var(--gold); }

  .bl-footcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .bl-footlinks__in, .bl-foot__in { padding-inline: 14px; }
  .bl-form__two { grid-template-columns: 1fr; }
  .bl-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .bl-mbar a { font-size: 9px; }
  .bl-appbar { padding: 0 10px; }
  .bl-appbar__txt { font-size: 11px; gap: 7px; }
}

/* ═══ gateway:start ═══ */
/* ═══════════════════════════════════════════════════════════════════════════
 * دروازه‌ی برند + پاپ‌آپ پایان بازی
 *
 * این بلوک با اسکریپت _tools/gateway/install.mjs به انتهای همین فایل اضافه
 * شده است. هیچ قاعده‌ی بالاتری را بازنویسی نمی‌کند: همه‌ی کلاس‌ها با .gw-
 * شروع می‌شوند و رنگ‌ها از توکن‌های خودِ همین سایت خوانده می‌شوند، پس
 * دروازه همان هویت بصری سایت را می‌گیرد.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* توکن‌ها روی :root می‌نشینند چون پاپ‌آپ مستقیم به <body> اضافه می‌شود و
   بیرون از .gw است؛ اگر اینجا نباشند، کارتِ پاپ‌آپ بی‌پس‌زمینه می‌ماند. */
:root {
  --gw-surface: var(--panel);
  --gw-surface-2: var(--page-m);
  --gw-line: var(--line);
  --gw-text: var(--txt);
  --gw-muted: var(--txt-2);
  --gw-accent: var(--gold);
  --gw-accent-ink: #000000;
  --gw-radius: 5px;
}

/* ── صفحه‌ی دروازه ───────────────────────────────────────────────────────── */

.gw__head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(20px, 4vw, 34px);
}
.gw__t {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2rem);
  line-height: 1.6;
  font-weight: 800;
  color: var(--gw-text);
}
.gw__d {
  margin: 0;
  font-size: clamp(.9rem, .85rem + .25vw, 1rem);
  line-height: 2.1;
  color: var(--gw-muted);
}

.gw__grid {
  display: grid;
  gap: clamp(12px, 2vw, 18px);
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 620px) {
  .gw__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .gw__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── کارت برند ───────────────────────────────────────────────────────────── */

.gw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--gw-surface);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius);
  padding: clamp(16px, 2.2vw, 22px);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.gw-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--gw-brand, var(--gw-accent));
}
.gw-card:hover,
.gw-card:focus-within {
  border-color: var(--gw-brand, var(--gw-accent));
  transform: translateY(-2px);
}

.gw-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  margin-bottom: 12px;
}
/* هر برند اندازه‌ی طبیعی خودش را دارد (--gw-logo-w/h از روی همان کارت).
   بدون این سقف، لوگوهای واژه‌ای عریض روی موبایل تا لبه‌ی کارت کش می‌آیند
   و کارت‌ها با هم ناهماهنگ می‌شوند. */
.gw-card__logo img {
  max-width: min(100%, var(--gw-logo-w, 200px));
  max-height: min(72px, var(--gw-logo-h, 72px));
  width: auto;
  height: auto;
  object-fit: contain;
}
/* لوگوی گرد بعضی برندها خودش پس‌زمینه‌ی تیره دارد و روی کارتِ تیره گم
   می‌شود؛ یک بشقاب روشنِ ملایم زیرش می‌گذاریم. */
.gw-card__logo img.is-round {
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  padding: 4px;
  box-shadow: 0 0 0 1px var(--gw-line);
}

.gw-card__name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.7;
  color: var(--gw-text);
  text-align: center;
}
.gw-card__feat {
  margin: 0 0 14px;
  font-size: .8rem;
  line-height: 1.95;
  color: var(--gw-muted);
  text-align: center;
}

.gw-card__bonus {
  margin-block: auto 14px;
  padding: 12px;
  border-radius: calc(var(--gw-radius) - 4px);
  background: var(--gw-surface-2);
  border: 1px dashed var(--gw-line);
  text-align: center;
}
.gw-card__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.9;
  background: var(--gw-brand, var(--gw-accent));
  color: var(--gw-brand-ink, var(--gw-accent-ink));
}
.gw-card__bonus-t {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.85;
  color: var(--gw-text);
}
.gw-card__bonus-d {
  margin: 4px 0 0;
  font-size: .78rem;
  line-height: 1.85;
  color: var(--gw-muted);
}

.gw-card__cta {
  display: block;
  padding: 13px 14px;
  border-radius: calc(var(--gw-radius) - 4px);
  background: var(--gw-brand, var(--gw-accent));
  color: var(--gw-brand-ink, var(--gw-accent-ink));
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  min-height: 46px;
  transition: filter .15s ease;
}
.gw-card__cta:hover { filter: brightness(1.08); }
.gw-card__app {
  display: block;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: calc(var(--gw-radius) - 6px);
  border: 1px solid var(--gw-line);
  background: transparent;
  color: var(--gw-muted);
  font-size: .8rem;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}
.gw-card__app:hover { color: var(--gw-text); border-color: var(--gw-brand, var(--gw-accent)); }

/* کل کارت کلیک‌پذیر است؛ لینک CTA کشیده می‌شود روی کارت و دکمه‌ی اپ
   بالاتر می‌نشیند تا قابل کلیک بماند. */
.gw-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.gw-card__app { position: relative; z-index: 1; }

.gw__note {
  margin: clamp(20px, 3vw, 30px) auto 0;
  max-width: 46rem;
  padding: 14px 16px;
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius);
  background: var(--gw-surface);
  color: var(--gw-muted);
  font-size: .8rem;
  line-height: 2.05;
  text-align: center;
}

/* ── پاپ‌آپ پایان بازی ───────────────────────────────────────────────────── */

html.gw-lock { overflow: hidden; }

.gw-pop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  direction: rtl;
  overflow: auto;
  background: rgba(3, 6, 11, .66);
  opacity: 0;
  transition: opacity .2s ease;
}
.gw-pop.is-on { opacity: 1; }
.gw-pop * { box-sizing: border-box; }

.gw-pop__card {
  position: relative;
  width: 100%;
  max-width: 22.5rem;
  padding: 26px 20px 18px;
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius);
  background: var(--gw-surface);
  color: var(--gw-text);
  text-align: center;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .5);
  transform: translateY(10px) scale(.98);
  transition: transform .2s ease;
  outline: none;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.gw-pop.is-on .gw-pop__card { transform: none; }

.gw-pop__x {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gw-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.gw-pop__x:hover { background: var(--gw-surface-2); color: var(--gw-text); }

.gw-pop__gift { display: block; font-size: 34px; line-height: 1; margin-bottom: 8px; }

.gw-pop__t {
  margin: 0 0 10px;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.6;
  color: var(--gw-accent);
}
.gw-pop__d {
  margin: 0 0 18px;
  font-size: .88rem;
  line-height: 2.05;
  color: var(--gw-muted);
}
.gw-pop__cta {
  display: block;
  padding: 13px 16px;
  border-radius: calc(var(--gw-radius) - 4px);
  background: var(--gw-accent);
  color: var(--gw-accent-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  min-height: 48px;
}
.gw-pop__cta:hover { filter: brightness(1.08); }
.gw-pop__later {
  margin-top: 12px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--gw-muted);
  font-family: inherit;
  font-size: .8rem;
  line-height: 1.8;
  text-decoration: underline;
  cursor: pointer;
}
.gw-pop__later:hover { color: var(--gw-text); }

@media (max-width: 380px) {
  .gw-pop__card { padding: 22px 16px 14px; }
  .gw-pop__t { font-size: 1.18rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gw-pop, .gw-pop__card, .gw-card { transition: none; }
  .gw-card:hover, .gw-card:focus-within { transform: none; }
}

/* ═══ gateway:end ═══ */
