/* ==================================================================
   CyrusGG — Imperial Achaemenid Design System & Theme Engine
   پالت رنگی الهام‌گرفته از دوران هخامنشی با دو حالت روز و شب‌های تخت جمشید
   رعایت دقیق استاندارد کنتراست دسترسی‌پذیری WCAG AA (حداقل ۴.۵:۱)
   ================================================================== */
:root, [data-theme="light"] {
  /* متغیرهای اصلی پالت دوران هخامنشی */
  --color-primary: #1B3A5C;         /* آبی لاجوردی تیره - پس‌زمینه هدر و فوتر */
  --color-primary-light: #2E5A88;   /* آبی مصری روشن‌تر - هاور و حالت‌های فعال */
  --color-accent: #B03A2E;          /* قرمز اُخرایی - دکمه‌های CTA و لینک‌های مهم */
  --color-gold: #C9A227;            /* طلایی برنزی - لوگو، عناوین H1 و نمادهای اعتماد */
  --color-green: #4A6B4A;           /* سبز مالاکیتی - تگ‌ها و عناصر ثانویه */
  --color-bg: #F5F0E6;              /* سفید استخوانی/کرم - پس‌زمینه اصلی صفحه */
  --color-surface: #FFFFFF;         /* سفید خالص برای کارت‌ها */
  --color-text: #1A1A1A;            /* متن اصلی روی پس‌زمینه روشن */
  --color-text-inverse: #F5F0E6;    /* متن روی پس‌زمینه تیره */
  --color-border: #D4C5A9;          /* حاشیه‌های ظریف کرم‌رنگ */
  --color-text-secondary: #6B6B6B;  /* متن‌های ثانویه و توضیحات کوچک */

  /* نگاشت یکپارچه توکن‌های سیستم */
  --bg: var(--color-bg);
  --bg2: #EAE3D2;
  --card: var(--color-surface);
  --card2: #F0EADF;
  --line: var(--color-border);
  --line2: #C4B495;
  --txt: var(--color-text);
  --muted: var(--color-text-secondary);
  --brand: var(--color-primary);
  --brand2: var(--color-primary-light);
  --acc: var(--color-accent);
  --gold: var(--color-gold);
  --ok: var(--color-green);
  --bad: #B03A2E;
  --warn: #D97706;
  --grad: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 60%, var(--color-gold) 130%);
  --radius: 14px;
  --shadow: 0 2px 8px rgba(27, 58, 92, .08);
  --shadow-lg: 0 8px 24px rgba(27, 58, 92, .14);
  --glow: 0 0 0 1px rgba(201, 162, 39, .35), 0 4px 20px rgba(201, 162, 39, .15);
}

[data-theme="dark"] {
  /* حالت تاریک: شب‌های تخت جمشید */
  --color-primary: #1B3A5C;
  --color-primary-light: #3A699B;
  --color-accent: #C9473A;          /* قرمز اُخرایی با روشنایی متناسب زمینه تیره */
  --color-gold: #D8B238;            /* طلایی روشن‌تر جهت خوانایی در شب */
  --color-green: #5C8A5C;           /* سبز مالاکیتی روشن‌تر */
  --color-bg: #0F1A26;              /* آبی شبانه بسیار تیره تخت جمشید */
  --color-surface: #1B2A3A;         /* سطح کارت‌ها */
  --color-text: #E8E0D0;            /* کرم روشن برای متن */
  --color-text-inverse: #E8E0D0;
  --color-border: #2E4055;          /* حاشیه‌های تیره هماهنگ */
  --color-text-secondary: #9EAFBF;  /* متن ثانویه با کنتراست بالای AA */

  /* نگاشت یکپارچه توکن‌های سیستم برای دارک مد */
  --bg: var(--color-bg);
  --bg2: #14202D;
  --card: var(--color-surface);
  --card2: #223447;
  --line: var(--color-border);
  --line2: #3E536D;
  --txt: var(--color-text);
  --muted: var(--color-text-secondary);
  --brand: #2E5A88;
  --brand2: #3A699B;
  --acc: var(--color-accent);
  --gold: var(--color-gold);
  --ok: var(--color-green);
  --bad: #EF4444;
  --warn: #F59E0B;
  --grad: linear-gradient(135deg, #1B3A5C 0%, #2E5A88 60%, var(--color-gold) 130%);
  --radius: 14px;
  --shadow: 0 4px 16px rgba(0, 0, 0, .35);
  --shadow-lg: 0 14px 44px rgba(3, 7, 20, .55);
  --glow: 0 0 0 1px rgba(216, 178, 56, .35), 0 8px 30px rgba(216, 178, 56, .22);
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.7;
  transition: background-color .22s ease, color .22s ease;
}

/* عناوین بر اساس تم */
h1, h2, h3, h4, h5, h6 {
  font-family: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  line-height: 1.4;
}
[data-theme="light"] h1, [data-theme="light"] h2 {
  color: var(--color-primary);
}
[data-theme="dark"] h1, [data-theme="dark"] h2 {
  color: var(--color-gold);
}

/* پس‌زمینه امبینت ملایم */
[data-theme="dark"] body::before {
  content: ''; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46% 38% at 18% 12%, rgba(27, 58, 92, .45), transparent 65%),
    radial-gradient(40% 34% at 84% 20%, rgba(46, 90, 136, .25), transparent 65%),
    radial-gradient(50% 44% at 55% 95%, rgba(216, 178, 56, .12), transparent 70%);
  filter: blur(8px);
}
[data-theme="light"] body::before {
  content: ''; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(45% 35% at 20% 10%, rgba(201, 162, 39, .06), transparent 70%),
    radial-gradient(40% 35% at 80% 25%, rgba(27, 58, 92, .04), transparent 70%);
  filter: blur(10px);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 50% 22%, #000 0%, transparent 100%);
}

/* لینک‌ها: بدون هرگونه خط‌کشی (underline) در حالت عادی، هاور، فوکوس یا لمس */
a, a:hover, a:focus, a:active {
  text-decoration: none !important;
}
a {
  color: var(--color-accent);
  transition: color .18s ease;
}
a:hover, a:focus, a:active {
  color: var(--color-primary-light);
}
[data-theme="dark"] a:hover, [data-theme="dark"] a:focus, [data-theme="dark"] a:active {
  color: var(--color-gold);
}
.vp-nav a, .btn-vp, .btn-vp-secondary, .btn-vp-outline, .btn-vp-ghost, .vpx-mega a, .vp-lang a, .vp-brand, .vp-footer a,
.vpx-bn-slide, .vpx-bn-slide *,
.vpx-bcard, .vpx-bcard *,
.vpx-scard, .vpx-scard *,
.vp-game, .vp-game * {
  text-decoration: none !important;
}

/* متن‌های ثانویه و توضیحات کوچک */
.vp-sub, .text-muted, small, .form-text, .vpx-card-sub {
  color: var(--color-text-secondary) !important;
  font-size: 0.9em;
  line-height: 1.6;
}

.container { max-width: 1140px; }
.vp-main { padding: 26px 12px 60px; position: relative; }
::selection { background: rgba(201, 162, 39, .35); color: #fff; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary)); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ---------- Notify bar (کمپین) ---------- */
.vpx-notify {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-bottom: 1px solid var(--color-gold);
  color: var(--color-text-inverse);
  font-size: 13px; padding: 8px 12px; text-align: center; position: relative;
}
.vpx-notify b { color: var(--color-gold); }
.vpx-notify-x {
  position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--color-text-inverse); cursor: pointer; font-size: 15px; line-height: 1; opacity: .8;
}
.vpx-notify-x:hover { opacity: 1; color: var(--color-gold); }

/* ---------- Nav هدر هخامنشی (لاجوردی تیره + خط طلایی) ---------- */
.vp-nav {
  background: var(--color-primary) !important;
  color: var(--color-text-inverse) !important;
  border-bottom: 2px solid var(--color-gold) !important;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 4px 18px rgba(15, 26, 38, .3);
}
.vp-nav::after { display: none; }
.vp-nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 10px; }
.vp-brand {
  font-weight: 800; font-size: 20px; color: var(--color-gold) !important;
  display: flex; align-items: center; gap: 10px; letter-spacing: .3px;
}
.vp-logo {
  width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-gold) 0%, #D8B238 100%) !important;
  color: #1B3A5C !important; font-size: 17px; font-weight: 900;
  box-shadow: 0 0 16px rgba(201, 162, 39, .45);
}
.vp-nav-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vp-link {
  color: var(--color-text-inverse) !important; font-size: 14px; font-weight: 500;
  position: relative; padding: 6px 4px; transition: color .18s ease; text-decoration: none !important;
}
.vp-link:hover, .vp-link:focus, .vp-link:active {
  color: var(--color-gold) !important;
  text-decoration: none !important;
}
.vp-link.vp-danger { color: #FCA5A5 !important; }

/* دکمه CTA هدر (قرمز اُخرایی + گوشه ۴px + هاور ۱۰٪ تیره‌تر) */
.vp-nav .vpx-btn-quick, .vp-nav .btn-vp {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(176, 58, 46, .35) !important;
  transition: all .18s ease !important;
  border: 0 !important;
}
.vp-nav .vpx-btn-quick:hover, .vp-nav .btn-vp:hover {
  background: #962d23 !important;
  filter: brightness(0.9) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(176, 58, 46, .45) !important;
}

.vp-chip {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(212, 197, 169, .3);
  border-radius: 999px; padding: 4px 14px; font-size: 13px; color: var(--color-text-inverse);
}

/* ---------- سوییچر تم تخت جمشید (شب/روز) ---------- */
.vp-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(212, 197, 169, .35);
  color: var(--color-text-inverse); cursor: pointer; flex-shrink: 0;
  transition: all .2s ease;
}
.vp-theme-toggle:hover {
  border-color: var(--color-gold); color: var(--color-gold);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(201, 162, 39, .25);
}
[data-theme="dark"] .vp-theme-toggle .vp-theme-icon-dark { display: none; }
[data-theme="dark"] .vp-theme-toggle .vp-theme-icon-light { display: block; color: var(--color-gold); }
[data-theme="light"] .vp-theme-toggle .vp-theme-icon-light { display: none; }
[data-theme="light"] .vp-theme-toggle .vp-theme-icon-dark { display: block; color: var(--color-gold); }

/* ---------- سوییچر زبان ---------- */
.vp-lang { position: relative; flex-shrink: 0; }
.vp-lang-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: inherit;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(212, 197, 169, .35);
  color: var(--color-text-inverse);
  border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 700;
  transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
}
.vp-lang-btn:hover { border-color: var(--color-gold); color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .15); }
.vp-lang-fl { font-size: 15px; line-height: 1; }
.vp-lang-code {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: .6px; line-height: 1;
  padding: 3px 6px; border-radius: 4px;
  background: rgba(201, 162, 39, .22); border: 1px solid rgba(201, 162, 39, .45);
  color: var(--color-gold); flex-shrink: 0;
}
.vp-lang-menu a.on .vp-lang-code {
  background: var(--color-gold); border-color: var(--color-gold); color: #1A1A1A;
}
.vp-lang-ch { opacity: .75; transition: transform .2s ease; }
.vp-lang.open .vp-lang-ch { transform: rotate(180deg); }
.vp-lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 90; min-width: 184px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 6px;
  box-shadow: 0 16px 40px rgba(15, 26, 38, .2);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
[data-theme="dark"] .vp-lang-menu {
  background: #1B2A3A; border-color: #2E4055; box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.vp-lang.open .vp-lang-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.vp-lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  color: var(--color-text); font-size: 13.5px; font-weight: 600; transition: background .15s, color .15s;
}
.vp-lang-menu a:hover { background: rgba(201, 162, 39, .12); color: var(--color-primary); }
[data-theme="dark"] .vp-lang-menu a:hover { color: var(--color-gold); }
.vp-lang-menu a .fl { font-size: 17px; line-height: 1; }
.vp-lang-menu a .ck { margin-inline-start: auto; opacity: 0; color: var(--color-gold); flex-shrink: 0; }
.vp-lang-menu a.on { color: var(--color-primary); background: rgba(201, 162, 39, .18); font-weight: 700; }
[data-theme="dark"] .vp-lang-menu a.on { color: var(--color-gold); }
.vp-lang-menu a.on .ck { opacity: 1; }
@media (max-width: 860px) {
  .vp-lang { width: 100%; }
  .vp-lang-btn { width: 100%; justify-content: space-between; }
  .vp-lang-menu { position: static; width: 100%; min-width: 0; margin-top: 8px; box-shadow: none; }
}
.vpx-burger { display: none; background: rgba(255, 255, 255, .1); border: 1px solid rgba(212, 197, 169, .3); color: #fff; border-radius: 8px; width: 40px; height: 38px; font-size: 17px; }
@media (max-width: 860px) {
  .vpx-burger { display: inline-flex; align-items: center; justify-content: center; }
  .vp-nav-links {
    display: none; position: absolute; top: 66px; inset-inline: 10px; flex-direction: column; align-items: stretch;
    background: var(--color-primary); border: 1px solid var(--color-gold); border-radius: 14px; padding: 16px; gap: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  }
  .vp-nav-links.vpx-open { display: flex; }
}
/* ---------- دکمه‌ها (واریانت‌های سه‌گانه هخامنشی) ---------- */
/* 1. Primary: پس‌زمینه قرمز اُخرایی، متن سفید، هاور ۱۰٪ تیره‌تر */
.btn-vp, .btn-vp-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--color-accent) !important; color: #fff !important; border: 0; border-radius: 6px;
  padding: 11px 22px; font-weight: 800; font-size: 14px; font-family: inherit;
  position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s, background .18s, filter .18s;
  box-shadow: 0 4px 14px rgba(176, 58, 46, .35); cursor: pointer; white-space: nowrap; text-decoration: none !important;
}
.btn-vp::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 44%;
  inset-inline-start: -60%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  transition: inset-inline-start .55s ease;
}
.btn-vp:hover::after { inset-inline-start: 120%; }
.btn-vp:hover, .btn-vp-primary:hover {
  transform: translateY(-2px);
  background: #962d23 !important;
  filter: brightness(0.9);
  box-shadow: 0 8px 22px rgba(176, 58, 46, .45);
  color: #fff !important;
}
.btn-vp:active, .btn-vp-primary:active { transform: translateY(0); }
.btn-vp:disabled, .btn-vp-primary:disabled { opacity: .5; transform: none; cursor: not-allowed; }
.btn-vp-sm { padding: 7px 15px; font-size: 13px; border-radius: 5px; }

/* 2. Secondary: پس‌زمینه آبی لاجوردی، متن روشن، هاور با آبی مصری روشن‌تر */
.btn-vp-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--color-primary) !important; color: var(--color-text-inverse) !important;
  border: 0; border-radius: 6px; padding: 11px 22px; font-weight: 700; font-size: 14px; font-family: inherit;
  cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; text-decoration: none !important;
}
.btn-vp-secondary:hover {
  transform: translateY(-2px); background: var(--color-primary-light) !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(27, 58, 92, .3);
}

/* 3. Outline: پس‌زمینه شفاف، حاشیه 2px طلایی، متن طلایی، هاور طلایی با متن تیره */
.btn-vp-ghost, .btn-vp-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent !important; border: 2px solid var(--color-gold) !important;
  color: var(--color-gold) !important; border-radius: 6px; padding: 9px 20px;
  font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer;
  transition: transform .18s, background .18s, color .18s, box-shadow .18s; text-decoration: none !important;
}
.btn-vp-ghost:hover, .btn-vp-outline:hover {
  transform: translateY(-2px); background: var(--color-gold) !important; color: #1A1A1A !important;
  box-shadow: 0 6px 20px rgba(201, 162, 39, .3);
}

.btn-vp-bad { background: linear-gradient(135deg, #EF4444, #B91C1C) !important; box-shadow: 0 8px 24px rgba(239, 68, 68, .35); }

/* ---------- کارت‌های محتوا هخامنشی ---------- */
.vp-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.vp-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
}
.vp-card + .vp-card { margin-top: 16px; }
[data-theme="light"] .vp-card h1, [data-theme="light"] .vp-card h2, [data-theme="light"] .vp-card h3, [data-theme="light"] .vp-card h5 {
  color: var(--color-primary);
  font-weight: 700;
}
[data-theme="dark"] .vp-card h1, [data-theme="dark"] .vp-card h2, [data-theme="dark"] .vp-card h3, [data-theme="dark"] .vp-card h5 {
  color: var(--color-gold);
  font-weight: 700;
}
.vp-title { font-weight: 900; font-size: 22px; margin-bottom: 4px; letter-spacing: .2px; }
.vp-sub { color: var(--color-text-secondary); font-size: 13.5px; }
.vp-auth { max-width: 460px; margin: 30px auto; box-shadow: var(--shadow-lg); }
.vp-auth::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-accent)); opacity: 1;
}

/* ---------- فیلدهای فرم هخامنشی (تمرکز طلایی با هاله ملایم) ---------- */
.form-control, .form-select {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.form-control::placeholder { color: var(--color-text-secondary); opacity: .7; }
.form-control:focus, .form-select:focus {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .15) !important;
  outline: 0;
}
.form-control:disabled { background: var(--bg2); opacity: .65; }
.form-label { color: var(--color-text); font-size: 13.5px; margin-bottom: 6px; font-weight: 600; }
.input-code { letter-spacing: 8px; text-align: center; font-size: 20px; font-weight: 800; }
.ltr { direction: ltr; text-align: left; }
/* ورودی OTP */
.vpx-otp-cell {
  flex: 1; max-width: 52px; height: 60px; display: flex; align-items: center; justify-content: center;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px;
  font-size: 26px; font-weight: 900; color: var(--color-text); font-variant-numeric: tabular-nums;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.vpx-otp-cell.fill { border-color: var(--color-gold); background: rgba(201, 162, 39, .1); }
.vpx-otp-cell.on { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .2); transform: translateY(-2px); }
.vpx-otp.full .vpx-otp-cell { background: rgba(201, 162, 39, .15); box-shadow: 0 6px 20px rgba(201, 162, 39, .25); }
/* اینپوت واقعی نامرئی روی خانه‌ها می‌نشیند — تایپ/پیست/اتوفیل SMS مثل یک اینپوت معمولی کار می‌کند */
.vpx-otp .vpx-otp-src {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  opacity: 0; border: 0; padding: 0; margin: 0; background: transparent;
  color: transparent; caret-color: transparent; outline: 0; font-size: 26px; letter-spacing: normal;
}
.vpx-otp .vpx-otp-src:focus { border: 0; box-shadow: none; outline: 0; }
@media (max-width: 480px) {
  .vpx-otp { gap: 7px; margin-bottom: .8rem; }
  .vpx-otp-cell { height: 54px; font-size: 22px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .vpx-otp-cell { transition: none; } }
/* لرزش کوتاه وقتی کد اشتباه است — فرم پس از بارگذاری با کلاس otp-shake رندر می‌شود */
@keyframes vpxOtpShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-7px); } 40%,80% { transform: translateX(7px); } }
.vpx-otp.shake { animation: vpxOtpShake .45s ease; }

/* ---------- دراپ‌داون سفارشی (select) — شیشه‌ای هماهنگ با تم ---------- */
.vpx-dd { position: relative; }
/* کارتی که دراپ‌داون باز دارد باید بالای کارت‌های بعدی بیاید (backdrop-filter کارت، stacking context می‌سازد) */
.vp-card.vpx-card-lift { z-index: 30; }
.vp-card:has(.vpx-dd.open) { z-index: 30; }
.vpx-dd-btn {
  width: 100%; display: flex; align-items: center; gap: 8px; text-align: start;
  background: rgba(7, 11, 24, .55); border: 1px solid var(--line); border-radius: 13px;
  padding: 11px 14px; color: var(--txt); font: inherit; font-size: 14px; cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.vpx-dd-btn:hover { border-color: rgba(124, 92, 255, .55); }
.vpx-dd.open .vpx-dd-btn { border-color: var(--brand); box-shadow: 0 0 0 .22rem rgba(124, 92, 255, .2); }
.vpx-dd-lbl { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vpx-dd-car { opacity: .75; font-size: 12px; transition: transform .18s; }
.vpx-dd.open .vpx-dd-car { transform: rotate(180deg); }
.vpx-dd-panel {
  position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 60;
  background: rgba(10, 14, 30, .97); border: 1px solid rgba(124, 92, 255, .28); border-radius: 14px;
  padding: 6px; max-height: 290px; overflow: auto;
  box-shadow: 0 20px 44px -14px rgba(3, 7, 20, .85);
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.vpx-dd.open .vpx-dd-panel { opacity: 1; transform: none; pointer-events: auto; }
.vpx-dd.open .vpx-dd-panel { opacity: 1; transform: none; pointer-events: auto; }
/* v8 — اگر زیر دکمه جا نبود، پاپ به بالا باز می‌شود (کلاس up از app.js/place) */
.vpx-dd-panel.up { top: auto; bottom: calc(100% + 6px); transform: translateY(6px) scale(.98); }
.vpx-dd.open .vpx-dd-panel.up { transform: none; }
.vpx-dd-opt {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: start;
  background: none; border: 0; color: var(--txt); font: inherit; font-size: 14px;
  padding: 9px 12px; border-radius: 10px; cursor: pointer; transition: background .14s;
}
.vpx-dd-opt:hover { background: rgba(124, 92, 255, .13); color: #fff; }
.vpx-dd-opt.on { background: linear-gradient(90deg, rgba(124, 92, 255, .25), rgba(34, 211, 238, .1)); color: #fff; font-weight: 700; }
.vpx-dd-opt .tick { margin-inline-start: auto; opacity: 0; font-size: 12px; color: var(--acc); }
.vpx-dd-opt.on .tick { opacity: 1; }
.vpx-dd-panel::-webkit-scrollbar { width: 8px; }
.vpx-dd-panel::-webkit-scrollbar-thumb { background: rgba(124, 92, 255, .35); border-radius: 8px; }
.vpx-dd-panel::-webkit-scrollbar-track { background: transparent; }
/* select اصلی نامرئی می‌ماند ولی value همان است که سرور می‌خواند */
.vpx-dd-src { position: absolute; width: 100%; height: 100%; opacity: 0; pointer-events: none; }

/* ---------- فیلترهای AJAX مزایده‌ها ---------- */
.vpx-auc-wrap { position: relative; transition: opacity .18s; }
.vpx-auc-wrap.loading { opacity: .55; pointer-events: none; }
.vpx-auc-wrap.loading::after {
  content: ''; position: absolute; top: 90px; left: 50%; width: 30px; height: 30px; margin-left: -15px;
  border-radius: 50%; border: 3px solid rgba(124, 92, 255, .25); border-top-color: var(--brand);
  animation: vpxSpin .7s linear infinite; z-index: 70;
}
@keyframes vpxSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .vpx-dd-panel, .vpx-dd-car, .vpx-auc-wrap { transition: none; }
  .vpx-auc-wrap.loading::after { animation: none; }
}

/* ---------- Alerts / badges ---------- */
.vp-alert { border-radius: 13px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 14px; border: 1px solid; backdrop-filter: blur(6px); }
.vp-alert.ok { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .4); color: #86EFAC; }
.vp-alert.bad { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .4); color: #FCA5A5; }
.vp-alert.info { background: rgba(96, 165, 250, .1); border-color: rgba(96, 165, 250, .4); color: #93C5FD; }
.vp-alert.warn { background: rgba(251, 191, 36, .09); border-color: rgba(251, 191, 36, .4); color: #FCD34D; }
.vp-badge { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: 12px; border: 1px solid; font-weight: 600; }
.vp-badge.ok { color: #86EFAC; border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .1); }
.vp-badge.warn { color: #FCD34D; border-color: rgba(251, 191, 36, .5); background: rgba(251, 191, 36, .1); }
.vp-badge.bad { color: #FCA5A5; border-color: rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .1); }
.vp-badge.info { color: #93C5FD; border-color: rgba(96, 165, 250, .5); background: rgba(96, 165, 250, .1); }

/* ---------- Stats / table ---------- */
.vp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.vp-stat {
  background: linear-gradient(170deg, rgba(148, 163, 255, .085), rgba(148, 163, 255, .03));
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; position: relative; overflow: hidden;
}
.vp-stat::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124, 92, 255, .65), transparent); }
.vp-stat .lbl { color: var(--muted); font-size: 12.5px; }
.vp-stat .val { font-size: 20px; font-weight: 900; color: #fff; margin-top: 4px; font-variant-numeric: tabular-nums; }
.vp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vp-table th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-align: inherit; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.vp-table td { padding: 10px; border-bottom: 1px solid rgba(148, 163, 255, .09); }
.vp-table tr:last-child td { border-bottom: 0; }
.vp-table tr:hover td { background: rgba(124, 92, 255, .06); }
/* ---------- Hero هخامنشی (گرادیان لاجوردی به مصری + پترن پله‌های آپادانا و گل رزت) ---------- */
.vpx-hero-wrap { position: relative; padding: 44px 0 28px; }
.vpx-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center;
  padding: 42px 40px; border-radius: 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%) !important;
  border: 1px solid var(--color-gold) !important;
  box-shadow: 0 16px 48px rgba(15, 26, 38, .35);
}
.vpx-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  /* پترن هندسی ظریف برگرفته از گل رزت ۱۲ پر هخامنشی و پله‌های کاخ آپادانا */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M0 32 L16 32 L16 16 L32 16 L32 0 L48 0 L48 16 L64 16' fill='none' stroke='%23C9A227' stroke-width='1.2'/%3E%3Ccircle cx='32' cy='32' r='12' fill='none' stroke='%23C9A227' stroke-width='1.2'/%3E%3Ccircle cx='32' cy='32' r='4' fill='%23C9A227'/%3E%3Cpath d='M32 16 L32 48 M16 32 L48 32 M20 20 L44 44 M20 44 L44 20' stroke='%23C9A227' stroke-width='1'/%3E%3Cpath d='M0 32 L16 32 L16 48 L32 48 L32 64 L48 64 L48 48 L64 48' fill='none' stroke='%23C9A227' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  opacity: 0.07;
  z-index: 1;
}
.vpx-hero > * { position: relative; z-index: 2; }
.vpx-hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  color: var(--color-gold) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  line-height: 1.28;
  margin: 0 0 14px;
}
.vpx-hero h1 .grad {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-gold) 75%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
.vpx-hero-lead {
  color: var(--color-text-inverse) !important;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  max-width: 560px;
  margin: 0 0 22px;
}
.vpx-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.vpx-hero-ctas .btn-vp {
  background: var(--color-accent) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(176, 58, 46, .4);
}
.vpx-hero-ctas .btn-vp-ghost {
  background: transparent !important;
  border: 2px solid var(--color-gold) !important;
  color: var(--color-gold) !important;
}
.vpx-hero-ctas .btn-vp-ghost:hover {
  background: var(--color-gold) !important;
  color: #1A1A1A !important;
}
.vpx-trust { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.vpx-trust-i { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-inverse); opacity: .9; }
.vpx-trust-i svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-gold); fill: var(--color-gold); }
.vpx-trust-i b { color: var(--color-text-inverse); font-weight: 700; }

/* پنل LIVE هیرو */
.vpx-live {
  background: rgba(15, 26, 38, .75);
  border: 1px solid var(--color-gold);
  border-radius: 18px; padding: 22px;
  backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  position: relative; overflow: hidden;
}
.vpx-live::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.vpx-live-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.vpx-live-t { font-weight: 800; color: var(--color-gold); font-size: 15px; }
.vpx-pulse { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #86EFAC; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); border-radius: 999px; padding: 4px 12px; }
.vpx-pulse i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: vpxPulse 1.8s infinite; }
@keyframes vpxPulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.vpx-livenums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vpx-livenum {
  --ac: var(--color-gold); --acg: rgba(201, 162, 39, .15);
  position: relative; overflow: hidden; text-align: center;
  background: rgba(27, 42, 58, .6);
  border: 1px solid rgba(212, 197, 169, .25); border-radius: 12px; padding: 14px 8px 12px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.vpx-livenum::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(100% 64% at 50% -12%, var(--acg), transparent 72%);
}
.vpx-livenum::after {
  content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent); opacity: .9;
}
.vpx-livenum b {
  position: relative; display: block; font-size: 22px; font-weight: 900; letter-spacing: .3px;
  font-variant-numeric: tabular-nums;
  color: var(--color-gold);
}
.vpx-livenum span { position: relative; display: block; margin-top: 3px; font-size: 11px; font-weight: 600; color: var(--color-text-inverse); opacity: .85; letter-spacing: .4px; }
.vpx-livenum:hover { transform: translateY(-3px); border-color: var(--color-gold); box-shadow: 0 10px 24px -10px rgba(201, 162, 39, .3); }
.vpx-ticker {
  margin-top: 14px; border-top: 1px dashed rgba(212, 197, 169, .3); padding-top: 13px;
  display: flex; align-items: center; gap: 10px; font-size: 13px;
}
.vpx-ticker-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--color-primary); border: 1px solid var(--color-gold); color: var(--color-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.vpx-ticker b { color: var(--color-gold); }
.vpx-ticker small { display: block; color: var(--color-text-inverse); opacity: .85; font-size: 11.5px; }
@media (max-width: 940px) {
  .vpx-hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; border-radius: 18px; }
  .vpx-hero h1 { font-size: clamp(28px, 7vw, 40px); }
}
  .vpx-hero h1 { font-size: clamp(28px, 7vw, 40px); }
}
/* ---------- گرید بازی‌ها «Battle Cards» ---------- */
.vp-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.vp-game {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 0 0 14px; text-align: center; overflow: hidden; transition: transform .22s ease, border-color .22s, box-shadow .22s; color: inherit;
  display: block;
}
.vp-game:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, .6); box-shadow: 0 16px 40px rgba(124, 92, 255, .28); color: inherit; }
.vp-game::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .22s; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, rgba(124, 92, 255, .22), transparent 60%);
}
.vp-game:hover::after { opacity: 1; }
.vp-game .gn { color: #fff; font-weight: 700; margin-top: 8px; font-size: 14px; }
.vp-game .gc { color: var(--muted); font-size: 12px; margin-top: 2px; }
/* هنر پروسیجرال یکتا برای هر بازی — از --t1/--t2 */
.vpx-gart { height: 86px; position: relative; overflow: hidden; border-radius: 17px 17px 0 0; }
.vpx-gart::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(80% 130% at 20% 0%, var(--t1, #7C5CFF), transparent 60%),
    radial-gradient(70% 120% at 85% 15%, var(--t2, #22D3EE), transparent 55%),
    linear-gradient(160deg, rgba(7, 11, 24, .2), rgba(7, 11, 24, .75));
}
.vpx-gart::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(90% 100% at 50% 0%, #000, transparent 85%);
  transform: perspective(120px) rotateX(24deg) scale(1.4); transform-origin: top;
}
.vpx-gart .gi {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 40px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); z-index: 1;
}
.vpx-gprice {
  position: absolute; bottom: 8px; inset-inline-end: 8px; z-index: 2;
  background: rgba(7, 11, 24, .78); border: 1px solid var(--line2); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px;
}
.vpx-gprice b { color: var(--acc); }

/* ---------- آرنای بازی‌ها: بنر مزایده + کارت‌های بنتو ---------- */
.vpx-arena { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.vpx-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
@keyframes vpxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.vpx-bn {
  position: relative; overflow: hidden; grid-column: span 2; grid-row: span 2; min-height: 314px;
  border-radius: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  /* نکته: این کارت عمداً padding ندارد؛ لبه‌ی برشِ viewport باید دقیقاً روی لبه‌ی گرد
     کارت بنشیند تا پس‌زمینه/تینت اسلایدها تا خودِ کادر پر شوند (full-bleed).
     فاصله‌ی داخلیِ محتوا روی خود اسلایدها (.vpx-bn-slide) داده می‌شود. */
  color: inherit; border: 1px solid rgba(124, 92, 255, .4);
  background: linear-gradient(140deg, #2A1B6E 0%, #191243 48%, #0B1030 100%);
}
.vpx-bn::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 85% 12%, rgba(124, 92, 255, .5), transparent 62%),
    radial-gradient(55% 75% at 68% 96%, rgba(34, 211, 238, .28), transparent 65%);
}
.vpx-bn::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(148, 163, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  transform: perspective(140px) rotateX(30deg) scale(1.5); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(0deg, transparent 30%, #000);
  mask-image: linear-gradient(0deg, transparent 30%, #000);
}
.vpx-bn-auc .vpx-orb.o1 { width: 92px; height: 92px; top: 9%; inset-inline-end: 10%; filter: blur(1px); animation: vpxFloat 7s ease-in-out infinite; background: radial-gradient(circle at 30% 30%, rgba(245, 192, 68, .85), rgba(245, 192, 68, .08) 70%); }
.vpx-bn-auc .vpx-orb.o2 { width: 46px; height: 46px; top: 56%; inset-inline-end: 24%; animation: vpxFloat 9s ease-in-out -2.5s infinite; background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, .7), rgba(34, 211, 238, .06) 70%); }
.vpx-bn-auc .vpx-orb.o3 { width: 28px; height: 28px; top: 20%; inset-inline-end: 40%; animation: vpxFloat 8s ease-in-out -5s infinite; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .05) 70%); }
.vpx-bn-eyebrow {
  position: relative; z-index: 1; align-self: flex-start; font-size: 11.5px; font-weight: 800; color: #0B1030;
  background: linear-gradient(90deg, #F5C044, #FFE9A8); border-radius: 999px; padding: 5px 13px;
  box-shadow: 0 6px 18px rgba(245, 192, 68, .35);
}
.vpx-bn-title { position: relative; z-index: 1; margin: 2px 0 0; color: #fff; font-size: clamp(20px, 2.4vw, 27px); font-weight: 900; line-height: 1.6; }
.vpx-bn-sub { position: relative; z-index: 1; margin: 0; color: #C6CDF2; font-size: 13px; line-height: 2.1; max-width: 46ch; }
.vpx-bn-cta {
  position: relative; z-index: 1; margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 9px 18px; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.vpx-bn-cta b { font-size: 21px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.vpx-bn-cta i { font-style: normal; font-size: 16px; color: #fff; }
[dir="ltr"] .vpx-bn-cta i { transform: rotate(180deg); }
.vpx-bn:hover { color: inherit; }
.vpx-bn:hover .vpx-bn-cta { background: var(--grad); border-color: transparent; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(124, 92, 255, .5); }
/* اسلایدر بنر — ویوپورت کلیپ‌کننده (بدون transform) + ترک متحرک + اسلایدهای تمام‌عرض
   نکته: overflow:hidden نباید روی خودِ ترکِ transform-شونده باشد؛ کلیپ در فضای محلیِ
   ترک و «قبل از» transform اعمال می‌شود و اسلایدهای خارج از باکس (خصوصاً در RTL)
   برای همیشه حذف می‌شوند. کلیپ باید روی والدِ ثابتِ بدون padding بنشیند. */
.vpx-bn-viewport {
  position: relative; z-index: 1; flex: 1; min-height: 0; overflow: hidden;
}
.vpx-bn-track {
  position: relative; height: 100%; min-height: 0; display: flex;
  transition: transform .55s cubic-bezier(.25, .8, .3, 1);
}
.vpx-bn-slide {
  position: relative; flex: 0 0 100%; min-width: 100%; min-height: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 10px; color: inherit;
  /* فاصله‌ی داخلی محتوا اینجاست (به‌جای کارت)؛ پس‌زمینه تا لبه‌ی کادر ادامه می‌یابد */
  padding: 22px 26px 26px;
}
.vpx-bn-slide::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.vpx-bn-slide.s2::before { background: radial-gradient(85% 110% at 82% 12%, rgba(52, 211, 153, .26), transparent 62%); }
.vpx-bn-slide.s3::before { background: radial-gradient(85% 110% at 82% 12%, rgba(245, 192, 68, .22), transparent 62%); }
.vpx-bn-cta .lbl { font-size: 13.5px; font-weight: 800; color: #fff; }
.vpx-bn-dots { position: relative; z-index: 2; margin: 10px 26px 18px; display: flex; gap: 6px; }
.vpx-bn-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .28); transition: width .25s, background .25s;
}
.vpx-bn-dots button:hover { background: rgba(255, 255, 255, .55); }
.vpx-bn-dots button.on { width: 20px; background: linear-gradient(90deg, #F5C044, #FFE9A8); }
/* لایه تصویر واقعی هر بازی (کاور فول‌بلید) + اسکریم گرادیانی برای خوانایی متن */
.vpx-bc-img {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  transform: scale(1.01); filter: saturate(1.08) contrast(1.04);
  transition: transform .5s ease, filter .3s ease;
}
.vpx-bcard::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 10, 24, .93) 0%, rgba(7, 10, 24, .58) 26%, rgba(7, 10, 24, .14) 55%, rgba(7, 10, 24, .06) 100%);
}
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .vpx-bcard::after {
    background:
      linear-gradient(185deg, color-mix(in srgb, var(--t1) 18%, transparent), transparent 40%),
      linear-gradient(0deg, rgba(7, 10, 24, .93) 0%, rgba(7, 10, 24, .58) 26%, rgba(7, 10, 24, .14) 55%, rgba(7, 10, 24, .06) 100%);
  }
}
.vpx-bcard:hover .vpx-bc-img { transform: scale(1.07); filter: saturate(1.2) contrast(1.06); }
/* کارت بازی — کاور فول‌بلید به سبک استور */
.vpx-bcard {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 150px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end;
  color: inherit; border: 1px solid var(--line); background: #0B1030;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.vpx-bcard.tall { grid-row: span 2; min-height: 314px; }
.vpx-bcard > :not(.vpx-bc-img) { position: relative; z-index: 2; }
.vpx-bcard:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, .7); box-shadow: 0 22px 48px rgba(124, 92, 255, .35), 0 0 0 1px rgba(124, 92, 255, .22); color: inherit; }
.vpx-bcard::before {
  content: ''; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(170px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 65%);
}
.vpx-bcard:hover::before { opacity: 1; }
.vpx-bc-ic {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; font-style: normal;
  width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 21px; background: rgba(7, 11, 24, .55); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px); box-shadow: 0 8px 20px rgba(3, 7, 20, .4);
}
.tall .vpx-bc-ic { width: 48px; height: 48px; font-size: 24px; border-radius: 15px; }
.vpx-bc-body { display: flex; flex-direction: column; gap: 7px; padding: 0 16px 16px; }
.vpx-bc-name { color: #fff; font-weight: 800; font-size: 16.5px; line-height: 1.55; text-shadow: 0 2px 14px rgba(3, 7, 20, .65); }
.tall .vpx-bc-name { font-size: 20px; }
.vpx-bc-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vpx-bc-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #fff;
  border-radius: 999px; padding: 5px 12px;
  background: rgba(7, 11, 24, .62); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
}
.vpx-bc-chip b { color: var(--gold); font-weight: 800; }
.vpx-bc-offers { color: #C9D2F5; font-size: 11.5px; font-weight: 600; text-shadow: 0 1px 10px rgba(3, 7, 20, .7); }
.vpx-bcard.soon .vpx-bc-img { filter: grayscale(.8) brightness(.55); }
.vpx-bcard.soon .vpx-bc-name { color: #C3CCEC; }
/* ---------- منوی مگای بازی‌ها (هدر) ---------- */
.vpx-mega-wrap { position: static; }
.vpx-mg-btn { display: inline-flex; align-items: center; cursor: pointer; }
.vpx-mega {
  display: none; position: absolute; top: 100%; inset-inline: 0; z-index: 60;
  height: clamp(440px, 66vh, 640px);
  background: rgba(7, 11, 24, .97); border-bottom: 1px solid var(--line2);
  backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 40px 80px rgba(3, 7, 20, .65);
}
.vpx-mega-wrap.open .vpx-mega { display: flex; align-items: stretch; }
.vpx-mega-wrap.open .vpx-mg-btn { color: #fff; }
.vpx-mega::before {
  content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, .8), rgba(34, 211, 238, .6), transparent);
}
.vpx-mg-x {
  position: absolute; top: 14px; inset-inline-end: 16px; z-index: 6;
  width: 34px; height: 34px; border-radius: 11px; cursor: pointer; font-family: inherit; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(7, 11, 24, .65); border: 1px solid var(--line2); color: var(--muted);
  backdrop-filter: blur(8px); transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.vpx-mg-x:hover { background: var(--bad); border-color: transparent; color: #fff; transform: scale(1.06); }
.vpx-mg-list { width: 290px; flex-shrink: 0; padding: 18px 0 12px; border-inline-end: 1px solid var(--line); overflow-y: auto; }
.vpx-mg-cap { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--muted); padding: 0 22px 10px; }
.vpx-mg-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 22px; color: var(--txt);
  font-size: 14.5px; font-weight: 700; transition: background .16s, color .16s;
}
.vpx-mg-item .mi { width: 30px; height: 30px; border-radius: 9px; background: rgba(148, 163, 255, .1); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.vpx-mg-item .mn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpx-mg-item i { margin-inline-start: auto; font-style: normal; color: #fff; opacity: 0; transition: opacity .16s; }
.vpx-mg-item:hover { background: rgba(124, 92, 255, .1); }
.vpx-mg-item.on { background: var(--grad); color: #fff; }
.vpx-mg-item.on i { opacity: 1; }
.vpx-mg-item.on .mi { background: rgba(255, 255, 255, .2); }
.vpx-mg-panel { flex: 1; min-width: 0; padding: 22px 26px 18px; display: flex; flex-direction: column; min-height: 0; }
.vpx-mg-body { display: flex; gap: 22px; align-items: stretch; flex: 1; min-height: 0; }
.vpx-mg-body .vpx-mg-cols { flex: 1; min-width: 0; align-content: start; overflow-y: auto; min-height: 0; }
.vpx-mg-body .vpx-mg-empty { flex: 1; }
.vpx-mg-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; padding-inline-end: 54px; }
.vpx-mg-ph h4 { color: #fff; font-weight: 900; font-size: 18px; margin: 0; }
.vpx-mg-viewall { font-size: 12.5px; font-weight: 700; color: #C7BFFF; background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .4); border-radius: 999px; padding: 6px 14px; }
.vpx-mg-viewall:hover { background: var(--grad); color: #fff; }
.vpx-mg-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 22px; }
.vpx-mg-col { display: flex; flex-direction: column; min-width: 0; }
.vpx-mg-sub { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-bottom: 1px solid rgba(148, 163, 255, .07); color: var(--txt); font-size: 13px; }
.vpx-mg-sub b { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.vpx-mg-sub:hover { color: #fff; background: rgba(124, 92, 255, .08); }
.vpx-mg-sub:hover b { background: var(--acc); box-shadow: 0 0 8px rgba(34, 211, 238, .8); }
.vpx-mg-sub span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpx-mg-sub small { margin-inline-start: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.vpx-mg-empty { color: var(--muted); font-size: 13px; padding: 18px 4px; }
.vpx-mg-aside { width: 290px; flex-shrink: 0; padding-inline-start: 22px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; overflow-y: auto; min-height: 0; }
.vpx-mg-aside .vpx-mg-cap { padding: 0 0 10px; }
.vpx-mg-pick {
  position: relative; display: flex; flex-direction: column; gap: 3px; border-radius: 16px; padding: 15px 16px;
  color: inherit; overflow: hidden; border: 1px solid var(--line2); transition: transform .2s, box-shadow .2s;
}
.vpx-mg-pick::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 120% at 88% 0%, var(--t1, #7C5CFF), transparent 60%),
    radial-gradient(70% 100% at 55% 115%, var(--t2, #22D3EE), transparent 55%),
    linear-gradient(0deg, rgba(7, 11, 24, .8), rgba(7, 11, 24, .25));
}
.vpx-mg-pick > * { position: relative; z-index: 1; }
.vpx-mg-pick:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(124, 92, 255, .35); color: inherit; }
.vpx-mg-pick .pi { font-size: 26px; margin-bottom: 4px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.vpx-mg-pick b { color: #fff; font-size: 14.5px; }
.vpx-mg-pick small { color: #C9D2F5; font-size: 11.5px; }
.vpx-mg-price { align-self: flex-start; color: var(--acc); font-weight: 900; font-size: 14px; margin-top: 5px; }
.vpx-mg-pick .btn-vp { align-self: flex-start; margin-top: 9px; pointer-events: none; }
.vpx-mg-pick-empty { background: var(--card); }
/* اسلایدر انتخاب امروز — چند پیشنهاد از همان بازی */
.vpx-mg-pickslider { position: relative; }
.vpx-mg-slides { position: relative; min-height: 202px; }
.vpx-mg-pickslider .vpx-mg-pick { display: none; }
.vpx-mg-pickslider .vpx-mg-pick.on { display: flex; animation: vpxPickIn .45s ease; }
@keyframes vpxPickIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vpx-mg-dots { display: flex; gap: 5px; justify-content: center; margin-top: 8px; }
.vpx-mg-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(148, 163, 255, .25); transition: width .2s, background .2s;
}
.vpx-mg-dots button:hover { background: rgba(148, 163, 255, .6); }
.vpx-mg-dots button.on { width: 18px; background: var(--grad); }
.vpx-mg-rec { border: 1px dashed rgba(124, 92, 255, .5); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; color: inherit; transition: border-color .2s, background .2s; }
.vpx-mg-rec:hover { border-color: rgba(124, 92, 255, .9); background: rgba(124, 92, 255, .1); color: inherit; }
.vpx-mg-rec b { color: #fff; font-size: 12.5px; }
.vpx-mg-rec small { color: var(--muted); font-size: 11px; line-height: 1.8; }
@media (max-width: 991px) {
  .vpx-arena { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .vpx-bcard.tall { min-height: 150px; grid-row: auto; }
  .vpx-mg-cols { grid-template-columns: repeat(2, 1fr); }
  .vpx-mg-body { flex-direction: column; gap: 14px; }
  .vpx-mg-aside { width: auto; padding-inline-start: 0; padding-top: 14px; border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .vpx-mega { display: none !important; }
}
@media (max-width: 575px) {
  .vpx-arena { grid-template-columns: 1fr 1fr; grid-auto-rows: 128px; gap: 10px; }
  .vpx-bcard.tall { grid-row: span 2; min-height: 266px; }
  .vpx-bn { grid-column: span 2; grid-row: span 2; min-height: 280px; padding: 18px; }
  .vpx-mg-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vpx-bcard, .vpx-bc-img, .vpx-orb, .vpx-bn, .vpx-bn-cta, .vpx-bn-track, .vpx-bn-dots button, .vpx-mg-item, .vpx-mg-pick, .vpx-mg-pickslider .vpx-mg-pick.on, .vpx-mg-dots button, .vpx-mg-sub, .vpx-mg-rec, .vpx-mega, .vpx-mg-x { transition: none; animation: none; }
}

/* ---------- سکشن‌ها ---------- */
.vp-sec-title { font-weight: 900; font-size: 22px; color: #fff; display: flex; align-items: center; gap: 10px; }
.vpx-sec { padding: 34px 0 6px; }
.vpx-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.vpx-sec-sub { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.vpx-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--acc); text-transform: uppercase; display: block; margin-bottom: 6px; }
/* ---------- How-it-works هخامنشی (۳ گام ساده و تمیز بدون هم‌پوشانی زشت اعداد) ---------- */
.vpx-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; margin-top: 16px;
}
.vpx-steps::before {
  content: ''; position: absolute; top: 58px; inset-inline: 16%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent); opacity: .4; z-index: 0;
}
.vpx-step {
  position: relative; text-align: center; padding: 24px 20px 22px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  z-index: 1;
}
.vpx-step:hover {
  transform: translateY(-4px); border-color: var(--color-gold); box-shadow: var(--shadow-lg);
}
.vpx-step-icon, .vpx-step-n {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface); border: 2px solid var(--color-gold);
  font-size: 32px; box-shadow: 0 4px 16px rgba(201, 162, 39, .22);
  transition: transform .2s ease, border-color .2s ease; position: relative;
}
.vpx-step-n::after { display: none !important; }
.vpx-step:hover .vpx-step-icon, .vpx-step:hover .vpx-step-n {
  transform: scale(1.08); border-color: var(--color-accent);
}
.vpx-step h5 {
  font-weight: 800; font-size: 16px; margin-bottom: 8px; line-height: 1.4;
}
[data-theme="light"] .vpx-step h5 { color: var(--color-primary); }
[data-theme="dark"] .vpx-step h5 { color: var(--color-gold); }
.vpx-step p {
  color: var(--color-text-secondary); font-size: 13px; margin: 0; line-height: 1.8;
}
@media (max-width: 768px) {
  .vpx-steps { grid-template-columns: 1fr; gap: 16px; }
  .vpx-steps::before { display: none; }
}

/* ---------- چرا ما / گارانتی‌ها ---------- */
.vpx-guar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vpx-guar-i {
  background: linear-gradient(170deg, rgba(148, 163, 255, .08), rgba(148, 163, 255, .03));
  border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; text-align: center; transition: .2s;
}
.vpx-guar-i:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--shadow); }
.vpx-guar-ic {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--grad); box-shadow: 0 10px 26px rgba(124, 92, 255, .4);
}
.vpx-guar-ic svg { width: 26px; height: 26px; color: #fff; }
.vpx-guar-i h6 { color: #fff; font-weight: 800; font-size: 14px; margin: 0 0 6px; }
.vpx-guar-i p { color: var(--muted); font-size: 12.5px; margin: 0; line-height: 1.9; }
@media (max-width: 900px) { .vpx-guar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vpx-guar { grid-template-columns: 1fr; } }

/* ---------- نظرات مشتریان ---------- */
.vpx-review { position: relative; }
.vpx-review-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.vpx-ava {
  width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 17px; flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(124, 92, 255, .4);
}
.vpx-review-n { color: #fff; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.vpx-review-n i { color: var(--acc); font-style: normal; font-size: 11px; }
.vpx-stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.vpx-review q { color: var(--muted); font-size: 13.5px; line-height: 2; quotes: none; display: block; }

/* ---------- FAQ ---------- */
details.vp-faq { border-bottom: 1px solid var(--line); padding: 14px 4px; }
details.vp-faq:last-of-type { border-bottom: 0; }
details.vp-faq summary {
  cursor: pointer; font-weight: 700; color: #fff; font-size: 14px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
details.vp-faq summary::-webkit-details-marker { display: none; }
details.vp-faq summary::after {
  content: '+'; font-size: 18px; color: var(--acc); font-weight: 900; transition: transform .2s; flex-shrink: 0;
}
details.vp-faq[open] summary::after { transform: rotate(45deg); }
details.vp-faq p { margin-top: 10px; line-height: 2.1; }

/* ---------- پنل پیگیری (گلو) ---------- */
.vpx-track { position: relative; overflow: hidden; }
.vpx-track::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(124, 92, 255, .8), rgba(34, 211, 238, .5), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* ---------- پورتال بوستر (پولیش) ---------- */
.vp-portal { display: flex; gap: 18px; align-items: flex-start; margin-top: 10px; }
.vp-side {
  width: 240px; flex-shrink: 0; border-radius: var(--radius); padding: 12px; position: sticky; top: 80px;
  background: linear-gradient(175deg, rgba(148, 163, 255, .09), rgba(148, 163, 255, .035));
  border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.vp-side-user { padding: 10px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.vp-side-name { color: #fff; font-weight: 800; font-size: 14px; }
.vp-side-bal { color: var(--acc); font-weight: 900; font-size: 15px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.vp-side-link { display: flex; align-items: center; gap: 9px; color: var(--muted); padding: 10px 12px; border-radius: 12px; font-size: 13.5px; margin-bottom: 2px; transition: .15s; }
.vp-side-link:hover { background: rgba(124, 92, 255, .12); color: #fff; }
.vp-side-link.active { background: linear-gradient(135deg, rgba(124, 92, 255, .3), rgba(59, 130, 246, .22)); color: #fff; border: 1px solid rgba(124, 92, 255, .45); }
.vp-side-link.vp-danger:hover { background: rgba(248, 113, 113, .12); color: #FCA5A5; }
.vp-portal-main { flex: 1; min-width: 0; }
@media (max-width: 768px) {
  .vp-portal { flex-direction: column; }
  .vp-side { width: 100%; position: static; }
}

/* ---------- چت ---------- */
.vp-msg { display: flex; margin-bottom: 10px; }
.vp-msg.me { justify-content: flex-start; }
.vp-msg.them { justify-content: flex-end; }
.vp-bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; border: 1px solid var(--line); line-height: 1.9; }
.vp-msg.me .vp-bubble { background: linear-gradient(135deg, rgba(124, 92, 255, .3), rgba(59, 130, 246, .22)); border-color: rgba(124, 92, 255, .4); }
.vp-msg.them .vp-bubble { background: rgba(7, 11, 24, .5); }
.vp-msgtime { font-size: 11px; color: var(--muted); margin-top: 5px; }

/* ---------- کمکی‌ها / متن رنگی ---------- */
.text-sm { font-size: 13px; }
.text-warning { color: var(--warn) !important; }
.text-success { color: #86EFAC !important; }
.text-danger { color: #FCA5A5 !important; }
.border-warning { border-color: rgba(251, 191, 36, .6) !important; }
.vp-card.d-block { color: inherit; }
.vp-card.d-block:hover { border-color: rgba(124, 92, 255, .55); transform: translateY(-2px); transition: .18s; }

/* ---------- Footer هخامنشی (لاجوردی تیره + خط طلایی ۲px) ---------- */
.vp-footer {
  margin-top: 56px;
  border-top: 2px solid var(--color-gold) !important;
  position: relative; overflow: hidden;
  background: var(--color-primary) !important;
  color: var(--color-text-inverse) !important;
}
.vp-footer::before { display: none; }
.vp-footer::after { display: none; }
.vpx-foot-cta {
  position: relative; margin-top: 28px; border-radius: 18px; border: 1px solid var(--color-gold);
  overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding: 22px 26px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  box-shadow: 0 12px 36px rgba(15, 26, 38, .35);
}
.vpx-foot-cta-txt { position: relative; z-index: 1; }
.vpx-foot-cta h4 { color: var(--color-gold); font-weight: 900; font-size: 18.5px; margin: 0 0 5px; }
.vpx-foot-cta p { color: var(--color-text-inverse); font-size: 13px; margin: 0; opacity: .9; }
.vpx-foot-cta .btn-vp {
  position: relative; z-index: 1; flex-shrink: 0;
  background: var(--color-accent) !important; color: #fff !important;
}
.vpx-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 26px; padding: 34px 0 26px; position: relative; z-index: 1; }
.vpx-foot h6 {
  color: var(--color-gold); font-weight: 800; font-size: 14px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.vpx-foot h6::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--color-gold); box-shadow: 0 0 10px rgba(201, 162, 39, .6); }
.vpx-foot a, .vpx-foot p { color: var(--color-text-inverse); opacity: .85; font-size: 13px; display: block; margin-bottom: 9px; }
.vpx-foot a { display: flex; align-items: center; gap: 7px; transition: color .16s, transform .16s; }
.vpx-foot a i { font-style: normal; color: var(--color-gold); transition: transform .18s ease; }
[dir="ltr"] .vpx-foot a i { transform: rotate(180deg); }
.vpx-foot a:hover { color: var(--color-gold); opacity: 1; transform: translateX(-2px); }
[dir="ltr"] .vpx-foot a:hover { transform: translateX(2px); }
.vpx-foot a:hover i { color: var(--color-gold); }
.vpx-foot-brand { display: flex; align-items: center; gap: 10px; color: var(--color-gold) !important; font-weight: 900; font-size: 18px; margin-bottom: 10px; }
.vpx-foot-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.vpx-foot-badge {
  font-size: 11.5px; color: var(--color-text-inverse); border: 1px solid rgba(212, 197, 169, .3); border-radius: 999px;
  padding: 4px 11px; background: rgba(255, 255, 255, .08);
}
.vpx-foot-socs { display: flex; gap: 9px; margin-top: 16px; }
.vpx-foot-soc {
  width: 37px; height: 37px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-text-inverse) !important; background: rgba(255, 255, 255, .08); border: 1px solid rgba(212, 197, 169, .3); margin-bottom: 0;
  transition: color .18s, border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.vpx-foot-soc svg { width: 17px; height: 17px; }
.vpx-foot-soc:hover {
  color: var(--color-gold) !important; border-color: var(--color-gold); background: rgba(201, 162, 39, .15);
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201, 162, 39, .25);
}
.vpx-foot-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.vpx-foot-payi {
  font-size: 11.5px; color: var(--color-text-inverse); opacity: .85; background: rgba(255, 255, 255, .08); border: 1px solid rgba(212, 197, 169, .3);
  border-radius: 8px; padding: 6px 11px;
}
.vpx-foot-bottom {
  border-top: 1px solid rgba(212, 197, 169, .25); padding: 14px 0 20px; display: flex; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; color: var(--color-text-inverse); opacity: .8; font-size: 12.5px; position: relative; z-index: 1;
}
@media (max-width: 860px) { .vpx-foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vpx-foot { grid-template-columns: 1fr; } .vpx-foot-cta { padding: 18px; } }

/* ---------- Reveal on scroll ---------- */
.vpx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.vpx-reveal.vpx-in { opacity: 1; transform: none; }

/* ---------- کاهش حرکت برای کاربران حساس ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vpx-reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- موبایل کوچک ---------- */
@media (max-width: 576px) {
  .vp-hero h1 { font-size: 26px; }
  .vp-card { padding: 16px; }
  .vpx-live { padding: 16px; }
}

/* ---------- Checkout دوستونه (v3.9) ---------- */
.vpx-co { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .vpx-co { grid-template-columns: 1fr; } }
.vpx-steps-co { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.vpx-steps-co span {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
}
.vpx-steps-co span i {
  width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; background: rgba(148, 163, 255, .18); color: var(--muted);
}
.vpx-steps-co span.on { color: #fff; border-color: rgba(124, 92, 255, .55); background: rgba(124, 92, 255, .16); }
.vpx-steps-co span.on i { background: var(--grad); color: #fff; }
.vpx-steps-co b { color: var(--line2); font-weight: 400; }
.vpx-summary { position: sticky; top: 84px; }
.vpx-summary::after {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px; border-radius: 18px 18px 0 0;
  background: var(--grad); opacity: .9;
}
.vpx-sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.vpx-sum-row:last-of-type { border-bottom: 0; }
.vpx-sum-row b { color: #fff; font-variant-numeric: tabular-nums; }
.vpx-sum-total { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line2); }
.vpx-sum-total b { font-size: 20px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.vpx-sum-disc { color: var(--ok); font-weight: 700; }
/* کارت‌های رادیویی روش پرداخت */
.vpx-payopt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .vpx-payopt { grid-template-columns: 1fr; } }
.vpx-payopt label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: rgba(7, 11, 24, .45); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  transition: .15s; font-size: 13.5px; color: var(--txt); position: relative;
}
.vpx-payopt label:hover { border-color: var(--line2); }
.vpx-payopt input { position: absolute; opacity: 0; }
.vpx-payopt input:checked + span + i { display: block; }
.vpx-payopt label:has(input:checked) { border-color: rgba(124, 92, 255, .7); background: rgba(124, 92, 255, .12); box-shadow: var(--glow); }
.vpx-payopt .pv-ic {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(148, 163, 255, .12); font-size: 16px; flex-shrink: 0; font-style: normal;
}
.vpx-payopt .pv-tick { display: none; margin-inline-start: auto; color: var(--acc); font-weight: 900; }
/* breadcrumb */
.vpx-crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vpx-crumb a { color: var(--muted); }
.vpx-crumb a:hover { color: #fff; }
.vpx-crumb .sep { color: var(--line2); }

/* ---------- تایم‌لاین عمودی (track) ---------- */
.vpx-tl { position: relative; margin: 18px 4px 6px; padding-inline-start: 30px; }
.vpx-tl::before {
  content: ''; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, rgba(124, 92, 255, .6), rgba(34, 211, 238, .35));
}
.vpx-tl-i { position: relative; padding: 6px 0 16px; }
.vpx-tl-i::before {
  content: ''; position: absolute; inset-inline-start: -25px; top: 12px; width: 12px; height: 12px; border-radius: 50%;
  background: rgba(148, 163, 255, .25); border: 2px solid rgba(148, 163, 255, .3);
}
.vpx-tl-i.done::before { background: var(--ok); border-color: rgba(52, 211, 153, .5); box-shadow: 0 0 12px rgba(52, 211, 153, .5); }
.vpx-tl-i.now::before { background: var(--acc); border-color: rgba(34, 211, 238, .6); box-shadow: 0 0 0 5px rgba(34, 211, 238, .15), 0 0 16px rgba(34, 211, 238, .55); animation: vpxPulse 1.8s infinite; }
.vpx-tl-i b { color: #fff; font-size: 13.5px; }
.vpx-tl-i.done b { color: #86EFAC; }
.vpx-tl-i.now b { color: var(--acc); }
.vpx-tl-i small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
/* کارت سفارش با نوار رنگی وضعیت */
.vpx-oacc { border-inline-start: 3px solid var(--line2); }

/* ================= فاز ۵ =================
   ۱) اسلایدر هیرو (crossfade تصاویر محلی) */
.vpx-hero-slider { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.vpx-hero-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s linear;
}
.vpx-hero-slider img.on { opacity: 1; transform: scale(1); }
.vpx-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,10,24,.92) 0%, rgba(7,10,24,.78) 45%, rgba(7,10,24,.45) 100%);
}
[dir="ltr"] .vpx-hero-shade { background: linear-gradient(270deg, rgba(7,10,24,.92) 0%, rgba(7,10,24,.78) 45%, rgba(7,10,24,.45) 100%); }
.vpx-hero > *:not(.vpx-hero-slider) { position: relative; z-index: 1; }

/* ۲) لایه تصویر کارت‌های بازی — به بخش «کارت‌های استور-لایک» بالاتر منتقل شد */

/* ۳) بنر بازی و عکس دسته‌ها در game.php */
.vpx-gbanner {
  border-radius: 18px; border: 1px solid var(--line); min-height: 150px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.vpx-gbanner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,24,.25), rgba(7,10,24,.88)); }
.vpx-gbanner-in { position: relative; z-index: 1; padding: 18px 20px; display: flex; align-items: center; gap: 10px; }
.vpx-gbanner-in .gi { font-size: 34px; }
.vpx-cat-img { height: 130px; border-radius: 14px; margin: -6px -6px 12px; background-size: cover; background-position: center; opacity: .9; border: 1px solid var(--line); }

/* ۴) بندانگشتی مگامنو */
.vpx-mg-item .mth { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); flex: 0 0 auto; }

/* ۵) بنر «بوستر شو» داشبورد مشتری */
.vpx-boost-banner {
  border-radius: 20px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background-size: cover; background-position: center; margin-bottom: 6px;
}
.vpx-boost-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,24,.9), rgba(7,10,24,.55)); }
[dir="ltr"] .vpx-boost-banner::after { background: linear-gradient(270deg, rgba(7,10,24,.9), rgba(7,10,24,.55)); }
.vpx-boost-in { position: relative; z-index: 1; padding: 30px 26px; max-width: 640px; }
.vpx-boost-in h1 { font-size: 26px; color: #fff; }
.vpx-boost-in p { color: #CBD5E1; }
.vpx-boost-banner.sm .vpx-boost-in { padding: 22px 20px; }
.vpx-boost-banner.sm h1 { font-size: 21px; }
.vpx-step-done { border-color: rgba(52, 211, 153, .45); box-shadow: 0 0 0 1px rgba(52,211,153,.2) inset; }

/* ۶) نوار بارگذاری PJAX */
.vpx-pbar {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, var(--acc), #A78BFA);
  box-shadow: 0 0 12px rgba(34, 211, 238, .8);
  opacity: 0; transition: width .35s ease, opacity .3s ease; pointer-events: none;
}
body.vpx-pjax-load .vpx-pbar { opacity: 1; width: 78%; }
main.vp-main { transition: opacity .16s ease; }
body.vpx-pjax-load main.vp-main { opacity: .55; }

/* ۷) توست‌ها */
.vpx-toasts { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.vpx-toast {
  background: rgba(13, 18, 34, .96); border: 1px solid var(--line2); color: #E2E8F0;
  border-radius: 12px; padding: 10px 18px; font-size: 13.5px; max-width: 92vw;
  box-shadow: 0 12px 34px rgba(2, 6, 18, .55); animation: vpxTin .25s ease;
}
.vpx-toast.ok { border-color: rgba(52, 211, 153, .55); }
.vpx-toast.bad { border-color: rgba(244, 63, 94, .6); }
.vpx-toast.out { opacity: 0; transform: translateY(-8px); transition: all .4s ease; }
@keyframes vpxTin { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ۸) مودال (بید مزایده) */
.vpx-modal { position: fixed; inset: 0; z-index: 1900; display: flex; align-items: center; justify-content: center; padding: 18px; }
.vpx-modal[hidden] { display: none; }
.vpx-modal-bg { position: absolute; inset: 0; background: rgba(4, 7, 16, .72); backdrop-filter: blur(4px); }
.vpx-modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 430px;
  background: linear-gradient(180deg, #10162B, #0C1122); border: 1px solid var(--line2);
  border-radius: 18px; padding: 22px 20px 20px; box-shadow: 0 30px 80px rgba(2, 6, 18, .7);
  animation: vpxMin .22s ease;
}
@keyframes vpxMin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.vpx-modal-x {
  position: absolute; top: 10px; inset-inline-end: 12px; background: none; border: 0; color: var(--muted);
  font-size: 17px; cursor: pointer; line-height: 1;
}
.vpx-modal-x:hover { color: #fff; }

/* ۹) اصلاحات LTR (انگلیسی) */
[dir="ltr"] .vpx-ticker { direction: ltr; }
[dir="ltr"] .vpx-ticker small { direction: ltr; }
[dir="ltr"] body, [dir="ltr"] .vp-nav, [dir="ltr"] .vp-footer { font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .1px; }
[dir="ltr"] .vpx-hero h1 { letter-spacing: -.4px; }

/* ================= v6 — اعلان‌ها + ریل‌تایم مزایده ================= */

/* ---------- قیمت رد شده / بهترین پیشنهاد ---------- */
.vpx-mbline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.vpx-bid-lost {
  color: var(--bad);
  text-decoration: line-through;
  text-decoration-thickness: 2.5px;
  text-decoration-color: rgba(248, 113, 113, .85);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.vpx-bid-best { color: var(--ok); font-size: 17px; font-variant-numeric: tabular-nums; }
.vpx-bid-out-note { margin: 10px 0 2px; }
.vpx-bid-hint { color: var(--warn); line-height: 1.9; }

/* ---------- چیپ «زنده» لیست مزایده‌ها ---------- */
.vpx-auc-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .3);
  color: #86EFAC; border-radius: 999px; padding: 5px 14px; margin: 0 2px 14px;
  font-size: 12px; font-weight: 700;
}
.vpx-auc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: vpxPulse 1.8s infinite; }
.vpx-auc-live b { color: #fff; letter-spacing: 1px; }
.vpx-auc-live span { color: var(--muted); font-weight: 500; }
.vpx-auc-live.flash { border-color: rgba(52, 211, 153, .8); box-shadow: 0 0 18px rgba(52, 211, 153, .25); }

/* ---------- زنگ اعلان‌ها (نوبار) ---------- */
.vpx-bell { position: relative; margin-inline-start: 4px; }
.vpx-bell-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 12px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--txt);
  transition: border-color .15s, background .15s, transform .15s;
}
.vpx-bell-btn:hover { border-color: var(--line2); background: var(--card2); color: #fff; transform: translateY(-1px); }
.vpx-bell-n {
  position: absolute; top: -6px; inset-inline-end: -6px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--bad); color: #fff; font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(248, 113, 113, .5);
}
.vpx-bell-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 1200;
  width: min(360px, calc(100vw - 32px));
  background: rgba(10, 14, 30, .97); border: 1px solid var(--line2); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(2, 6, 18, .7); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  overflow: hidden;
}
.vpx-bell.open .vpx-bell-menu { opacity: 1; visibility: visible; transform: none; }
.vpx-bell-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px;
}
.vpx-bell-head b { color: #fff; }
.vpx-bell-readall {
  background: none; border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 3px 10px; font-size: 11px; cursor: pointer; transition: color .15s, border-color .15s;
}
.vpx-bell-readall:hover { color: #fff; border-color: var(--line2); }
.vpx-bell-list { max-height: 340px; overflow-y: auto; padding: 6px; }
.vpx-bell-empty { padding: 26px 14px; text-align: center; color: var(--muted); font-size: 12.5px; }
.vpx-bell-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px; border-radius: 12px; cursor: pointer; text-decoration: none; color: inherit;
  transition: background .15s;
}
.vpx-bell-item:hover { background: rgba(124, 92, 255, .08); color: inherit; }
.vpx-bell-item.unread { background: rgba(124, 92, 255, .1); }
.vpx-bell-item.unread .vpx-bell-it { color: #fff; }
.vpx-bell-ic { font-size: 16px; line-height: 1; margin-top: 2px; flex-shrink: 0; }
.vpx-bell-c { min-width: 0; flex: 1; }
.vpx-bell-it { color: var(--txt); font-size: 12.5px; font-weight: 700; line-height: 1.7; }
.vpx-bell-ib { color: var(--muted); font-size: 11.5px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vpx-bell-im { color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.vpx-bell-cat { display: inline-block; font-size: 9.5px; color: var(--acc); border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .07); border-radius: 999px; padding: 0 7px; margin-inline-start: 6px; vertical-align: 1px; }
.vpx-bell-all { display: block; text-align: center; padding: 11px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }

/* ---------- بج سایدبار پورتال ---------- */
.vp-side-link { position: relative; }
.vp-side-n {
  position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%);
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 800; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- صفحه اعلان‌ها ---------- */
.vpx-notif-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.vpx-notif-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.vpx-nchip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600;
  transition: border-color .15s, color .15s, background .15s;
}
.vpx-nchip b { color: var(--acc); font-weight: 800; }
.vpx-nchip:hover { color: #fff; border-color: var(--line2); }
.vpx-nchip.on { color: #fff; border-color: rgba(124, 92, 255, .65); background: rgba(124, 92, 255, .16); }
.vpx-notif-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; margin-bottom: 10px; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.vpx-notif-item:hover { border-color: var(--line2); transform: translateY(-1px); }
.vpx-notif-item.unread { background: rgba(124, 92, 255, .09); border-color: rgba(124, 92, 255, .4); }
.vpx-notif-item.unread.lv-ok { border-inline-start: 3px solid var(--ok); }
.vpx-notif-item.unread.lv-warn { border-inline-start: 3px solid var(--warn); }
.vpx-notif-item.unread.lv-bad { border-inline-start: 3px solid var(--bad); }
.vpx-notif-item.unread.lv-info { border-inline-start: 3px solid var(--acc); }
.vpx-notif-ic { font-size: 19px; line-height: 1.2; flex-shrink: 0; }
.vpx-notif-c { flex: 1; min-width: 0; }
.vpx-notif-t { font-weight: 700; font-size: 13.5px; color: #fff; line-height: 1.8; }
.vpx-notif-item.read .vpx-notif-t { color: var(--muted); font-weight: 600; }
.vpx-notif-cat { display: inline-block; font-size: 10px; color: var(--acc); border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .07); border-radius: 999px; padding: 0 8px; margin-inline-start: 8px; vertical-align: 1.5px; }
.vpx-notif-b { color: var(--muted); font-size: 12.5px; line-height: 2; margin-top: 3px; }
.vpx-notif-d { color: var(--muted); font-size: 11px; margin-top: 5px; opacity: .8; }
.vpx-notif-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); margin-inline-start: 6px; box-shadow: 0 0 10px rgba(34, 211, 238, .8); }
.vpx-notif-mark { color: var(--ok); font-weight: 900; opacity: .7; flex-shrink: 0; margin-top: 2px; }
.vpx-notif-item:hover .vpx-notif-mark { opacity: 1; }

/* ============ v7 — سلیقه اعلان + قیمت رند + مقایسه زنده بید ============ */
/* انتخابگر سلیقه — فیلد دراپ‌داون‌مانند + پاپ جستجو + چیپ‌ها */
.vpx-pref { position: relative; }
/* پاپ به فیلد لنگر می‌شود (نه کل کارت) تا جای‌گیری هوشمند دقیق باشد */
.vpx-pref-anchor { position: relative; }
.vpx-pref-field {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 14px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card2); color: var(--muted);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vpx-pref-field:hover, .vpx-pref-field[aria-expanded="true"] { border-color: rgba(124, 92, 255, .55); box-shadow: 0 0 0 3px rgba(124, 92, 255, .12); color: #fff; }
.vpx-pref-field b { font-weight: 600; font-size: 13.5px; flex: 1; text-align: start; }
.vpx-pref-fic { font-size: 16px; }
.vpx-pref-field .vpx-pref-chev { margin-inline-start: auto; transition: transform .15s ease; font-style: normal; }
.vpx-pref-field[aria-expanded="true"] .vpx-pref-chev { transform: rotate(180deg); }
.vpx-pref-pop {
  position: absolute; z-index: 60; inset-inline: 0; top: calc(100% + 8px);
  background: rgba(10, 14, 30, .97); backdrop-filter: blur(14px);
  border: 1px solid var(--line2); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5); padding: 10px;
}
.vpx-pref-pop.up { top: auto; bottom: calc(100% + 8px); }
.vpx-pref-search {
  width: 100%; padding: 9px 12px; border-radius: 11px; margin-bottom: 8px;
  border: 1px solid var(--line); background: var(--card2); color: #fff; font-size: 13px;
}
.vpx-pref-search:focus { outline: none; border-color: rgba(124, 92, 255, .6); }
.vpx-pref-list { max-height: min(320px, 55vh); overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-inline-end: 4px; }
.vpx-pref-game { border: 1px solid transparent; border-radius: 12px; }
.vpx-pref-game.open, .vpx-pref-game:has(.vpx-pref-grow input:checked) { border-color: var(--line); background: rgba(124, 92, 255, .05); }
.vpx-pref-grow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; cursor: pointer; border-radius: 12px; }
.vpx-pref-grow:hover { background: rgba(124, 92, 255, .08); }
.vpx-pref-grow input[type="checkbox"] { width: 17px; height: 17px; accent-color: #7c5cff; cursor: pointer; flex-shrink: 0; }
.vpx-pref-gname { font-weight: 700; font-size: 13.5px; color: #fff; }
.vpx-pref-alltag {
  font-size: 10.5px; color: var(--muted); border: 1px dashed var(--line);
  border-radius: 20px; padding: 2px 8px; opacity: 0; transition: opacity .15s ease;
}
.vpx-pref-grow:hover .vpx-pref-alltag, .vpx-pref-game:has(input:checked) .vpx-pref-alltag { opacity: 1; }
.vpx-pref-grow .vpx-pref-chev { margin-inline-start: auto; font-style: normal; color: var(--muted); transition: transform .15s ease; }
.vpx-pref-game.open .vpx-pref-grow .vpx-pref-chev { transform: rotate(90deg); }
.vpx-pref-cats { display: flex; flex-direction: column; gap: 2px; padding: 2px 10px 8px 8px; }
.vpx-pref-cat { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 9px; cursor: pointer; font-size: 12.5px; color: var(--muted); }
.vpx-pref-cat:hover { background: rgba(124, 92, 255, .07); color: #fff; }
.vpx-pref-cat input[type="checkbox"] { width: 15px; height: 15px; accent-color: #22d3ee; cursor: pointer; flex-shrink: 0; }
.vpx-pref-cat input[type="checkbox"]:disabled { opacity: .55; cursor: not-allowed; }
.vpx-pref-cat small { margin-inline-start: auto; color: var(--muted); font-size: 11px; }
.vpx-pref-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.vpx-pref-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vpx-pref-chips:empty { display: none; }
.vpx-pchip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  color: #fff; background: rgba(124, 92, 255, .16); border: 1px solid rgba(124, 92, 255, .5);
  border-radius: 20px; padding: 4px 6px 4px 11px;
}
.vpx-pchip.sub { background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .45); }
.vpx-pchip i { font-style: normal; cursor: pointer; width: 17px; height: 17px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; background: rgba(255, 255, 255, .12); }
.vpx-pchip i:hover { background: rgba(244, 63, 94, .6); }
/* نوار وضعیت فیلتر «لیست من» روی لیست سفارش‌ها */
.vpx-prefnote { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.vpx-prefnote a { color: var(--acc); font-weight: 700; text-decoration: none !important; }
.vpx-prefnote a:hover { color: var(--gold); }

/* مبلغ حروفی + پیش‌نمایش مضرب + کادر مقایسه سبز/قرمز */
.vpx-amt-words { color: var(--acc); font-weight: 700; font-size: 12.5px; margin-top: 6px; letter-spacing: .2px; }
.vpx-amt-snap { color: var(--warn); font-size: 11.5px; margin-top: 4px; }
.vpx-amt-cmp { font-size: 12px; font-weight: 700; margin-top: 7px; padding: 8px 11px; border-radius: 11px; line-height: 1.9; }
.vpx-amt-cmp.ok { color: #86efac; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .45); }
.vpx-amt-cmp.bad { color: #fda4af; background: rgba(244, 63, 94, .12); border: 1px solid rgba(244, 63, 94, .55); animation: vpxCmpPulse .9s ease; }
@keyframes vpxCmpPulse { 0% { transform: scale(.985); opacity: .6; } 100% { transform: scale(1); opacity: 1; } }

/* نمایش «قیمت قبلی → جدید» در کارت سفارش */
.vpx-price-chg del, .vpx-del { color: var(--muted); opacity: .75; text-decoration-thickness: 2px; text-decoration-color: rgba(244, 63, 94, .75); }
.vpx-chg-arrow { font-style: normal; color: var(--warn); font-weight: 900; margin: 0 2px; }
.vpx-chip-up {
  display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800;
  color: var(--warn); background: rgba(250, 204, 21, .1); border: 1px solid rgba(250, 204, 21, .4);
  border-radius: 20px; padding: 2px 8px; margin-inline-start: 4px; vertical-align: middle;
}

/* ==========================================================================
   Skycoach-Style Product Order Page (CyrusGG)
   ========================================================================== */
.vpx-prod-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 18px; padding-top: 6px;
}
.vpx-prod-crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.vpx-prod-crumb a { color: var(--muted); text-decoration: none; transition: color .15s; }
.vpx-prod-crumb a:hover { color: #fff; }
.vpx-prod-crumb .sep { opacity: .45; font-size: 11px; }
.vpx-prod-crumb .cur { color: #fff; font-weight: 600; }
.vpx-fav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  color: var(--txt); border-radius: 999px; padding: 6px 14px;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: all .18s ease; font-family: inherit;
}
.vpx-fav-btn:hover, .vpx-fav-btn.active {
  background: rgba(244, 63, 94, .14); border-color: rgba(244, 63, 94, .5);
  color: #fb7185; box-shadow: 0 0 16px rgba(244, 63, 94, .2);
}
.vpx-prod-title {
  font-size: clamp(24px, 3.2vw, 36px); font-weight: 800;
  color: #fff; margin-bottom: 24px; line-height: 1.25; letter-spacing: -.3px;
}

/* دو ستون صفحه محصول */
.vpx-prod-grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
  gap: 28px; align-items: start; margin-bottom: 48px;
}
@media (max-width: 992px) {
  .vpx-prod-grid { grid-template-columns: 1fr; }
}

/* کارت اصلی محصول (سمت چپ) */
.vpx-prod-showcase {
  background: linear-gradient(180deg, rgba(16, 22, 44, .92) 0%, rgba(9, 13, 28, .98) 100%);
  border: 1px solid var(--line2); border-radius: 20px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.vpx-prod-banner {
  position: relative; height: 260px; background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.vpx-prod-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 26, .2) 0%, rgba(8, 12, 26, .85) 75%, rgba(10, 15, 32, 1) 100%);
}
.vpx-prod-banner-in { position: relative; z-index: 2; }
.vpx-hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.vpx-hchip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124, 92, 255, .28); border: 1px solid rgba(124, 92, 255, .6);
  color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 8px; backdrop-filter: blur(8px);
}
.vpx-hchip.cyan { background: rgba(34, 211, 238, .22); border-color: rgba(34, 211, 238, .6); color: #a5f3fc; }
.vpx-hchip.green { background: rgba(34, 197, 94, .22); border-color: rgba(34, 197, 94, .6); color: #86efac; }

/* بخش امتیاز و نظر کاربر */
.vpx-review-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 16px 20px; background: rgba(124, 92, 255, .04);
  border-bottom: 1px solid var(--line); align-items: center;
}
@media (max-width: 576px) { .vpx-review-row { grid-template-columns: 1fr; } }
.vpx-stars { color: #facc15; font-size: 15px; letter-spacing: 2px; }
.vpx-rating-txt { font-size: 12.5px; color: var(--txt); margin-top: 4px; }
.vpx-rating-quote {
  font-size: 12px; color: var(--muted); font-style: italic; margin-top: 4px; line-height: 1.5;
}
.vpx-start-time {
  background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 12px; padding: 10px 14px; text-align: center;
}
.vpx-start-time b { display: block; font-size: 16px; color: #38bdf8; }
.vpx-start-time small { font-size: 11px; color: var(--muted); }

/* نوار نمادهای اعتماد و امنیت */
.vpx-trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px; margin: 18px 0;
}
.vpx-trust-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  padding: 10px 12px; border-radius: 12px; font-size: 11.5px; font-weight: 700;
  color: var(--txt); transition: border-color .15s;
}
.vpx-trust-badge:hover { border-color: rgba(124, 92, 255, .5); }
.vpx-trust-badge i { font-size: 16px; font-style: normal; }

/* تب‌ها و محتوای محصول هخامنشی */
.vpx-prod-tabs {
  margin-top: 24px; display: flex; flex-direction: column; gap: 20px;
}
.vpx-tab-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vpx-tab-card:hover {
  border-color: var(--color-gold); box-shadow: var(--shadow-lg);
}
.vpx-tab-card h3 {
  font-size: 17px; font-weight: 800; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
[data-theme="light"] .vpx-tab-card h3 { color: var(--color-primary); }
[data-theme="dark"] .vpx-tab-card h3 { color: var(--color-gold); }

.vpx-check-list {
  display: flex; flex-direction: column; gap: 10px; margin-top: 10px;
}
.vpx-check-item {
  display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px;
  color: var(--color-text); line-height: 1.7;
}
.vpx-check-item svg { flex-shrink: 0; margin-top: 4px; color: var(--color-green); }

.vpx-steps-box {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px; margin-top: 14px;
}
.vpx-step-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 10px; padding: 14px; transition: border-color .18s;
}
.vpx-step-card:hover { border-color: var(--color-gold); }
.vpx-step-card .vpx-step-n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-primary); border: 1px solid var(--color-gold);
  color: var(--color-gold); font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.vpx-step-card b { display: block; font-size: 13.5px; margin-bottom: 4px; }
[data-theme="light"] .vpx-step-card b { color: var(--color-primary); }
[data-theme="dark"] .vpx-step-card b { color: var(--color-gold); }
.vpx-step-card p { font-size: 12px; color: var(--color-text-secondary); margin: 0; line-height: 1.6; }

/* ستون سمت راست: ویجت سفارش چسبان (Sticky Configurator) */
.vpx-prod-sidebar { position: sticky; top: 88px; z-index: 10; }
.vpx-order-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-lg);
  transition: border-color .2s;
}
.vpx-order-box:hover { border-color: var(--color-gold); }
.vpx-order-box-title {
  font-size: 16px; font-weight: 800; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
[data-theme="light"] .vpx-order-box-title { color: var(--color-primary); }
[data-theme="dark"] .vpx-order-box-title { color: var(--color-gold); }
.vpx-order-label {
  font-size: 12.5px; font-weight: 700; color: var(--color-text);
  margin-bottom: 8px; display: block;
}

/* شبکه انتخاب پلتفرم */
.vpx-plat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 18px;
}
@media (max-width: 480px) { .vpx-plat-grid { grid-template-columns: repeat(2, 1fr); } }
.vpx-plat-pill {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; padding: 10px 6px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 8px; cursor: pointer; text-align: center;
  transition: all .18s ease; user-select: none; color: var(--color-text);
}
.vpx-plat-pill:hover {
  background: rgba(201, 162, 39, .08); border-color: var(--color-gold); color: var(--color-primary);
}
[data-theme="dark"] .vpx-plat-pill:hover { color: var(--color-gold); }
.vpx-plat-pill input { position: absolute; opacity: 0; pointer-events: none; }
.vpx-plat-pill.on {
  background: rgba(201, 162, 39, .15);
  border-color: var(--color-gold); color: var(--color-primary);
  box-shadow: 0 0 10px rgba(201, 162, 39, .25); font-weight: 700;
}
[data-theme="dark"] .vpx-plat-pill.on { color: var(--color-gold); }
.vpx-plat-pill .pi { font-size: 20px; line-height: 1; }
.vpx-plat-pill .pn { font-size: 11.5px; font-weight: 700; line-height: 1.2; }

/* سرعت انجام (Completion Speed) */
.vpx-speed-grid {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px;
}
.vpx-speed-pill {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer;
  transition: all .18s ease; font-size: 12.5px; font-weight: 600; color: var(--color-text);
}
.vpx-speed-pill:hover { border-color: var(--color-gold); color: var(--color-primary); }
[data-theme="dark"] .vpx-speed-pill:hover { color: var(--color-gold); }
.vpx-speed-pill input { accent-color: var(--color-accent); margin-inline-end: 8px; }
.vpx-speed-pill.on {
  border-color: var(--color-gold); background: rgba(201, 162, 39, .12); color: var(--color-text);
}
.vpx-speed-pill .sp-extra { font-weight: 700; color: var(--color-accent); font-size: 12px; }

/* روش انجام (Method: Piloted) */
.vpx-method-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 700;
  background: var(--color-primary); color: var(--color-text-inverse); margin-bottom: 16px;
}

/* کوپن تخفیف آکاردئونی */
.vpx-promo-details {
  margin-bottom: 16px; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 8px 12px; background: var(--color-surface);
}
.vpx-promo-details summary {
  font-size: 12.5px; font-weight: 700; color: var(--color-text); cursor: pointer;
}
.vpx-promo-box { display: flex; gap: 6px; margin-top: 10px; }

/* بخش قیمت نهایی */
.vpx-price-bar {
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  padding: 14px 0; margin-bottom: 18px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.vpx-price-total {
  font-size: clamp(26px, 3.2vw, 34px); font-weight: 900;
  line-height: 1; letter-spacing: -.5px;
}
[data-theme="light"] .vpx-price-total { color: var(--color-primary); }
[data-theme="dark"] .vpx-price-total { color: var(--color-gold); }
.vpx-cashback-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--color-green);
  background: rgba(74, 107, 74, .12); border: 1px solid rgba(74, 107, 74, .35);
  padding: 3px 8px; border-radius: 6px; margin-top: 6px;
}

/* دکمه اصلی خرید (قرمز اُخرایی) */
.vpx-btn-buy {
  width: 100%; padding: 14px 20px; border-radius: 6px;
  background: var(--color-accent);
  color: #fff !important; font-size: 16px; font-weight: 800; border: none;
  cursor: pointer; transition: all .2s ease;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 6px 18px rgba(176, 58, 46, .35); text-decoration: none !important;
  font-family: inherit;
}
.vpx-btn-buy:hover {
  background: #962d23; filter: brightness(0.9);
  box-shadow: 0 10px 24px rgba(176, 58, 46, .45); transform: translateY(-1px);
  color: #fff !important;
}
.vpx-btn-secondary {
  width: 100%; padding: 11px 18px; border-radius: 6px;
  background: var(--color-primary); border: 0;
  color: var(--color-text-inverse) !important; font-size: 13.5px; font-weight: 700; cursor: pointer;
  margin-top: 10px; transition: background .15s, transform .15s; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none !important;
}
.vpx-btn-secondary:hover { background: var(--color-primary-light); color: #fff !important; transform: translateY(-1px); }

/* آیکن‌های درگاه پرداخت */
.vpx-pay-icons-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px; margin-top: 14px; opacity: .85; font-size: 11px; color: var(--color-text-secondary);
}
.vpx-pay-icons-row span {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 4px; padding: 2px 7px; font-weight: 600;
}

/* دکمه چت قبل از سفارش */
.vpx-chat-before {
  text-align: center; margin-top: 16px; font-size: 12px; color: var(--color-text-secondary);
}
.vpx-chat-before a {
  color: var(--color-accent); font-weight: 700; text-decoration: none !important; display: inline-flex;
  align-items: center; gap: 4px;
}
.vpx-chat-before a:hover { color: var(--color-primary-light); }

/* ==========================================================================
   CyrusGG Modern Game Catalog & Product Configurator
   ========================================================================== */

/* هدر صفحه کاتالوگ بازی */
.vpx-ghero {
  position: relative; border-radius: 20px; overflow: hidden;
  margin-bottom: 24px; padding: 36px 28px;
  background-size: cover; background-position: center;
  border: 1px solid var(--color-gold);
  box-shadow: 0 16px 44px rgba(15, 26, 38, .35);
}
.vpx-ghero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27, 58, 92, .92) 0%, rgba(46, 90, 136, .82) 50%, rgba(201, 162, 39, .25) 100%);
  backdrop-filter: blur(4px);
}
.vpx-ghero-in { position: relative; z-index: 2; }
.vpx-ghero-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 12px;
}
.vpx-ghero-title {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 900;
  color: var(--color-gold); margin: 0; line-height: 1.2; letter-spacing: -.4px;
  display: flex; align-items: center; gap: 12px;
}
.vpx-ghero-desc {
  font-size: 14px; color: var(--color-text-inverse); opacity: .9;
  max-width: 650px; margin-top: 8px; line-height: 1.7;
}
.vpx-ghero-trust {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.vpx-gtr-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(212, 197, 169, .35);
  padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--color-text-inverse);
  backdrop-filter: blur(8px);
}

/* فیلترهای دسته‌بندی بالای کاتالوگ */
.vpx-cat-filters {
  display: flex; align-items: center; gap: 8px; overflow-x: auto;
  padding-bottom: 8px; margin-bottom: 22px; scrollbar-width: none;
}
.vpx-cat-filters::-webkit-scrollbar { display: none; }
.vpx-cat-filter-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: all .18s ease; white-space: nowrap; font-family: inherit;
}
.vpx-cat-filter-btn:hover {
  background: rgba(201, 162, 39, .12); border-color: var(--color-gold); color: var(--color-primary);
}
[data-theme="dark"] .vpx-cat-filter-btn:hover { color: var(--color-gold); }
.vpx-cat-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-gold); color: var(--color-gold);
  box-shadow: 0 4px 14px rgba(27, 58, 92, .25);
}

/* شبکه کارت‌های خدمات بازی هخامنشی */
.vpx-services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px; margin-bottom: 40px;
}
.vpx-scard {
  background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.2,0,.2,1), border-color .22s, box-shadow .22s;
  position: relative; box-shadow: var(--shadow);
}
.vpx-scard:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
}
.vpx-scard-thumb {
  position: relative; height: 160px; background-size: cover; background-position: center;
  background-color: var(--color-primary);
}
.vpx-scard-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 26, 38, .85) 100%);
}
.vpx-scard-disc {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2;
  background: var(--color-accent);
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; box-shadow: 0 4px 10px rgba(176, 58, 46, .4);
}
.vpx-scard-body {
  padding: 16px 18px; display: flex; flex-direction: column; flex-grow: 1;
}
.vpx-scard-title {
  font-size: 17px; font-weight: 800; margin-bottom: 6px;
  line-height: 1.3;
}
[data-theme="light"] .vpx-scard-title { color: var(--color-primary); }
[data-theme="dark"] .vpx-scard-title { color: var(--color-gold); }

.vpx-scard-desc {
  font-size: 12.5px; color: var(--color-text-secondary); margin-bottom: 12px;
  line-height: 1.6; min-height: 38px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vpx-scard-features {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.vpx-scard-fchip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(74, 107, 74, .12); border: 1px solid rgba(74, 107, 74, .3);
  font-size: 11px; font-weight: 700; color: var(--color-green);
  padding: 2px 7px; border-radius: 4px;
}
.vpx-scard-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.vpx-scard-price-box { display: flex; flex-direction: column; }
.vpx-scard-price-lbl { font-size: 10.5px; color: var(--color-text-secondary); font-weight: 600; }
.vpx-scard-price-val { font-size: 19px; font-weight: 900; line-height: 1.2; }
[data-theme="light"] .vpx-scard-price-val { color: var(--color-primary); }
[data-theme="dark"] .vpx-scard-price-val { color: var(--color-gold); }
.vpx-scard-price-old { font-size: 12px; color: var(--color-text-secondary); text-decoration: line-through; }
.vpx-scard-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-accent);
  color: #fff !important; font-size: 13px; font-weight: 800;
  padding: 8px 16px; border-radius: 6px; text-decoration: none !important;
  transition: all .18s ease; flex-shrink: 0; box-shadow: 0 4px 12px rgba(176, 58, 46, .35);
}
.vpx-scard-cta:hover {
  background: #962d23;
  box-shadow: 0 6px 18px rgba(176, 58, 46, .45);
  transform: translateY(-1px); color: #fff !important;
}

/* تب‌های پیشرفته و تعاملی در صفحه سفارش (Order Page Segmented Tabs) */
.vpx-prod-nav-tabs {
  display: flex; gap: 8px; border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px; margin-bottom: 18px;
}
.vpx-pnav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); padding: 8px 16px; border-radius: 6px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: all .15s ease; font-family: inherit;
}
.vpx-pnav-btn:hover { background: rgba(201, 162, 39, .12); color: var(--color-primary); }
[data-theme="dark"] .vpx-pnav-btn:hover { color: var(--color-gold); }
.vpx-pnav-btn.active {
  background: var(--color-primary); border-color: var(--color-gold);
  color: var(--color-gold); box-shadow: 0 4px 14px rgba(27, 58, 92, .25);
}
.vpx-ptab-pane { display: none; }
.vpx-ptab-pane.active { display: block; animation: vpxFadeIn .25s ease; }
@keyframes vpxFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }



