@font-face {
  font-family: VorexArabic;
  src: url('/?vx_asset=noto-arabic-regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: VorexArabic;
  src: url('/?vx_asset=noto-arabic-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body { font-family: VorexArabic, Tahoma, sans-serif; line-height: 1.95; }
.site-header { border-bottom-color: #323055; }
.header-top, .header-bottom { max-width: 1430px; margin: auto; padding-inline: 22px; }
.header-top { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 170px; }
.header-actions { display: flex; direction: ltr; align-items: center; gap: 10px; }
.header-actions > * { flex-shrink: 0; }
.header-action, .social-link { color: #fff; border: 1px solid #4e3d83; background: #17102f; text-decoration: none; border-radius: 11px; height: 42px; display: inline-flex; align-items: center; justify-content: center; transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease, background .22s ease; }
.header-action { padding: 0 16px; cursor: pointer; font-family: inherit; font-size: .86rem; white-space: nowrap; }
.signup-action, .promo-button { background: linear-gradient(105deg, #5719df, #7c32fd); border-color: #9c5aff; box-shadow: inset 0 1px #ffffff55, 0 3px 16px #6320ea35; }
.header-action:hover, .social-link:hover { transform: translateY(-2px); color: white; border-color: #bc8aff; background-color: #452095; box-shadow: 0 0 11px #864aff, 0 0 27px #6721f0aa, inset 0 0 12px #a05dff77; }
.header-action:focus-visible, .social-link:focus-visible, .promo-button:focus-visible, .show-all:focus-visible { outline: 3px solid #8bd3ff; outline-offset: 3px; }
.promo-wrap { position: relative; }
.promo-button { direction: rtl; gap: 6px; }
.gift-icon { display: inline-block; transform-origin: center 80%; animation: gift-rock 2.8s ease-in-out infinite; }
@keyframes gift-rock { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-17deg) scale(1.12); } 92% { transform: rotate(14deg) scale(1.12); } }
.promo-popover { position: absolute; top: calc(100% + 10px); left: 0; width: 250px; z-index: 36; background: #1b1236; border: 1px solid #9a59fe; border-radius: 14px; padding: 15px; box-shadow: 0 18px 45px #000a, 0 0 20px #651bdb66; direction: rtl; text-align: right; }
.promo-popover[hidden] { display: none; }
.promo-popover .promo-title {
  margin: 0 0 12px;
  color: #f5e7ff;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
  text-shadow: 0 0 8px #b57bff, 0 0 18px #8a44ff;
}
.promo-title bdi { display: inline-block; color: #fff; font-size: 1.25em; }
.promo-popover a { color: #fff; background: #6824e8; display: block; border-radius: 9px; padding: 7px 10px; text-align: center; text-decoration: none; font-size: .86rem; }
.socials { display: inline-flex; gap: 7px; }
.social-link { width: 42px; padding: 8px; }
.social-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-link[aria-label="تلگرام"] svg { fill: currentColor; stroke: none; }
.header-date { min-width: 118px; font-size: .88rem; line-height: 1.55; text-align: center; color: #e6def6; font-variant-numeric: tabular-nums; }
.header-date strong { font-size: .98rem; white-space: nowrap; }
.header-date span { display: block; direction: ltr; unicode-bidi: isolate; }
.header-bottom { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; }
.header-bottom nav { display: flex; width: 100%; background: #2b283b; border-radius: 11px; padding: 4px; }
.header-bottom a { flex: 1; text-align: center; text-decoration: none; color: #eae6f4; font-size: .89rem; padding: 6px 10px; border-radius: 8px; transition: background .2s, color .2s; white-space: nowrap; }
.header-bottom a:hover, .header-bottom a:focus-visible { color: #fff; background: #533282; }

.primary-cta { position: relative; isolation: isolate; box-shadow: 0 0 14px #6e36ff99, 0 0 33px #3065f17a, inset 0 1px #fff8; animation: cta-drop .72s cubic-bezier(.2, 1.3, .35, 1) both, cta-breathe 3.1s ease-in-out .8s infinite; }
.primary-cta:hover { box-shadow: 0 0 21px #8c55ff, 0 0 42px #2d6bffb0, inset 0 1px #fffa; transform: translateY(-3px); }
@keyframes cta-breathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.14); } }

.sidebar { top: 140px; max-height: calc(100vh - 155px); display: grid; gap: 14px; align-content: start; }
.latest { background: #17132e; border: 1px solid #3a315c; border-radius: 18px; padding: 14px; }
.latest summary { cursor: pointer; list-style: none; font-weight: 700; padding: 2px 8px 8px; }
.latest summary::-webkit-details-marker { display: none; }
.latest summary::after { content: '⌄'; float: left; color: #ac8dff; }
.latest[open] summary::after { transform: rotate(180deg); }
.latest-list { display: grid; gap: 8px; padding: 4px 8px; }
.latest-list a { display: block; color: #d6d0e9; text-decoration: none; font-size: .86rem; }
.latest-list a:hover { color: white; }
.latest-empty { color: #b6accd; margin: 5px 0; font-size: .86rem; }
.show-all { display: none; width: 100%; background: #302352; color: #fff; border: 1px solid #6852a2; border-radius: 9px; padding: 8px; cursor: pointer; margin-top: 7px; }

.site-footer { padding-block: 32px 28px; }
.footer-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 26px;
}
.footer-brand > strong, .footer-navigation h2 { font-size: 1rem; color: #fff; }
.footer-navigation h2 { margin: 0 0 8px; }
.footer-disclosure { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; }
.footer-disclosure p { margin: 0; color: #d6d3e4; }
.footer-age {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border: 2px solid #ff6475;
  border-radius: 50%;
  background: #301123;
  color: #ffdbe1;
  font: 700 .79rem/1 Tahoma, sans-serif;
}
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-links a { color: #d6d3e4; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: white; text-decoration: underline; }
.footer-social { padding-top: 2px; }
.footer-ending { text-align: center; margin-top: 26px; padding-top: 16px; border-top: 1px solid #342b4c; }
.footer-copyright { display: inline-block; color: #c7bfda; font: .86rem/1.5 Tahoma, sans-serif; }
.footer-payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 13px; }
.footer-payment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #4a4b75;
  border-radius: 9px;
  padding: 6px 10px;
  background: #17152f;
  color: #f1ecff;
  font-size: .83rem;
}
.footer-payment-bank { border-color: #3d6291; }
.footer-payment-crypto { border-color: #8e5c35; }
.payment-icon { display: grid; place-items: center; width: 24px; height: 24px; }
.crypto-icon { border-radius: 50%; background: #ffc368; color: #432412; font: 700 1rem/1 Arial, sans-serif; }
.bank-icon {
  color: #9bd8ff;
  grid-template-rows: 6px 9px 3px;
  align-content: center;
  gap: 1px;
}
.bank-icon::before { content: ''; width: 22px; height: 6px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.bank-icon i { width: 17px; height: 9px; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px); }
.bank-icon::after { content: ''; width: 22px; height: 3px; background: currentColor; border-radius: 1px; }

.secondary-page { max-width: 1050px; margin: 40px auto 90px; padding: 36px; min-height: 55vh; }
.secondary-page h1 { margin-bottom: 22px; }
.empty-state { background: #1a1432; border: 1px solid #403557; border-radius: 13px; padding: 20px; }
.blog-page { width: calc(100% - 28px); max-width: 1320px; padding: clamp(16px, 4vw, 42px); }
.blog-page > h1 { text-align: center; margin-bottom: 10px; }
.blog-page > .blog-intro { text-align: center; margin-bottom: 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #18132d;
  border: 1px solid #403557;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.article-card:hover, .article-card:focus-visible { border-color: #a462ff; box-shadow: 0 0 18px #7c32fd45; }
.article-card > img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.article-card-copy { display: flex; flex-direction: column; flex: 1; padding: 14px; gap: 12px; }
.article-card h2 { color: #fff; margin: 0; padding-inline-start: 10px; border-inline-start: 3px solid #a460ff; font-size: 1.04rem; line-height: 1.65; }
.article-card-copy p { color: #d6d0e9; font-size: .88rem; margin: 0; text-align: start; font-weight: 400; }
.article-date { display: block; color: #d1bdff; font-size: .82rem; font-weight: 400; }
.article-card .article-date { margin-top: auto; border-top: 1px solid #44375f; padding-top: 9px; }
.blog-article > .article-date { margin-bottom: 9px; }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.blog-pagination a { min-width: 42px; text-align: center; text-decoration: none; border: 1px solid #5a4384; border-radius: 8px; }
.blog-pagination a[aria-current="page"] { background: #6424cf; color: #fff; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { position: sticky; }
  .header-top { padding: 7px 14px; flex-wrap: wrap; gap: 4px 12px; }
  .header-actions { gap: 7px; flex-wrap: wrap; }
  .brand img { width: 132px; }
  .header-date { display: block; min-width: 92px; font-size: .76rem; }
  .header-date strong { font-size: .83rem; }
  .header-bottom { padding: 0 10px 6px; }
  .header-bottom nav { overflow-x: auto; }
  .header-bottom a { font-size: .78rem; padding: 4px 7px; }
  .sidebar { position: static; max-height: none; overflow: visible; display: grid; margin: 24px 0 32px; }
  .toc-links a:nth-child(n+6) { display: none; }
  .toc-links.expanded a { display: block; }
  .show-all { display: block; }
  .content h2 { scroll-margin-top: 145px; }
}
@media (max-width: 580px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-body { grid-template-columns: 1fr; gap: 20px; }
  .header-top { justify-content: center; }
  .brand { margin-inline: auto; }
  .header-actions { width: 100%; justify-content: center; }
  .header-action { height: 35px; padding: 0 9px; font-size: .73rem; }
  .social-link { width: 35px; height: 35px; padding: 7px; }
  .header-date { min-width: 78px; }
  .header-bottom a { flex: 1 0 auto; }
  .page { padding-top: 15px; }
  .content { padding: 20px 16px; }
  .content h2 { scroll-margin-top: 170px; }
}
@media (max-width: 900px) {
  .content, .article-card-copy, .sidebar, .footer-disclosure p { min-width: 0; }
  .content :is(p, li, h1, h2, h3, h4, h5, h6, th, td),
  .sidebar a, .site-footer { overflow-wrap: anywhere; }
  .content :is(p, li) {
    text-align: start;
    line-height: 1.85;
    word-spacing: normal;
    letter-spacing: normal;
  }
  .content p { margin-block-end: 1em; }
  .content :is(h1, h2, h3, h4, h5, h6) { text-align: start; line-height: 1.55; }
  main.content p:not(.eyebrow, .toc-title, .latest-empty),
  main.content li,
  .footer-disclosure p {
    text-align: justify;
    text-align-last: right;
    text-wrap: wrap;
    word-spacing: normal;
  }
  .blog-page > h1 { text-align: center; }
  .content .table-scroll { max-width: 100%; overflow-x: auto; }
  .content :is(th, td) { text-align: start; }
  .content .inline-ltr { direction: ltr; unicode-bidi: isolate; }
  .content .article-card-copy p, .content .toc-title,
  .content .latest, .content .table-note { line-height: 1.75; }
  .primary-cta { max-width: 100%; }
  .primary-cta span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .primary-cta .cta-v { flex-shrink: 0; }
  .header-bottom nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  .header-bottom a { display: grid; place-items: center; min-width: 0; line-height: 1.45; white-space: normal; }
  .promo-popover { max-width: calc(100vw - 32px); }
}
@media (max-width: 580px) {
  .secondary-page { width: calc(100% - 28px); margin-inline: auto; }
  .content p, .content li { font-size: 1rem; }
  .content .article-card-copy p, .content .table-note { font-size: .88rem; }
  .header-bottom a { padding-inline: 4px; }
  .header-top { position: relative; }
  .promo-wrap { position: static; }
  .promo-popover { left: 50%; top: calc(100% + 5px); transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .gift-icon, .primary-cta { animation: none; }
}
