/* ===========================================================
   hitmarker.css — Apply Hitmarker Condensed (site-wide)
   EXCEPT:
   - #login-button (Sign In)
   - #email-data-row / #username (Email)
   - #password-data-row / #password (Password)
   - .cod-header_cta (Get Free Point)
   =========================================================== */

/* -------------------------
   1) @font-face — اسم‌ها و pathهای مختلف را پوشش دادم
   اگر مسیرها یا اسامی متفاوتند مشکلی نیست؛ مرورگر هرکدام را که موجود باشد استفاده می‌کند.
   و اگر فونت‌ها در مسیر root/fonts/ یا relative/fonts/ قرار دارند باید مسیر را مطابق کنید.
   ------------------------- */
@font-face {
  font-family: "HitmarkerCondensed";
  src: url("/fonts/HitmarkerCondensed-Regular.woff2") format("woff2"),
       url("/fonts/HitmarkerCondensed-Regular.woff") format("woff"),
       url("/fonts/HitmarkerCondensed-Regular.ttf") format("truetype"),
       /* fallback names که ممکنه توی ZIP باشن */
       url("/fonts/HitmarkerWide-Regular.woff2") format("woff2"),
       url("/fonts/HitmarkerNormal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HitmarkerCondensed";
  src: url("/fonts/HitmarkerCondensed-Light.woff2") format("woff2"),
       url("/fonts/HitmarkerCondensed-Light.woff") format("woff"),
       url("/fonts/HitmarkerCondensed-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HitmarkerCondensed";
  src: url("/fonts/HitmarkerCondensed-Bold.woff2") format("woff2"),
       url("/fonts/HitmarkerCondensed-Bold.woff") format("woff"),
       url("/fonts/HitmarkerCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------
   2) متغیرها برای تنظیم سریع
   ------------------------- */
:root {
  --hit-font: "HitmarkerCondensed", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hit-letter-spacing: 0em;   /* فونت کنسندنسد معمولاً بدون spacing است */
  --hit-line-height: 1.4;
}

/* -------------------------
   3) اعمال فونت به کل صفحه (همهٔ عناصر)
   نکته: این فایل باید آخر لود شود تا استثناها قابل بازگشت باشند.
   ------------------------- */
html, body {
  font-family: var(--hit-font) !important;
  line-height: var(--hit-line-height) !important;
  letter-spacing: var(--hit-letter-spacing) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* پوشش اکثر عناصر برای اطمینان */
body, body * {
  font-family: var(--hit-font) !important;
  line-height: var(--hit-line-height) !important;
  letter-spacing: var(--hit-letter-spacing) !important;
}

/* -------------------------
   4) استثناها — دقیق و قطعی
   شرط شما: "به هیچ وجه هیچ فونتی برای اون چهار مورد نگذار"
   من از استک فونت سیستمی صریح استفاده کردم تا Hitmarker قطعاً اعمال نشود.
   ------------------------- */

/* 1) Sign In button */
#login-button,
#login-button * {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  line-height: normal !important;
}

/* 2) Email section: container، لیبل‌ها و خود input */
#email-data-row,
#email-data-row *,
#username,
#username * {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  line-height: normal !important;
}

/* placeholderها */
#username::placeholder,
#username::-webkit-input-placeholder {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  opacity: 1 !important;
}

/* 3) Password section */
#password-data-row,
#password-data-row *,
#password,
#password * {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  line-height: normal !important;
}

/* placeholderها */
#password::placeholder,
#password::-webkit-input-placeholder {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  opacity: 1 !important;
}

/* 4) Free Point button و همه فرزندانش */
.cod-header_cta,
.cod-header_cta *,
.cod-header_cta a,
.cod-header_cta span {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  line-height: normal !important;
}

/* -------------------------
   5) تنظیمات ظاهری کمکی (دلخواه)
   ------------------------- */
h1, h2, h3, h4 { letter-spacing: 0.01em; }
p, li, a, span { word-wrap: break-word; }

/* پایان فایل */
