/* ================= پرداخت (بر اساسِ ui-ux-pro-max و taste-skill) ================= */

/* دانه‌دانه‌گیِ خیلی ریز تا سطح‌ها تخت و پلاستیکی نباشند */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-title, .card h2 { text-wrap: balance; }
.hero-sub, .card p, .foot p { text-wrap: pretty; }
.strip b, .mkt strong, #amount, #sell-amount, .amount-out, .details b { font-variant-numeric: tabular-nums; }

/* دکمهٔ اصلی: آبیِ یک‌دست با نورِ بالا، سایهٔ هم‌رنگ */
.cta {
  background: linear-gradient(180deg, #45b0ff, #1f8bef);
  color: #031221;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 30px -12px rgba(42,163,255,.8);
}

/* بازخوردِ فشار و فوکوسِ صفحه‌کلید روی همهٔ دکمه‌ها */
button { transition: transform .15s, background-color .2s, border-color .2s, filter .2s; }
button:active:not(:disabled) { transform: scale(.98); }
:focus-visible { outline: 2px solid #6cc8ff; outline-offset: 2px; border-radius: 10px; }
#amount:focus-visible, #sell-amount:focus-visible { outline: none; }

/* شیشهٔ واقعی: یک خطِ روشنِ داخلی لبه را می‌سازد */
.swap { box-shadow: 0 30px 70px -25px rgba(3,10,25,.9), inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(120,170,255,.04); }

/* ---------- ردیفِ اعتماد ---------- */
.trust {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
  font-size: 12px; color: var(--muted);
}
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: #6cc8ff; flex: none; }

/* ---------- اسکلتِ کارت‌های بازار ---------- */
.mkt.skel { height: 104px; position: relative; overflow: hidden; }
.mkt.skel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%);
  animation: skel 1.3s infinite; transform: translateX(-100%);
}
@keyframes skel { to { transform: translateX(100%); } }

/* ---------- فوتر ---------- */
.foot { margin-top: 34px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.6; }
.foot p { margin: 0 auto 6px; max-width: 380px; }
.foot a { color: #6cc8ff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .muted { opacity: .6; }

@media (prefers-reduced-motion: reduce) { .mkt.skel::after { animation: none; } }

