/* ═══════════════════════════════════════════════════════════════════════════
 * FAZBET — استایل «افزوده‌ها»
 *
 * ⚠️ این فایل هیچ چیزی از دیزاین خودِ فاز بت را عوض نمی‌کند.
 *    پوسته‌ی سایت (هدر، نوار منو، بنر، نوار بازی‌ها، فوتر، فونت) کاملاً از
 *    default/assets/css/*.css می‌آید — همان فایل‌های خودِ سایت، بدون تغییر.
 *
 *    اینجا فقط دو چیز هست:
 *      ۱) چند خط اتصال برای رفتارهایی که در سایت اصلی جاوااسکریپت انجام می‌داد
 *      ۲) استایل محتوایی که ما اضافه کرده‌ایم — همه با پیشوند .fz-
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ⚠️ پالت دقیقاً همان پالت خودِ فاز بت است — از default.style.rtl.css
   خوانده شده، نه حدس زده:
     #25386f  سرمه‌ای برند (پس‌زمینه‌ی body دسکتاپ، دکمه‌ها، کارت‌های فوتر)
     #202a47  سرمه‌ای تیره (نوار منو، فوتر، page-title)
     #17191f  زمینه‌ی page-content
     #47dbff  فیروزه‌ای برند (از خودِ لوگو و بنرهای اصلی)
     #82828e  متن فرعی خودِ پوسته
   هیچ رنگ زرد/سبزی در کار نیست؛ آن پالت از یک سایت دیگرِ این مجموعه
   جا مانده بود و با هویت فاز بت نمی‌خواند. */
:root {
  --fz-bg: #25386f;
  --fz-bg-2: #17191f;
  --fz-bg-3: #1e2334;
  --fz-bar: #202a47;
  --fz-line: #33436e;
  --fz-line-soft: #232b40;
  --fz-gold-2: #2ea8d6;
  --fz-gold: #47dbff;
  --fz-accent: #47dbff;
  --fz-text: #e6e9ee;
  --fz-text-2: #a7aebb;
  --fz-text-3: #82828e;
  --fz-neon: #47dbff;
  --fz-neon-2: #3b6fe0;
  --fz-on-accent: #07142e;
  --fz-wrap: 100%;
}

/* ═══════════════════ ۱) رفتارهایی که در سایت اصلی با jQuery بود ════════
 * اسلایدر: همان انیمیشن margin-right از ۰٪ به ‎-۱۰۰٪‎ در ۵۰۰ میلی‌ثانیه.
 * منوی موبایل: همان لایه‌ی تمام‌صفحه که نمایش/پنهان می‌شود.
 * ═══════════════════════════════════════════════════════════════════════ */
/* برچسب صفحه‌خوانِ هر اسلاید position:absolute است و جد موقعیت‌دار نداشت، پس
   containing block‌اش ویوپورت می‌شد و از overflow:hidden این قاب بیرون می‌زد؛
   اسلاید دوم به بعد یک عرضِ صفحه فاصله دارند، یعنی سند در RTL یک تا سه صفحه
   به چپ کشیده می‌شد و کل صفحه اسکرول افقی می‌گرفت. relative آن‌ها را داخل
   همین قاب نگه می‌دارد و کلیپ می‌کند (هیچ تغییر ظاهری ندارد). */
.main-splash .image-container { position: relative; }

.main-splash .image-container .image {
  transition: margin-right .5s ease;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .main-splash .image-container .image { transition: none; }
}
.mobile-menu.open { display: block; }

/* ویژگی width/height روی تصویرها برای CLS اضافه شده؛ در مارک‌آپ اصلی
   نبودند، پس ارتفاع دوباره آزاد می‌شود تا نسبت تصویر همان بماند. */
.main-games-box .game img { height: auto; }
.header .left img, .mobile-bar .logo img { height: auto; }
.footer-download-link-icon, .custom-mobile-menu-items img { height: auto; }

/* ═══════════════════════ ۲) محتوای افزوده (.fz-*) ═════════════════════ */

/* استایل پایه‌ی سایت متن را غیرقابل‌انتخاب کرده؛ داخل محتوای ما باید
   بشود متن را انتخاب و کپی کرد. */
.fz-main, .fz-main *, .fz-foot, .fz-foot * {
  -webkit-user-select: text; user-select: text; -webkit-touch-callout: default;
}

/* ⚠️ پنهان‌کردن با right:-9999px در صفحه‌ی RTL باعث اسکرول افقی می‌شود؛
   پس از clip استفاده می‌کنیم که هیچ عرضی به سند اضافه نمی‌کند. */
.fz-skip {
  position: absolute; right: 0; top: 0; z-index: 1000000;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
  background: var(--fz-gold); color: var(--fz-on-accent); padding: 10px 18px;
  font-weight: 500; text-decoration: none; border-radius: 0 0 0 8px;
}
.fz-skip:focus {
  width: auto; height: auto; overflow: visible; clip-path: none;
}
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--fz-gold); outline-offset: 2px; border-radius: 4px;
}

.fz-main {
  max-width: var(--fz-wrap); margin: 0 auto; padding: 18px 12px 40px;
  color: var(--fz-text); font-size: 15px; line-height: 1.9;
}
@media screen and (max-width: 1000px) { .fz-main { padding-bottom: 70px; } }
.fz-main p { margin: 0 0 1em; }
.fz-main ul, .fz-main ol { margin: 0 0 1em; padding-right: 1.4em; padding-left: 0; }
.fz-main table { border-collapse: collapse; width: 100%; }
.fz-main img { max-width: 100%; height: auto; }
.fz-sec--first { margin-top: 4px; }

.fz-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.fz-crumb { font-size: 13px; color: var(--fz-text-3); margin-bottom: 10px; }
.fz-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fz-crumb li + li::before { content: '‹'; margin-left: 6px; color: var(--fz-text-3); }
.fz-crumb a { color: var(--fz-text-2); text-decoration: none; }
.fz-crumb a:hover { color: var(--fz-gold); }

.fz-h1 {
  font-size: clamp(22px, 4vw, 32px); font-weight: 500; color: #fff; margin: 0 0 10px;
  padding-right: 12px; border-right: 4px solid var(--fz-gold); line-height: 1.5;
}
.fz-lead { font-size: 16px; color: var(--fz-text-2); max-width: 74ch; margin: 0 0 22px; }

.fz-sec { margin: 30px 0 0; }
.fz-sec__h {
  font-size: clamp(18px, 3vw, 23px); font-weight: 500; color: #fff; margin: 0 0 6px;
  display: flex; align-items: center; gap: 9px; line-height: 1.5;
}
.fz-sec__h::before {
  content: ''; width: 8px; height: 8px; border-radius: 2px;
  background: var(--fz-neon); transform: rotate(45deg); flex: 0 0 auto;
}
.fz-sec__sub { color: var(--fz-text-2); margin: 0 0 14px; }

.fz-prose { color: #cdd8e4; max-width: 78ch; }
.fz-prose h3 { font-size: 17px; font-weight: 500; color: var(--fz-gold); margin: 18px 0 6px; }
.fz-prose b, .fz-prose strong { color: #fff; font-weight: 500; }
.fz-prose a { color: var(--fz-gold); }

/* ⚠️ لینکِ وسط پاراگراف فقط با رنگ از متن جدا می‌شد، و کنتراست همان رنگ با
   رنگ متن ۱.۱۳:۱ است (حداقل لازم ۳:۱). یعنی کسی که تفاوت این دو رنگ را
   نمی‌بیند، اصلاً نمی‌فهمد آن‌جا لینکی هست. خط زیر، نشانه‌ی دومی است که
   مستقل از رنگ کار می‌کند. رنگ‌ها دست‌نخورده می‌مانند.

   !important لازم است چون site-theme.css خودِ فاز بت قاعده‌ی
   `a { text-decoration: none !important }` دارد. آن فایل دارایی مرجع است و
   دست نمی‌خورد، پس تنها راهِ غلبه بر آن همین است — و فقط روی لینک‌هایی که
   داخل متن‌اند، نه روی کارت‌ها و دکمه‌های پوسته. */
.fz-prose a, .fz-faq__a a, .fz-sec__sub a, .fz-note a, .fz-two__c a, .fz-foot__note a {
  text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.fz-prose li { margin-bottom: 7px; }
.fz-prose li::marker { color: var(--fz-neon); }

.fz-note {
  border: 1px solid var(--fz-line); border-right: 3px solid var(--fz-gold);
  background: var(--fz-bg-2); border-radius: 8px; padding: 12px 14px; margin: 16px 0;
  color: #cdd8e4;
}
.fz-note--warn { border-right-color: #e5484d; }
.fz-note strong { color: #fff; font-weight: 500; }

.fz-steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 0; }
.fz-steps li { counter-increment: s; position: relative; padding-right: 44px; margin-bottom: 14px; }
.fz-steps li::before {
  /* ارقام فارسی — بقیه‌ی عددهای سایت فارسی‌اند، شماره‌ی پله‌ها هم باید باشد */
  content: counter(s, persian); position: absolute; right: 0; top: 3px;
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--fz-neon), var(--fz-neon-2));
  color: var(--fz-on-accent); font-weight: 500; font-size: 14px;
}
.fz-steps li b { display: block; color: #fff; font-weight: 500; }
.fz-steps li span { display: block; color: var(--fz-text-2); font-size: 14px; }

.fz-scroll { overflow-x: auto; margin: 12px 0; border: 1px solid var(--fz-line); border-radius: 10px; }
.fz-scroll table { min-width: 420px; font-size: 14px; }
.fz-scroll th, .fz-scroll td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--fz-line-soft); }
.fz-scroll thead th { background: var(--fz-bg-3); color: var(--fz-gold); font-weight: 500; white-space: nowrap; }
.fz-scroll tbody tr:last-child td { border-bottom: 0; }
.fz-scroll tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }

.fz-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; }
.fz-specs > div { background: var(--fz-bg-2); border: 1px solid var(--fz-line-soft); border-radius: 9px; padding: 9px 12px; }
.fz-specs dt { font-size: 12px; color: var(--fz-text-3); }
.fz-specs dd { margin: 0; font-size: 14px; color: #fff; font-weight: 500; }

.fz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.fz-gcard {
  display: flex; flex-direction: column; text-decoration: none;
  background: #05080c; border: 1px solid var(--fz-line-soft); border-radius: 12px;
  overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.fz-gcard:hover {
  transform: translateY(-3px); border-color: var(--fz-neon);
  box-shadow: 0 10px 26px rgba(71, 219, 255, .18);
}
.fz-gcard__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.fz-gcard__b { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 4px; }
.fz-gcard__t { font-weight: 500; color: #fff; font-size: 16px; }
.fz-gcard__d { font-size: 13px; color: var(--fz-text-2); line-height: 1.7; flex: 1; }
.fz-gcard__cta { font-size: 13px; color: var(--fz-gold); font-weight: 500; margin-top: 4px; }
.fz-gcard[hidden] { display: none; }

.fz-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.fz-links a {
  display: block; text-decoration: none; background: var(--fz-bg-2);
  border: 1px solid var(--fz-line-soft); border-radius: 10px; padding: 11px 14px;
  color: #fff; font-weight: 500; transition: border-color .18s, background .18s;
}
.fz-links a span { display: block; font-weight: 300; font-size: 13px; color: var(--fz-text-2); }
.fz-links a:hover { border-color: var(--fz-gold); background: var(--fz-bg-3); }

.fz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fz-card { background: var(--fz-bg-2); border: 1px solid var(--fz-line-soft); border-radius: 11px; padding: 14px 16px; }
.fz-card__h { font-size: 16px; font-weight: 500; color: var(--fz-gold); margin: 0 0 5px; }
.fz-card p { margin: 0; font-size: 14px; color: var(--fz-text-2); }

.fz-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 9px; text-decoration: none;
  font-weight: 500; font-size: 15px; border: 1px solid transparent; cursor: pointer;
}
.fz-btn--go { background: linear-gradient(180deg, var(--fz-neon), var(--fz-neon-2)); color: var(--fz-on-accent); }
.fz-btn--go:hover { filter: brightness(1.08); }
.fz-btn--ghost { background: transparent; border-color: var(--fz-line); color: var(--fz-text); }
.fz-btn--ghost:hover { border-color: var(--fz-gold); color: var(--fz-gold); }
.fz-btn--sm { padding: 8px 16px; font-size: 14px; }

/* ⚠️ آکاردئون FAQ دو مارک‌آپ دارد: یکی .fz-faq__list/.fz-faq__item و یکی
   .fz-faq > details که `faqBlock()` در lib/html.mjs می‌سازد. فقط اولی استایل
   داشت، پس آکاردئون *همه‌ی* صفحه‌ها (بازی‌ها، راهنما، پشتیبانی) با <details>
   خامِ مرورگر بالا می‌آمد: بی‌کارت، بی‌فلشِ +/− و با مثلث پیش‌فرض. هر دو
   مارک‌آپ از این‌جا به بعد یک ظاهر دارند. */
.fz-faq__list, .fz-faq { display: grid; gap: 8px; }
.fz-faq__item, .fz-faq > details { background: var(--fz-bg-2); border: 1px solid var(--fz-line-soft); border-radius: 10px; }
.fz-faq__item summary, .fz-faq > details > summary {
  cursor: pointer; padding: 12px 15px; font-weight: 500; color: #fff;
  list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
.fz-faq__item summary::-webkit-details-marker,
.fz-faq > details > summary::-webkit-details-marker { display: none; }
.fz-faq__item summary::after,
.fz-faq > details > summary::after { content: '+'; color: var(--fz-gold); font-size: 20px; line-height: 1; }
.fz-faq__item[open] summary::after,
.fz-faq > details[open] > summary::after { content: '−'; }
.fz-faq__a { padding: 0 15px 12px; color: #cdd8e4; }
.fz-faq__a p:last-child { margin-bottom: 0; }
.fz-faq__a a { color: var(--fz-gold); }

.fz-finder { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.fz-finder input {
  flex: 1 1 240px; background: var(--fz-bg-2); border: 1px solid var(--fz-line);
  border-radius: 9px; padding: 10px 14px; color: #fff; font-family: inherit; font-size: 15px;
}
.fz-finder input::placeholder { color: var(--fz-text-3); }
.fz-finder__count { color: var(--fz-text-2); font-size: 14px; }

/* ── میز بازی ─────────────────────────────────────────────────────────── */
.fz-stagewrap { margin: 18px 0 24px; }
.fz-stagebar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--fz-bg-2); border: 1px solid var(--fz-line); border-bottom: 0;
  border-radius: 12px 12px 0 0; padding: 8px 12px; font-size: 13px;
}
.fz-stagebar__tag { color: var(--fz-gold); font-weight: 500; }
.fz-stagebar__sp { flex: 1; }
.fz-stagebar button, .fz-stagebar a {
  background: var(--fz-bg-3); border: 1px solid var(--fz-line); color: var(--fz-text);
  border-radius: 7px; padding: 5px 12px; font-size: 13px; cursor: pointer;
  text-decoration: none; font-family: inherit;
}
.fz-stagebar button:hover, .fz-stagebar a:hover { border-color: var(--fz-gold); color: var(--fz-gold); }

#fz-stage {
  position: relative; background: #05080c;
  border: 1px solid var(--fz-line); border-radius: 0 0 12px 12px; overflow: hidden;
}
#fz-stage, #fz-stage * { -webkit-user-select: text; user-select: text; }
.fz-stageload {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; z-index: 3;
  background: #05080c; color: var(--fz-text-2); text-align: center; padding: 20px;
}
.fz-stageload[hidden] { display: none; }
.fz-stageload__ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid var(--fz-line); border-top-color: var(--fz-neon);
  animation: b4spin 1s linear infinite;
}
@keyframes b4spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fz-stageload__ring { animation: none; } }
.fz-stageload__err { color: #ff9ea1; }
.fz-stageload__acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ── فوتر سئو — زیر فوتر اصلی ─────────────────────────────────────────── */
.fz-foot { background: #05080c; border-top: 1px solid var(--fz-line-soft); padding: 28px 12px 20px; }
.fz-foot__grid {
  max-width: var(--fz-wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px;
}
.fz-foot__h { font-size: 14px; font-weight: 500; color: var(--fz-gold); margin: 0 0 8px; }
.fz-foot__col ul { list-style: none; margin: 0; padding: 0; }
.fz-foot__col li { margin-bottom: 5px; }
.fz-foot__col a { color: var(--fz-text-2); text-decoration: none; font-size: 13px; }
.fz-foot__col a:hover { color: #fff; }
.fz-foot__bot {
  max-width: var(--fz-wrap); margin: 22px auto 0; padding-top: 16px;
  border-top: 1px solid var(--fz-line-soft); color: var(--fz-text-3); font-size: 12.5px;
  text-align: center; line-height: 1.9;
}
.fz-foot__bot p { margin: 0 0 6px; }
.fz-foot__note a { color: var(--fz-gold); }
@media screen and (max-width: 1000px) { .fz-foot { padding-bottom: 66px; } }





/* ── سه‌ستونیِ صفحه‌ها ───────────────────────────────────────────────────
   ستون محتوا همان عرضی را می‌گیرد که در سایت اصلی ستون میانی داشت:
   کل عرض منهای ستون کناری ۳۵۰px و حاشیه‌هایش. */
@media screen and (max-width: 1000px) {  }
.fz-main { padding: 6px 10px 40px; color: var(--fz-text); font-size: 15px; line-height: 1.9; max-width: none; }
@media screen and (max-width: 1000px) { .fz-main { padding-bottom: 70px; } }

/* «جواب کوتاه» — جعبه‌ی خلاصه‌ی بالای هر صفحه‌ی بازی */
.fz-quick {
  background: linear-gradient(180deg, rgba(71,219,255,.12), rgba(71,219,255,.04));
  border: 1px solid rgba(71,219,255,.38); border-right: 3px solid var(--fz-gold);
  border-radius: 8px; padding: 14px 16px; margin: 0 0 6px; color: #e9e9e9;
}
.fz-quick__k { display: block; font-size: 12px; color: var(--fz-gold); margin-bottom: 4px; }
.fz-quick p { margin: 0; }

/* «سه سؤال قبل از شروع» */
.fz-q { display: grid; gap: 10px; margin: 0; padding: 0; }
.fz-q > div {
  background: var(--fz-bg-2); border: 1px solid var(--fz-line-soft);
  border-radius: 8px; padding: 12px 14px;
}
.fz-q dt { font-weight: 500; color: var(--fz-gold); font-size: 15px; margin-bottom: 3px; }
.fz-q dd { margin: 0; color: var(--fz-text-2); font-size: 14px; }

/* «چک‌لیست اولین نشست» */
.fz-check { list-style: none; counter-reset: ck; padding: 0 !important; margin: 0; }
.fz-check li {
  counter-increment: ck; position: relative; padding-right: 34px; margin-bottom: 10px;
  color: #d8d8d8;
}
.fz-check li::before {
  content: '✓'; position: absolute; right: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center;
  background: var(--fz-gold); color: var(--fz-on-accent); font-size: 13px; font-weight: 500;
}

/* ═══════════════════ بخش‌های مخصوص همین سایت ══════════════════════════ */

/* ستون کارت‌های صفحه‌ی اصلی: در مارک‌آپ اصلی تصویرها width:100% داشتند.
   ما عرض/ارتفاع واقعی فایل را می‌نویسیم تا مرورگر از فریم اول جا رزرو کند
   (CLS صفر) و همان «۱۰۰٪» را اینجا با CSS برمی‌گردانیم. */
/* ⚠️ display را عمداً عوض نمی‌کنیم: تصویر در قالب اصلی inline است و همان
   فاصله‌ی ۴ پیکسلیِ خط پایه، ارتفاع کارت را ۱۲۹px می‌کند. اگر block شود
   کارت ۱۲۵px می‌شود و دیگر با سایت اصلی یکی نیست. */
.main-games-box .game img { width: 100%; height: auto; }
.header .left.pr25 img { height: auto; }

/* پنهان‌کردن با right:-9999px در صفحه‌ی RTL اسکرول افقی می‌سازد. */
.fz-skip {
  position: absolute; right: 0; top: 0; z-index: 1000000;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
  background: var(--fz-gold); color: var(--fz-on-accent); padding: 10px 18px;
  font-weight: 500; text-decoration: none; border-radius: 0 0 0 8px;
}
.fz-skip:focus { width: auto; height: auto; overflow: visible; clip-path: none; }

/* دکمه‌ی همبرگر موبایل در اصل <a> بود؛ ما <button> گذاشتیم تا با کیبورد
   هم کار کند. این چند خط فقط ظاهرش را به همان <a> برمی‌گرداند. */
/* ⚠️ `font-family: inherit` اینجا نگذارید. دکمه کلاس `.fa fa-bars` دارد و
   گلیف همبرگر از فونت FontAwesome می‌آید؛ inherit آن را به IRANSans
   برمی‌گرداند و به‌جای ☰ مربع خالی (tofu) نشان داده می‌شود. */
.mobile-bar .icon button.mobile-menu-action {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 24px; color: #ddd; line-height: 1;
}

/* «دو دقیقه تا اولین دست» */
.fz-flow { counter-reset: f; list-style: none; padding: 0; margin: 0; }
.fz-flow li {
  counter-increment: f; position: relative;
  padding: 12px 52px 12px 14px; margin-bottom: 8px;
  background: var(--fz-bg-3); border: 1px solid var(--fz-line-soft);
  border-radius: 10px; color: var(--fz-text); line-height: 1.85;
}
.fz-flow li::before {
  content: counter(f); position: absolute; right: 12px; top: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--fz-gold); color: var(--fz-on-accent);
  font-weight: 700; font-size: 14px; text-align: center; line-height: 28px;
}

/* «چه چیزی دست شماست، چه چیزی نیست» */
.fz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media screen and (max-width: 700px) { .fz-two { grid-template-columns: 1fr; } }
.fz-two__c {
  background: var(--fz-bg-3); border: 1px solid var(--fz-line-soft);
  border-radius: 12px; padding: 16px 18px;
}
.fz-two__c h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.fz-two__c ul { margin: 0; padding-right: 1.2em; padding-left: 0; }
.fz-two__c li { margin-bottom: 8px; color: var(--fz-text); line-height: 1.85; }
.fz-two__c--yes { border-top: 3px solid var(--fz-gold); }
.fz-two__c--yes h3 { color: var(--fz-gold); }
.fz-two__c--no { border-top: 3px solid #7d8a99; }
.fz-two__c--no h3 { color: #b4c0cc; }

/* «سه موقعیت واقعی» */
.fz-scn { display: grid; gap: 12px; }
.fz-scn article {
  position: relative; padding: 16px 60px 16px 18px;
  background: var(--fz-bg-3); border: 1px solid var(--fz-line-soft);
  border-radius: 12px;
}
.fz-scn__n {
  position: absolute; right: 16px; top: 16px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--fz-neon-2); color: #fff;
  font-weight: 700; text-align: center; line-height: 32px;
}
.fz-scn h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--fz-text); }
.fz-scn p { margin: 0; color: var(--fz-text-2); line-height: 1.9; }

/* دکمه‌های زیر یادداشت میز */
.fz-note__btns { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }


/* ═══════════════════════════════════════════════════════════════════════════
 * ۳) اجزایی که در سایت اصلی با اسکریپت overlay ساخته می‌شدند
 *
 * صفحه‌ی fazbet.org این چهار جزء را با جاوااسکریپتِ githob.co روی صفحه سوار
 * می‌کند؛ در خودِ HTML نیستند. چون بخشِ دیداریِ واقعیِ مرجع‌اند، اینجا به‌صورت
 * استاتیک بازسازی شده‌اند. مقادیر عیناً از همان style.css مرجع برداشته شده‌اند.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── ردیف کارت‌های گرد فوتر (footer-download-link-container) ───────────── */
.custom-footer-download-links {
  display: flex; flex-direction: row; gap: 20px; flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-download-link-container {
  padding: 10px; background: #25386f; border-radius: 10px;
  display: flex; flex-direction: column; text-decoration: none;
  gap: 20px; color: #fff; min-width: 96px;
}
.footer-download-link-container:hover { background: #2c4485; }
.footer-download-link-icon {
  background: none; margin: auto; max-width: 70px; width: 70px; height: auto;
  border-radius: 50%; padding: 10px 0; display: block;
}
.footer-download-link-title {
  font-size: 14px; margin: 10px; text-align: center; line-height: 1.5;
  white-space: pre-line;
}
@media screen and (max-width: 1000px) {
  .custom-footer-download-links { gap: 10px; justify-content: center; }
  .footer-download-link-container { min-width: 0; padding: 8px; gap: 8px; }
  .footer-download-link-icon { width: 46px; max-width: 46px; padding: 4px 0; }
  .footer-download-link-title { font-size: 11px; margin: 4px 2px; }
}

/* فوتر مرجع دو ستون است: فهرست لینک‌ها سمت راست، کارت‌های پلتفرم و
   آیکون کانال‌ها سمت چپ — هر دو در یک ردیف. چون فهرست ما ۱۰ لینک دارد
   (مرجع ۲ تا داشت) ستون راست عرض ثابت می‌گیرد تا ستون چپ کنارش جا شود و
   ارتفاع فوتر به همان حدود ۳۰۰px مرجع بماند. */
.footer-links .left { float: right; width: 250px; }
.footer-links .right { float: left; width: calc(100% - 270px); }
.footer-links .fz-footright {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
}
.footer-links .fz-chan { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
@media screen and (max-width: 1000px) {
  .footer-links .left, .footer-links .right { float: none; width: 100%; }
  .footer-links .fz-footright { align-items: center; }
}

/* ── دیالوگ معرفی صفحه‌ی اصلی (custom-popup) ──────────────────────────── */
.custom-popup {
  display: none; position: fixed; inset: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, .7); z-index: 9999;
}
.custom-popup.is-open { display: block; }
.custom-popup-content {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 10000; width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 20px; text-align: center; border-radius: 5px;
  background-color: #d2e3fc; color: #000; line-height: 1.3;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
.custom-popup-content p { margin: 0 0 10px; }
.custom-popup-content strong { font-weight: 700; }
.custom-popup-content ul { list-style: none; margin: 0 0 12px; padding: 0; text-align: right; }
.custom-popup-content li { margin-bottom: 8px; }
.custom-popup-content a { color: #10457f; font-weight: 600; text-decoration: none; }
.custom-popup-content a:hover { text-decoration: underline; }
.custom-popup-title { font-weight: 700; font-size: 17px; margin: 0 0 12px; }
.custom-popup-action-button {
  outline: none; border: 0; cursor: pointer; width: 100%;
  border-radius: 10px; color: #fff; padding: 12px;
  font-family: inherit; font-size: 15px; background: #10457f;
}
.custom-popup-action-button:hover { background: #0c3363; }

/* ── منوی موبایل: آیتم‌ها در مرجع کارت گرد سرمه‌ای با آیکون‌اند ────────── */
.mobile-menu .items a {
  display: flex; color: #fff; text-decoration: none; text-align: start;
  padding: 15px 21px; border-top: none; font-weight: 400; font-size: 13px;
  min-height: 58px; background: #25386f; margin: 11px; border-radius: 20px;
  align-items: center; gap: 10px;
}
.mobile-menu .items a:hover { background: #2c4485; }
.mobile-menu .items { width: 100%; padding: 0; padding-bottom: 90px; }
.mobile-menu .items a img.fz-mi {
  width: 30px; height: 30px; padding: 0; flex: 0 0 auto; background: none;
  box-shadow: none; border-radius: 0; margin: 0;
}
/* سه کارت کانال در انتهای منو، در یک ردیف مثل مرجع */
.mobile-menu .items .fz-chan { display: flex; flex-wrap: wrap; gap: 10px; margin: 11px; }
.mobile-menu .items .fz-chan a { margin: 0; padding: 8px 12px; min-height: 0; }

/* ── نوار افقی «منو کاربری» موبایل (mobile-item-container) ────────────── */
.mobile-item-container {
  text-decoration: none; background: #25386f; flex: none; display: flex;
  overflow-x: auto; overflow-y: hidden; white-space: nowrap; width: 100%;
  gap: 5px; padding: 5px; scrollbar-width: none;
}
.mobile-item-container::-webkit-scrollbar { width: 0; height: 0; }
.mobile-menu-item {
  min-width: 80px; display: flex; flex-direction: column;
  padding: 10px 6px; margin: 3px; text-decoration: none;
  justify-content: center; align-items: center; border-radius: 10px;
  box-shadow: rgba(100, 100, 111, .2) 0 7px 29px 0; background: #202a47;
}
.mobile-menu-item div.title {
  font-size: 11px; color: #fff; display: inline-block; margin: 10px auto auto;
  white-space: normal; text-align: center; line-height: 1.5;
}
.mobile-menu-item.active, .mobile-menu-item:hover {
  box-shadow: rgba(50, 50, 93, .25) 0 30px 100px -20px inset,
              rgba(0, 0, 0, .3) 0 18px 50px -20px inset;
}

/* ═══════════════════════════════════════════════════════════════════════════
 * ۴) شبکه‌ی بازی مرجع (.item-box) — از default.style.rtl.css می‌آید.
 *    فقط سه اصلاح لازم است که خودِ مرجع با اسکریپت جبرانشان می‌کرد.
 * ═══════════════════════════════════════════════════════════════════════════ */
/* نسبت تصویر در مرجع ۵۶.۲۵٪ (۱۶:۹) است ولی فایل کارت‌ها ۷۰۰×۳۵۰ (۲:۱)
   است؛ با ۵۰٪ هیچ بخشی از طرح بریده نمی‌شود. */
.item-box .image { padding-top: 50%; }
.item-box .title div { direction: rtl; }

/* هر کارت + توضیحش داخل یک قاب شناور می‌نشیند؛ خودِ .item-box تمام‌عرضِ
   همان قاب می‌شود تا شناوریِ دوگانه چیدمان را نشکند. */
.fz-ibwrap { float: right; width: 32%; margin-right: 1%; margin-bottom: 10px; }
.fz-ibwrap .item-box { width: 100%; margin-right: 0; margin-bottom: 6px; float: none; }
.fz-ibwrap[hidden] { display: none; }
@media screen and (max-width: 1000px) {
  .fz-ibwrap { width: calc(100% - 6px); margin-right: 3px; }
}
@media screen and (max-width: 1000px) and (min-width: 600px) {
  .fz-ibwrap { width: calc(50% - 6px); }
}

/* توضیح کوتاه زیر هر کارت — مرجع ندارد، ولی بدون آن صفحه‌ی دسته‌بندی
   فقط تصویر خالی می‌شود و برای سئو هیچ متنی ندارد. */
.fz-ibdesc {
  color: var(--fz-text-2); font-size: 13px;
  margin: 0 0 4px; line-height: 1.8; padding: 0 3px;
}

/* H1 داخل نوار page-title مرجع — مرجع آنجا <div> دارد، ما برای سئو <h1>
   گذاشته‌ایم و اینجا ظاهرش دقیقاً همان <div> می‌شود. */
.fz-pt { margin: 0; font-size: 18px; font-weight: 400; color: #fff; line-height: 1.6; }

/* جستجوی بازی روی زمینه‌ی روشنِ page-content */
.fz-finder--grid { margin: 0 0 12px; padding: 0 3px; }

/* ── فرم تماس، با همان زبان بصری form-container مرجع ──────────────────── */
.fz-form { display: grid; gap: 14px; max-width: 560px; }
.fz-form label { display: block; font-size: 14px; color: #fff; margin-bottom: 6px; }
.fz-form input, .fz-form select, .fz-form textarea {
  width: 100%; background: #fff; border: 0; border-radius: 5px;
  padding: 12px 14px; color: #000; font-family: inherit; font-size: 15px;
  box-shadow: rgba(0, 0, 0, .05) 0 6px 24px 0, rgba(0, 0, 0, .08) 0 0 0 1px;
}
.fz-form textarea { min-height: 130px; resize: vertical; }
.fz-form button {
  width: 100%; text-align: center; font-weight: 400; border-radius: 5px;
  padding: 12px; background: #202a47; color: #fff; border: 0;
  cursor: pointer; font-family: inherit; font-size: 15px;
}
.fz-form button:hover { background: #25386f; }
.fz-form__ok {
  background: #25386f; border-radius: 10px; padding: 14px 16px; color: #fff;
  line-height: 1.9;
}
.fz-form__ok[hidden] { display: none; }

/* ── فوتر سئوی پایین صفحه ────────────────────────────────────────────────
   مارک‌آپ از .fz-foot__in / __c / __note استفاده می‌کند ولی استایلشان
   نوشته نشده بود؛ در نتیجه دو پاراگراف روی هم می‌افتادند. */
.fz-foot__in {
  max-width: 1200px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 8px;
}
.fz-foot__c { margin: 0; color: var(--fz-text-2); font-size: 13px; }
.fz-foot__note {
  margin: 0; color: var(--fz-text-3); font-size: 12.5px; line-height: 1.9;
  max-width: 78ch; margin-inline: auto;
}

/* ── قفل ابعاد آیکون‌های Material Symbols ────────────────────────────────
   نام آیکون به‌صورت لیگاتور رندر می‌شود (`content: attr(data-icon)`). تا وقتی
   فونت آیکونی نیامده، همان رشته با متریکِ فونت متنی عرض می‌گیرد — «login»
   یعنی ۵ کاراکتر، خیلی پهن‌تر از گلیف ۲۴px — و لحظه‌ی لود شدنِ فونت، دکمه‌های
   هدر جمع می‌شوند و CLS می‌سازند. با ابعاد ثابت، جا از فریم اول رزرو است. */
.material-symbols-outlined {
  width: 24px; height: 24px; overflow: hidden;
  text-align: center; box-sizing: content-box; flex: 0 0 auto;
}
/* آیکون‌های منوی موبایل تصویرند، نه فونت؛ این قانون نباید شاملشان شود. */
.mobile-menu .items a img.fz-mi,
img.footer-download-link-icon { width: auto; height: auto; overflow: visible; }
.mobile-menu .items a img.fz-mi { width: 30px; height: 30px; }
img.footer-download-link-icon { width: 70px; }

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

/* توکن‌ها روی :root می‌نشینند چون پاپ‌آپ مستقیم به <body> اضافه می‌شود. */
:root {
  --bp-surface: var(--fz-bg-2);
  --bp-surface-2: var(--fz-bg-3);
  --bp-line: var(--fz-line);
  --bp-text: var(--fz-text);
  --bp-muted: var(--fz-text-2);
  --bp-accent: var(--fz-gold);
  --bp-accent-ink: var(--fz-on-accent);
  --bp-radius: 10px;
}

html.bp-lock { overflow: hidden; }

.bp-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, .68);
  opacity: 0;
  transition: opacity .2s ease;
}
.bp-pop.is-on { opacity: 1; }
.bp-pop * { box-sizing: border-box; }

.bp-pop__card {
  position: relative;
  width: 100%;
  max-width: 23rem;
  padding: 24px 20px 16px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: var(--bp-surface);
  color: var(--bp-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;
}
.bp-pop.is-on .bp-pop__card { transform: none; }

/* نوار رنگی بالای کارت — همان اکسنت خودِ سایت */
.bp-pop__card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--bp-accent);
  border-radius: var(--bp-radius) var(--bp-radius) 0 0;
}

.bp-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(--bp-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.bp-pop__x:hover { background: var(--bp-surface-2); color: var(--bp-text); }

.bp-pop__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  margin-bottom: 10px;
}
.bp-pop__logo img {
  max-width: 190px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* «۱۰۰٪ بونوس ثبت‌نام» — برچسب درشتِ بالای کارت */
.bp-pop__kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bp-accent);
  color: var(--bp-accent-ink);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.9;
}

.bp-pop__t {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.7;
  color: var(--bp-text);
}
.bp-pop__d {
  margin: 0 0 16px;
  font-size: .84rem;
  line-height: 2;
  color: var(--bp-muted);
}

.bp-pop__cta {
  display: block;
  padding: 13px 16px;
  border-radius: calc(var(--bp-radius) - 4px);
  background: var(--bp-accent);
  color: var(--bp-accent-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  min-height: 48px;
  transition: filter .15s ease;
}
.bp-pop__cta:hover { filter: brightness(1.08); }

.bp-pop__app {
  display: block;
  margin-top: 9px;
  padding: 11px 14px;
  border-radius: calc(var(--bp-radius) - 4px);
  border: 1px solid var(--bp-accent);
  background: transparent;
  color: var(--bp-accent);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  min-height: 44px;
}
.bp-pop__app:hover { background: var(--bp-surface-2); }

.bp-pop__later {
  margin-top: 12px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--bp-muted);
  font-family: inherit;
  font-size: .8rem;
  line-height: 1.8;
  text-decoration: underline;
  cursor: pointer;
}
.bp-pop__later:hover { color: var(--bp-text); }

.bp-pop__note {
  margin: 10px 0 0;
  font-size: .72rem;
  line-height: 1.8;
  color: var(--bp-muted);
  opacity: .85;
}

@media (max-width: 380px) {
  .bp-pop__card { padding: 20px 16px 12px; }
  .bp-pop__t { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-pop, .bp-pop__card { transition: none; }
}

/* ═══ brandpop:end ═══ */
