/* ═══════════════════════════════════════════════════════════════════════════
 * راکت بت — استایل «افزوده‌ها»
 *
 * ⚠️ این فایل هیچ چیزی از دیزاین خودِ راکت بت را عوض نمی‌کند.
 *    پوسته‌ی سایت (هدر، نوار منو، بنر، نوار بازی‌ها، فوتر، فونت) کاملاً از
 *    alive/assets/css/*.css می‌آید — همان فایل‌های خودِ سایت، بدون تغییر —
 *    به‌علاوه‌ی theme-colors.css که عیناً بلوک رنگِ اینلاینِ خودِ
 *    rocketbet90.com است (سرمه‌ای #061B2E + سطح #0B2A46 + یخی #b7e1f9).
 *
 *    اینجا فقط دو چیز هست:
 *      ۱) چند خط اتصال برای رفتارهایی که در سایت اصلی جاوااسکریپت انجام می‌داد
 *      ۲) استایل محتوایی که ما اضافه کرده‌ایم — همه با پیشوند .rk-
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── توکن‌های رنگ ─────────────────────────────────────────────────────────
 * هر سه رنگِ پایه از بلوک رنگِ خودِ rocketbet90.com بیرون کشیده شده‌اند
 * (همان مقدارهایی که در theme-colors.css با !important نوشته شده‌اند)، و
 * آبیِ برند از خودِ فایل لوگو نمونه‌برداری شده: rgb(0,128,255).
 * ─────────────────────────────────────────────────────────────────────── */
:root {
  --rk-bg: #061B2E;        /* پس‌زمینه‌ی صفحه — body سایت اصلی */
  --rk-bg-2: #0B2A46;      /* سطح: کارت، جعبه، فوتر، نوار زیر هدر */
  --rk-bg-3: #08233B;      /* سطح فرورفته (بین دو تای بالا) */
  --rk-bar: #061B2E;       /* نوارها: هدر، نوار بالا، نوار موبایل */
  --rk-line: #14406A;      /* خط جداکننده */
  --rk-line-soft: #0E3355; /* خط کم‌رنگ‌تر */
  --rk-blue: #0080FF;      /* آبیِ برند — نمونه‌برداری‌شده از لوگو */
  --rk-blue-2: #005FC4;    /* آبیِ تیره‌تر برای gradient و hover */
  --rk-accent: #b7e1f9;    /* یخی — همان اکسنتِ متن/حاشیه‌ی سایت اصلی */
  --rk-text: #e9f3fb;
  --rk-text-2: #9db6cc;
  --rk-text-3: #6f8ba4;
  --rk-neon: #b7e1f9;
  --rk-neon-2: #0080FF;
  --rk-wrap: 100%;
}

/* ═══════════════════ ۱) رفتارهایی که در سایت اصلی با jQuery بود ════════
 * اسلایدر: همان انیمیشن margin-right از ۰٪ به ‎-۱۰۰٪‎ در ۵۰۰ میلی‌ثانیه.
 * منوی موبایل: همان لایه‌ی تمام‌صفحه که نمایش/پنهان می‌شود.
 * ═══════════════════════════════════════════════════════════════════════ */
/* ارتفاعِ این کادر را در سایت اصلی جاوااسکریپت ست می‌کند. اندازه‌گیری روی
   رندرِ خودِ صفحه‌ی اصلی: ستون میانی ۷۵۰ و کادر ۳۹۰ → نسبتِ ۷۵۰/۳۹۰ = ۲۵/۱۳.
   همان نسبت را با aspect-ratio می‌سازیم تا از اولین فریم درست باشد و CLS
   صفر بماند (روی موبایلِ ۳۹۰ می‌شود ۲۰۳px، و پوسته هم آنجا ۲۰۰px می‌خواست). */
.main-splash .image-container {
  height: auto;
  aspect-ratio: 25 / 13;
}
.main-splash .image-container .image {
  transition: margin-right .5s ease;
  text-decoration: none;
}

/* بنرهای دو ستون کناری در مارک‌آپ اصلی width="100%" داشتند. ما به‌جای آن
   عرض و ارتفاع واقعی فایل را می‌نویسیم تا مرورگر از فریم اول جا رزرو کند
   (CLS صفر)، و همان «۱۰۰٪» را اینجا با CSS برمی‌گردانیم تا رندر مو‌به‌مو
   همان چیزی باشد که سایت اصلی نشان می‌دهد. */
.left-bar > a > img,
.event-container > .mobile > a > img,
.right-bar .mt10 img { width: 100%; height: auto; }
@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; }

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

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

/* ⚠️ پنهان‌کردن با right:-9999px در صفحه‌ی RTL باعث اسکرول افقی می‌شود؛
   پس از clip استفاده می‌کنیم که هیچ عرضی به سند اضافه نمی‌کند. */
.rk-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(--rk-accent); color: #062138; padding: 10px 18px;
  font-weight: 500; text-decoration: none; border-radius: 0 0 0 8px;
}
.rk-skip:focus {
  width: auto; height: auto; overflow: visible; clip-path: none;
}
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--rk-accent); outline-offset: 2px; border-radius: 4px;
}

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

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

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

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

.rk-sec { margin: 30px 0 0; }
.rk-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;
}
.rk-sec__h::before {
  content: ''; width: 8px; height: 8px; border-radius: 2px;
  background: var(--rk-neon); transform: rotate(45deg); flex: 0 0 auto;
}
.rk-sec__sub { color: var(--rk-text-2); margin: 0 0 14px; }

.rk-prose { color: var(--rk-text); max-width: 78ch; }
.rk-prose h3 { font-size: 17px; font-weight: 500; color: var(--rk-accent); margin: 18px 0 6px; }
.rk-prose b, .rk-prose strong { color: #fff; font-weight: 500; }
.rk-prose a { color: var(--rk-accent); }
.rk-prose li { margin-bottom: 7px; }
.rk-prose li::marker { color: var(--rk-neon); }

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

.rk-steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 0; }
.rk-steps li { counter-increment: s; position: relative; padding-right: 44px; margin-bottom: 14px; }
.rk-steps li::before {
  content: counter(s); position: absolute; right: 0; top: 3px;
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--rk-neon), var(--rk-neon-2));
  color: #062138; font-weight: 500; font-size: 14px;
}
.rk-steps li b { display: block; color: #fff; font-weight: 500; }
.rk-steps li span { display: block; color: var(--rk-text-2); font-size: 14px; }

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

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

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

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

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

.rk-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;
}
.rk-btn--go { background: linear-gradient(180deg, var(--rk-neon), var(--rk-neon-2)); color: #062138; }
.rk-btn--go:hover { filter: brightness(1.08); }
.rk-btn--ghost { background: transparent; border-color: var(--rk-line); color: var(--rk-text); }
.rk-btn--ghost:hover { border-color: var(--rk-accent); color: var(--rk-accent); }
.rk-btn--sm { padding: 8px 16px; font-size: 14px; }

.rk-faq__list { display: grid; gap: 8px; }
.rk-faq__item { background: var(--rk-bg-2); border: 1px solid var(--rk-line-soft); border-radius: 10px; }
.rk-faq__item summary {
  cursor: pointer; padding: 12px 15px; font-weight: 500; color: #fff;
  list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
.rk-faq__item summary::-webkit-details-marker { display: none; }
.rk-faq__item summary::after { content: '+'; color: var(--rk-accent); font-size: 20px; line-height: 1; }
.rk-faq__item[open] summary::after { content: '−'; }
.rk-faq__a { padding: 0 15px 12px; color: var(--rk-text); }
.rk-faq__a p:last-child { margin-bottom: 0; }
.rk-faq__a a { color: var(--rk-accent); }

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

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

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

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





/* ── سه‌ستونیِ صفحه‌ها ───────────────────────────────────────────────────
   ستون محتوا همان عرضی را می‌گیرد که در سایت اصلی ستون میانی داشت:
   کل عرض منهای ستون کناری ۳۵۰px و حاشیه‌هایش. */
/* روی صفحه‌ی اصلی ستون کناری هست، پس ستون محتوا باریک‌تر می‌شود؛ روی بقیه‌ی
   صفحه‌ها ستون کناری نیست و محتوا تمام عرض را می‌گیرد. */
.rk-content { width: 100%; margin: 0; margin-top: 5px; }
.rk-home .rk-content { width: calc(100% - 380px); }
@media screen and (max-width: 1000px) { .rk-content { width: 100%; margin: 0; } }
.rk-main { padding: 6px 10px 40px; color: var(--rk-text); font-size: 15px; line-height: 1.9; max-width: none; }
@media screen and (max-width: 1000px) { .rk-main { padding-bottom: 70px; } }

/* «جواب کوتاه» — جعبه‌ی خلاصه‌ی بالای هر صفحه‌ی بازی */
.rk-quick {
  background: linear-gradient(180deg, rgba(252,179,7,.12), rgba(252,179,7,.03));
  border: 1px solid rgba(183,225,249,.32); border-right: 3px solid var(--rk-accent);
  border-radius: 8px; padding: 14px 16px; margin: 0 0 6px; color: var(--rk-text);
}
.rk-quick__k { display: block; font-size: 12px; color: var(--rk-accent); margin-bottom: 4px; }
.rk-quick p { margin: 0; }

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

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

/* ═══════════════════ بخش‌های مخصوص همین سایت ══════════════════════════ */
.rk-foot__legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 10px; }
.rk-foot__legal a { color: var(--rk-text-2); text-decoration: none; font-size: 13px; }
.rk-foot__legal a:hover { color: var(--rk-accent); text-decoration: underline; }

/* «اگر فقط یک چیز یاد بگیرید» */
.rk-one { border-right: 4px solid var(--rk-accent); background: var(--rk-bg-3);
  border-radius: 0 12px 12px 0; padding: 18px 20px; }
.rk-one p { margin: 0; color: var(--rk-text); font-size: 16px; line-height: 2; }

/* سه پله */
.rk-levels { display: grid; gap: 12px; }
.rk-level { position: relative; padding: 16px 60px 16px 18px; background: var(--rk-bg-3);
  border: 1px solid var(--rk-line-soft); border-radius: 12px; }
.rk-level__n { position: absolute; right: 16px; top: 16px; width: 32px; height: 32px;
  border-radius: 50%; border: 2px solid var(--rk-accent); color: var(--rk-accent);
  font-weight: 700; text-align: center; line-height: 28px; }
.rk-level h3 { margin: 0 0 8px; font-size: 16px; color: var(--rk-accent); }
.rk-level p { margin: 0; color: var(--rk-text-2); line-height: 1.95; }

/* درست/غلط */
.rk-myths { margin: 0; }
.rk-myth { background: var(--rk-bg-3); border: 1px solid var(--rk-line-soft);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.rk-myth dt { font-weight: 500; color: var(--rk-text); line-height: 1.9;
  display: flex; gap: 10px; align-items: flex-start; }
.rk-myth dd { margin: 8px 0 0; color: var(--rk-text-2); line-height: 1.9; }
.rk-myth__tag { flex: none; font-size: 12px; font-weight: 700; border-radius: 6px;
  padding: 3px 10px; line-height: 1.6; }
.rk-myth--yes { border-right: 3px solid var(--rk-accent); }
.rk-myth--yes .rk-myth__tag { background: var(--rk-accent); color: #062138; }
.rk-myth--no { border-right: 3px solid var(--rk-text-3); }
.rk-myth--no .rk-myth__tag { background: var(--rk-line); color: var(--rk-text); }

/* ⚠️ اینجا استایلِ یک «نوار نصبِ اپلیکیشن» (.application / #rk-appbar) بود که
   از یکی از سایت‌های دیگرِ این مجموعه مانده بود. چنین مارک‌آپی در هیچ صفحه‌ی
   این سایت وجود ندارد، ولی یکی از قاعده‌هایش —
   `body:not(.rk-appbar-closed) .mobile-bar { top: 50px }` — بی‌قید اعمال می‌شد
   و هدرِ موبایل را ۵۰px پایین‌تر از جای درستش می‌نشاند، یعنی یک نوارِ خالی
   بالای صفحه. کل بلوک حذف شد تا `top: 0`ِ خودِ پوسته برگردد. */

/* ═══════════════════ بخش‌های مخصوص همین سایت ══════════════════════════ */
.rk-in30 { border-right: 4px solid var(--rk-accent); background: var(--rk-bg-3);
  border-radius: 0 12px 12px 0; padding: 18px 20px; }
.rk-in30 p { margin: 0; color: var(--rk-text); font-size: 17px; line-height: 2; }
.rk-costly { counter-reset: c; list-style: none; padding: 0; margin: 0; }
.rk-costly li { counter-increment: c; position: relative; padding: 14px 54px 14px 16px;
  margin-bottom: 8px; background: var(--rk-bg-3); border: 1px solid var(--rk-line-soft);
  border-radius: 10px; }
.rk-costly li::before { content: counter(c); position: absolute; right: 14px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--rk-accent); color: #062138;
  font-weight: 700; font-size: 14px; text-align: center; line-height: 28px; }
.rk-costly b { display: block; color: var(--rk-text); margin-bottom: 5px; }
.rk-costly span { color: var(--rk-text-2); line-height: 1.9; }
.rk-ready { border-right: 4px solid var(--rk-neon-2); background: var(--rk-bg-3);
  border-radius: 0 12px 12px 0; padding: 18px 20px; }
.rk-ready p { margin: 0; color: var(--rk-text); line-height: 2; }

/* ═══════════════ اجزای صفحه‌ی اصلی که از پوسته‌ی اصلی می‌آیند ═══════════
 * `.categories`، `.search-div`، `.show-all` و `.block` همگی استایلِ خودِ
 * پوسته را دارند و دست‌نخورده می‌مانند — از جمله پس‌زمینه‌ی مشکیِ کادرِ
 * جستجو، که در رندرِ خودِ صفحه‌ی اصلیِ راکت بت هم دقیقاً مشکی است.
 * این‌ها فقط سه چیز را وصله می‌کنند:
 *   ۱) رنگِ متن و placeholderِ کادرِ جستجو (پوسته فقط برای input پیش‌فرض داشت).
 *   ۲) نوارِ افقیِ دسته‌ها اسکرول‌بارِ زشت نشان می‌داد.
 *   ۳) آیکنِ FontAwesome باید هم‌اندازه‌ی آیکنِ SportsFontِ اصلی بنشیند.
 * ═══════════════════════════════════════════════════════════════════════ */
.search-div input::placeholder { color: var(--rk-text-3); }

.event-container .categories { scrollbar-width: none; -ms-overflow-style: none; }
.event-container .categories::-webkit-scrollbar { display: none; }
.event-container .categorie > div:first-child {
  height: 30px; display: flex; align-items: center; justify-content: center;
}
.event-container .categorie .name {
  max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.event-container .categorie:hover, .event-container .categorie:focus-visible {
  color: #fff; border-bottom: 2px solid var(--rk-accent);
}
.events-holder .show-all a:hover { color: var(--rk-accent); }

/* ═══════════════════════════ فرم تماس ═══════════════════════════════════ */
.rk-form { max-width: 620px; }
.rk-field { margin-bottom: 16px; }
.rk-field label { display: block; margin-bottom: 6px; font-weight: 500; color: #fff; font-size: 14px; }
.rk-field__opt { font-weight: 300; color: var(--rk-text-3); font-size: 13px; }
.rk-field input, .rk-field select, .rk-field textarea {
  width: 100%; background: var(--rk-bg-3); border: 1px solid var(--rk-line);
  border-radius: 9px; padding: 11px 13px; color: #fff;
  font-family: inherit; font-size: 15px; line-height: 1.8;
}
.rk-field textarea { resize: vertical; min-height: 120px; }
.rk-field select { appearance: none; cursor: pointer; }
.rk-field input:focus, .rk-field select:focus, .rk-field textarea:focus {
  border-color: var(--rk-accent); outline: none;
}
.rk-field [aria-invalid="true"] { border-color: #e5484d; }
.rk-field__err { margin: 6px 0 0; font-size: 13px; color: #ff9ea1; }
.rk-field__hint { margin: 6px 0 0; font-size: 12px; color: var(--rk-text-3); }
.rk-form__ok {
  margin-top: 20px; border: 1px solid var(--rk-line);
  border-right: 3px solid var(--rk-accent); background: var(--rk-bg-2);
  border-radius: 10px; padding: 14px 16px;
}
.rk-form__ok strong { color: #fff; display: block; margin-bottom: 6px; }
.rk-form__ok p { margin: 0 0 10px; color: var(--rk-text-2); font-size: 14px; }
.rk-form__out {
  width: 100%; background: var(--rk-bg); border: 1px solid var(--rk-line-soft);
  border-radius: 8px; padding: 11px 13px; color: var(--rk-text);
  font-family: inherit; font-size: 14px; line-height: 1.9; resize: vertical;
  margin-bottom: 10px;
}

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

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

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

.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 ═══ */
