/* ============================================================
   ضامن v2 — DAMEN CSS — Binance Dark Style
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }

:root {
  --gold:    #F0B90B;
  --gold-dk: #C99A09;
  --bg:      #0B0E11;
  --s1:      #161A1E;
  --s2:      #1E2329;
  --s3:      #2B3139;
  --text:    #EAECEF;
  --muted:   #848E9C;
  --green:   #0ECB81;
  --red:     #F6465D;
  --blue:    #1E88E5;
}

body.damen-body { font-family:'IBM Plex Sans Arabic','Segoe UI',Tahoma,sans-serif; background:var(--bg); color:var(--text); direction:rtl; min-height:100vh; }
a { text-decoration:none; color:inherit; }

/* ── NAV ── */
.dm-nav { background:var(--s1); border-bottom:1px solid var(--s3); position:sticky; top:0; z-index:100; }
.dm-nav-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:64px; }
.dm-logo { display:flex; align-items:center; gap:8px; font-size:22px; font-weight:800; color:var(--gold); }
.dm-logo-text { font-weight:800; }
.dm-logo-badge { background:var(--gold); color:#000; font-size:10px; font-weight:800; padding:2px 7px; border-radius:4px; }
.dm-nav-links { display:flex; gap:1.8rem; }
.dm-nav-links a { color:var(--muted); font-size:14px; transition:color .2s; }
.dm-nav-links a:hover { color:var(--text); }
.dm-nav-right { display:flex; gap:10px; }

/* ── BUTTONS ── */
.dm-btn-gold { background:var(--gold); color:#000; border:none; padding:10px 22px; border-radius:6px; font-size:14px; font-weight:700; cursor:pointer; font-family:inherit; display:inline-flex; align-items:center; transition:background .2s; }
.dm-btn-gold:hover { background:var(--gold-dk); }
.dm-full-btn { width:100%; justify-content:center; padding:14px; font-size:16px; border-radius:8px; margin-top:8px; }
.dm-btn-confirm { background:var(--green); color:#fff; border:none; padding:14px; border-radius:8px; font-size:16px; font-weight:700; cursor:pointer; font-family:inherit; width:100%; display:flex; align-items:center; justify-content:center; transition:background .2s; margin-top:8px; }
.dm-btn-confirm:hover { background:#0aa865; }

/* ── HERO ── */
.dm-hero { padding:72px 2rem 48px; background:linear-gradient(180deg,#0F1217 0%,var(--bg) 100%); text-align:center; }
.dm-hero-inner { max-width:740px; margin:0 auto; }
.dm-sa-badge { display:inline-flex; align-items:center; gap:6px; background:var(--s2); border:1px solid var(--s3); border-radius:20px; padding:6px 18px; font-size:13px; color:var(--gold); margin-bottom:22px; }
.dm-hero-title { font-size:46px; font-weight:800; line-height:1.2; margin-bottom:16px; }
.dm-hero-desc { font-size:17px; color:var(--muted); max-width:600px; margin:0 auto 36px; line-height:1.8; }
.dm-gold  { color:var(--gold); }
.dm-green { color:var(--green); }
.dm-muted { color:var(--muted); }
.dm-big   { font-size:22px; font-weight:700; }

/* role cards */
.dm-role-cards { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:680px; margin:0 auto; }
.dm-role-card { background:var(--s1); border:1px solid var(--s3); border-radius:14px; padding:28px; text-align:center; transition:all .25s; display:block; }
.dm-role-card:hover { border-color:var(--gold); transform:translateY(-3px); }
.dm-role-icon { font-size:44px; margin-bottom:14px; }
.dm-role-card h3 { font-size:18px; font-weight:700; margin-bottom:8px; }
.dm-role-card p { font-size:13px; color:var(--muted); line-height:1.6; margin-bottom:20px; }
.dm-role-btn { background:var(--gold); color:#000; padding:11px 26px; border-radius:8px; font-weight:700; font-size:14px; display:inline-block; transition:background .2s; }
.dm-role-btn:hover { background:var(--gold-dk); }
.dm-outline-btn { background:transparent; border:2px solid var(--gold); color:var(--gold); }
.dm-outline-btn:hover { background:var(--gold); color:#000; }

/* ── STATS ── */
.dm-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--s3); margin:0 2rem; border-radius:12px; overflow:hidden; }
.dm-stat { background:var(--s1); padding:22px; text-align:center; }
.dm-stat-val { font-size:28px; font-weight:800; color:var(--gold); }
.dm-stat-lbl { font-size:12px; color:var(--muted); margin-top:5px; }

/* ── SECTIONS ── */
.dm-section { padding:64px 2rem; max-width:1200px; margin:0 auto; }
.dm-sec-title { text-align:center; font-size:30px; font-weight:800; margin-bottom:10px; }
.dm-sec-sub   { text-align:center; color:var(--muted); margin-bottom:40px; font-size:15px; }

/* HOW */
.dm-how-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; max-width:860px; margin:0 auto; }
.dm-how-col { background:var(--s1); border:1px solid var(--s3); border-radius:12px; padding:24px; }
.dm-how-label { font-size:16px; font-weight:700; color:var(--gold); margin-bottom:20px; padding-bottom:10px; border-bottom:1px solid var(--s3); }
.dm-step { display:flex; gap:14px; margin-bottom:18px; align-items:flex-start; }
.dm-step-num { width:32px; height:32px; background:var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; color:#000; font-size:14px; flex-shrink:0; }
.dm-step h4 { font-size:14px; font-weight:600; margin-bottom:3px; }
.dm-step p { font-size:13px; color:var(--muted); line-height:1.6; }

/* VS */
.dm-vs-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:860px; margin:0 auto; }
.dm-vs-card { background:var(--s1); border:1px solid var(--s3); border-radius:12px; padding:24px; }
.dm-vs-us { border-color:#F0B90B44; }
.dm-vs-head { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.dm-vs-head span:first-child { font-size:26px; }
.dm-vs-head h3 { font-size:16px; font-weight:700; margin-bottom:2px; }
.dm-vs-head span:not(:first-child) { font-size:12px; color:var(--muted); }
.dm-vs-item { display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; font-size:13px; line-height:1.6; }
.dm-good { color:var(--green); font-weight:700; flex-shrink:0; }
.dm-bad  { color:var(--red);   font-weight:700; flex-shrink:0; }

/* FEATURES */
.dm-feat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:900px; margin:0 auto; }
.dm-feat { background:var(--s1); border:1px solid var(--s3); border-radius:12px; padding:22px; }
.dm-feat-icon { font-size:28px; margin-bottom:10px; }
.dm-feat h4 { font-size:14px; font-weight:700; margin-bottom:6px; }
.dm-feat p  { font-size:13px; color:var(--muted); line-height:1.6; }

/* TRUST */
.dm-trust-box { background:var(--s1); border:1px solid var(--s3); border-radius:14px; padding:32px; max-width:680px; margin:0 auto; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.dm-trust-logo { width:80px; height:80px; background:var(--s2); border:1px solid var(--s3); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:36px; flex-shrink:0; transition:border-color .2s; }
.dm-trust-logo:hover { border-color:var(--gold); }
.dm-trust-text h4 { font-size:16px; font-weight:700; margin-bottom:6px; }
.dm-trust-text p  { font-size:13px; color:var(--muted); line-height:1.6; }
.dm-trust-link { color:var(--gold); font-size:13px; display:inline-block; margin-top:8px; }

/* ── FOOTER ── */
.dm-footer { background:#0F1217; border-top:1px solid var(--s3); padding:40px 2rem 24px; margin-top:60px; }
.dm-footer-inner { max-width:1200px; margin:0 auto; }
.dm-footer-top { display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; margin-bottom:28px; }
.dm-footer-brand h3 { font-size:20px; font-weight:800; color:var(--gold); margin-bottom:8px; }
.dm-footer-brand p  { font-size:13px; color:var(--muted); max-width:260px; line-height:1.6; }
.dm-cr { font-size:12px; color:#555; margin-top:6px; }
.dm-footer-links h4 { font-size:14px; font-weight:700; margin-bottom:12px; }
.dm-footer-links a  { display:block; color:var(--muted); font-size:13px; margin-bottom:8px; transition:color .2s; }
.dm-footer-links a:hover { color:var(--gold); }
.dm-divider { border:none; border-top:1px solid var(--s3); margin:0 0 18px; }
.dm-footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.dm-pay-icons { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.dm-pay-label { font-size:12px; color:var(--muted); }
.dm-pay { background:var(--s2); border:1px solid var(--s3); border-radius:5px; padding:5px 11px; font-size:12px; font-weight:700; }
.dm-copy { font-size:12px; color:var(--muted); }

/* ── PAGE LAYOUT ── */
.dm-page-wrap  { max-width:1200px; margin:0 auto; padding:40px 2rem 80px; }
.dm-page-inner { max-width:580px; margin:0 auto; }
.dm-page-title { font-size:26px; font-weight:800; margin-bottom:6px; }
.dm-page-sub   { color:var(--muted); font-size:14px; margin-bottom:20px; }
.dm-back { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:14px; margin-bottom:22px; transition:color .2s; }
.dm-back:hover { color:var(--text); }
.dm-back-btn { background:none; border:none; color:var(--muted); font-size:14px; cursor:pointer; padding:0; font-family:inherit; margin-bottom:22px; transition:color .2s; }
.dm-back-btn:hover { color:var(--text); }

/* CARDS */
.dm-card { background:var(--s1); border:1px solid var(--s3); border-radius:12px; padding:24px; margin-bottom:16px; }
.dm-card h3 { font-size:15px; font-weight:700; color:var(--gold); margin-bottom:18px; }

/* FORMS */
.dm-form-group { margin-bottom:16px; }
.dm-form-group label { display:block; font-size:13px; color:var(--muted); margin-bottom:7px; }
.dm-input { width:100%; background:var(--bg); border:1px solid var(--s3); border-radius:8px; padding:12px 14px; color:var(--text); font-size:15px; font-family:inherit; transition:border-color .2s; }
.dm-input:focus { outline:none; border-color:var(--gold); }
select.dm-input { cursor:pointer; }
.dm-mono { font-family:monospace; letter-spacing:0.5px; }
.dm-amount-input { font-size:20px; font-weight:700; }
.dm-hint { font-size:11px; color:var(--muted); margin-top:5px; }
.dm-two-col { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dm-notice-box { background:#1A1500; border:1px solid #3D2E00; border-radius:8px; padding:12px 16px; font-size:13px; color:var(--gold); margin-bottom:18px; }
.dm-error-box  { background:#1A0810; border:1px solid #F6465D44; border-radius:8px; padding:12px 16px; font-size:13px; color:var(--red); margin-top:12px; }

/* CALC RESULT */
.dm-calc-result { background:var(--bg); border:1px solid var(--s3); border-radius:10px; padding:16px; margin-top:16px; }
.dm-calc-row { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--s2); font-size:14px; }
.dm-calc-row:last-child { border-bottom:none; }
.dm-calc-row span:first-child { color:var(--muted); }
.dm-calc-main { background:var(--s2); border-radius:8px; padding:12px; margin:8px 0; border-bottom:none; }
.dm-calc-total { font-weight:700; }

/* PAY METHODS */
.dm-pay-methods { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.dm-pm { background:var(--s2); border:1px solid var(--s3); border-radius:8px; padding:13px; cursor:pointer; font-size:14px; display:flex; align-items:center; gap:8px; transition:all .2s; }
.dm-pm.selected, .dm-pm:hover { border-color:var(--gold); background:#2B2A00; }

/* LOOKUP */
.dm-lookup-card { background:var(--s1); border:2px solid #F0B90B33; border-radius:14px; padding:32px; text-align:center; margin-bottom:20px; }
.dm-lookup-icon { font-size:40px; margin-bottom:12px; }
.dm-lookup-card h3 { font-size:20px; font-weight:700; margin-bottom:8px; }
.dm-lookup-card p  { color:var(--muted); font-size:14px; margin-bottom:22px; }
.dm-lookup-row { display:flex; gap:10px; }
.dm-order-input { flex:1; text-align:center; font-size:18px; font-weight:700; letter-spacing:3px; font-family:monospace; }

/* RESULT */
.dm-result-card { background:var(--bg); border:1px solid var(--green); border-radius:12px; padding:24px; }
.dm-result-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; flex-wrap:wrap; gap:8px; }
.dm-result-check { color:var(--green); font-weight:700; font-size:15px; }
.dm-status-badge { background:#0ECB8120; color:var(--green); border-radius:20px; padding:4px 14px; font-size:12px; }
.dm-result-rows { margin-bottom:20px; }
.dm-rrow { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--s2); font-size:14px; }
.dm-rrow:last-child { border-bottom:none; }
.dm-rrow span:first-child { color:var(--muted); }

/* PAY METHOD INFO */
.dm-pay-method-info { background:var(--s2); border-radius:10px; padding:16px; margin-bottom:20px; }
.dm-pay-method-info h4 { font-size:14px; font-weight:700; color:var(--gold); margin-bottom:10px; }
.dm-pay-badges { display:flex; gap:8px; margin-bottom:8px; }
.dm-pay-b { background:var(--s3); border-radius:6px; padding:5px 12px; font-size:13px; font-weight:700; }
.dm-pay-method-info p { font-size:13px; color:var(--muted); line-height:1.6; }

/* BANK FORM */
.dm-bank-form { background:var(--s1); border:1px solid var(--s3); border-radius:10px; padding:20px; margin-top:20px; }
.dm-bank-form h4 { font-size:14px; font-weight:700; color:var(--gold); margin-bottom:16px; }

/* WALLET */
.dm-wallet-card { background:var(--s1); border:1px solid #F0B90B55; border-radius:12px; padding:24px; margin-bottom:16px; }
.dm-wallet-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.dm-wallet-header h3 { font-size:16px; font-weight:700; }
.dm-network-badge { background:var(--gold); color:#000; border-radius:6px; padding:4px 12px; font-size:13px; font-weight:700; }
.dm-wallet-sub { font-size:14px; color:var(--muted); margin-bottom:14px; }
.dm-wallet-box { background:var(--bg); border:1px solid var(--s3); border-radius:8px; padding:14px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; direction:ltr; }
.dm-wallet-addr { font-family:monospace; font-size:12px; color:var(--gold); word-break:break-all; flex:1; }
.dm-copy-btn { background:var(--s3); border:none; color:var(--text); padding:8px 14px; border-radius:6px; font-size:13px; cursor:pointer; white-space:nowrap; font-family:inherit; transition:all .2s; }
.dm-copy-btn:hover { background:var(--gold); color:#000; }
.dm-wallet-details { background:var(--s2); border-radius:8px; padding:14px; }

/* SPINNER / WAITING */
.dm-waiting-page { text-align:center; padding:60px 20px; }
.dm-spinner { width:64px; height:64px; border:5px solid var(--s3); border-top-color:var(--gold); border-radius:50%; margin:0 auto 28px; animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.dm-waiting-text { font-size:20px; font-weight:700; margin-bottom:10px; }
.dm-waiting-sub  { font-size:14px; color:var(--muted); margin-bottom:20px; }
.dm-waiting-order { background:var(--s1); border:1px solid var(--s3); border-radius:8px; padding:12px 20px; display:inline-block; font-size:14px; color:var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  .dm-stats { grid-template-columns:repeat(2,1fr); margin:0 1rem; }
  .dm-how-grid, .dm-vs-grid { grid-template-columns:1fr; }
  .dm-feat-grid { grid-template-columns:1fr 1fr; }
  .dm-role-cards { grid-template-columns:1fr; }
  .dm-nav-links { display:none; }
  .dm-hero-title { font-size:30px; }
  .dm-footer-top { flex-direction:column; }
  .dm-trust-box { flex-direction:column; text-align:center; }
  .dm-page-wrap { padding:24px 1rem 60px; }
}
@media (max-width:480px) {
  .dm-feat-grid { grid-template-columns:1fr; }
  .dm-stats { grid-template-columns:1fr 1fr; }
  .dm-pay-methods { grid-template-columns:1fr; }
}
