/* =========================================================
   شحن الألعاب — الثيم v3 (MidasBuy-style · كمبيوتر + موبايل APP مود)
   ========================================================= */

:root {
    --bg: #070a14;
    --bg2: #0b1020;
    --card: #11162b;
    --border: rgba(148, 163, 184, .1);
    --txt: #e7ecf6;
    --neon: #8b5cf6;
    --neon2: #06b6d4;
    --gold: #fbbf24;
    --green: #34d399;
    --red: #f87171;
    --dim: #94a3b8;
    --grad: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --grad-gold: linear-gradient(135deg, #fbbf24, #f59e0b);
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --r: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: radial-gradient(1100px 700px at 85% -12%, rgba(139, 92, 246, .18), transparent),
                radial-gradient(900px 600px at -10% 30%, rgba(6, 182, 212, .12), transparent),
                var(--bg);
    color: var(--txt);
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    min-height: 100vh;
    padding-bottom: max(0px, env(safe-area-inset-bottom));
}
::selection { background: var(--neon); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: #2a3358; border-radius: 9px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ============ الهيدر (زجاجي ثابت مثل APP) ============ */
.hdr {
    position: sticky; top: 0; z-index: 900;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 12px clamp(14px, 4vw, 40px);
    background: rgba(7, 10, 20, .82);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-ic {
    display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.35rem;
    border-radius: 14px; background: var(--grad);
    box-shadow: 0 8px 22px rgba(139, 92, 246, .45);
}
/* لوجو مخصص مرفوع من الأدمن (هوية المتجر) — يبان في كل الصفحات والموبايل */
.logo-img, .auth-logo .logo-img {
    width: 44px; height: 44px; object-fit: contain; border-radius: 14px; flex-shrink: 0;
    background: rgba(148, 163, 184, .10);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.auth-logo .logo-img { width: 64px; height: 64px; border-radius: 18px; }
.logo b { font-size: 1.02rem; font-weight: 900; line-height: 1.2; }
.logo small { white-space: nowrap; }
@media (max-width: 420px) { .logo-img { width: 38px; height: 38px; } }
.sp { flex: 1; }
.hdr nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hdr nav a {
    padding: 9px 15px; border-radius: 12px; color: var(--dim);
    font-weight: 800; font-size: .9rem; transition: .2s;
}
.hdr nav a:hover { color: var(--txt); background: rgba(148, 163, 184, .08); }
.hdr nav a.on {
    color: #fff; background: linear-gradient(135deg, rgba(139, 92, 246, .28), rgba(6, 182, 212, .22));
    border: 1px solid rgba(139, 92, 246, .4);
}

/* ============ المسخن الرئيسية ============ */
.wrap { max-width: 1160px; margin: 0 auto; padding: 26px clamp(14px, 4vw, 40px) 70px; }

/* الهيرو */
.hero { text-align: center; padding: clamp(30px, 6vw, 62px) 10px 8px; }
.ttl-badge {
    display: inline-block; padding: 9px 20px; border-radius: 99px; font-weight: 800; font-size: .9rem;
    color: var(--gold); background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .3);
    box-shadow: 0 0 30px rgba(251, 191, 36, .1);
}
.hero h1 { font-size: clamp(1.7rem, 5vw, 3rem); font-weight: 900; line-height: 1.55; margin-top: 18px; }
.hero h1 .g { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .glow { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(6, 182, 212, .35); }
.hero p { color: var(--dim); max-width: 680px; margin: 16px auto 0; font-size: 1.05rem; line-height: 2; }

/* شريط الإعلان */
.notice-bar {
    margin: 22px auto 0; max-width: 760px;
    padding: 12px 18px; border-radius: 14px; font-weight: 800; font-size: .95rem;
    background: linear-gradient(120deg, rgba(251, 191, 36, .12), rgba(139, 92, 246, .1));
    border: 1px solid rgba(251, 191, 36, .3); color: var(--gold);
    animation: pulse-bar 3.5s infinite;
}
@keyframes pulse-bar { 0%, 100% { box-shadow: 0 0 0 rgba(251, 191, 36, 0); } 50% { box-shadow: 0 0 28px rgba(251, 191, 36, .18); } }

/* زر تثبيت التطبيق */
.install-btn {
    display: none; margin: 22px auto 0; max-width: 760px; width: 100%;
    padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(139, 92, 246, .2), rgba(6, 182, 212, .16));
    color: var(--txt); font-family: inherit; font-weight: 900; font-size: 1rem; cursor: pointer;
}
.install-btn svg { display: none; }
.install-btn .fa-solid { margin-left: 6px; }

/* خطوات */
.steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    max-width: 980px; margin: 34px auto 0;
}
.step {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
    padding: 18px 14px; text-align: center; transition: .25s;
}
.step:hover { border-color: rgba(139, 92, 246, .4); transform: translateY(-4px); }
.step .n {
    width: 42px; height: 42px; margin: 0 auto 10px; display: grid; place-items: center;
    border-radius: 13px; font-weight: 900; font-size: 1.15rem; color: #fff;
    background: var(--grad); box-shadow: 0 8px 20px rgba(139, 92, 246, .4);
}
.step b { display: block; font-size: .98rem; }
.step span { color: var(--dim); font-size: .84rem; line-height: 1.7; display: block; margin-top: 4px; }

/* ============ الأقسام ============ */
.sect { margin-top: clamp(28px, 5vw, 52px); }
.sect h2 { font-size: clamp(1.25rem, 3.4vw, 1.8rem); font-weight: 900; }
.sect .u { width: 74px; height: 5px; border-radius: 9px; margin-top: 10px; background: var(--grad); box-shadow: 0 0 18px rgba(139, 92, 246, .5); }

/* ============ شبكة الألعاب ============ */
.games-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px; margin-top: 22px;
}
.game-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
    overflow: hidden; transition: .28s; position: relative;
}
.game-card:hover { border-color: rgba(139, 92, 246, .55); transform: translateY(-6px); box-shadow: var(--shadow); }
.game-banner {
    height: 132px; display: grid; place-items: center; font-size: 3.2rem; color: #fff;
    position: relative; overflow: hidden;
}
.game-banner::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(240px 130px at 50% 120%, rgba(255, 255, 255, .16), transparent);
}
.game-card .cnt { padding: 14px 16px 16px; }
.game-card h3 { font-size: 1.02rem; font-weight: 900; }
.game-card .meta { color: var(--dim); font-size: .8rem; margin-top: 6px; }
.game-card .go {
    display: inline-block; margin-top: 12px; padding: 8px 18px; border-radius: 99px;
    font-size: .82rem; font-weight: 900; color: #070a14;
    background: var(--grad-gold); box-shadow: 0 6px 18px rgba(251, 191, 36, .3);
}

/* ============ الباقات ============ */
.game-hero {
    border-radius: 22px; padding: clamp(26px, 5vw, 44px) 16px; text-align: center; color: #fff;
    position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.game-hero::before {
    content: ''; position: absolute; inset: -40%;
    background: radial-gradient(300px 200px at 30% 20%, rgba(255, 255, 255, .15), transparent);
    transform: rotate(12deg);
}
.game-hero small { position: relative; display: block; margin-top: 8px; opacity: .92; font-weight: 700; }
.game-hero h1 { position: relative; }

.packs-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px; margin-top: 24px; position: relative;
}
.pack {
    display: block; position: relative;
    background: var(--card); border: 2px solid var(--border); border-radius: 16px;
    padding: 16px 14px; text-align: center; cursor: pointer; transition: .22s;
}
.pack:hover { border-color: rgba(139, 92, 246, .55); transform: translateY(-4px); }
.pack.sel {
    border-color: var(--neon);
    background: linear-gradient(160deg, rgba(139, 92, 246, .16), var(--card));
    box-shadow: 0 0 28px rgba(139, 92, 246, .3);
}
.pack .cur {
    display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: .72rem; font-weight: 800;
    background: rgba(251, 191, 36, .14); color: var(--gold); border: 1px solid rgba(251, 191, 36, .3);
    margin-bottom: 8px;
}
.pack .nm { font-weight: 900; font-size: 1.02rem; }
.pack .pr-old { color: var(--dim); text-decoration: line-through; font-size: .86rem; margin-top: 2px; }
.pack .pr { color: var(--gold); font-weight: 900; font-size: 1.3rem; margin-top: 2px; }

/* ============ مبدل العملة (دولار/جنيه) ============ */
.ccy-btn {
    display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, .16); color: var(--tx2, #cbd5e1);
    font-weight: 800; font-size: .84rem; text-decoration: none; transition: all .22s;
}
.ccy-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.ccy-btn.on {
    background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a0800; border-color: transparent;
    box-shadow: 0 6px 18px rgba(245, 158, 11, .35);
}
body.light .ccy-btn { border-color: rgba(2, 6, 23, .12); color: var(--tx); }
.ccy-switch .mini-t { direction: ltr; }
/* ============ الفورم ============ */
.order-box {
    background: var(--card); border: 1px solid var(--border); border-radius: 22px;
    padding: clamp(18px, 3.5vw, 30px); margin-top: 30px; position: relative;
}
.order-box h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 900; font-size: 1.2rem; margin-bottom: 14px; }
.mini-t { font-size: .8rem; color: var(--dim); font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
.f-lab { display: block; font-weight: 800; font-size: .9rem; margin: 12px 0 6px; }
.f-in {
    width: 100%; padding: 13px 16px; border-radius: 13px;
    background: var(--bg2); border: 1.5px solid var(--border); color: var(--txt);
    font-family: inherit; font-size: .95rem; font-weight: 700; transition: .2s;
}
.f-in:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(139, 92, 246, .15); }
.f-in::placeholder { color: #4b5568; }
select.f-in { cursor: pointer; }

/* وسائل الدفع */
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.pay-box {
    background: var(--bg2); border: 1.5px solid var(--border); border-radius: 14px;
    padding: 14px 16px; cursor: pointer; transition: .2s; font-weight: 800; font-size: .95rem;
}
.pay-box:hover { border-color: var(--neon2); }
.pay-box.sel { border-color: var(--neon2); background: rgba(6, 182, 212, .1); box-shadow: 0 0 0 3px rgba(6, 182, 212, .12); }
.pay-box.green.sel { border-color: rgba(52, 211, 153, .6); background: rgba(52, 211, 153, .08); box-shadow: 0 0 0 3px rgba(52, 211, 153, .14); }
.pay-v { display: block; color: var(--dim); font-size: .78rem; font-weight: 700; margin-top: 4px; direction: ltr; text-align: right; }
.pay-info {
    margin-top: 14px; padding: 13px 16px; border-radius: 13px; font-size: .88rem; line-height: 1.9; font-weight: 700;
    background: rgba(251, 191, 36, .07); border: 1px solid rgba(251, 191, 36, .25); color: #fde68a;
}

.btn-main {
    display: block; width: 100%; margin-top: 22px;
    padding: 16px 22px; border: none; border-radius: 16px; cursor: pointer;
    font-family: inherit; font-size: 1.12rem; font-weight: 900; color: #070a14;
    background: var(--grad-gold);
    box-shadow: 0 12px 30px rgba(251, 191, 36, .3);
    transition: .22s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(251, 191, 36, .4); }
.btn-main:disabled { opacity: .6; cursor: wait; transform: none; }

/* ============ التتبع والطلبات ============ */
.track-res { display: grid; gap: 10px; margin-top: 22px; }
.ord-line {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    padding: 14px 18px; font-size: .95rem;
}
.st { padding: 7px 14px; border-radius: 99px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.st-done { background: rgba(52, 211, 153, .14); color: var(--green); border: 1px solid rgba(52, 211, 153, .4); }
.st-rej { background: rgba(248, 113, 113, .12); color: var(--red); border: 1px solid rgba(248, 113, 113, .35); }
.st-pen { background: rgba(251, 191, 36, .14); color: var(--gold); border: 1px solid rgba(251, 191, 36, .4); }
.badge {
    display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: .74rem; font-weight: 800;
}

/* ============ الفوتر + واتساب ============ */
.ftr { text-align: center; padding: 34px 20px 120px; color: var(--dim); font-size: .85rem; border-top: 1px solid var(--border); margin-top: 46px; }
.wa-fab {
    position: fixed; bottom: 92px; inset-inline-start: 22px; z-index: 950;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.55rem;
    color: #fff; background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 12px 30px rgba(37, 211, 102, .4); transition: .2s;
}
.wa-fab:hover { transform: scale(1.09); }

/* إشعارات */
.toast-live {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
    background: rgba(30,20,60,.95); color: #fff;
    padding: 12px 22px; border-radius: 18px;
    font-size: .88rem; font-weight: 700;
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
    z-index: 9999; display: none; text-align: center;
    max-width: min(90vw, 360px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124,58,237,.3);
    animation: toastIn .25s ease;
}
@keyframes toastIn { from { opacity:0; transform:translateX(-50%) translateY(12px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }
.toast-live.success { border-color: rgba(34,197,94,.4); background: rgba(16,42,26,.95); }
.toast-live.error { border-color: rgba(239,68,68,.4); background: rgba(42,16,16,.95); }

/* ============ حساب العميل + بوابة الدفع ============ */
.auth-body {
    background: radial-gradient(1200px 800px at 80% -10%, rgba(139, 92, 246, .25), transparent),
                radial-gradient(900px 600px at 5% 60%, rgba(6, 182, 212, .15), transparent), var(--bg);
    min-height: 100vh;
}
.auth-wrap { display: grid; place-items: center; min-height: 100vh; padding: 30px 16px; }
.auth-card {
    width: 100%; max-width: 430px;
    background: linear-gradient(160deg, rgba(23, 20, 45, .96), rgba(14, 25, 44, .94));
    border: 1px solid rgba(139, 92, 246, .35); border-radius: 22px;
    padding: 26px 22px 30px; text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.auth-logo { margin-bottom: 8px; }
.auth-logo .logo-ic {
    display: inline-grid; place-items: center; width: 64px; height: 64px; font-size: 2rem;
    border-radius: 18px; background: var(--grad); box-shadow: 0 12px 34px rgba(139, 92, 246, .5);
}
.auth-card .btn-main { width: 100%; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 6px; padding: 6px; background: rgba(10, 16, 32, .55); border: 1px solid var(--border); border-radius: 14px; }
.atab { padding: 10px 0; border-radius: 10px; font-weight: 800; cursor: pointer; color: var(--dim); transition: .2s; }
.atab.on { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(139, 92, 246, .4); }
.auth-msg {
    background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4);
    color: #fecaca; border-radius: 12px; padding: 10px 14px; font-weight: 800; margin: 10px 0 2px;
}
.acc-hero {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(139, 92, 246, .18), rgba(6, 182, 212, .12));
    border: 1px solid rgba(139, 92, 246, .35); border-radius: 20px; padding: 20px 22px; margin-bottom: 10px;
}
.acc-hero .av {
    width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.6rem; font-weight: 900; color: #fff;
    background: var(--grad); box-shadow: 0 10px 26px rgba(139, 92, 246, .45);
}
.acc-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.acc-stats > div { text-align: center; background: rgba(10, 16, 32, .5); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; }
.acc-stats b { display: block; font-size: 1.1rem; }
.acc-stats span { font-size: .72rem; color: var(--dim); font-weight: 700; }

/* ============ لوحة الإدارة ============ */
.admin-body { background: var(--bg2); }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 14px 0 22px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; gap: 13px; align-items: center; }
.stat .ic { font-size: 1.7rem; }
.stat h6 { color: var(--dim); font-size: .78rem; font-weight: 700; margin-bottom: 4px; }
.stat h4 { font-size: 1.35rem; font-weight: 900; }
.pend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 26px; }
.pending-card {
    background: var(--card); border: 1.5px solid rgba(251, 191, 36, .35); border-radius: 18px;
    padding: 16px; min-width: 0; box-shadow: 0 10px 30px rgba(251, 191, 36, .06);
}
.a-btn {
    padding: 9px 16px; border-radius: 11px; border: none; cursor: pointer;
    font-family: inherit; font-weight: 900; font-size: .84rem; transition: .2s;
}
.a-acc { background: rgba(52, 211, 153, .16); color: var(--green); border: 1.5px solid rgba(52, 211, 153, .4); }
.a-rej { background: rgba(248, 113, 113, .12); color: var(--red); border: 1.5px solid rgba(248, 113, 113, .35); }
.a-edit { background: rgba(139, 92, 246, .14); color: #c4b5fd; border: 1.5px solid rgba(139, 92, 246, .35); }
.a-del { background: rgba(248, 113, 113, .1); color: var(--red); border: 1.5px solid rgba(248, 113, 113, .3); }
.tbl-w { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow-x: auto; }
.tbl-w table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.tbl-w th, .tbl-w td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--border); }
.tbl-w th { color: var(--dim); font-size: .78rem; font-weight: 800; background: rgba(10, 16, 32, .4); }
.tbl-w tr:last-child td { border-bottom: none; }
.msg { margin: 12px 0; padding: 13px 18px; border-radius: 13px; font-weight: 800; }
.msg-ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #a7f3d0; }
.msg-warn { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }

/* ============ شريط الموبايل السفلي (APP مود) ============ */
.bnav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 960;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    background: rgba(7, 10, 20, .94);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.bnav a {
    flex: 1; display: grid; place-items: center; gap: 3px;
    padding: 7px 2px; border-radius: 13px;
    color: var(--dim); font-size: .64rem; font-weight: 800;
}
.bnav a .bi { font-size: 1.25rem; line-height: 1; }
.bnav a.on { color: #fff; background: linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(6, 182, 212, .25)); }

/* ============ الموبايل ============ */
@media (max-width: 640px) {
    .hdr nav { display: none; }              /* قائمة الشريط العلوي تحذف — بديلها الشريط السفلي */
    .hdr { padding: 10px 14px; }
    .bnav { display: flex; }
    .wa-fab { bottom: 96px; inset-inline-start: 14px; width: 50px; height: 50px; font-size: 1.35rem; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .pay-opts { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .game-banner { height: 104px; font-size: 2.4rem; }
    .game-card .go { padding: 6px 12px; font-size: .74rem; }
    .packs-grid { grid-template-columns: 1fr 1fr; }
    .ord-line { flex-direction: column; align-items: flex-start; gap: 8px; }
    .acc-hero { flex-direction: column; text-align: center; }
    .acc-stats { justify-content: center; }
    .ad-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
    .games-grid, .packs-grid { grid-template-columns: 1fr; }
}


/* ===== Revamp 2026: storefront + admin responsive polish ===== */
:root{
 --bg:#080b16;--bg2:#0d1324;--card:#111a2d;--border:rgba(180,196,230,.13);
 --txt:#f3f6ff;--dim:#a4b0c8;--neon:#8b5cf6;--neon2:#22d3ee;
 --grad:linear-gradient(125deg,#8b5cf6 0%,#2563eb 55%,#06b6d4 100%);
 --shadow:0 22px 70px rgba(0,0,0,.34);--r:22px;
}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{background:radial-gradient(ellipse at 50% -15%,rgba(59,130,246,.17),transparent 45%),radial-gradient(ellipse at 100% 30%,rgba(124,58,237,.12),transparent 38%),var(--bg);line-height:1.7}
button,input,select,textarea{font:inherit}
button,a,.game-card,.pack,.pay-box{ -webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--neon2);outline-offset:3px}
.hdr{padding:13px clamp(16px,4vw,56px);background:rgba(8,11,22,.88);border-bottom-color:rgba(148,163,184,.16)}
.logo-ic{border-radius:15px;background:var(--grad);box-shadow:0 10px 32px rgba(59,130,246,.28)}
.hdr nav a{border:1px solid transparent}
.hdr nav a.on,.hdr nav a:hover{border-color:rgba(125,211,252,.15)}
.hero{position:relative;overflow:hidden;isolation:isolate;padding:clamp(52px,8vw,100px) 18px 42px}
.hero:before{content:"";position:absolute;z-index:-1;width:460px;height:460px;border-radius:50%;border:1px solid rgba(125,211,252,.12);top:-290px;left:calc(50% - 230px);box-shadow:0 0 0 45px rgba(125,211,252,.025),0 0 0 90px rgba(125,211,252,.02)}
.hero .ttl-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(34,211,238,.24);background:rgba(34,211,238,.08);border-radius:999px;padding:8px 15px;color:#a5f3fc;font-size:.85rem;font-weight:800}
.hero h1{max-width:900px;margin:22px auto 12px;font-size:clamp(2rem,5.3vw,4.15rem);line-height:1.35;letter-spacing:-1.1px}
.hero h1 .g{background:linear-gradient(100deg,#fff 4%,#c4b5fd 45%,#67e8f9 95%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero>p{max-width:760px;margin:0 auto;color:#b3bfd7;font-size:clamp(.98rem,1.5vw,1.13rem);line-height:2}
.notice-bar{max-width:900px;margin:24px auto 0;border:1px solid rgba(251,191,36,.2);background:rgba(251,191,36,.055);border-radius:14px;padding:11px 16px;color:#fde68a}
.steps{max-width:1120px;margin:30px auto;gap:14px}
.step{background:linear-gradient(155deg,rgba(20,30,52,.95),rgba(13,19,36,.9));border:1px solid var(--border);border-radius:19px;padding:22px 18px;box-shadow:0 12px 32px rgba(0,0,0,.12);transition:transform .2s,border-color .2s}
.step:hover{transform:translateY(-3px);border-color:rgba(34,211,238,.3)}
.step .n{box-shadow:0 7px 22px rgba(124,58,237,.2)}
.wrap{max-width:1240px}
.sect{margin:48px 0 24px}
.sect h2{font-size:clamp(1.35rem,3vw,1.85rem);letter-spacing:-.3px}
.sect .u{width:64px;height:4px;border-radius:10px;background:var(--grad);margin-top:10px}
.games-grid{gap:18px}
.game-card{position:relative;overflow:hidden;background:linear-gradient(155deg,#141d32,#0e1527);border:1px solid var(--border);border-radius:22px;box-shadow:0 12px 32px rgba(0,0,0,.18);transition:transform .22s,border-color .22s,box-shadow .22s}
.game-card:hover{transform:translateY(-5px);border-color:rgba(34,211,238,.34);box-shadow:0 22px 48px rgba(0,0,0,.28)}
.game-banner{min-height:125px;display:grid;place-items:center;font-size:3.2rem!important;position:relative;overflow:hidden}
.game-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(8,11,22,.22))}
.game-card .cnt{padding:18px}
.game-card h3{font-size:1.08rem}
.game-card .meta{color:var(--dim);font-size:.82rem;margin:6px 0 15px}
.game-card .go{display:inline-flex;padding:8px 13px;border-radius:11px;background:rgba(139,92,246,.13);border:1px solid rgba(139,92,246,.24);color:#ddd6fe;font-weight:900;font-size:.84rem}
.btn-main{border:0;border-radius:14px;background:var(--grad);box-shadow:0 9px 26px rgba(59,130,246,.2);font-weight:900;transition:transform .2s,filter .2s}
.btn-main:hover{filter:brightness(1.09);transform:translateY(-1px)}
.order-box,.auth-card,.pending-card,.acc-hero,.ord-line,.track-res{border-color:var(--border)}
.order-box{border-radius:22px;background:linear-gradient(150deg,rgba(18,27,47,.98),rgba(12,18,33,.98));box-shadow:var(--shadow)}
.f-in{background:#0a1020;border:1px solid rgba(148,163,184,.2);border-radius:13px;min-height:48px;color:var(--txt)}
.f-in:focus{border-color:rgba(34,211,238,.7);box-shadow:0 0 0 3px rgba(34,211,238,.08)}
.pack{border:1px solid var(--border);background:linear-gradient(145deg,#141d32,#0c1324);border-radius:17px;transition:all .18s}
.pack:has(input:checked){border-color:#8b5cf6;box-shadow:0 0 0 2px rgba(139,92,246,.16),0 12px 26px rgba(0,0,0,.15);background:linear-gradient(145deg,rgba(91,33,182,.22),rgba(8,145,178,.08))}
.pay-box{border:1px solid var(--border);background:#0c1426;border-radius:15px;transition:border-color .2s,background .2s}
.pay-box.sel{border-color:rgba(34,211,238,.7);background:rgba(8,145,178,.1);box-shadow:inset 0 0 0 1px rgba(34,211,238,.1)}
.st{border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:900}
.ftr{border-top:1px solid var(--border);background:rgba(5,8,17,.6);padding:30px 16px 90px}
.bnav{border-top:1px solid var(--border);background:rgba(8,11,22,.94);backdrop-filter:blur(18px)}
.wa-fab{box-shadow:0 12px 30px rgba(34,197,94,.25)}
/* Admin control panel */
.admin-body{background:radial-gradient(ellipse at 90% 0%,rgba(124,58,237,.12),transparent 35%),var(--bg)}
.pending-card{border:1px solid var(--border);border-radius:18px;background:linear-gradient(155deg,#141d32,#0c1324);padding:18px;box-shadow:0 12px 28px rgba(0,0,0,.16)}
.msg{border-radius:13px;padding:12px 15px}
table{border-collapse:collapse}
@media(min-width:900px){.games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){.games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
 .hdr{padding:10px 13px}
 .hero{padding-top:42px}.hero h1{letter-spacing:0}.steps{gap:10px}.step{padding:16px 13px}
 .game-banner{min-height:105px}.game-card .cnt{padding:14px}
 .pending-card{padding:14px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* ===== Modern SaaS gaming-store redesign ===== */
:root{--bg:#080b14;--bg2:#0d1220;--card:#111827;--border:rgba(148,163,184,.16);--txt:#f3f6fc;--neon:#8b5cf6;--neon2:#22d3ee;--gold:#fbbf24;--dim:#9ba8bd;--grad:linear-gradient(125deg,#8b5cf6 0%,#2563eb 52%,#06b6d4 100%);--r:20px;--shadow:0 22px 70px rgba(0,0,0,.38)}
body{background:radial-gradient(ellipse at 80% -15%,rgba(99,102,241,.22),transparent 38%),radial-gradient(ellipse at 0% 35%,rgba(6,182,212,.10),transparent 30%),#080b14;letter-spacing:.05px}
.hdr{padding:13px clamp(16px,4vw,56px);background:rgba(8,11,20,.88);border-bottom-color:rgba(148,163,184,.14)}
.logo-ic{border-radius:15px;background:var(--grad);box-shadow:0 8px 30px #4f46e555}
.hero{padding:clamp(42px,7vw,86px) 16px 22px;position:relative;isolation:isolate}
.hero:before{content:' ';position:absolute;z-index:-1;inset:0 10% 10%;background:radial-gradient(ellipse,rgba(79,70,229,.16),transparent 65%);pointer-events:none}
.ttl-badge{background:rgba(34,211,238,.08);border-color:rgba(34,211,238,.24);color:#a5f3fc;font-size:.82rem}
.hero h1{max-width:900px;margin:22px auto 0;line-height:1.35;letter-spacing:-1px}.hero h1 .g{background:linear-gradient(100deg,#fff 4%,#c4b5fd 46%,#67e8f9 95%);-webkit-background-clip:text;background-clip:text}
.hero p{max-width:710px;font-size:1rem}.notice-bar{border-color:rgba(139,92,246,.25);background:rgba(99,102,241,.09);color:#c4b5fd;animation:none}
.wrap{max-width:1320px;padding-left:clamp(16px,4vw,56px);padding-right:clamp(16px,4vw,56px)}
.sect{display:flex;align-items:center;justify-content:space-between;gap:16px}.sect h2{font-size:clamp(1.2rem,3vw,1.65rem)}.sect .u{display:none}
.games-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:18px}
.game-card{border-radius:20px;background:linear-gradient(155deg,rgba(21,30,49,.98),rgba(12,17,30,.98));border-color:rgba(148,163,184,.14);box-shadow:0 12px 32px rgba(0,0,0,.14)}
.game-card:hover{transform:translateY(-5px);border-color:rgba(129,140,248,.6);box-shadow:0 22px 55px rgba(0,0,0,.35)}
.game-banner{height:148px;font-size:3.5rem;background-size:cover!important;position:relative}.game-banner:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,11,20,.42),transparent 70%)}
.game-card .cnt{padding:18px}.game-card h3{font-size:1.02rem}.game-card .meta{font-size:.78rem}.game-card .go{background:rgba(139,92,246,.15);color:#ddd6fe;border:1px solid rgba(139,92,246,.28);box-shadow:none;padding:8px 14px}
.step,.order-box,.pay-info,.pending-card{border-color:rgba(148,163,184,.15);background:linear-gradient(145deg,rgba(18,26,43,.94),rgba(12,17,29,.97));box-shadow:0 12px 35px rgba(0,0,0,.12)}
.f-in,select.f-in,textarea.f-in{background:#090f1c;border-color:#273349;border-radius:12px;min-height:46px}.f-in:focus{border-color:#818cf8;box-shadow:0 0 0 3px #818cf822;outline:none}
.btn-main{background:var(--grad);border:0;border-radius:13px;box-shadow:0 9px 25px #4f46e533}.pay-box{border-radius:14px;border-color:#273349;background:#0b1220}.pay-box.sel{border-color:#818cf8;background:#4f46e51a}
.ftr{border-top:1px solid var(--border);background:rgba(8,11,20,.55)}
/* (بلوك الأدمن القديم بـ .ad-top/.ad-tabs اتشال — الأدمن كله دلوقتي بواجهة Dashboard v2 تحت) */
@media(max-width:560px){.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.game-banner{height:112px}.game-card .cnt{padding:12px}.game-card h3{font-size:.88rem}.game-card .meta{font-size:.7rem}.game-card .go{font-size:.74rem;padding:7px 10px}.steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* ==================================================================
   Admin Dashboard v2 — شيل كامل: مينيو جاني ثابت + بانلات + KPIs + Chart
   ================================================================== */
/* جداول وبطاقات الأدمن */
.admin-body{background:radial-gradient(ellipse at 90% 0%,rgba(124,58,237,.12),transparent 35%),var(--bg)}
.tbl-w{border:1px solid var(--border);border-radius:16px;background:#0d1422}
.tbl-w table{min-width:720px}
.tbl-w th{background:#151e30;color:#cbd5e1}
.tbl-w td,.tbl-w th{border-bottom-color:#202b3e}
.pend-grid{gap:14px}
.pending-card{border-radius:16px}
.ad-shell .msg{border-radius:12px}
.admin-body h3{font-size:1.08rem}

.ad-shell{display:flex;min-height:100vh;width:100%}
.ad-side{
    position:sticky;top:0;height:100vh;width:252px;flex-shrink:0;
    display:flex;flex-direction:column;gap:6px;padding:22px 14px;
    background:linear-gradient(180deg,#0c1322 0%,#090f1c 100%);
    border-left:1px solid var(--border);
    overflow-y:auto
}
.ad-brand{display:flex;align-items:center;gap:12px;padding:2px 10px 20px;border-bottom:1px solid var(--border);margin-bottom:12px}
.ad-brand .logo-ic{width:42px;height:42px;font-size:1.2rem;display:grid;place-items:center;background:var(--grad);border-radius:13px;box-shadow:0 8px 20px rgba(139,92,246,.35);flex-shrink:0}
.ad-brand b{display:block;font-weight:900;font-size:1rem;line-height:1.2}
.ad-brand small{color:#71809a;font-size:.72rem;font-weight:800}
.ad-nav{display:flex;flex-direction:column;gap:5px;flex:1}
.nitem{
    position:relative;display:flex;align-items:center;gap:12px;width:100%;
    padding:12px 14px;border:1px solid transparent;border-radius:12px;
    background:transparent;color:#9ba8bd;font:800 .92rem/1 'Cairo',sans-serif;
    cursor:pointer;text-decoration:none;text-align:right;transition:.18s;white-space:nowrap
}
.nitem .ni{font-size:1.12rem;line-height:1;width:22px;text-align:center;flex-shrink:0}
.nitem span{flex:1;text-align:right}
.nitem:hover{background:#141d2e;color:#fff}
.nitem.on{
    color:#fff;background:linear-gradient(100deg,rgba(99,102,241,.25),rgba(34,211,238,.08));
    border-color:rgba(129,140,248,.28);box-shadow:inset -3px 0 0 #818cf8
}
.nbadge{
    font-style:normal;min-width:24px;text-align:center;flex-shrink:0;
    background:linear-gradient(135deg,#ef4444,#b91c1c);color:#fff;
    font-size:.72rem;font-weight:900;padding:4px 8px;border-radius:999px
}
.nitem[data-p="orders"] .nbadge:empty{display:none}
.ad-side-foot{display:flex;flex-direction:column;gap:5px;padding-top:14px;border-top:1px solid var(--border)}
.side-flow{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    background:rgba(34,211,238,.07);border:1px solid rgba(34,211,238,.2);border-radius:12px;
    padding:10px 13px;color:#9ba8bd;font-size:.8rem;font-weight:800;margin-bottom:6px
}
.side-flow b{color:#22d3ee;text-transform:capitalize}
.nout{color:#8fa2ba}
.nout:hover{background:rgba(239,68,68,.12);color:#fecaca}

.ad-main{flex:1;min-width:0;display:flex;flex-direction:column}
.ad-head{
    position:sticky;top:0;z-index:60;
    display:flex;align-items:center;gap:18px;flex-wrap:wrap;
    padding:14px 28px;background:rgba(8,12,22,.9);backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border)
}
.ad-head h2{font-size:1.22rem;font-weight:900;margin:0}
.head-tip{color:#71809a;font-size:.75rem;font-weight:800}
.head-tip::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;margin-inline-end:6px;box-shadow:0 0 8px #22c55e;animation:pulseDot 1.6s ease-in-out infinite}
@keyframes pulseDot{50%{opacity:.35}}
.ad-head .nitem{width:auto;padding:9px 13px}

.ad-content{padding:26px 28px 70px;max-width:1300px;width:100%;margin:0 auto}
.panel{display:block}
.p-title{font-weight:900;font-size:1.05rem;margin:0 0 14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* KPI cards */
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:18px}
.kpi-4{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.kpi{
    display:flex;align-items:center;gap:13px;
    background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px 18px;
    transition:.18s
}
.kpi:hover{transform:translateY(-2px);border-color:rgba(129,140,248,.35)}
.kpi .ki{
    width:46px;height:46px;flex-shrink:0;border-radius:13px;
    display:grid;place-items:center;font-size:1.3rem;
    box-shadow:0 8px 18px rgba(0,0,0,.35)
}
.kpi h6{color:#71809a;font-size:.74rem;font-weight:800;margin:0 0 3px}
.kpi h4{font-size:1.22rem;font-weight:900;margin:0;line-height:1.2}

/* Chart box */
.chart-box{
    background:var(--card);border:1px solid var(--border);border-radius:16px;
    padding:18px 20px 14px;margin-bottom:18px
}
.chart-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.chart-head h3{font-weight:900;font-size:1.05rem;margin:0}
.chart-box canvas{max-height:280px}

/* Dashboard bottom row */
.dash-row{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}
.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:6px}
.qbtn{
    font:800 .88rem/1.5 'Cairo',sans-serif;color:#c7d2fe;cursor:pointer;
    background:rgba(99,102,241,.1);border:1px solid rgba(129,140,248,.28);border-radius:13px;
    padding:14px;text-align:right;transition:.18s
}
.qbtn:hover{background:rgba(99,102,241,.2);color:#fff;transform:translateY(-1px)}
.toplist{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.topline{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    background:rgba(148,163,184,.05);border:1px solid var(--border);border-radius:12px;
    padding:10px 14px;font-weight:800;font-size:.88rem
}
.topline b{color:var(--gold);font-size:.8rem;flex-shrink:0}

/* Responsive: mobile → sidebar collapses to sticky top bar */
@media (max-width:980px){
    .ad-side{
        position:sticky;top:0;height:auto;width:100%;
        flex-direction:row;align-items:flex-start;gap:14px;
        padding:10px;z-index:80;
        background:rgba(9,14,26,.96);backdrop-filter:blur(18px);
        border-left:none;border-bottom:1px solid var(--border)
    }
    .ad-brand,.side-flow{display:none}
    .ad-nav{
        flex:1;flex-direction:row;flex-wrap:wrap;gap:5px;
        margin:0;overflow-x:auto;-webkit-overflow-scrolling:touch
    }
    .ad-side-foot{display:none}
    .nitem{padding:9px 12px;font-size:.85rem}
    .nitem .ni{width:auto}
    .nitem span{display:inline}
    .ad-head{padding:12px 16px}
    .ad-content{padding:18px 16px 60px}
    .dash-row{grid-template-columns:1fr}
    .ad-head h2{font-size:1.05rem}
}
@media (max-width:560px){
.kpi{padding:13px 14px}
.kpi .ki{width:38px;height:38px;font-size:1.05rem;border-radius:11px}
.kpi h4{font-size:1.02rem}
.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.quick-grid{grid-template-columns:1fr}
.chart-box{padding:14px 12px}
.ad-content{padding:14px 12px 60px}
}

/* ==================================================================
   APP MODE — الموقع يتعرض زي برنامج أندرويد حقيقي على الموبايل
   ================================================================== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overscroll-behavior-y:auto}
button,input[type="submit"],select,.pay-box,.pack,.game-card,.a-btn,.qbtn,.nitem{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.game-card,.pack,.pay-box,.bnav a,.qbtn,.nitem,.a-btn{user-select:none;-webkit-user-select:none}
.f-in,input:not([type="submit"]),textarea{user-select:text;-webkit-user-select:text}
/* زر مستطيل شاشة كامل للنظام بأناقة التطبيق */
.ad-head,.hdr{padding-top:max(12px, env(safe-area-inset-top))}
/* نبض اللمس (active) زي البرامج */
.game-card:active{transform:scale(.965)}
.pack:active,.pay-box:active,.qbtn:active,.a-btn:active{transform:scale(.96)}
.bnav a:active{transform:scale(.88);opacity:.8}
/* شريط شرائح الهيدر يمشي أفقايا في الصفحة الضيقة */
@media(max-width:700px){.hdr{padding-right:max(12px, env(safe-area-inset-right));padding-left:max(12px, env(safe-area-inset-left))}}
/* أرقام الطلبات والمعرفات تفضل لاتيني وشكها مجمل */
.tnum{font-variant-numeric:tabular-nums;letter-spacing:.3px}

/* ==================================================================
   SLIDER — سلايدر العروض المتحرك (سوايب + أوتوبلاي + نقاط)
   ================================================================== */
.offers-sect{margin:34px auto 14px;width:100%;max-width:min(96vw,1820px);padding:0 clamp(14px,2.2vw,40px);box-sizing:border-box}
.offers-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.offers-head h2{font-size:clamp(1.22rem,2.7vw,1.6rem);font-weight:900}
.os-wrap{position:relative;border-radius:26px;overflow:hidden;box-shadow:0 22px 55px -10px rgba(0,0,0,0.68), 0 0 0 1px rgba(255,255,255,0.12);border:1.5px solid rgba(255,255,255,0.14);backdrop-filter:blur(12px)}
.os-track{display:flex;transition:transform .55s cubic-bezier(.22,1,.36,1);direction:ltr}
.os-slide{flex:0 0 100%;position:relative;display:flex;align-items:center;gap:clamp(20px,4vw,44px);min-height:clamp(250px,29vw,360px);padding:clamp(28px,4.2vw,52px) clamp(26px,4.8vw,60px);cursor:pointer;transition:transform .2s ease;overflow:hidden}
.os-slide:active{transform:scale(.99)}
.os-info{flex:1;min-width:0;text-shadow:none !important}
.os-tag{display:inline-block;padding:6px 16px;border-radius:99px;background:rgba(255,255,255,0.16);border:1px solid rgba(255,255,255,0.26);color:#fff;font-weight:900;font-size:.84rem;margin-bottom:12px;backdrop-filter:blur(8px);letter-spacing:.3px;text-shadow:none !important}
.os-name{font-size:clamp(1.5rem,3.6vw,2.45rem);font-weight:900;color:#fff;line-height:1.25;text-shadow:none !important;letter-spacing:.2px}
.os-price{margin-top:10px;color:rgba(255,255,255,0.96);font-size:clamp(1rem,2.1vw,1.2rem);font-weight:800;text-shadow:none !important}
.os-price b{font-size:clamp(1.25rem,3.2vw,1.7rem);color:var(--gold,#facc15);font-weight:900;text-shadow:none !important}
.os-ic{font-size:clamp(3.5rem,8.5vw,6rem);filter:drop-shadow(0 8px 20px rgba(0,0,0,0.5));flex:none;transition:transform .3s ease}
.os-cover{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.45;z-index:0;pointer-events:none;image-rendering:-webkit-optimize-contrast}
.os-slide>*:not(.os-cover):not(.os-go){position:relative;z-index:1}
.os-go{position:absolute;inset-inline-end:clamp(20px,3.5vw,40px);bottom:clamp(18px,3vw,32px);display:inline-flex;align-items:center;gap:8px;padding:13px 24px;border-radius:15px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#111;font-weight:900;font-size:.98rem;box-shadow:0 10px 26px rgba(245,158,11,0.45);transition:.2s;z-index:2;border:1px solid rgba(255,255,255,0.45);text-shadow:none !important}
.os-slide:hover .os-go{transform:translateY(-3px);box-shadow:0 14px 32px rgba(245,158,11,0.6)}
.os-btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(10,13,25,.6);color:#fff;font-size:1.15rem;cursor:pointer;z-index:3;transition:.2s;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center}
.os-btn:hover{background:rgba(10,13,25,.9)}
.os-btn.pv{inset-inline-start:14px}.os-btn.nx{inset-inline-end:14px}
.os-dots{display:flex;gap:8px;justify-content:center;margin-top:14px}
.os-dot{width:10px;height:10px;border-radius:99px;background:rgba(148,163,184,.35);border:0;cursor:pointer;transition:.28s;padding:0}
.os-dot.on{width:28px;background:var(--grad)}
@media(max-width:640px){.os-slide{min-height:215px;padding:22px 18px}.os-btn{width:34px;height:34px;font-size:.9rem}.os-go{padding:9px 15px;font-size:.82rem}}

/* ==================================================================
   LIGHT THEME — الوضع الفاتح (اختيار المستخدم، محفوظ في localStorage)
   ================================================================== */
body.light{
  --bg:#f3f5fb; --bg2:#e9edf6; --card:#ffffff;
  --border:rgba(15,23,42,.1);
  --txt:#101828; --dim:#5b6579;
  --neon:#7c3aed; --neon2:#0891b2;
  --grad:linear-gradient(135deg,#7c3aed,#0891b2);
  --shadow:0 18px 50px rgba(15,23,42,.12);
}
body.light{
  background:
    radial-gradient(1100px 700px at 85% -12%, rgba(124,58,237,.08), transparent),
    radial-gradient(900px 600px at -10% 30%, rgba(8,145,178,.07), transparent),
    var(--bg);
}
body.light .hdr{background:rgba(255,255,255,.82);box-shadow:0 4px 22px rgba(15,23,42,.06)}
body.light .logo-ic{background:var(--bg2)}
body.light .logo-img{background:#fff;border-color:rgba(15,23,42,.10);box-shadow:0 4px 16px rgba(15,23,42,.08)}
body.light .hdr nav a.on{background:var(--bg2)}
body.light .ttl-badge{background:rgba(124,58,237,.08);color:var(--neon);border-color:rgba(124,58,237,.15)}
body.light .notice-bar{background:linear-gradient(100deg,rgba(251,191,36,.16),rgba(245,158,11,.08));color:#925500;border:1px solid rgba(245,158,11,.25)}
body.light .install-btn{background:var(--card);color:var(--txt);border:1.5px dashed var(--neon)}
body.light .step{background:var(--card);box-shadow:0 6px 18px rgba(15,23,42,.06)}
body.light .game-card{background:var(--card);box-shadow:0 8px 24px rgba(15,23,42,.07)}
body.light .game-card .cnt .meta{color:var(--dim)}
body.light .ftr{color:var(--dim)}
body.light .bnav{background:rgba(255,255,255,.88);border-top-color:rgba(15,23,42,.08)}
body.light .bnav a.on{color:var(--neon)}
body.light .wa-fab{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 10px 26px rgba(34,197,94,.4)}
body.light .pay-box{background:#fff;border-color:rgba(15,23,42,.12)}
body.light .pay-box.sel{border-color:var(--neon);background:rgba(124,58,237,.05)}
body.light .pack{background:#fff;border-color:rgba(15,23,42,.12)}
body.light .pack.sel{border-color:var(--gold);background:linear-gradient(180deg,rgba(251,191,36,.09),rgba(255,255,255,0))}
body.light .order-box{background:var(--card);box-shadow:0 14px 40px rgba(15,23,42,.09)}
body.light .f-in{background:var(--bg2);border-color:rgba(15,23,42,.14);color:var(--txt)}
body.light .btn-main{box-shadow:0 12px 30px rgba(124,58,237,.3)}
body.light ::-webkit-scrollbar-track{background:var(--bg2)}
body.light ::-webkit-scrollbar-thumb{background:#c6cede}
/* صفحة تتبع + حساب */
body.light .order-card,body.light .account-w,body.light .track-box{background:var(--card)}
body.light .theme-btn{background:var(--card)}
/* لوحة الأدمن تفضل مظلمة إلا لو نفسها قلبت → نفس المتغيرات تشتغل عليها */
body.admin-body.light .hdr,body.admin-body.light .bnav{background:rgba(255,255,255,.82)}

/* ==================================================================
   LIGHT REFINE v2 — ثيم فاتح احترافي (باليت هادي متسقة + ظلال ناعمة)
   ================================================================== */
body.light{
  --bg:#f2f4fa; --bg2:#eaedf5;
  --card:#ffffff;
  --border:rgba(16,24,40,.08);
  --txt:#141a2a; --dim:#64748b;
  --neon:#6d28d9; --neon2:#0e7490;
  --gold:#d97706; --green:#059669; --red:#dc2626;
  --shadow:0 22px 55px rgba(16,24,40,.13),0 4px 14px rgba(16,24,40,.06);
}
body.light .ttl-badge{background:linear-gradient(100deg,rgba(109,40,217,.09),rgba(14,116,144,.07));color:#6d28d9;border-color:rgba(109,40,217,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
body.light .hero h1 .g{background:linear-gradient(100deg,#7c3aed,#0e7490);-webkit-background-clip:text;background-clip:text}
body.light .step{border:1px solid rgba(16,24,40,.07);box-shadow:0 6px 20px rgba(16,24,40,.06)}
body.light .step b{color:var(--txt)}
body.light .step span{color:var(--dim)}
body.light .game-card{border:1px solid rgba(16,24,40,.07);box-shadow:0 10px 26px rgba(16,24,40,.09)}
body.light .game-card:hover{box-shadow:0 22px 48px rgba(109,40,217,.14)}
body.light .game-card .cnt h3{color:var(--txt)}
body.light .notice-bar{background:linear-gradient(100deg,rgba(217,119,6,.1),rgba(245,158,11,.05));color:#a16207;border:1px solid rgba(217,119,6,.18)}
body.light .install-btn{background:#fff;color:var(--txt);border:1.5px dashed rgba(109,40,217,.4)}
body.light .wa-fab{box-shadow:0 12px 30px rgba(5,150,105,.35)}
body.light .ftr{color:var(--dim)}
body.light .ftr b{color:var(--txt)}
body.light .order-box{border:1px solid rgba(16,24,40,.07)}
body.light .f-lab{color:#475569}
body.light .pay-v{color:var(--dim)}
body.light .mini-t{color:var(--dim)}
body.light .cur{background:linear-gradient(100deg,#d97706,#f59e0b)}
body.light .ord-line{background:#fff;border-color:rgba(16,24,40,.08);box-shadow:0 4px 14px rgba(16,24,40,.05)}
body.light .acc-hero,body.light .av{background:#fff}
body.light .toast-live{background:#141a2a;color:#fff}
/* السلايدر في الفاتح: كروت بتشتغل على الخلفية الفاتحة */
body.light .os-wrap{box-shadow:0 26px 60px rgba(16,24,40,.16),0 6px 18px rgba(16,24,40,.07);border-color:rgba(16,24,40,.06)}
body.light .os-name{color:#fff}
body.light .os-dots .os-dot{background:rgba(16,24,40,.16)}
body.light .os-dots .os-dot.on{background:linear-gradient(135deg,#7c3aed,#0e7490)}

/* ==================================================================
   3D CARDS — كروت الألعاب + الباقات + السلايدر بشكل ثلاثي الأبعاد
   ================================================================== */
.game-card,.pack,.os-wrap,.step{transform-style:preserve-3d}
.game-card{
  perspective:900px;
  transition:transform .3s ease,box-shadow .3s ease;
  will-change:transform;
}
.game-card:hover{transform:translateY(-6px) rotateX(4deg) rotateY(-6deg) scale(1.015);box-shadow:-16px 26px 55px rgba(124,58,237,.24),14px 18px 45px rgba(6,182,212,.14),0 4px 10px rgba(0,0,0,.15)}
/* لمعان زجاجي بيعدي عليها */
.game-card .cnt::after{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.07) 45%,transparent 60%);
  opacity:0;transition:opacity .3s;transform:translateZ(1px);
}
.game-card:hover .cnt::after{opacity:1}
/* حواف مشرقة (سماكة 3D) */
.game-card{position:relative;isolation:isolate}
.game-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;
  background:linear-gradient(140deg,rgba(255,255,255,.13),transparent 42%);
  mix-blend-mode:overlay;opacity:.8;
}
.game-card .game-banner{position:relative;z-index:0;overflow:hidden}
.game-card .cnt{position:static;z-index:1}
/* الباقات 3D */
.pack{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.pack:hover{transform:translateY(-4px) rotateX(3deg) scale(1.02);box-shadow:0 18px 40px rgba(124,58,237,.18),0 3px 10px rgba(0,0,0,.1)}
.pack.sel{transform:translateY(-3px) scale(1.03);box-shadow:0 20px 44px rgba(251,191,36,.28),0 4px 12px rgba(0,0,0,.12);border-color:var(--gold)}
/* السلايدر 3D: شرائح بارزة + زاوية خفيفة */
.os-wrap{perspective:1200px}
.os-slide{transition:transform .35s ease}
.os-slide:hover{transform:rotateX(2deg) rotateY(-2.5deg) scale(1.007)}
.os-ic{transition:transform .45s cubic-bezier(.22,1,.36,1)}
.os-slide:hover .os-ic{transform:scale(1.14) rotate(-6deg) translateY(-4px)}
@media (prefers-reduced-motion:reduce){
  .game-card:hover,.pack:hover,.os-slide:hover,.os-ic{transform:none}
}

/* ==================================================================
   ADMIN MOBILE APP — لوحة الإدارة على الموبايل زي تطبيق أندرويد
   ================================================================== */
.burger{display:none;width:38px;height:38px;border-radius:12px;border:1px solid var(--border);background:var(--card);color:var(--txt);font-size:1.05rem;cursor:pointer;flex:none;position:relative;padding:0}
.burger i{position:absolute;left:50%;top:50%;width:17px;height:2px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%);transition:transform .28s ease,opacity .2s ease}
.burger i:nth-child(1){transform:translate(-50%,-50%) translateY(-5px)}
.burger i:nth-child(2){transform:translate(-50%,-50%)}
.burger i:nth-child(3){transform:translate(-50%,-50%) translateY(5px)}
/* لما القائمة مفتوحة: السطور تتحول ✕ */
.burger.x i{background:var(--red)}
.burger.x i:nth-child(1){transform:translate(-50%,-50%) rotate(45deg)}
.burger.x i:nth-child(2){opacity:0;transform:translate(-50%,-50%) scaleX(.2)}
.burger.x i:nth-child(3){transform:translate(-50%,-50%) rotate(-45deg)}
.burger:active{transform:scale(.9)}
/* زر القفل داخل الدروير */
.ad-close{display:none;margin-inline-start:auto;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--card);color:var(--txt);font-size:.95rem;cursor:pointer;transition:.2s;flex:none}
.ad-close:active{transform:scale(.88)}
/* قفل سكرول الصفحة والدروير مفتوح */
body.ad-lock{overflow:hidden}
/* دروير: دخول ناعم من الجنب + خلفية ضبابية fade */
.ad-side{transition:transform .32s cubic-bezier(.22,1,.36,1)}
.ad-bk{transition:opacity .28s ease}
/* لمسة انزلاق داخلي لقيام القايم */
@media (max-width:980px){
  .ad-close{display:inline-flex;align-items:center;justify-content:center}
  .ad-brand{display:flex;align-items:center;gap:10px}
  .ad-brand>div{flex:1;min-width:0}
  .side-flow{display:none}
  .ad-side-foot{display:flex;flex-direction:column;gap:5px;padding-top:10px;border-top:1px solid var(--border);margin-top:auto}
  .ad-side.open .nitem{animation:navIn .34s ease backwards}
  .ad-side.open .nitem:nth-child(1){animation-delay:.03s}
  .ad-side.open .nitem:nth-child(2){animation-delay:.05s}
  .ad-side.open .nitem:nth-child(3){animation-delay:.07s}
  .ad-side.open .nitem:nth-child(4){animation-delay:.09s}
  .ad-side.open .nitem:nth-child(5){animation-delay:.11s}
  .ad-side.open .nitem:nth-child(6){animation-delay:.13s}
  .ad-side.open .nitem:nth-child(7){animation-delay:.15s}
}
@keyframes navIn{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
.burger:active{transform:scale(.93)}
.ad-bk{display:none;position:fixed;inset:0;background:rgba(4,7,14,.55);backdrop-filter:blur(3px);z-index:98;opacity:0;transition:opacity .25s}
.ad-bk.show{opacity:1}
@media (max-width:980px){
  .burger{display:inline-flex;align-items:center;justify-content:center}
  .ad-bk{display:block;pointer-events:none}
  .ad-bk.show{pointer-events:auto}
  .ad-side{
    position:fixed;top:0;bottom:0;z-index:99;width:min(284px,84vw);
    transition:transform .3s cubic-bezier(.22,1,.36,1);
    border-radius:0;border-bottom:none;
    flex-direction:column;align-items:stretch;gap:0;
    padding:14px 10px;overflow-y:auto;overscroll-behavior:contain;
  }
  /* RTL (عربي): الدروير من اليمين — مخفي لليمين بره الشاشة */
  html[dir="rtl"] .ad-side{right:0;left:auto;border-right:1px solid var(--border);transform:translateX(105%)}
  /* LTR (إنجليزي): الدروير من الشمال — مخفي لليسار بره الشاشة */
  html[dir="ltr"] .ad-side{left:0;right:auto;border-left:1px solid var(--border);transform:translateX(-105%)}
  .ad-side.open{transform:translateX(0)!important;box-shadow:0 18px 55px rgba(0,0,0,.5)}
  .ad-nav{flex:0 0 auto;flex-direction:column;flex-wrap:nowrap;gap:6px;margin:12px 0;overflow-x:visible}
  .nitem{padding:12px 14px;font-size:.9rem}
  .ad-main{margin-inline:0!important}
  .ad-head{
    position:sticky;top:0;z-index:80;margin:0;border-radius:0;
    padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top));
    background:rgba(8,12,22,.9);backdrop-filter:blur(14px);
    border-bottom:1px solid var(--border);
  }
  .ad-head h2{font-size:1rem}
  .head-tip{display:none}
  .ad-content{padding:14px 12px calc(70px + env(safe-area-inset-bottom))}
  /* كروت المستقبل تتكدس عمودي */
  .pend-grid{grid-template-columns:1fr}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-grid{grid-template-columns:1fr 1fr}
  .tbl-w{overflow-x:auto;border-radius:14px}
  .os,.chart-box,.order-box{border-radius:14px}
  /* منع النص لتحديد سريع زي APP */
  .ad-head,.nitem{user-select:none;-webkit-user-select:none}
  .nitem:active{transform:scale(.97)}
  .burger,.nitem{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  /* فورمات تاخد العرض كامل */
  .form-row{grid-template-columns:1fr}
  .form-row>div{min-width:0}
}
@media (max-width:560px){
  .kpi-grid{grid-template-columns:1fr 1fr}
  .quick-grid{grid-template-columns:1fr}
  .ad-head h2{font-size:.95rem}
  .pending-card{padding:14px}
  .kpi h4{font-size:1rem}
  .ad-content{padding:12px 10px calc(74px + env(safe-area-inset-bottom))}
}

/* ==================================================================
   PAY METHODS — وسيلة مش متاحة بالعملة الحالية (ظاهرة لكن باهتة وممنوعة)
   ================================================================== */
.pay-box.off{opacity:.5;filter:saturate(.35) grayscale(.35);cursor:not-allowed;border-style:dashed}
.pay-box.off:hover{border-color:var(--border);transform:none}
.pay-box.off.sel{border-color:var(--border);background:transparent;box-shadow:none}
.pay-box.off:active{transform:none}
@keyframes tuShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-7px)}40%{transform:translateX(7px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}
.pay-box.shake{animation:tuShake .45s ease}
@media (prefers-reduced-motion: reduce){.pay-box.shake{animation:none}}

/* ==================================================================
   PAY MODAL — نافذة الدفع داخل الصفحة (فيزا عبر البوابة الآمنة)
   ================================================================== */
.pm-modal{position:fixed;inset:0;z-index:1200;display:none;background:rgba(3,7,18,.85);backdrop-filter:blur(5px);align-items:center;justify-content:center;padding:16px}
.pm-modal.open{display:flex}
.pm-card{width:min(500px,96vw);height:min(720px,94vh);background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 90px rgba(0,0,0,.6)}
.pm-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#0b1220;color:#fff;font-weight:800;font-size:.92rem;flex:0 0 auto}
.pm-close{background:rgba(255,255,255,.1);border:0;color:#fff;width:32px;height:32px;border-radius:9px;font-size:1rem;cursor:pointer}
.pm-close:active{transform:scale(.94)}
.pm-iframe{flex:1;border:0;width:100%;background:#fff}
.pm-foot{padding:9px 14px;font-size:.78rem;color:var(--dim);text-align:center;border-top:1px solid var(--border);flex:0 0 auto}
body.light .pm-head{background:#fff;color:var(--txt);border-bottom:1px solid var(--border)}
body.light .pm-close{background:var(--bg2);color:var(--txt)}
@media (max-width:560px){
  .pm-modal{padding:0}
  .pm-card{width:100vw;height:100dvh;border-radius:0;border:0}
}

/* ============================================================
   UI PACK v9 — تبويبات الإعدادات + وسائل الشحن + السلايدر + شكل الأندرويد
   ============================================================ */

/* --- الإعدادات: تبويبات فرعية --- */
.set-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 18px; }
.set-tab { border: 1.5px solid var(--border); background: rgba(12, 17, 32, .6); color: var(--dim); padding: 9px 16px; border-radius: 99px; font-family: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; transition: .2s; }
.set-tab:hover { color: #fff; border-color: var(--neon2); }
.set-tab.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(79, 70, 229, .4); }
.set-tab:active { transform: scale(.95); }
body.light .set-tab { background: #f1f5f9; color: #475569; border-color: rgba(15, 23, 42, .08); }
body.light .set-tab:hover { color: var(--neon); border-color: rgba(124, 58, 237, .4); }
body.light .set-tab.on { color: #fff; }
.set-view { animation: tuFadeUp .28s ease; }
@keyframes tuFadeUp { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* --- وسائل الشحن: كروت أثقل وأوضح مع علامة اختيار --- */
.pay-box { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.pay-box .pay-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-size: 1.35rem; border-radius: 13px; background: linear-gradient(145deg, rgba(34, 211, 238, .13), rgba(79, 70, 229, .17)); }
.pay-box.green .pay-ic { background: linear-gradient(145deg, rgba(52, 211, 153, .16), rgba(34, 211, 238, .12)); }
.pay-box .pay-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; text-align: right; }
.pay-box .pay-tx b { font-size: .96rem; }
.pay-box .pay-tx .pay-v { color: var(--dim); font-size: .76rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pay-box .pay-ck { position: relative; margin-inline-start: auto; width: 20px; height: 20px; flex: none; border-radius: 99px; border: 2px solid var(--border); transition: .2s; }
.pay-box.sel { border-color: rgba(34, 211, 238, .8); box-shadow: 0 0 0 3px rgba(34, 211, 238, .13), 0 10px 24px rgba(2, 132, 199, .15); }
.pay-box.green.sel { border-color: rgba(52, 211, 153, .8); box-shadow: 0 0 0 3px rgba(52, 211, 153, .13), 0 10px 24px rgba(5, 150, 105, .18); }
.pay-box.sel .pay-ck { border-color: var(--neon2); background: var(--neon2); }
.pay-box.green.sel .pay-ck { border-color: var(--green); background: var(--green); }
.pay-box.sel .pay-ck::after { content: ''; position: absolute; top: 2px; left: 6px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pay-box.off .pay-ck { opacity: .45; }
body.light .pay-box .pay-ic { background: linear-gradient(145deg, rgba(124, 58, 237, .08), rgba(14, 116, 144, .1)); }
body.light .pay-box .pay-ck { border-color: rgba(15, 23, 42, .15); }
body.light .pay-box.sel { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
body.light .pay-box.sel .pay-ck { border-color: var(--neon); background: var(--neon); }

/* --- السلايدر: أسهم عائمة + نقطة نشطة بمؤشر تقدم + لمعة --- */
.os-slide { overflow: hidden; }
.os-slide::before { content: ''; position: absolute; top: 0; bottom: 0; width: 45%; inset-inline-start: -60%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .16), transparent); transform: skewX(-12deg); z-index: 2; pointer-events: none; animation: osShine 4.5s ease-in-out infinite; }
@keyframes osShine { 0%, 55% { inset-inline-start: -60%; } 85%, 100% { inset-inline-start: 120%; } }
.os-slide:hover .os-go { transform: translateY(-3px) scale(1.05); }
.os-btn { width: 42px; height: 42px; border: 0; background: rgba(2, 6, 23, .5); box-shadow: 0 8px 20px rgba(0, 0, 0, .32); font-size: 1.25rem; }
.os-btn:hover { background: rgba(2, 6, 23, .78); }
body.light .os-btn { background: rgba(255, 255, 255, .72); color: #0f172a; border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 8px 20px rgba(16, 24, 40, .15); }
.os-dots .os-dot.on { width: 30px; box-shadow: 0 4px 14px rgba(79, 70, 229, .45); position: relative; overflow: hidden; }
.os-dots .os-dot.on::after { content: ''; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 100%; background: rgba(255, 255, 255, .5); border-radius: 99px; animation: osProg 3.2s linear forwards; }
@keyframes osProg { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .os-slide::before, .os-dots .os-dot.on::after { animation: none; } }

/* --- APP UI v3: إحساس تطبيق أندرويد أقوى --- */
.hdr { position: sticky; top: 0; z-index: 970; background: rgba(7, 10, 20, .8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(148, 163, 184, .06); }
body.light .hdr { background: rgba(248, 250, 252, .82); box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
@media (max-width: 640px) {
    .bnav { left: 12px; right: 12px; bottom: 10px; border-radius: 24px; border: 1px solid rgba(148, 163, 184, .16); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); padding: 8px 6px max(8px, env(safe-area-inset-bottom)); }
    .bnav a { padding: 9px 2px; border-radius: 16px; }
    .bnav a.on { background: var(--grad); box-shadow: 0 8px 20px rgba(79, 70, 229, .45); }
    body.light .bnav { border-color: rgba(15, 23, 42, .08); box-shadow: 0 16px 40px rgba(16, 24, 40, .18); }
    .wa-fab { bottom: 104px; }
    .sect h2, .offers-head h2 { display: flex; align-items: center; gap: 9px; }
    .sect h2::before, .offers-head h2::before { content: ''; width: 5px; height: 20px; border-radius: 99px; background: var(--grad); flex: none; }
}
.game-card, .pack, .step { border-radius: 20px; }
.btn-main { border-radius: 15px; }
.f-in { border-radius: 14px; }

/* ==================================================================
   UI PACK v12 — هيدر موبايل زي الابليكيشن + منيو جانبي + بحث + أقسام
   + أزرار ثيم/لغة متجهة + كروت ألعاب احترافية + تنظيم ألوان الثيمين
   ================================================================== */

/* ---- الهيدر: زجاج أعمق + حدود ناعمة ---- */
.hdr { backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }

/* زر الهامبرجر (بيقظهر موبايل بس) */
.mbtn {
    display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 13px; border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(148, 163, 184, .1); cursor: pointer; padding: 0; transition: .25s; flex-shrink: 0;
}
.mbtn span { display: block; width: 19px; height: 2.5px; border-radius: 3px; background: var(--txt, #fff); transition: transform .3s cubic-bezier(.22,1.2,.36,1), opacity .25s; }
.mbtn:hover { border-color: var(--neon2); transform: translateY(-1px); }
.mbtn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mbtn.open span:nth-child(2) { opacity: 0; }
.mbtn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 860px) {
    .mbtn { display: flex; }
    .hdr nav { display: none; }
}

/* ---- أزرار ثيم/لغة متجهة (متحركة) ---- */
.theme-btn, .lang-btn {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px; border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(148, 163, 184, .1); color: var(--txt, #fff); text-decoration: none;
    font-weight: 800; font-size: .82rem; transition: transform .3s cubic-bezier(.22,1.2,.36,1), border-color .25s, background .25s, box-shadow .25s;
    flex-shrink: 0;
}
.theme-btn span { display: inline-block; transition: transform .45s cubic-bezier(.22,1.4,.36,1); }
.theme-btn:hover span { transform: rotate(150deg) scale(1.12); }
.theme-btn:active span { transform: rotate(300deg) scale(.9); }
.lang-btn { gap: 4px; }
.lang-btn .lg { font-size: .84rem; }
.lang-btn:hover, .theme-btn:hover {
    border-color: var(--neon2); background: rgba(6, 182, 212, .12);
    transform: translateY(-1px); box-shadow: 0 6px 16px rgba(6, 182, 212, .18);
}
body.light .theme-btn, body.light .lang-btn { border-color: rgba(15, 23, 42, .12); background: rgba(15, 23, 42, .04); color: #0f172a; }

/* ---- قايمة الموبايل الجانبية ---- */
.mnav-back {
    position: fixed; inset: 0; background: rgba(4, 7, 16, .6); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 1200;
}
.mnav-back.open { opacity: 1; pointer-events: auto; }
.mnav {
    position: fixed; top: 0; bottom: 0; inset-inline-end: -330px; width: min(84vw, 320px);
    background: rgba(10, 14, 28, .96); backdrop-filter: blur(24px) saturate(1.5);
    border-inline-start: 1px solid rgba(148, 163, 184, .14);
    box-shadow: -18px 0 50px rgba(0, 0, 0, .5);
    display: flex; flex-direction: column; padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
    transition: inset-inline-end .34s cubic-bezier(.22,1.1,.36,1); z-index: 1201;
}
.mnav.open { inset-inline-end: 0; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(148, 163, 184, .12); }
.mnav-head .logo div small { display: none; }
.mnav-close { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, .2); background: rgba(148, 163, 184, .08); color: var(--txt, #fff); font-size: 1rem; cursor: pointer; transition: .2s; }
.mnav-close:hover { border-color: #f87171; color: #f87171; transform: rotate(90deg); }
.mnav-links { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; }
.mnav-links a {
    display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px;
    color: var(--txt, #e2e8f0); text-decoration: none; font-weight: 800; font-size: .95rem;
    border: 1px solid transparent; transition: .22s;
}
.mnav-links a span { font-size: 1.1rem; width: 24px; text-align: center; }
.mnav-links a:hover { background: rgba(148, 163, 184, .1); border-color: rgba(148, 163, 184, .15); box-shadow: none; transform: none; color: #fff; }
.mnav-auth { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(148, 163, 184, .12); }
.m-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 16px; border-radius: 14px; font-weight: 900; font-size: .92rem; text-decoration: none;
    transition: transform .22s cubic-bezier(.22,1.2,.36,1), box-shadow .22s, background .22s;
}
.m-btn:active { transform: scale(.97); }
.m-btn-main { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 10px 26px rgba(107, 33, 168, .4); }
.m-btn-main:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(107, 33, 168, .5); }
.m-btn-sec { background: rgba(148, 163, 184, .12); color: var(--txt, #e2e8f0); border: 1px solid rgba(148, 163, 184, .22); }
.m-btn-sec:hover { border-color: var(--gold); color: var(--gold); }
.m-btn-g { background: #fff; color: #1f2937; border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.m-btn-g:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.m-btn-out { background: rgba(248, 113, 113, .12); color: #fca5a5; border: 1px solid rgba(248, 113, 113, .25); font-weight: 800; }
.mnav-foot { padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(148, 163, 184, .12); color: var(--dim); }
.mnav-lock { overflow: hidden; }
body.light .mnav { background: rgba(255, 255, 255, .97); border-inline-start-color: rgba(15, 23, 42, .1); box-shadow: -18px 0 50px rgba(15, 23, 42, .16); }
body.light .mnav-close { border-color: rgba(15, 23, 42, .14); color: #0f172a; }
body.light .mnav-links a { color: #0f172a; }
body.light .mnav-links a:hover { background: rgba(15, 23, 42, .05); border-color: rgba(15, 23, 42, .08); color: #0f172a; }
body.light .m-btn-sec { color: #0f172a; }

/* ---- البحث + الأقسام (تشيبس) ---- */
.search-wrap { margin: 18px 0 6px; }
.search {
    display: flex; align-items: center; gap: 10px; padding: 4px 14px;
    border: 1px solid rgba(148, 163, 184, .2); border-radius: 17px;
    background: rgba(148, 163, 184, .08); transition: border-color .25s, box-shadow .25s, background .25s;
}
.search:focus-within {
    border-color: var(--neon2); background: rgba(6, 182, 212, .06);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, .12), 0 12px 30px rgba(6, 182, 212, .1);
}
.search .s-ic { font-size: .95rem; opacity: .7; }
.search input {
    flex: 1; min-width: 0; background: none; border: 0; outline: none;
    color: var(--txt, #fff); font-family: inherit; font-weight: 700; font-size: .95rem; padding: 12px 0;
}
.search input::placeholder { color: var(--dim); font-weight: 700; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.s-go {
    padding: 9px 14px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: .8rem;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 6px 16px rgba(107, 33, 168, .35);
    transition: transform .2s;
}
.s-go:hover { transform: translateY(-1px); }
body.light .search { border-color: rgba(15, 23, 42, .1); background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, .05); }
body.light .search input { color: #0f172a; }
body.light .search:focus-within { border-color: #0891b2; box-shadow: 0 0 0 3px rgba(8, 145, 178, .12); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0; padding: 9px 16px; border-radius: 99px; cursor: pointer; font-family: inherit;
    border: 1px solid rgba(148, 163, 184, .2); background: rgba(148, 163, 184, .08);
    color: var(--dim); font-weight: 800; font-size: .84rem; white-space: nowrap;
    transition: transform .22s cubic-bezier(.22,1.2,.36,1), background .22s, color .22s, border-color .22s, box-shadow .22s;
}
.chip:hover { border-color: var(--neon2); color: var(--neon2); transform: translateY(-1px); }
.chip.on {
    background: linear-gradient(135deg, #22d3ee, #0891b2); color: #04121f; border-color: transparent;
    box-shadow: 0 8px 20px rgba(8, 145, 178, .35); transform: translateY(-1px);
}
body.light .chip { border-color: rgba(15, 23, 42, .1); background: #fff; color: #475569; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); }
body.light .chip:hover { border-color: #0891b2; color: #0891b2; }
body.light .chip.on { background: linear-gradient(135deg, #06b6d4, #0e7490); color: #fff; }

/* ---- كروت الألعاب: برواز احترافي بخط متدرج + صعود عند الهف ---- */
.game-card {
    position: relative; border-radius: 18px; overflow: hidden; text-decoration: none;
    background: linear-gradient(160deg, rgba(148, 163, 184, .09), rgba(148, 163, 184, .04));
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    transition: transform .3s cubic-bezier(.22,1.2,.36,1), border-color .3s, box-shadow .3s;
    isolation: isolate;
}
.game-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
    background: linear-gradient(160deg, rgba(139, 92, 246, .7), rgba(6, 182, 212, .55), rgba(148, 163, 184, .12));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2;
}
.game-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 22px 48px rgba(0, 0, 0, .42), 0 6px 16px rgba(139, 92, 246, .18); }
.game-card:hover::before { opacity: 1; }
.game-card .cnt { padding: 13px 15px 15px; }
.game-card h3 { margin: 0 0 5px; font-size: 1.02rem; font-weight: 900; color: var(--txt, #fff); }
.game-card .go {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; padding: 9px 14px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(6, 182, 212, .16));
    color: #c4b5fd; font-weight: 800; font-size: .82rem;
    transition: gap .25s, background .25s;
}
.game-card:hover .go { gap: 12px; background: linear-gradient(135deg, rgba(139, 92, 246, .4), rgba(6, 182, 212, .3)); }
body.light .game-card {
    background: #fff; border-color: rgba(15, 23, 42, .06);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .07);
}
body.light .game-card h3 { color: #0f172a; }
body.light .game-card:hover { border-color: rgba(139, 92, 246, .3); box-shadow: 0 20px 44px rgba(15, 23, 42, .14), 0 6px 16px rgba(139, 92, 246, .12); }

@media (max-width: 700px) {
    .search-wrap { margin-top: 12px; }
    .s-go { padding: 9px 12px; }
    .game-card:hover { transform: translateY(-2px); }
}
/* ==================================================================
   UI PACK v12.1 — كروت عرض أنظف + تونس الوضع الفاتح احترافي
   ================================================================== */

/* ---- كروت الألعاب: بنية قياسية (بانر + محتوى + زر عريض) ---- */
.game-card { border-radius: 20px; }
.game-banner { height: 116px; font-size: 2.7rem; }
.game-banner::after {
    background: linear-gradient(180deg, rgba(3, 7, 16, .06) 30%, rgba(3, 7, 16, .34));
}
.game-card .cnt { padding: 13px 15px 15px; text-align: center; }
.game-card .cnt h3 { font-size: 1rem; letter-spacing: .2px; }
.game-card .cnt .meta { margin-top: 4px; }
.game-card .go {
    display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px;
    margin-top: 12px; padding: 11px 0; border-radius: 13px; font-size: .84rem;
}
.game-card:hover .go { box-shadow: 0 10px 24px rgba(251, 191, 36, .4); }
@media (max-width: 380px) { .game-banner { height: 96px; font-size: 2.2rem; } }

/* ---- الوضع الفاتح: بالات هادئة موحدة (بنفسجي/تركوازي هادئ) ---- */
body.light {
    --bg: #f7f8fc;
    --bg2: #eef1f8;
    --card: #ffffff;
    --border: rgba(15, 23, 42, .07);
    --txt: #161d2d;
    --dim: #6b7590;
    --neon: #6d28d9;
    --neon2: #0e7490;
    --gold: #b45309;
    --green: #047857;
    --red: #dc2626;
    --grad: linear-gradient(135deg, #6d28d9, #0e7490);
}
body.light {
    background:
        radial-gradient(1200px 720px at 88% -10%, rgba(109, 40, 217, .055), transparent),
        radial-gradient(960px 620px at -12% 34%, rgba(14, 116, 144, .045), transparent),
        var(--bg);
}
/* مكونات إضافية في الفاتح */
body.light .game-card { box-shadow: 0 6px 20px rgba(20, 30, 55, .06), 0 1px 3px rgba(20, 30, 55, .05); }
body.light .game-card::before { background: linear-gradient(160deg, rgba(109, 40, 217, .55), rgba(14, 116, 144, .45), rgba(148, 163, 184, .1)); }
body.light .game-card .go {
    color: #7c2d12;
    background: linear-gradient(135deg, rgba(217, 119, 6, .18), rgba(245, 158, 11, .12));
    border: 1px solid rgba(217, 119, 6, .22);
    box-shadow: none;
}
body.light .game-card .go:hover { box-shadow: 0 10px 22px rgba(217, 119, 6, .18); }
body.light .game-banner { border-bottom: 1px solid rgba(15, 23, 42, .05); }
body.light .game-banner::after { background: linear-gradient(180deg, rgba(255, 255, 255, .05) 30%, rgba(15, 23, 42, .16)); }
body.light .step .n { box-shadow: 0 6px 16px rgba(20, 30, 55, .14); }
body.light .hero .ttl-badge { color: #5b21b6; }
body.light .s-go { background: linear-gradient(135deg, #6d28d9, #0e7490); }
body.light .m-btn-main { background: linear-gradient(135deg, #6d28d9, #4c1d95); }
body.light .mnav-back { background: rgba(15, 23, 42, .32); }
body.light .offer .os-name, body.light .os-name { text-shadow: none; }
body.light .account-w, body.light .acc-hero { box-shadow: 0 6px 22px rgba(20, 30, 55, .07); }
body.light .hdr nav a { color: #475569; }
body.light .hdr nav a.on { color: #fff; background: linear-gradient(135deg, #6d28d9, #0e7490); }
body.light .wa-fab { border-radius: 999px; }
/* ---------- نهاية v12.1 — تم التحديث إلى v15 ---------- */
/* ---- هيدر موبايل مضغوط (بلا التفاف) ---- */
@media (max-width: 860px) {
    .hdr { flex-wrap: nowrap; gap: 7px; }
    .logo small { display: none; }
    .logo b { font-size: .95rem; }
    .logo-img { width: 38px; height: 38px; }
    .theme-btn, .lang-btn, .mbtn { width: 40px; height: 40px; }
    .lang-btn .lg { font-size: .78rem; }
}
/* ---- عنصر نشط في القايمة + زر حجم الجداول (أدمن) ---- */
.mnav-links a.on {
    background: linear-gradient(135deg, rgba(109, 40, 217, .22), rgba(14, 116, 144, .18));
    border-color: rgba(109, 40, 217, .35);
    color: var(--neon);
}
body.light .mnav-links a.on { color: #6d28d9; }

.tbl-toolbar { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.tz-btn {
    padding: 7px 14px; border-radius: 10px; font-family: inherit; font-size: .78rem; font-weight: 800;
    cursor: pointer; border: 1.5px dashed rgba(139, 92, 246, .4);
    background: rgba(139, 92, 246, .08); color: #ddd6fe; transition: .2s;
}
.tz-btn:hover { background: rgba(139, 92, 246, .16); }
body.light .tz-btn { color: #6d28d9; border-color: rgba(109, 40, 217, .4); background: rgba(109, 40, 217, .05); }

.tbl-w table { transition: font-size .15s ease; }
.tbl-w.tz-sm table { font-size: .76rem; min-width: 0; }
.tbl-w.tz-sm th, .tbl-w.tz-sm td { padding: 6px 9px; }
.tbl-w.tz-sm .mini-t, .tbl-w.tz-sm th { font-size: .7rem; }
.tbl-w.tz-lg table { font-size: 1rem; }
.tbl-w.tz-lg th, .tbl-w.tz-lg td { padding: 13px 16px; }
@media (max-width: 640px) {
    .tbl-toolbar { margin-bottom: 8px; }
    .tz-btn { padding: 9px 16px; font-size: .8rem; }
}
/* تحديث v15 — تم إضافة styles جديدة */

/* ===================================================
   تحسينات v15 — Receipt Upload + نسخ الأرقام + Toast +
   Poppo Live Glow + Player IDs Admin Table
   =================================================== */

/* ---- Receipt Upload Zone ---- */
.receipt-upload {
    border: 2px dashed var(--neon2, #7c3aed);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    background: rgba(124,58,237,.06);
    transition: border-color .2s, background .2s;
    margin-bottom: 10px;
}
.receipt-upload:hover { border-color: var(--neon, #a78bfa); background: rgba(124,58,237,.12); }
.receipt-upload #receiptPreview {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: var(--dim, #8899bb); font-size: .85rem;
}

/* ---- Copy Button (Vodafone / InstaPay numbers) ---- */
.copy-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.3);
    color: var(--neon2, #7c3aed); border-radius: 8px;
    padding: 4px 10px; font-size: .8rem; cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}
.copy-btn:hover { background: rgba(124,58,237,.22); }
.copy-btn.copied { background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.4); color: #22c55e; }

/* ---- Pay box improvements: Vodafone/InstaPay number display ---- */
.pay-box .pay-number {
    display: flex; align-items: center; gap: 8px;
    margin-top: 6px; flex-wrap: wrap;
}
.pay-box .pay-number .num {
    font-weight: 900; color: var(--fg, #eef); font-size: 1.1rem; letter-spacing: 1px;
}
.pay-box.sel .pay-number .num { color: #fff; }

/* ---- Admin: Player IDs display in users table ---- */
.player-ids-cell {
    display: flex; flex-wrap: wrap; gap: 4px; max-width: 240px;
}
.player-id-tag {
    background: rgba(124,58,237,.15); color: var(--neon2, #a78bfa);
    border-radius: 6px; padding: 2px 8px; font-size: .75rem; font-weight: 700;
    border: 1px solid rgba(124,58,237,.25); white-space: nowrap;
    cursor: pointer; transition: background .15s;
}
.player-id-tag:hover { background: rgba(124,58,237,.3); }

/* ---- Loyalty Badge (account.php) ---- */
.loyalty-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 20px; font-size: .82rem; font-weight: 800;
    margin-bottom: 10px;
}
.loyalty-badge.bronze { background: linear-gradient(135deg,#cd7f32,#a0522d); color: #fff; }
.loyalty-badge.silver { background: linear-gradient(135deg,#c0c0c0,#808080); color: #fff; }
.loyalty-badge.gold   { background: linear-gradient(135deg,#ffd700,#b8860b); color: #1a1000; }
.loyalty-badge.vip    { background: linear-gradient(135deg,#9333ea,#e11d48); color: #fff;
                        box-shadow: 0 0 14px rgba(147,51,234,.5); }

/* ---- Poppo Live glow card ---- */
.game-card[data-poppo] .game-banner,
.game-card[href*="poppo" i] .game-banner {
    box-shadow: 0 0 18px rgba(225,29,72,.4);
}

/* ---- Receipt Thumbnail in admin orders table ---- */
.rcpt-thumb {
    width: 44px; height: 44px; object-fit: cover;
    border-radius: 8px; cursor: pointer; border: 2px solid rgba(124,58,237,.3);
    transition: transform .2s;
}
.rcpt-thumb:hover { transform: scale(1.08); }

/* ---- Receipt full image modal ---- */
.rcpt-modal-bg {
    display: none; position: fixed; inset: 0; z-index: 9998;
    background: rgba(0,0,0,.85); backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
}
.rcpt-modal-bg.open { display: flex; }
.rcpt-modal-bg img {
    max-width: 90vw; max-height: 88vh; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

/* ---- Saved Player IDs on account.php ---- */
.saved-ids-list {
    display: flex; flex-direction: column; gap: 10px; margin-top: 10px;
}
.saved-id-row {
    display: flex; align-items: center; gap: 10px;
    background: var(--card, rgba(255,255,255,.04)); border-radius: 12px;
    padding: 10px 14px; border: 1px solid rgba(124,58,237,.15);
}
.saved-id-row .game-name { flex: 1; font-weight: 700; font-size: .88rem; }
.saved-id-row .pid-val { color: var(--neon2, #a78bfa); font-weight: 900; font-family: monospace; }
.saved-id-row .rechg-btn {
    background: var(--neon2, #7c3aed); color: #fff;
    border-radius: 8px; padding: 5px 12px; font-size: .78rem; font-weight: 800;
    text-decoration: none; white-space: nowrap; transition: opacity .15s;
}
.saved-id-row .rechg-btn:hover { opacity: .82; }

/* ---- Announcement bar improvement ---- */
.notice-bar {
    background: linear-gradient(90deg,rgba(234,179,8,.18),rgba(124,58,237,.18));
    border: 1px solid rgba(234,179,8,.3);
    border-radius: 12px; padding: 10px 18px;
    font-weight: 700; font-size: .88rem;
    animation: noticePulse 3s ease-in-out infinite;
    margin: 12px 0;
}
@keyframes noticePulse {
    0%,100% { box-shadow: 0 0 0 rgba(234,179,8,0); }
    50% { box-shadow: 0 0 12px rgba(234,179,8,.25); }
}

/* ---- Quick copy in orders table ---- */
.copy-pid-btn {
    background: none; border: none; cursor: pointer;
    color: var(--neon2, #a78bfa); font-size: .8rem; padding: 2px 6px;
    border-radius: 6px; transition: background .15s;
}
.copy-pid-btn:hover { background: rgba(124,58,237,.15); }

/* ---- Light mode overrides for new elements ---- */
body.light .receipt-upload { background: rgba(124,58,237,.04); border-color: #9c6cf0; }
body.light .copy-btn { background: rgba(124,58,237,.08); }
body.light .player-id-tag { background: rgba(124,58,237,.1); }
body.light .saved-id-row { background: rgba(255,255,255,.8); border-color: rgba(124,58,237,.2); }
body.light .notice-bar { background: linear-gradient(90deg,rgba(234,179,8,.1),rgba(124,58,237,.1)); }

/* ==================================================================
   UI PACK v15 — Sky Modern (أزرق سماوي عصري · فاتح)
   + بانر بوبو ليف المميزة + واجهة دفع احترافية (شعارات براندات + ملخص الطلب)
   التحميل بعد كل الستايلات — الأوفرلايدز هنا بتلغي القديم
   ================================================================== */

:root {
    --sky: #0ea5e9;
    --sky2: #38bdf8;
    --ind: #6366f1;
}

/* ---------- سكاي مودرن: لوحة الألوان الفاتحة ---------- */
body.light {
    --bg: #eaf3fc;
    --bg2: #f5fafe;
    --card: #ffffff;
    --border: rgba(11, 58, 110, .10);
    --txt: #0b1a33;
    --tx: #12264a;
    --tx2: #153057;
    --neon: #0ea5e9;
    --neon2: #2563eb;
    --dim: #5b6c85;
    --grad: linear-gradient(135deg, #0ea5e9, #6366f1);
    --shadow: 0 22px 48px rgba(12, 74, 132, .16);
}
body.light {
    background:
        radial-gradient(1100px 640px at 88% -12%, rgba(56, 189, 248, .30), transparent 60%),
        radial-gradient(900px 560px at -12% 6%, rgba(99, 102, 241, .17), transparent 62%),
        linear-gradient(180deg, #f3f9ff 0%, #e9f3fc 30%, #eaf1fa 100%);
    background-attachment: fixed;
}
body.light .hdr { background: rgba(243, 249, 255, .86); box-shadow: 0 1px 0 rgba(11, 58, 110, .07); }
body.light .ttl-badge { color: #0369a1; background: linear-gradient(100deg, rgba(14, 165, 233, .11), rgba(99, 102, 241, .09)); border-color: rgba(14, 165, 233, .28); }
body.light .hero h1 .g { background: linear-gradient(100deg, #0284c7, #6366f1); -webkit-background-clip: text; background-clip: text; }
body.light .hero p { color: #4b647f; }
body.light .step .n { background: var(--grad); box-shadow: 0 8px 18px rgba(14, 165, 233, .35); }
body.light .sect .u { background: var(--grad); box-shadow: 0 0 16px rgba(14, 165, 233, .4); }
body.light .game-card:hover { border-color: rgba(14, 165, 233, .5); box-shadow: 0 24px 50px rgba(12, 74, 132, .16); }
body.light .pack.sel { border-color: #0ea5e9; background: linear-gradient(160deg, rgba(14, 165, 233, .10), #fff); box-shadow: 0 0 26px rgba(14, 165, 233, .18); }
body.light .btn-main { box-shadow: 0 14px 34px rgba(37, 99, 235, .32); }
body.light .pay-box.sel { border-color: rgba(14, 165, 233, .8); background: rgba(14, 165, 233, .06); box-shadow: 0 0 0 3px rgba(14, 165, 233, .14), 0 10px 24px rgba(2, 132, 199, .15); }
body.light .pay-box.sel .pay-ck { border-color: #0ea5e9; background: #0ea5e9; }
body.light .pay-box .pay-ic { background: linear-gradient(145deg, rgba(14, 165, 233, .1), rgba(99, 102, 241, .12)); }
body.light .ccy-btn.on { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .35); }
body.light .chip.on { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff; }
body.light .search:focus-within { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14, 165, 233, .14); }
body.light .m-btn-main { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
body.light .bnav a.on { color: var(--neon2); }
body.light .notice-bar { background: linear-gradient(100deg, rgba(14, 165, 233, .1), rgba(251, 191, 36, .08)); border-color: rgba(14, 165, 233, .25); color: #0369a1; }

/* ---------- بانر العنصر المميز (بوبو ليف) ---------- */
.feat-sect { max-width: 1160px; margin: 16px auto 0; padding: 0 clamp(14px, 4vw, 40px); }
.feat-banner {
    position: relative; display: flex; align-items: center; gap: 18px; isolation: isolate;
    border-radius: 26px; padding: clamp(20px, 3.4vw, 32px) clamp(18px, 3.2vw, 36px);
    min-height: 150px; overflow: hidden; color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 24px 60px rgba(233, 30, 118, .22), 0 10px 30px rgba(88, 28, 135, .2);
    transition: transform .25s;
}
.feat-banner:hover { transform: translateY(-4px); }
.feat-art { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.feat-banner::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(9, 2, 20, .78), rgba(9, 2, 20, .5) 55%, rgba(9, 2, 20, .18));
}
.feat-glow {
    position: absolute; width: 340px; height: 340px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(56, 189, 248, .4), transparent);
    top: -150px; inset-inline-end: -80px; filter: blur(12px); opacity: .85;
    animation: featGlow 5.5s ease-in-out infinite;
}
@keyframes featGlow { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .75; } 50% { transform: translate(-26px, 18px) scale(1.12); opacity: 1; } }
.feat-l { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.feat-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px;
    font-weight: 900; font-size: .8rem; color: #fff;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.feat-l h2 { font-size: clamp(1.35rem, 3.6vw, 2.05rem); font-weight: 900; line-height: 1.45; text-shadow: 0 4px 24px rgba(0, 0, 0, .4); }
.feat-l p { color: rgba(255, 255, 255, .86); font-size: .94rem; font-weight: 700; line-height: 1.8; }
.feat-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 2px; }
.feat-meta span {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 99px;
    font-size: .82rem; font-weight: 800; color: #fff;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
}
.feat-meta b { color: #fde047; }
.feat-cta {
    margin-top: 6px; display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 99px; font-weight: 900; font-size: .95rem; color: #201004;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 12px 30px rgba(245, 158, 11, .42); transition: .22s;
}
.feat-banner:hover .feat-cta { transform: scale(1.06); box-shadow: 0 16px 38px rgba(245, 158, 11, .55); }
.feat-ic {
    position: relative; flex: none; width: 92px; height: 92px; margin-inline-start: auto;
    display: grid; place-items: center; font-size: 3.1rem; border-radius: 26px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
}
@media (max-width: 660px) {
    .feat-ic { display: none; }
    .feat-banner { padding: 18px 16px; }
    .feat-glow { width: 250px; height: 250px; top: -120px; }
}
@media (prefers-reduced-motion: reduce) { .feat-glow { animation: none; } }

/* ---------- شارة «الأكثر طلبًا» على كارت بوبو ---------- */
.game-card.hot { border-color: rgba(225, 29, 72, .4); }
.game-card.hot:hover { border-color: rgba(225, 29, 72, .6); }
.game-card .hot-badge {
    position: absolute; top: 10px; inset-inline-end: 10px; inset-inline-start: auto; z-index: 4;
    padding: 4px 10px; border-radius: 99px; font-size: .68rem; font-weight: 900; color: #fff;
    background: linear-gradient(135deg, #ff0057, #f43f5e);
    box-shadow: 0 8px 20px rgba(225, 29, 72, .4);
}
.game-card.hot .go { background: linear-gradient(135deg, #ff0057, #f43f5e); color: #fff; box-shadow: 0 6px 18px rgba(225, 29, 72, .35); }

/* ---------- واجهة الدفع الاحترافية: شعار الوسيلة + شارة فوري/مراجعة ---------- */
.pay-opts { gap: 10px; }
.pay-box { position: relative; border-radius: 16px; padding: 14px 15px; }
.pay-box .pay-brd {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    padding: 5px 10px; border-radius: 9px; min-height: 24px; max-width: 88px; overflow: hidden;
    font-size: .68rem; font-weight: 900; letter-spacing: .2px; line-height: 1.25;
    color: #fff; text-align: center; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.br-visa { background: linear-gradient(135deg, #1a1f71, #2743a6); }
.br-wallet { background: linear-gradient(135deg, #009c85, #00b386); }
.br-vf { background: linear-gradient(135deg, #e60000, #b00000); }
.br-in { background: linear-gradient(135deg, #7b2ff7, #a855f7); }
.br-pp { background: linear-gradient(135deg, #003087, #009cde); }
.br-bn { background: linear-gradient(135deg, #f0b90b, #d99a00); color: #211a00; }
.br-gen { background: linear-gradient(135deg, #475569, #334155); }
body.light .pay-box .pay-brd { box-shadow: 0 4px 10px rgba(11, 58, 110, .16); }
.pay-flag {
    position: absolute; top: -9px; inset-inline-start: 13px; z-index: 3;
    padding: 3px 11px; border-radius: 99px; font-size: .68rem; font-weight: 900; line-height: 1.5;
    border: 1px solid rgba(255, 255, 255, .4); box-shadow: 0 4px 12px rgba(2, 8, 23, .18);
}
body.light .pay-flag { border-color: #fff; }
.pay-flag.fl-inst { color: #fff; background: linear-gradient(135deg, #16a34a, #059669); }
.pay-flag.fl-review { color: #713f12; background: linear-gradient(135deg, #fde68a, #fcd34d); }
.pay-box.off .pay-flag { opacity: .55; }
.pay-box .pay-tx { flex: 1 1 auto; }
.pay-box .pay-v { text-align: start; direction: inherit; }
@media (max-width: 480px) {
    .pay-box { padding: 12px 12px; gap: 8px !important; }
    .pay-box .pay-ic { width: 36px; height: 36px; font-size: 1.15rem; border-radius: 11px; }
    .pay-box .pay-brd { font-size: .6rem; padding: 4px 8px; max-width: 76px; }
    .pay-flag { font-size: .62rem; }
}

/* ---------- ملخص الطلب الجانبي ---------- */
#orderForm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 960px) { #orderForm { grid-template-columns: minmax(0, 1fr) 300px; } }
.osum {
    position: sticky; top: 86px; margin-top: 30px;
    background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    padding: 18px 16px; box-shadow: var(--shadow);
}
@media (min-width: 960px) { .osum { margin-top: 0; } }
.osum-h { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1rem; }
.osum::before {
    content: ''; display: block; width: 44px; height: 4px; border-radius: 9px;
    background: var(--grad); box-shadow: 0 0 14px rgba(14, 165, 233, .4); margin-bottom: 12px;
}
.osum-rows { margin: 12px 0 4px; display: grid; gap: 10px; }
.osum-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; font-size: .87rem; }
.osum-row span { color: var(--dim); font-weight: 700; flex: none; }
.osum-row b { text-align: end; font-weight: 900; min-width: 0; overflow-wrap: anywhere; }
.osum-row .osum-amt { color: var(--gold); font-size: 1.04rem; }
.osum-div { height: 1px; background: var(--border); margin: 10px 0; }
.osum-total {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 13px 14px; border-radius: 14px; font-weight: 900;
    background: rgba(14, 165, 233, .08); border: 1px dashed rgba(14, 165, 233, .4);
}
.osum-total b { color: var(--neon2); font-size: 1.18rem; }
body:not(.light) .osum-total { background: rgba(14, 165, 233, .12); }
.osum-note { margin-top: 10px; font-size: .78rem; font-weight: 700; color: var(--dim); line-height: 1.8; }
.osum-sec {
    margin-top: 12px; padding: 10px 12px; border-radius: 12px;
    display: flex; gap: 8px; align-items: center;
    background: rgba(16, 163, 74, .07); border: 1px solid rgba(16, 163, 74, .25);
    color: #15803d; font-size: .76rem; font-weight: 800; line-height: 1.7;
}
body:not(.light) .osum-sec { color: #4ade80; }
.osum-mth {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; width: 100%;
    padding: 10px 12px; border-radius: 12px; font-size: .8rem; font-weight: 800;
    background: var(--bg2); border: 1px solid var(--border); color: var(--txt);
}
.osum-mth .osum-mth-ic { font-size: 1rem; }

/* ---------- شريط خطوات الطلب داخل صندوق البيانات ---------- */
.ob-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.ob-steps span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 99px; font-size: .74rem; font-weight: 800;
    background: var(--bg2); border: 1px solid var(--border); color: var(--dim);
}
.ob-steps span.on {
    color: #fff; background: var(--grad); border-color: transparent;
    box-shadow: 0 6px 16px rgba(14, 165, 233, .35);
}
@media (max-width: 560px) { .ob-steps span { font-size: .68rem; padding: 6px 10px; } }

/* ==================================================================
   ENTERPRISE SAAS REDESIGN v16 — واجهة منصة SaaS الاحترافية
   شحن الألعاب وبرامج اللايف + حاسبة كوينات Poppo Live الذكية
   ================================================================== */
#orderForm { display: block !important; }

/* شريط النشاط المباشر العلوي (Live Activity Ticker) */
.saas-live-bar {
    background: linear-gradient(90deg, rgba(124, 58, 237, .12), rgba(6, 182, 212, .10), rgba(236, 72, 153, .12));
    border-bottom: 1px solid var(--border);
    padding: 7px 0;
    font-size: .8rem;
}
.saas-live-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.live-dot-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, .15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, .35);
    padding: 3px 10px;
    border-radius: 99px;
    font-weight: 900;
    font-size: .73rem;
    white-space: nowrap;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .7);
    animation: pulseLive 1.8s infinite;
}
@keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.live-ticker-txt {
    flex: 1;
    color: var(--txt);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity .25s ease;
}
.live-ticker-txt code {
    background: rgba(124, 58, 237, .14);
    color: var(--neon2);
    padding: 1px 6px;
    border-radius: 5px;
    font-family: monospace;
    direction: ltr;
    display: inline-block;
}
.live-rate-badge {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 99px;
    font-size: .74rem;
    font-weight: 800;
    color: var(--dim);
    white-space: nowrap;
}

/* قسم الهيرو الرئيسي بنظام SaaS */
.saas-hero-sect {
    position: relative;
    padding: 26px 0 12px;
    overflow: hidden;
}
.saas-hero-sect::before {
    content: '';
    position: absolute;
    top: -120px;
    inset-inline-start: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, .16), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.saas-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .95fr;
    gap: 24px;
    align-items: center;
}
.saas-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.saas-badge-hot {
    background: linear-gradient(135deg, rgba(244, 63, 94, .18), rgba(217, 70, 239, .18));
    border: 1px solid rgba(244, 63, 94, .4);
    color: #f43f5e;
    font-size: .78rem;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: 99px;
}
body:not(.light) .saas-badge-hot { color: #fda4af; }
.saas-badge-sec {
    background: rgba(16, 185, 129, .13);
    border: 1px solid rgba(16, 185, 129, .35);
    color: #10b981;
    font-size: .78rem;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: 99px;
}
.saas-h1 {
    font-size: clamp(1.65rem, 3.3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.32;
    margin-bottom: 12px;
    color: var(--txt);
}
.saas-h1 .g {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.saas-h1 .g-pink {
    background: linear-gradient(135deg, #ff0057, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.saas-sub {
    color: var(--dim);
    font-size: .98rem;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 600px;
}
.saas-pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}
.saas-pay-badges span {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 5px 11px;
    border-radius: 10px;
    font-size: .76rem;
    font-weight: 800;
    color: var(--txt);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .04);
}
.saas-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.btn-saas-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 14px;
    font-weight: 900;
    font-size: .96rem;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff0057, #9333ea);
    box-shadow: 0 12px 28px rgba(244, 63, 94, .32);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-saas-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(244, 63, 94, .45);
}
.btn-saas-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: .9rem;
    color: var(--txt);
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--border);
    transition: .2s;
}
.btn-saas-outline:hover {
    border-color: var(--neon);
    color: var(--neon);
}

/* ويدجت حاسبة كوينات Poppo Live في الصفحة الرئيسية */
.saas-calc-widget {
    background: var(--card);
    border: 1.5px solid rgba(236, 72, 153, .32);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 22px 50px rgba(124, 58, 237, .16), 0 4px 16px rgba(0, 0, 0, .08);
    position: relative;
    overflow: hidden;
}
.saas-calc-widget::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0057, #a855f7, #06b6d4);
}
.scw-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.scw-ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff0057, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 0, 87, .3);
}
.scw-tag {
    font-size: .73rem;
    font-weight: 900;
    color: #ec4899;
}
.scw-head h3 {
    font-size: 1.05rem;
    font-weight: 900;
    margin: 2px 0 0;
    color: var(--txt);
}
.scw-lbl {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    color: var(--dim);
    margin-bottom: 6px;
}
.scw-inp-row {
    display: flex;
    align-items: center;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 13px;
    padding: 4px 12px;
    transition: border-color .2s;
}
.scw-inp-row:focus-within {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, .15);
}
.scw-inp-row input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--txt);
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 900;
    padding: 6px 4px;
    outline: none;
    direction: ltr;
}
.scw-unit {
    font-size: .82rem;
    font-weight: 900;
    color: #ec4899;
    padding-inline-start: 8px;
}
.calc-slider {
    width: 100%;
    margin: 10px 0 6px;
    accent-color: #ec4899;
    cursor: pointer;
    height: 6px;
}
.scw-presets {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin: 8px 0 14px;
}
.scw-presets button {
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--txt);
    border-radius: 9px;
    padding: 6px 4px;
    font-family: inherit;
    font-size: .74rem;
    font-weight: 800;
    cursor: pointer;
    transition: .18s;
}
.scw-presets button:hover,
.scw-presets button.on {
    background: linear-gradient(135deg, #ff0057, #9333ea);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(236, 72, 153, .3);
}
.scw-result-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(236, 72, 153, .08), rgba(124, 58, 237, .08));
    border: 1px dashed rgba(236, 72, 153, .4);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.scw-res-lbl {
    font-size: .72rem;
    color: var(--dim);
    font-weight: 700;
}
.scw-res-coins {
    font-size: .95rem;
    font-weight: 900;
    color: var(--txt);
    margin-top: 2px;
}
.scw-res-disc {
    margin-top: 4px;
    background: rgba(16, 185, 129, .18);
    color: #10b981;
    font-size: .7rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 99px;
}
.scw-res-price {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ec4899;
    line-height: 1.1;
}
.scw-res-price small {
    font-size: .85rem;
}
.scw-res-alt {
    font-size: .76rem;
    color: var(--dim);
    font-weight: 800;
    margin-top: 3px;
    direction: ltr;
}
.scw-go-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: 4px;
    background: linear-gradient(135deg, #ff0057, #7c3aed) !important;
}

/* شريط إحصائيات المنصة (SaaS Metrics Strip) */
.saas-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}
.sm-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}
.sm-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.sm-item b {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: var(--txt);
}
.sm-item span {
    font-size: .75rem;
    color: var(--dim);
    font-weight: 700;
}

/* شارة الشحن المخصص على كرت اللعبة */
.custom-coin-pill {
    position: absolute;
    bottom: 8px;
    inset-inline-end: 8px;
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(6px);
    color: #f9a8d4;
    border: 1px solid rgba(236, 72, 153, .5);
    padding: 3px 9px;
    border-radius: 99px;
    font-size: .68rem;
    font-weight: 900;
    z-index: 2;
}

/* حاسبة الكوينات داخل صفحة اللعبة (game.php) */
.saas-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.02rem;
    color: var(--txt);
}
.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: #fff;
    font-size: .85rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(124, 58, 237, .35);
}
.poppo-calc-card {
    background: var(--card);
    border: 1.5px solid rgba(236, 72, 153, .38);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 16px 40px rgba(236, 72, 153, .10);
}
.poppo-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--bg2);
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 16px;
}
.poppo-tab {
    border: none;
    background: transparent;
    color: var(--dim);
    font-family: inherit;
    font-size: .86rem;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    transition: .2s;
}
.poppo-tab.on {
    background: linear-gradient(135deg, #ff0057, #7c3aed);
    color: #fff;
    box-shadow: 0 6px 18px rgba(236, 72, 153, .3);
}
.tab-badge {
    font-size: .68rem;
    background: rgba(255, 255, 255, .22);
    padding: 2px 8px;
    border-radius: 99px;
}
.calc-top-row {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 18px;
    align-items: stretch;
}
.calc-inp-group {
    display: flex;
    align-items: center;
    background: var(--bg2);
    border: 2px solid rgba(236, 72, 153, .45);
    border-radius: 14px;
    padding: 6px 14px;
    margin-top: 6px;
}
.calc-inp-group:focus-within {
    border-color: #ff0057;
    box-shadow: 0 0 0 4px rgba(255, 0, 87, .14);
}
.calc-ic {
    font-size: 1.4rem;
    margin-inline-end: 8px;
}
.calc-inp-group input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--txt);
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 900;
    outline: none;
    direction: ltr;
}
.calc-unit {
    font-size: .88rem;
    font-weight: 900;
    color: #ec4899;
}
.calc-live-box {
    background: linear-gradient(145deg, rgba(255, 0, 87, .09), rgba(124, 58, 237, .11));
    border: 1.5px dashed rgba(236, 72, 153, .45);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.calc-live-lbl {
    font-size: .75rem;
    color: var(--dim);
    font-weight: 800;
}
.calc-live-coins {
    font-size: .92rem;
    font-weight: 900;
    color: var(--txt);
    margin: 4px 0;
}
.calc-live-price {
    font-size: 1.9rem;
    font-weight: 900;
    color: #ec4899;
    line-height: 1.1;
}
.calc-live-price small {
    font-size: .95rem;
}
.calc-live-alt {
    font-size: .8rem;
    font-weight: 800;
    color: var(--neon2);
    margin-top: 4px;
    direction: ltr;
}
.calc-disc-pill {
    margin-top: 6px;
    background: rgba(16, 185, 129, .18);
    border: 1px solid rgba(16, 185, 129, .4);
    color: #10b981;
    font-size: .72rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 99px;
}
.calc-rate-note {
    margin-top: 6px;
    font-size: .72rem;
    color: var(--dim);
}
.calc-presets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 8px;
}
.preset-chip {
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--txt);
    border-radius: 11px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    transition: .18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.preset-chip em {
    font-style: normal;
    font-size: .68rem;
    background: rgba(16, 185, 129, .18);
    color: #10b981;
    padding: 1px 6px;
    border-radius: 99px;
}
.preset-chip:hover,
.preset-chip.on {
    background: linear-gradient(135deg, #ff0057, #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(236, 72, 153, .28);
}
.preset-chip.on em {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

/* شريط ملخص الطلب قبل زر التأكيد */
.order-summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .10), rgba(6, 182, 212, .10));
    border: 1.5px solid rgba(124, 58, 237, .35);
    border-radius: 14px;
    padding: 12px 16px;
    margin: 14px 0;
}
.os-label {
    display: block;
    font-size: .74rem;
    color: var(--dim);
    font-weight: 700;
}
.os-item {
    font-size: .95rem;
    font-weight: 900;
    color: var(--txt);
}
.os-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--gold);
}

/* قسم الأسئلة الشائعة (SaaS FAQ) */
.saas-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 14px 16px;
    transition: border-color .2s;
}
.faq-item[open] {
    border-color: var(--neon);
}
.faq-item summary {
    font-weight: 900;
    font-size: .92rem;
    color: var(--txt);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '＋';
    font-size: 1rem;
    color: var(--neon2);
    font-weight: 900;
}
.faq-item[open] summary::after {
    content: '－';
}
.faq-item p {
    margin-top: 10px;
    font-size: .84rem;
    color: var(--dim);
    line-height: 1.75;
}

/* استجابة الموبايل والتابلت الكاملة (Responsive Mobile & Desktop) */
@media (max-width: 920px) {
    .saas-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .saas-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-top-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .saas-live-bar .live-rate-badge { display: none; }
    .saas-metrics-bar {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }
    .sm-item {
        padding: 10px 11px;
        gap: 8px;
    }
    .sm-ic {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .sm-item b { font-size: .86rem; }
    .sm-item span { font-size: .68rem; }
    .scw-presets {
        grid-template-columns: repeat(3, 1fr);
    }
    .poppo-mode-tabs {
        grid-template-columns: 1fr;
    }
    .btn-saas-primary, .btn-saas-outline {
        width: 100%;
    }
    .hdr-ccy-pills .ccy-btn {
        padding: 3px 6px !important;
        font-size: .68rem !important;
    }
}

/* ==================================================================
   CYBER-LIVE & PRO GAMING THEME v20 — ثيم نيون احترافي لبرامج اللايف والألعاب
   (مستوحى من منصات Midasbuy & Poppo VIP & Razer Gold)
   ================================================================== */
:root,
body:not(.light) {
    --bg: #04060e;
    --bg2: #0a0f22;
    --card: rgba(13, 18, 38, 0.88);
    --border: rgba(236, 72, 153, 0.22);
    --txt: #f8fafc;
    --dim: #94a3b8;
    --neon: #ff0057;
    --neon2: #00f2fe;
    --gold: #fbbf24;
    --green: #10b981;
    --red: #f43f5e;
    --grad: linear-gradient(135deg, #ff0057 0%, #9333ea 52%, #00f2fe 100%);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 0, 87, 0.10);
}

body:not(.light) {
    background-color: #04060e !important;
    background-image:
        radial-gradient(circle at 12% 8%, rgba(255, 0, 87, 0.20) 0%, transparent 38%),
        radial-gradient(circle at 88% 14%, rgba(147, 51, 234, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 50% 60%, rgba(0, 242, 254, 0.10) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 38px 38px, 38px 38px !important;
    background-attachment: fixed !important;
    color: var(--txt) !important;
}

/* هيدر زجاجي نيون احترافي */
body:not(.light) .hdr {
    background: rgba(6, 9, 21, 0.86) !important;
    backdrop-filter: blur(22px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 0, 87, 0.28) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(0, 242, 254, 0.15) !important;
}
body:not(.light) .hdr nav a {
    color: #cbd5e1;
    border-radius: 11px;
    transition: all .22s ease;
}
body:not(.light) .hdr nav a:hover,
body:not(.light) .hdr nav a.on {
    background: linear-gradient(135deg, rgba(255, 0, 87, 0.22), rgba(147, 51, 234, 0.25)) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 0, 87, 0.45);
    box-shadow: 0 0 18px rgba(255, 0, 87, 0.28);
}

/* شريط النشاط المباشر بتصميم نيون حيوي */
body:not(.light) .saas-live-bar {
    background: linear-gradient(90deg, rgba(255, 0, 87, 0.16), rgba(147, 51, 234, 0.18), rgba(0, 242, 254, 0.14)) !important;
    border-bottom: 1px solid rgba(255, 0, 87, 0.25) !important;
}

/* بطاقة الحاسبة في الهيرو بتوهج نيون لبرامج اللايف */
body:not(.light) .saas-calc-widget {
    background: linear-gradient(160deg, rgba(16, 22, 48, 0.95), rgba(9, 13, 28, 0.96)) !important;
    border: 1.5px solid rgba(255, 0, 87, 0.45) !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 0, 87, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* شريط الإحصائيات الزجاجي */
body:not(.light) .sm-item {
    background: rgba(13, 18, 38, 0.85) !important;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(147, 51, 234, 0.28) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    transition: transform .25s ease, border-color .25s ease;
}
body:not(.light) .sm-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 0, 87, 0.55) !important;
    box-shadow: 0 18px 40px rgba(255, 0, 87, 0.18);
}

/* شارة تصنيف الكرت (لايف / ألعاب) */
.cat-type-pill {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: .68rem;
    font-weight: 900;
    backdrop-filter: blur(8px);
    letter-spacing: .2px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.cat-type-pill.live-app {
    background: linear-gradient(135deg, rgba(255, 0, 87, 0.92), rgba(217, 70, 239, 0.92));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.cat-type-pill.pro-game {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(6, 182, 212, 0.92));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* كروت الألعاب وبرامج اللايف الاحترافية */
body:not(.light) .game-card {
    background: linear-gradient(180deg, rgba(16, 23, 46, 0.92), rgba(9, 13, 28, 0.96)) !important;
    border: 1.5px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    overflow: hidden;
}
body:not(.light) .game-card:hover {
    border-color: #ff0057 !important;
    box-shadow: 0 24px 55px rgba(255, 0, 87, 0.28), 0 0 30px rgba(147, 51, 234, 0.25) !important;
}
body:not(.light) .game-card.hot {
    border: 2px solid rgba(255, 0, 87, 0.65) !important;
    box-shadow: 0 18px 48px rgba(255, 0, 87, 0.24), 0 0 25px rgba(255, 0, 87, 0.18) !important;
}
body:not(.light) .game-card .go {
    background: linear-gradient(135deg, #ff0057, #9333ea) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 22px rgba(255, 0, 87, 0.32) !important;
    font-weight: 900 !important;
}
body:not(.light) .game-card:hover .go {
    background: linear-gradient(135deg, #ff1e6d, #00f2fe) !important;
    box-shadow: 0 10px 28px rgba(0, 242, 254, 0.4) !important;
}

/* فلاتر الأقسام والبحث بتصميم نيون */
body:not(.light) .search {
    background: rgba(13, 18, 38, 0.9) !important;
    border: 1.5px solid rgba(147, 51, 234, 0.35) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}
body:not(.light) .search:focus-within {
    border-color: #ff0057 !important;
    box-shadow: 0 0 0 4px rgba(255, 0, 87, 0.18), 0 12px 32px rgba(0, 0, 0, 0.55) !important;
}
body:not(.light) .chip {
    background: rgba(13, 18, 38, 0.85) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    color: #cbd5e1 !important;
}
body:not(.light) .chip.on,
body:not(.light) .chip:hover {
    background: linear-gradient(135deg, #ff0057, #9333ea) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(255, 0, 87, 0.35) !important;
}

/* باقات الشحن وصندوق الطلب في صفحة اللعبة (game.php) */
body:not(.light) .pack {
    background: linear-gradient(165deg, rgba(17, 24, 50, 0.92), rgba(10, 14, 30, 0.95)) !important;
    border: 1.5px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}
body:not(.light) .pack:hover {
    border-color: rgba(255, 0, 87, 0.55) !important;
    box-shadow: 0 16px 38px rgba(255, 0, 87, 0.22) !important;
}
body:not(.light) .pack.sel {
    background: linear-gradient(165deg, rgba(255, 0, 87, 0.18), rgba(147, 51, 234, 0.20)) !important;
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 18px 45px rgba(251, 191, 36, 0.28), 0 0 22px rgba(255, 0, 87, 0.25) !important;
}
body:not(.light) .order-box,
body:not(.light) .poppo-calc-card {
    background: linear-gradient(165deg, rgba(14, 20, 42, 0.94), rgba(8, 12, 26, 0.96)) !important;
    backdrop-filter: blur(18px);
    border: 1.5px solid rgba(236, 72, 153, 0.32) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(147, 51, 234, 0.12) !important;
}
body:not(.light) .pay-box {
    background: rgba(9, 14, 30, 0.88) !important;
    border: 1.5px solid rgba(148, 163, 184, 0.18) !important;
}
body:not(.light) .pay-box.sel {
    background: linear-gradient(135deg, rgba(255, 0, 87, 0.14), rgba(147, 51, 234, 0.16)) !important;
    border-color: #00f2fe !important;
    box-shadow: 0 10px 28px rgba(0, 242, 254, 0.22) !important;
}
body:not(.light) .btn-main {
    background: linear-gradient(135deg, #ff0057 0%, #9333ea 55%, #2563eb 100%) !important;
    box-shadow: 0 14px 34px rgba(255, 0, 87, 0.38) !important;
}
body:not(.light) .btn-main:hover {
    box-shadow: 0 18px 42px rgba(255, 0, 87, 0.52), 0 0 20px rgba(0, 242, 254, 0.3) !important;
}
body:not(.light) .bnav {
    background: rgba(6, 9, 21, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 0, 87, 0.28) !important;
}

/* ==========================================================================
   ENTERPRISE CORPORATE GAMING & LIVE TOP-UP SUITE (v25)
   ========================================================================== */

/* شارة وسيلة الدفع الاحترافية */
.corp-pay-badge {
    font-size: 0.68rem;
    font-weight: 900;
    padding: 2px 9px;
    border-radius: 99px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    white-space: nowrap;
}

.corp-pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 11px;
}

.corp-pay-card {
    border-radius: 16px !important;
    padding: 13px 15px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.corp-pay-card:hover {
    transform: translateY(-2px);
}

/* مركز الدفع الذكي التفاعلي في صفحة الشحن */
.smart-pay-hub {
    background: linear-gradient(145deg, rgba(13, 20, 44, 0.92), rgba(7, 11, 26, 0.96));
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 18px;
    padding: 16px 18px;
    margin: 16px 0;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.light .smart-pay-hub {
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* منظومة بوابات الدفع في الصفحة الرئيسية (Corporate Payment Showcase) */
.corp-pay-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 36px;
}
.cps-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
body:not(.light) .cps-card {
    background: linear-gradient(165deg, rgba(16, 23, 48, 0.9), rgba(9, 13, 28, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.cps-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.55) !important;
    box-shadow: 0 20px 44px rgba(56, 189, 248, 0.18) !important;
}
.cps-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cps-ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}
.cps-tag {
    font-size: 0.7rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 99px;
}
.cps-card h3 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--txt);
}
.cps-card p {
    font-size: 0.8rem;
    color: var(--dim);
    line-height: 1.65;
}

/* آراء وتقييمات العملاء الموثقة (Corporate Reviews) */
.corp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 14px;
    margin-bottom: 36px;
}
.cr-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
}
body:not(.light) .cr-card {
    background: linear-gradient(165deg, rgba(15, 22, 44, 0.9), rgba(9, 13, 28, 0.95));
    border: 1px solid rgba(236, 72, 153, 0.22);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.cr-stars {
    color: #fbbf24;
    font-size: 0.88rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.cr-txt {
    font-size: 0.84rem;
    color: var(--txt);
    line-height: 1.75;
    margin-bottom: 12px;
}
.cr-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--dim);
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding-top: 10px;
}

/* الفوتر المؤسسي الاحترافي للشركات الكبرى (Corporate Multi-Column Footer) */
.corp-footer {
    background: linear-gradient(180deg, rgba(8, 12, 26, 0.96), #04060d);
    border-top: 1.5px solid rgba(255, 0, 87, 0.26);
    padding: 42px 0 90px;
    margin-top: 44px;
    color: #94a3b8;
}
body.light .corp-footer {
    background: #0f172a;
    color: #94a3b8;
}
.cf-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.cf-col h4 {
    color: #f8fafc;
    font-size: 0.96rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.cf-links {
    list-style: none;
    display: grid;
    gap: 8px;
}
.cf-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    transition: color 0.2s;
}
.cf-links a:hover {
    color: #00f2fe;
}
.cf-pay-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.cf-pay-pills span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
}
.cf-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
}
@media (max-width: 860px) {
    .cf-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 540px) {
    .cf-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NATIVE ANDROID APP EXPERIENCE & MATERIAL 3 MOBILE SHELL (v45)
   إصلاح شامل ودقيق لتنسيق وتنظيم الموبايل ومنع أي تمدد أفقي أو تداخل
   ========================================================================== */

html {
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y pinch-zoom !important;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    max-width: 100%;
    width: 100%;
    overflow-x: clip !important;
    overflow-y: visible !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y pinch-zoom !important;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 860px) {
    body, body:not(.light), body.light {
        background-attachment: scroll !important;
    }
    .game-card, .pack, .os-wrap, .step {
        perspective: none !important;
        transform-style: flat !important;
        will-change: auto !important;
    }
}

.saas-hero-grid > *,
.games-grid > *,
.packs-grid > *,
.corp-pay-grid > *,
.corp-pay-showcase > *,
.corp-reviews-grid > *,
.saas-faq-grid > *,
.calc-top-row > *,
.saas-metrics-bar > * {
    min-width: 0;
}

.android-mobile-shell {
    display: none;
}

/* شريط تثبيت تطبيق الأندرويد + أيقونات الوصول السريع (Android Quick-Launch Dock) */
.android-app-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(37, 99, 235, 0.22));
    border: 1px solid rgba(16, 185, 129, 0.42);
    border-radius: 16px;
    padding: 9px 12px;
    margin-bottom: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.aab-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex: 1;
}
.aab-ic {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.aab-left b {
    display: block;
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--txt);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aab-left span {
    display: block;
    font-size: 0.68rem;
    color: var(--dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aab-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 99px;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

/* شريط أيقونات التطبيقات على غرار أندرويد وجوجل بلاي */
.android-quick-dock {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.android-quick-dock::-webkit-scrollbar {
    display: none;
}
.aqd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    min-width: 62px;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}
.aqd-item:active {
    transform: scale(0.92);
}
.aqd-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.38);
}
.aqd-item.hot .aqd-icon {
    border: 2.5px solid #ff0057;
    box-shadow: 0 0 16px rgba(255, 0, 87, 0.45);
}
.aqd-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aqd-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #ff0057, #9333ea);
    color: #fff;
    font-style: normal;
    font-size: 0.54rem;
    font-weight: 900;
    text-align: center;
    padding: 1px 0;
}
.aqd-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--txt);
    text-align: center;
    white-space: nowrap;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* شريط التنقل السفلي الاحترافي بنظام أندرويد الحديث (5-Tab Android Bottom Dock) */
.android-bnav {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 64px !important;
    padding: 0 6px env(safe-area-inset-bottom, 0px) !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.65) !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 990 !important;
}
.android-bnav a {
    position: relative;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 2px !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    gap: 2px !important;
    color: var(--dim) !important;
    transition: transform 0.15s ease, color 0.15s ease;
}
.android-bnav a .bi {
    font-size: 1.18rem !important;
    line-height: 1 !important;
}
.android-bnav a:active {
    transform: scale(0.92);
}
.android-bnav a.on {
    color: #00f2fe !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.light .android-bnav a.on {
    color: #2563eb !important;
}
.android-bnav a.on::before {
    content: '';
    position: absolute;
    top: 2px;
    width: 24px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, #ff0057, #00f2fe);
}
.android-bnav a.bnav-center-fab {
    position: relative;
    top: -10px;
    color: #f8fafc !important;
}
body.light .android-bnav a.bnav-center-fab {
    color: #0f172a !important;
}
.android-bnav a.bnav-center-fab::before {
    display: none !important;
}
.android-bnav .bi-fab {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff0057, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 18px rgba(255, 0, 87, 0.5), 0 0 0 3px rgba(6, 9, 21, 0.95);
    margin-bottom: 1px;
}
body.light .android-bnav .bi-fab {
    box-shadow: 0 6px 18px rgba(255, 0, 87, 0.4), 0 0 0 3px #ffffff;
}

/* ==========================================================================
   تنظيم الهيدر وشريط الموبايل السفلي للشاشات المتوسطة والموبايل (<= 860px)
   ========================================================================== */
@media (max-width: 860px) {
    body {
        padding-bottom: 84px !important;
    }
    .hdr {
        height: 56px !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        border-radius: 0 0 16px 16px;
    }
    .hdr nav {
        display: none !important;
    }
    .hdr .logo {
        min-width: 0 !important;
        flex-shrink: 1 !important;
        gap: 7px !important;
        overflow: hidden;
    }
    .hdr .logo-ic,
    .hdr .logo-img {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        font-size: 1.05rem !important;
        flex-shrink: 0 !important;
    }
    .hdr .logo b {
        font-size: 0.88rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 118px;
        display: block;
    }
    .hdr .logo small {
        display: none !important;
    }
    .hdr-ccy-pills {
        gap: 3px !important;
        flex-shrink: 0 !important;
    }
    .hdr-ccy-pills .ccy-btn {
        padding: 4px 7px !important;
        font-size: 0.68rem !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
    .hdr .lang-btn {
        display: none !important;
    }
    .hdr .theme-btn,
    .hdr .mbtn {
        width: 35px !important;
        height: 35px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }
    .hdr .mbtn {
        display: flex !important;
    }
    .bnav.android-bnav {
        display: flex !important;
    }
}

/* ==========================================================================
   واجهة تطبيق الأندرويد الكاملة على شاشات الهواتف (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .wrap {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 12px !important;
        padding-bottom: 24px !important;
    }

    /* 1. شريط النشاط المباشر وسعر جوجل في سطر واحد أنيق */
    .saas-live-bar {
        padding: 5px 0 !important;
        overflow: hidden !important;
    }
    .saas-live-inner {
        padding: 0 12px !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }
    .saas-live-bar .live-dot-badge {
        display: none !important;
    }
    .saas-live-bar .live-ticker-txt {
        font-size: 0.72rem !important;
        min-width: 0 !important;
        flex: 1 !important;
    }
    .saas-live-bar .live-rate-badge {
        display: inline-flex !important;
        align-items: center;
        gap: 3px;
        font-size: 0.66rem !important;
        padding: 2px 7px !important;
        flex-shrink: 0 !important;
    }

    /* 2. شريط أيقونات الأندرويد وتثبيت التطبيق */
    .android-mobile-shell {
        display: block !important;
        padding-top: 8px !important;
    }
    .android-mobile-shell .wrap {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .install-btn {
        display: none !important;
    }

    /* 3. الهيرو وبطاقة بوبو لايف المنسقة بدون حشو طويل */
    .saas-hero-sect {
        padding: 6px 0 4px !important;
    }
    .saas-hero-sect > .wrap {
        padding-top: 2px !important;
        padding-bottom: 4px !important;
    }
    .saas-hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }
    .saas-pill-row {
        margin-bottom: 6px !important;
        gap: 6px !important;
    }
    .saas-badge-hot,
    .saas-badge-sec {
        font-size: 0.68rem !important;
        padding: 3px 9px !important;
    }
    .saas-h1 {
        font-size: 1.18rem !important;
        line-height: 1.35 !important;
        margin-bottom: 2px !important;
    }
    .saas-sub,
    .saas-pay-badges,
    .saas-hero-actions {
        display: none !important;
    }

    /* بطاقة عرض Poppo Live الرئيسية */
    .saas-calc-widget {
        padding: 13px !important;
        border-radius: 18px !important;
    }
    .scw-head {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }
    .scw-ic {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.3rem !important;
        border-radius: 12px !important;
    }
    .scw-tag {
        font-size: 0.68rem !important;
    }
    .scw-head h3 {
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
    }
    .scw-result-box {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        margin-bottom: 10px !important;
    }
    .scw-result-box > div {
        text-align: center !important;
    }
    .scw-res-coins {
        font-size: 0.9rem !important;
    }
    .scw-res-price {
        font-size: 1.3rem !important;
    }
    .scw-go-btn {
        padding: 11px 14px !important;
        font-size: 0.86rem !important;
        border-radius: 12px !important;
    }

    /* شريط الإحصائيات 2x2 متناسق */
    .saas-metrics-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }
    .sm-item {
        padding: 9px 10px !important;
        gap: 8px !important;
        border-radius: 13px !important;
    }
    .sm-ic {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        border-radius: 9px !important;
    }
    .sm-item b {
        font-size: 0.82rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sm-item span {
        font-size: 0.65rem !important;
        line-height: 1.25 !important;
        display: block;
    }

    /* 4. شريط البحث والفلاتر */
    .search-wrap {
        margin: 8px 0 4px !important;
    }
    .search {
        padding: 3px 10px !important;
        border-radius: 14px !important;
    }
    .search input {
        font-size: 0.84rem !important;
        padding: 9px 0 !important;
    }
    .chips {
        padding: 8px 2px 4px !important;
        gap: 6px !important;
    }
    .chip {
        padding: 7px 12px !important;
        font-size: 0.76rem !important;
    }

    /* 5. عناوين الأقسام وكروت الألعاب (شبكة 2 عمود متساوية الارتفاع بدون تداخل) */
    .sect {
        margin: 18px 0 10px !important;
    }
    .sect h2 {
        font-size: 1.05rem !important;
    }
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
    .game-card {
        display: flex !important;
        flex-direction: column !important;
        border-radius: 16px !important;
        height: 100% !important;
        transform: none !important;
    }
    .game-banner {
        height: 100px !important;
        min-height: 100px !important;
        font-size: 2.25rem !important;
    }
    .cat-type-pill {
        top: 6px !important;
        inset-inline-start: 6px !important;
        padding: 2px 7px !important;
        font-size: 0.56rem !important;
    }
    .game-card .hot-badge {
        top: 6px !important;
        inset-inline-end: 6px !important;
        inset-inline-start: auto !important;
        padding: 2px 7px !important;
        font-size: 0.56rem !important;
    }
    .custom-coin-pill {
        bottom: 5px !important;
        inset-inline-end: 6px !important;
        padding: 2px 6px !important;
        font-size: 0.54rem !important;
    }
    .game-card .cnt {
        padding: 10px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        text-align: center !important;
    }
    .game-card h3 {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin: 0 0 4px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .game-card .meta {
        font-size: 0.68rem !important;
        line-height: 1.35 !important;
        margin: 2px 0 8px !important;
    }
    .game-card .go {
        margin-top: auto !important;
        padding: 8px 6px !important;
        font-size: 0.73rem !important;
        border-radius: 10px !important;
        width: 100% !important;
    }

    /* 6. الأقسام السفلية في الصفحة الرئيسية */
    .corp-pay-showcase {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    .cps-card {
        padding: 14px !important;
        border-radius: 16px !important;
    }
    .cps-ic {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.2rem !important;
    }
    .cps-card h3 {
        font-size: 0.9rem !important;
    }
    .cps-card p {
        font-size: 0.76rem !important;
    }
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 8px !important;
        margin-bottom: 20px !important;
    }
    .step {
        padding: 12px 10px !important;
        border-radius: 14px !important;
    }
    .step .n {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }
    .step b {
        font-size: 0.82rem !important;
    }
    .step span {
        font-size: 0.7rem !important;
        line-height: 1.45 !important;
    }
    .corp-reviews-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    .cr-card {
        padding: 14px !important;
        border-radius: 16px !important;
    }
    .cr-txt {
        font-size: 0.78rem !important;
    }
    .saas-faq-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }
    .faq-item {
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }
    .faq-item summary {
        font-size: 0.82rem !important;
    }
    .faq-item p {
        font-size: 0.76rem !important;
    }
    .corp-footer {
        padding: 24px 0 92px !important;
        margin-top: 20px !important;
    }
    .cf-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
    }

    /* 7. صفحة الشراء وحاسبة الكوينات (game.php) على الموبايل */
    .game-hero {
        padding: 18px 12px !important;
        border-radius: 18px !important;
        margin-bottom: 12px !important;
    }
    .game-hero h1 {
        font-size: 1.3rem !important;
        margin-top: 4px !important;
    }
    .saas-step-head {
        font-size: 0.9rem !important;
        gap: 8px !important;
    }
    .ccy-switch {
        width: 100%;
        justify-content: space-between;
    }
    .poppo-calc-card {
        padding: 12px !important;
        border-radius: 16px !important;
        margin-bottom: 14px !important;
    }
    .poppo-mode-tabs {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        padding: 5px !important;
        margin-bottom: 12px !important;
    }
    .poppo-tab {
        padding: 8px 6px !important;
        font-size: 0.74rem !important;
        gap: 4px !important;
    }
    .tab-badge {
        font-size: 0.6rem !important;
        padding: 1px 6px !important;
    }
    .calc-top-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }
    .calc-inp-group {
        padding: 4px 10px !important;
    }
    .calc-inp-group input {
        font-size: 1.15rem !important;
        min-width: 0 !important;
    }
    .calc-live-box {
        padding: 12px !important;
    }
    .calc-live-price {
        font-size: 1.55rem !important;
    }
    .calc-presets {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
    .preset-chip {
        flex-direction: column !important;
        gap: 2px !important;
        padding: 7px 4px !important;
        font-size: 0.72rem !important;
        border-radius: 10px !important;
    }
    .packs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        margin-top: 10px !important;
    }
    .pack {
        padding: 12px 8px !important;
        border-radius: 14px !important;
    }
    .pack .nm {
        font-size: 0.84rem !important;
    }
    .pack .pr {
        font-size: 1.05rem !important;
    }
    .order-box {
        padding: 14px 12px !important;
        border-radius: 18px !important;
        margin-top: 16px !important;
    }
    .corp-pay-grid,
    .pay-opts {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }
    .corp-pay-card,
    .pay-box {
        padding: 11px 12px !important;
        gap: 10px !important;
    }
    .smart-pay-hub {
        padding: 12px !important;
        border-radius: 14px !important;
        margin: 12px 0 !important;
    }
    .android-sticky-checkout {
        position: static !important;
        background: rgba(8, 12, 26, 0.96);
        border: 1.5px solid rgba(255, 0, 87, 0.42);
        border-radius: 16px;
        padding: 12px;
        margin-top: 14px;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    }
    body.light .android-sticky-checkout {
        background: #ffffff;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    }
    .android-sticky-checkout .order-summary-bar {
        margin: 0 0 10px 0 !important;
        padding: 10px 12px !important;
    }
    .android-sticky-checkout #subBtn {
        margin-top: 0 !important;
        padding: 13px !important;
        border-radius: 13px !important;
        font-size: 1rem !important;
    }
    .wa-fab {
        bottom: 76px !important;
        inset-inline-start: 14px !important;
        width: 46px !important;
        height: 46px !important;
        font-size: 1.4rem !important;
    }
}

/* BRAND_BADGE_SYSTEM_V2 — هوية وتصميم اللوجو والبراند الاحترافي */
.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(14,165,233,0.18));
    border: 1px solid rgba(167,139,250,0.35);
    box-shadow: 0 4px 18px rgba(124,58,237,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    transition: box-shadow .25s ease, transform .2s ease;
}
.logo:hover .brand-badge {
    box-shadow: 0 6px 24px rgba(124,58,237,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
    transform: scale(1.03);
}
.brand-badge .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}
.brand-badge.fallback {
    background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%);
}
.brand-gem-ic {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
    line-height: 1;
}
.brand-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.brand-title {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 85%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(124,58,237,0.25);
}
body.light .brand-title {
    background: linear-gradient(135deg, #1e1b4b 30%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-sub {
    font-size: 0.68rem;
    color: var(--dim, #94a3b8);
    font-weight: 700;
    white-space: nowrap;
    margin-top: 1px;
    display: block;
}
@media(max-width: 480px) {
    .brand-badge {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }
    .brand-gem-ic {
        font-size: 1.2rem;
    }
    .brand-title {
        font-size: 0.98rem;
        max-width: 165px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand-sub {
        font-size: 0.62rem;
        max-width: 165px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* ==========================================================================
   إشعار الشحن الفوري الحي (Live Social Proof Toast)
   ========================================================================== */
.live-recharge-toast {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 24px;
    z-index: 999;
    max-width: 360px;
    background: rgba(13, 17, 34, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 15px rgba(124, 58, 237, 0.2);
    transform: translateY(120px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    text-align: right;
}
.live-recharge-toast.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 640px) {
    .live-recharge-toast {
        bottom: 82px;
        inset-inline-start: 12px;
        inset-inline-end: 12px;
        max-width: none;
        padding: 10px 12px;
    }
}
.lrt-dot {
    position: absolute;
    top: -4px;
    inset-inline-end: 14px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: lrtPulse 1.6s infinite;
}
@keyframes lrtPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}
.lrt-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(14, 165, 233, 0.2));
    border: 1px solid rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.lrt-content {
    flex: 1;
    min-width: 0;
}
.lrt-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #a78bfa;
}
.lrt-time {
    color: var(--dim, #94a3b8);
    font-size: 0.68rem;
    font-weight: 600;
}
.lrt-text {
    font-size: 0.8rem;
    color: #fff;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lrt-text b {
    color: #4ade80;
}
.lrt-close {
    background: none;
    border: none;
    color: var(--dim, #94a3b8);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    margin-inline-start: 4px;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s;
}
.lrt-close:hover {
    color: #fff;
}


/* ==================================================================
   ULTRA-PRO GAMING & APP CARDS (Codashop & Midasbuy Elite Styling)
   ================================================================== */
.games-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 22px !important;
    margin-top: 26px !important;
    perspective: 1200px !important;
}

.game-card.pro-card,
.game-card.pro-card3d {
    background: linear-gradient(165deg, rgba(20, 27, 49, 0.95) 0%, rgba(9, 13, 26, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: var(--txt, #fff) !important;
    position: relative !important;
    transform-style: preserve-3d !important;
    transform: translateZ(0) !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.35s ease !important;
    box-shadow: 
        0 14px 30px -10px rgba(0, 0, 0, 0.65), 
        0 4px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
}

.game-card.pro-card::before,
.game-card.pro-card3d::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 22px !important;
    padding: 1.5px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(124, 58, 237, 0.3), transparent 70%) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    pointer-events: none !important;
}

.game-card.pro-card:hover,
.game-card.pro-card3d:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(147, 51, 234, 0.7) !important;
    box-shadow: 
        0 24px 50px -12px rgba(124, 58, 237, 0.4), 
        0 0 25px rgba(14, 165, 233, 0.25), 
        0 0 0 1px rgba(167, 139, 250, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

/* صورة وكفر اللعبة/التطبيق فائقة الوضوح والنقاء */
.game-card.pro-card .game-banner,
.game-card.pro-card3d .game-banner {
    height: 155px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: high-quality !important;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
}

.game-card.pro-card:hover .game-banner,
.game-card.pro-card3d:hover .game-banner {
    transform: scale(1.06) !important;
}

.game-card.pro-card .card-badges-top,
.game-card.pro-card3d .card-badges-top {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.game-card.pro-card .cat-type-pill,
.game-card.pro-card3d .cat-type-pill {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 99px !important;
    backdrop-filter: blur(8px) !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

.game-card.pro-card .cat-type-pill.pro-game,
.game-card.pro-card3d .cat-type-pill.pro-game {
    background: rgba(124, 58, 237, 0.9) !important;
    color: #fff !important;
    border: 1px solid rgba(192, 132, 252, 0.5) !important;
}

.game-card.pro-card .cat-type-pill.live-app,
.game-card.pro-card3d .cat-type-pill.live-app {
    background: rgba(225, 29, 72, 0.9) !important;
    color: #fff !important;
    border: 1px solid rgba(251, 113, 133, 0.5) !important;
}

.game-card.pro-card .instant-pill,
.game-card.pro-card3d .instant-pill {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    padding: 3px 9px !important;
    border-radius: 99px !important;
    background: rgba(16, 185, 129, 0.92) !important;
    color: #fff !important;
    border: 1px solid rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

.game-card.pro-card .game-banner-icon,
.game-card.pro-card3d .game-banner-icon {
    font-size: 3.8rem !important;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.65)) !important;
    transition: transform 0.3s ease !important;
}

.game-card.pro-card:hover .game-banner-icon,
.game-card.pro-card3d:hover .game-banner-icon {
    transform: scale(1.15) rotate(4deg) !important;
}

.game-card.pro-card .custom-coin-pill,
.game-card.pro-card3d .custom-coin-pill {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    background: rgba(245, 158, 11, 0.95) !important;
    color: #000 !important;
    padding: 3px 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.45) !important;
}

.game-card.pro-card .cnt,
.game-card.pro-card3d .cnt {
    padding: 16px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    background: rgba(12, 17, 33, 0.8) !important;
    text-align: right !important;
    gap: 12px !important;
}

[dir="ltr"] .game-card.pro-card .cnt,
[dir="ltr"] .game-card.pro-card3d .cnt {
    text-align: left !important;
}

.game-card.pro-card .card-title-box,
.game-card.pro-card3d .card-title-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 28px !important;
}

.game-card.pro-card h3,
.game-card.pro-card3d h3,
.game-card.pro-card3d .game-title {
    margin: 0 !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.35 !important;
    letter-spacing: 0.2px !important;
    transition: color 0.2s !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.game-card.pro-card:hover h3,
.game-card.pro-card3d:hover h3,
.game-card.pro-card3d:hover .game-title {
    color: var(--neon2, #38bdf8) !important;
}

.game-card.pro-card .hot-badge,
.game-card.pro-card3d .hot-badge {
    background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
    color: #fff !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.4) !important;
}

.game-card.pro-card .card-action-btn,
.game-card.pro-card3d .card-action-btn {
    margin-top: auto !important;
    padding: 11px 16px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: all 0.25s ease !important;
}

.game-card.pro-card:hover .card-action-btn,
.game-card.pro-card3d:hover .card-action-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #0ea5e9 100%) !important;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px) !important;
}

.game-card.pro-card .card-action-btn i,
.game-card.pro-card3d .card-action-btn i {
    font-size: 0.9rem !important;
    transition: transform 0.2s ease !important;
}

.game-card.pro-card:hover .card-action-btn i,
.game-card.pro-card3d:hover .card-action-btn i {
    transform: translateX(-4px) !important;
}

[dir="ltr"] .game-card.pro-card:hover .card-action-btn i,
[dir="ltr"] .game-card.pro-card3d:hover .card-action-btn i {
    transform: translateX(4px) !important;
}

@media (max-width: 650px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 18px !important;
    }
    .game-card.pro-card .game-banner,
    .game-card.pro-card3d .game-banner {
        height: 120px !important;
    }
    .game-card.pro-card .cnt,
    .game-card.pro-card3d .cnt {
        padding: 12px !important;
        gap: 8px !important;
    }
    .game-card.pro-card h3,
    .game-card.pro-card3d h3,
    .game-card.pro-card3d .game-title {
        font-size: 0.88rem !important;
    }
    .game-card.pro-card .card-badges-top,
    .game-card.pro-card3d .card-badges-top {
        top: 6px !important;
        left: 6px !important;
        right: 6px !important;
    }
    .game-card.pro-card .cat-type-pill,
    .game-card.pro-card3d .cat-type-pill {
        font-size: 0.62rem !important;
        padding: 2px 7px !important;
    }
    .game-card.pro-card .instant-pill,
    .game-card.pro-card3d .instant-pill {
        display: none !important;
    }
    .game-card.pro-card .card-action-btn,
    .game-card.pro-card3d .card-action-btn {
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
        border-radius: 9px !important;
    }
}

/* =====================================================================
   عروض وتخفيضات الموقع الكبرى + إزالة تظليل سلايدر العروض
   ===================================================================== */
.os-name, .os-price, .os-tag, .os-go, .os-info * {
    text-shadow: none !important;
}

.bo-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}
.bo-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(124, 58, 237, 0.15) 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    border-radius: 20px !important;
    padding: 18px 20px !important;
    text-decoration: none !important;
    color: var(--txt, #fff) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 25px -8px rgba(239, 68, 68, 0.25) !important;
    backdrop-filter: blur(10px) !important;
}
.bo-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(239, 68, 68, 0.7) !important;
    box-shadow: 0 16px 35px -8px rgba(239, 68, 68, 0.4), 0 0 20px rgba(124, 58, 237, 0.25) !important;
}
.bo-card-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}
.bo-pill {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
    color: #fff !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    padding: 4px 12px !important;
    border-radius: 99px !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4) !important;
    letter-spacing: 0.3px !important;
}
.bo-arrow {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #fca5a5 !important;
    transition: transform 0.2s !important;
}
.bo-card:hover .bo-arrow {
    transform: translateX(-4px) !important;
    color: #fff !important;
}
[dir="ltr"] .bo-card:hover .bo-arrow {
    transform: translateX(4px) !important;
}
.bo-card h3 {
    margin: 0 0 6px !important;
    font-size: 1.08rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.35 !important;
    text-shadow: none !important;
}
.bo-card p {
    margin: 0 !important;
    font-size: 0.85rem !important;
    color: #cbd5e1 !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
}

/* ==========================================================================
   قائمة الإشعارات المنسدلة الاحترافية لجرس الموقع (SaaS Notification Dropdown)
   ========================================================================== */
.tu-notif-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.tu-bell-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
}
.tu-bell-trigger:hover,
.tu-bell-trigger.active {
    background: rgba(124, 58, 237, 0.25) !important;
    border-color: rgba(124, 58, 237, 0.6) !important;
    color: #38bdf8 !important;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}
.tu-notif-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 20px);
    background: #0d1222;
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(124, 58, 237, 0.2);
    border-radius: 18px;
    z-index: 99999;
    display: none;
    overflow: hidden;
    text-align: right;
    animation: tuNdFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="ltr"] .tu-notif-dropdown {
    right: auto;
    left: 0;
    text-align: left;
}
.tu-notif-dropdown.open {
    display: block;
}
@keyframes tuNdFadeIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.tu-nd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(15, 23, 42, 0.85));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tu-nd-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tu-nd-heading {
    font-size: 0.96rem;
    font-weight: 900;
    color: #fff;
}
.tu-nd-unread-pill {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 800;
}
.tu-nd-mark-all {
    background: transparent;
    border: none;
    color: #a78bfa;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: inherit;
}
.tu-nd-mark-all:hover {
    color: #38bdf8;
    background: rgba(255, 255, 255, 0.05);
}
.tu-nd-body {
    max-height: 350px;
    overflow-y: auto;
}
.tu-nd-body::-webkit-scrollbar {
    width: 5px;
}
.tu-nd-body::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
.tu-nd-empty {
    padding: 36px 20px;
    text-align: center;
    color: #94a3b8;
}
.tu-nd-empty-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
}
.tu-nd-empty b {
    color: #fff;
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.tu-nd-empty p {
    font-size: 0.8rem;
    margin: 0;
    color: #64748b;
}
.tu-nd-items-list {
    display: flex;
    flex-direction: column;
}
.tu-nd-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}
.tu-nd-item:hover {
    background: rgba(124, 58, 237, 0.12);
}
.tu-nd-item.is-unread {
    background: rgba(124, 58, 237, 0.07);
}
.tu-nd-item.type-done {
    border-right: 3px solid #22c55e;
}
[dir="ltr"] .tu-nd-item.type-done {
    border-right: none;
    border-left: 3px solid #22c55e;
}
.tu-nd-item.type-rej {
    border-right: 3px solid #ef4444;
}
[dir="ltr"] .tu-nd-item.type-rej {
    border-right: none;
    border-left: 3px solid #ef4444;
}
.tu-nd-item.type-offer {
    border-right: 3px solid #f97316;
}
[dir="ltr"] .tu-nd-item.type-offer {
    border-right: none;
    border-left: 3px solid #f97316;
}
.tu-nd-item.type-info {
    border-right: 3px solid #8b5cf6;
}
[dir="ltr"] .tu-nd-item.type-info {
    border-right: none;
    border-left: 3px solid #8b5cf6;
}
.tu-nd-item-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.tu-nd-item-content {
    flex: 1;
    min-width: 0;
}
.tu-nd-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}
.tu-nd-item-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tu-nd-item.is-unread .tu-nd-item-title {
    color: #38bdf8;
}
.tu-nd-item-time {
    font-size: 0.72rem;
    color: #94a3b8;
    direction: ltr;
    white-space: nowrap;
}
.tu-nd-item-msg {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tu-nd-unread-glow {
    position: absolute;
    top: 14px;
    left: 10px;
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}
[dir="ltr"] .tu-nd-unread-glow {
    left: auto;
    right: 10px;
}
.tu-nd-footer {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.tu-nd-view-all {
    font-size: 0.82rem;
    font-weight: 800;
    color: #a78bfa;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color 0.2s;
}
.tu-nd-view-all:hover {
    color: #38bdf8;
}
@media (max-width: 480px) {
    .tu-notif-dropdown {
        position: fixed !important;
        top: 64px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        border-radius: 16px !important;
    }
}

/* ==========================================================================
   نافذة الإشعارات المنبثقة التفاعلية (Notifications Popup Modal Box)
   ========================================================================== */
.tu-notif-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(4, 7, 18, 0.78) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 99999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.22s ease-out;
}
.tu-notif-modal-overlay.open {
    display: flex !important;
    opacity: 1 !important;
}
.tu-notif-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 86vh;
    background: #0d1222;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 35px rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    direction: rtl;
    text-align: right;
    font-family: inherit;
    transform: scale(0.93) translateY(12px);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.tu-notif-modal-overlay.open .tu-notif-modal-card {
    transform: scale(1) translateY(0);
}

/* ==========================================================================
   كروت الشحن ثلاثية الأبعاد ومنظومة الدفع المتطورة (3D Packs & Smart Payment)
   ========================================================================== */
.pack-corner-check {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8b5cf6;
    color: #fff;
    font-size: 0.75rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #8b5cf6;
    z-index: 2;
}
.pack.sel .pack-corner-check {
    display: flex !important;
}
.pack-badge-disc {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    z-index: 2;
}
.pack-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(255, 255, 255, 0.02) 70%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    margin: 6px 0 10px;
    transition: transform 0.25s ease;
}
.pack:hover .pack-icon-wrap {
    transform: scale(1.1) rotate(4deg);
}
.pack-btn-cta {
    width: 100%;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.pack:hover .pack-btn-cta {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    border-color: rgba(124, 58, 237, 0.6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}
.pack.sel .pack-btn-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.pay-filter-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 14px;
    scrollbar-width: none;
}
.pay-filter-tabs::-webkit-scrollbar { display: none; }
.pay-ftab {
    padding: 7px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dim, #94a3b8);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.pay-ftab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.pay-ftab.on {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(37, 99, 235, 0.25));
    border-color: #8b5cf6;
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
}

@keyframes tuStepGlowPulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.75); }
    50% { box-shadow: 0 0 0 14px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
.highlight-pulse {
    animation: tuStepGlowPulse 1.2s ease-out;
    border-color: #8b5cf6 !important;
}

.pay-ic-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.2s;
}
.corp-pay-card.sel .pay-ic-wrap {
    border-color: var(--bcol, #8b5cf6);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
}

.corp-pay-price {
    font-size: 0.92rem;
    font-weight: 900;
    color: #34d399;
    white-space: nowrap;
    text-align: left;
    margin-top: 4px;
    direction: ltr;
}

.pay-radio-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.corp-pay-card.sel .pay-radio-circle {
    border-color: var(--bcol, #8b5cf6);
    background: var(--bcol, #8b5cf6);
    box-shadow: 0 0 10px var(--bcol, #8b5cf6);
}
.corp-pay-card.sel .pay-radio-circle::after {
    content: '✓';
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

/* ==========================================================================
   منظومة التوافق الشامل مع الوضع الفاتح والداكن (Complete Theme Master Suite)
   يضمن توافق 100% لجميع الصفحات والكروت والويدجات والجداول والمودالات
   ========================================================================== */

body.light {
    --bg: #f8fafc;
    --bg2: #f1f5f9;
    --card: #ffffff;
    --border: rgba(15, 23, 42, 0.08);
    --txt: #0f172a;
    --dim: #64748b;
    --neon: #6d28d9;
    --neon2: #0284c7;
    --gold: #b45309;
    --green: #15803d;
    --red: #b91c1c;
    --grad: linear-gradient(135deg, #7c3aed, #0ea5e9);
    background: #f8fafc !important;
    color: #0f172a !important;
}

/* 1. الصفحة الرئيسية (index.php) */
body.light .saas-live-bar {
    background: rgba(241, 245, 249, 0.95) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}
body.light .live-ticker-txt {
    color: #1e293b !important;
}
body.light .live-rate-badge {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #047857 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
body.light .android-app-banner {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
    color: #0f172a !important;
}
body.light .android-app-banner span {
    color: #64748b !important;
}
body.light .android-quick-dock .aqd-item {
    color: #334155 !important;
}
body.light .saas-hero-sect::before {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 70%) !important;
}
body.light .saas-h1 {
    color: #0f172a !important;
}
body.light .saas-sub {
    color: #475569 !important;
}
body.light .saas-pay-badges span {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #1e293b !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
body.light .btn-saas-outline {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
}
body.light .btn-saas-outline:hover {
    border-color: #7c3aed !important;
    color: #7c3aed !important;
}
body.light .saas-calc-widget {
    background: #ffffff !important;
    border: 1px solid rgba(236, 72, 153, 0.25) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
}
body.light .scw-head h3 {
    color: #0f172a !important;
}
body.light .scw-result-box {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .scw-res-lbl {
    color: #64748b !important;
}
body.light .scw-res-coins {
    color: #0f172a !important;
}
body.light .scw-res-price {
    color: #0284c7 !important;
}
body.light .scw-res-alt {
    color: #64748b !important;
}
body.light .saas-metrics-bar {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
}
body.light .saas-metrics-bar .sm-item b {
    color: #0f172a !important;
}
body.light .saas-metrics-bar .sm-item span {
    color: #64748b !important;
}
body.light .offers-head h2,
body.light .sect h2 {
    color: #0f172a !important;
}
body.light .bo-card {
    background: #ffffff !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05) !important;
    color: #0f172a !important;
}
body.light .bo-card h3 {
    color: #0f172a !important;
}
body.light .bo-card p {
    color: #475569 !important;
}
body.light .search {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
body.light #gSearch {
    color: #0f172a !important;
}
body.light .chip {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #475569 !important;
}
body.light .chip.on {
    background: linear-gradient(135deg, #7c3aed, #0ea5e9) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* كروت الألعاب 3D في الوضع الفاتح */
body.light .game-card.pro-card,
body.light .game-card.pro-card3d {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    color: #0f172a !important;
}
body.light .game-card.pro-card3d::before {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.15), transparent 70%) !important;
}
body.light .game-card.pro-card3d:hover {
    border-color: #8b5cf6 !important;
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.16) !important;
}
body.light .game-card.pro-card3d .cnt {
    background: #ffffff !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}
body.light .game-card.pro-card3d .game-title {
    color: #0f172a !important;
}
body.light .game-card.pro-card3d .card-action-btn {
    background: rgba(124, 58, 237, 0.08) !important;
    color: #7c3aed !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
}
body.light .game-card.pro-card3d:hover .card-action-btn {
    background: linear-gradient(135deg, #7c3aed, #0ea5e9) !important;
    color: #ffffff !important;
}

body.light .corp-pay-showcase .cps-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
}
body.light .corp-pay-showcase .cps-card h3 {
    color: #0f172a !important;
}
body.light .corp-pay-showcase .cps-card p {
    color: #475569 !important;
}
body.light .steps .step {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
body.light .steps .step b {
    color: #0f172a !important;
}
body.light .steps .step span {
    color: #64748b !important;
}
body.light .corp-reviews-grid .cr-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
}
body.light .corp-reviews-grid .cr-card .cr-txt {
    color: #334155 !important;
}
body.light .corp-reviews-grid .cr-card .cr-user b {
    color: #0f172a !important;
}
body.light .saas-faq-grid .faq-item {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .saas-faq-grid .faq-item summary {
    color: #0f172a !important;
}
body.light .saas-faq-grid .faq-item p {
    color: #475569 !important;
}
body.light .corp-footer {
    background: #f1f5f9 !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #475569 !important;
}
body.light .corp-footer h4 {
    color: #0f172a !important;
}
body.light .corp-footer .cf-links a {
    color: #475569 !important;
}
body.light .corp-footer .cf-links a:hover {
    color: #7c3aed !important;
}
body.light .cf-pay-pills span {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #1e293b !important;
}
body.light .cf-bottom {
    color: #64748b !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* 2. صفحة المنتج والشحن (game.php) */
body.light .pack.pro-pack-3d {
    background: #ffffff !important;
    border: 1.5px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
body.light .pack.pro-pack-3d .pack-name {
    color: #0f172a !important;
}
body.light .pack.pro-pack-3d .pr-val {
    color: #0f172a !important;
}
body.light .pack.pro-pack-3d .pr-cur {
    color: #64748b !important;
}
body.light .pack.pro-pack-3d .pack-btn-cta {
    background: rgba(15, 23, 42, 0.04) !important;
    color: #334155 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .pack.pro-pack-3d.sel {
    background: linear-gradient(165deg, rgba(124, 58, 237, 0.06), #ffffff) !important;
    border-color: #7c3aed !important;
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.2) !important;
}
body.light .pack.pro-pack-3d.sel .pack-name {
    color: #6d28d9 !important;
}
body.light .pack.pro-pack-3d.sel .pr-val {
    color: #6d28d9 !important;
}
body.light .pack.pro-pack-3d.sel .pack-btn-cta {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
}
body.light .corp-pay-hub {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06) !important;
}
body.light .corp-pay-card {
    background: #f8fafc !important;
    border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .corp-pay-card .pay-corp-name {
    color: #0f172a !important;
}
body.light .corp-pay-card .pay-corp-desc {
    color: #64748b !important;
}
body.light .corp-pay-card.sel {
    background: #ffffff !important;
    border-color: var(--bcol, #7c3aed) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.14) !important;
}
body.light #hubWalletDetails {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #065f46 !important;
}
body.light .pay-filter-tabs .pay-ftab {
    background: #f1f5f9 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #475569 !important;
}
body.light .pay-filter-tabs .pay-ftab.on {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.15)) !important;
    color: #6d28d9 !important;
    border-color: #7c3aed !important;
}
body.light .order-step {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04) !important;
}
body.light .order-step h3 {
    color: #0f172a !important;
}
body.light .fld label,
body.light .f-lab {
    color: #334155 !important;
}
body.light .f-in,
body.light input[type="text"],
body.light input[type="number"],
body.light input[type="tel"],
body.light input[type="email"],
body.light input[type="password"],
body.light select {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
}

/* 3. لوحة تحكم المستخدم (account.php) */
body.light .dash {
    color: #0f172a !important;
}
body.light .d-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05) !important;
    color: #0f172a !important;
}
body.light .d-user {
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.08) 0%, rgba(14, 165, 233, 0.05) 50%, #ffffff 100%) !important;
    border: 1px solid rgba(124, 58, 237, 0.18) !important;
}
body.light .d-user h3 {
    color: #0f172a !important;
}
body.light .d-user .ph {
    color: #64748b !important;
}
body.light .d-welcome-hero {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(14, 165, 233, 0.08) 50%, #ffffff 100%) !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08) !important;
}
body.light .d-welcome-hero h2 {
    color: #0f172a !important;
}
body.light .stat-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
}
body.light .stat-card b {
    color: #0f172a !important;
}
body.light .stat-card span {
    color: #64748b !important;
}
body.light .wallet-overview-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 95, 70, 0.06) 50%, #ffffff 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.28) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1) !important;
}
body.light .wallet-overview-card b {
    color: #065f46 !important;
}
body.light .wallet-tx-count-card {
    background: #ffffff !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.06) !important;
}
body.light .wallet-tx-count-card b {
    color: #0f172a !important;
}
body.light .d-nav {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .d-nav a {
    color: #334155 !important;
}
body.light .d-nav a:hover {
    background: rgba(124, 58, 237, 0.06) !important;
    color: #7c3aed !important;
}
body.light .d-nav a.on {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.12)) !important;
    color: #6d28d9 !important;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.3) !important;
}
body.light .d-nav a.on i {
    color: #6d28d9 !important;
}
body.light .tbl th {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .tbl td {
    color: #1e293b !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}
body.light .tbl tr:hover td {
    background: #f8fafc !important;
}
body.light .mobile-orders .m-order-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    color: #0f172a !important;
}
body.light .m-oc-game-title {
    color: #0f172a !important;
}
body.light .m-oc-pkg {
    color: #64748b !important;
}
body.light #depositModal > div {
    background: #ffffff !important;
    border: 1px solid rgba(14, 165, 233, 0.3) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
    color: #0f172a !important;
}
body.light #depositModal h3 {
    color: #0f172a !important;
}
body.light #depositModal .f-lab {
    color: #334155 !important;
}
body.light #depositModal .preset-chip {
    background: #f1f5f9 !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #334155 !important;
}
body.light #depositModal .preset-chip.on {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}
body.light #depositModal #depInstructions {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #334155 !important;
}
body.light #accBottomToast {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
    color: #0f172a !important;
}
body.light #accBottomToast b {
    color: #0f172a !important;
}

/* 4. نافذة الإشعارات المنبثقة (#tuNotifModal) */
body.light .tu-notif-modal-card {
    background: #ffffff !important;
    border: 1px solid rgba(124, 58, 237, 0.25) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
    color: #0f172a !important;
}
body.light .tu-ndm-header {
    background: #f8fafc !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}
body.light .tu-ndm-header h3 {
    color: #0f172a !important;
}
body.light .tu-ndm-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    color: #1e293b !important;
}
body.light .tu-ndm-item:hover {
    background: #f8fafc !important;
}
body.light .tu-ndm-item.is-unread {
    background: rgba(56, 189, 248, 0.06) !important;
}
body.light .tu-ndm-item-title {
    color: #0f172a !important;
}
body.light .tu-ndm-item-msg {
    color: #475569 !important;
}
body.light .tu-ndm-footer {
    background: #f8fafc !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* 5. شريط التنقل السفلي للهواتف (.bnav) والهيدر (.hdr) */
body.light .hdr {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04) !important;
}
body.light .bnav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06) !important;
}
body.light .bnav a {
    color: #64748b !important;
}
body.light .bnav a.on {
    color: #7c3aed !important;
}

/* 6. صفحة الدخول والتسجيل (login.php) */
body.light.auth-body,
body.light .auth-card {
    background: #f8fafc !important;
    color: #0f172a !important;
}
body.light .auth-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;
}
body.light .auth-tabs .atab {
    background: #f1f5f9 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #475569 !important;
}
body.light .auth-tabs .atab.on {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(124, 58, 237, 0.4) !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12) !important;
}
body.light .auth-card .fld label {
    color: #334155 !important;
}
body.light .auth-card input {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
}
body.light .auth-card .mini-t {
    color: #64748b !important;
}

/* 7. صفحة الفاتورة الرسمية (invoice.php) */
body.light .invoice-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}
body.light .inv-head {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(14, 165, 233, 0.06)) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .inv-head h2,
body.light .inv-head h3 {
    color: #0f172a !important;
}
body.light .inv-table th {
    background: #f1f5f9 !important;
    color: #475569 !important;
}
body.light .inv-table td {
    color: #1e293b !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}
body.light .inv-summary {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light .inv-summary-row {
    color: #334155 !important;
}
body.light .inv-total-row {
    color: #0f172a !important;
}

/* ==========================================================================
   8. محرك التمدد الكامل لملء الشاشة والتنسيق الاحترافي الموحد (Full-Screen Fluid Layout)
      يجعل الموقع يتمدد بعرض الشاشة بالكامل (96vw / 1820px) بتناسق تام في الوضعين الليلي والفاتح
   ========================================================================== */
html, body, body.light {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.hdr, body.light .hdr {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: clamp(14px, 2.5vw, 44px) !important;
    padding-right: clamp(14px, 2.5vw, 44px) !important;
    box-sizing: border-box !important;
}

.wrap,
body.light .wrap,
.offers-sect,
body.light .offers-sect,
.feat-sect,
body.light .feat-sect,
.saas-live-inner,
body.light .saas-live-inner,
.corp-footer .wrap,
body.light .corp-footer .wrap,
.visa-page-wrap {
    width: 100% !important;
    max-width: min(96vw, 1820px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(14px, 2.2vw, 40px) !important;
    padding-right: clamp(14px, 2.2vw, 40px) !important;
    box-sizing: border-box !important;
}

.os-slide,
body.light .os-slide {
    min-height: clamp(250px, 29vw, 360px) !important;
    padding: clamp(28px, 4.2vw, 52px) clamp(26px, 4.8vw, 60px) !important;
}
@media (max-width: 768px) {
    .offers-sect,
    body.light .offers-sect {
        display: block !important;
        margin-top: 18px !important;
        margin-bottom: 12px !important;
    }
    .os-slide,
    body.light .os-slide {
        min-height: 215px !important;
        padding: 22px 18px !important;
    }
}

.steps,
body.light .steps,
.notice-bar,
body.light .notice-bar,
.install-btn,
body.light .install-btn,
.order-box,
body.light .order-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* تنسيق الهيرو وحاسبة بوبو بملء العرض */
.saas-hero-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) !important;
    gap: clamp(18px, 2.2vw, 32px) !important;
    align-items: stretch !important;
}
@media (max-width: 960px) {
    .saas-hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* تمدد شبكة كروت الألعاب والباقات لتملأ الشاشة بالكامل بتناسق ذكي */
.games-grid,
body.light .games-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)) !important;
    gap: 20px !important;
}
@media (min-width: 1500px) {
    .games-grid,
    body.light .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)) !important;
        gap: 22px !important;
    }
}
@media (max-width: 650px) {
    .games-grid,
    body.light .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 11px !important;
    }
}

.packs-grid,
body.light .packs-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)) !important;
    gap: 16px !important;
}
@media (max-width: 600px) {
    .packs-grid,
    body.light .packs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* شبكة وسائل الدفع في صفحة الشراء */
@media (min-width: 1280px) {
    .pay-opts,
    .corp-pay-grid,
    body.light .pay-opts,
    body.light .corp-pay-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}
@media (min-width: 768px) and (max-width: 1279px) {
    .pay-opts,
    .corp-pay-grid,
    body.light .pay-opts,
    body.light .corp-pay-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}
@media (max-width: 767px) {
    .pay-opts,
    .corp-pay-grid,
    body.light .pay-opts,
    body.light .corp-pay-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }
}

/* تمدد لوحة حساب العميل ولوحة الإدارة بملء الشاشة */
.dash,
body.light .dash {
    width: 100% !important;
    max-width: min(96vw, 1820px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.ad-shell {
    width: 100% !important;
    max-width: 100vw !important;
}
.ad-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
}
@media (max-width: 980px) {
    .ad-shell { display: block !important; overflow-x: hidden !important; }
    .ad-side {
        position: fixed !important;
        top: 0 !important; bottom: 0 !important; right: 0 !important; left: auto !important;
        width: min(300px, 86vw) !important;
        height: 100vh !important;
        z-index: 99999 !important;
        transform: translateX(105%) !important;
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.25, 1) !important;
    }
    .ad-side.open { transform: translateX(0) !important; }
    .ad-content, .panel { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
    .dash-row, .panel > div[style*="grid-template-columns"], .panel form[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}
