﻿        :root {
            --main-blue: #00d2ff;
            --main-orange: #ff8c00;
            --dark-bg: #050505;
            --card-bg: rgba(255, 255, 255, 0.04);
            --glass-border: rgba(255, 255, 255, 0.1);
        }

        * { box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
        img { -webkit-user-drag: none; pointer-events: none; }
        a img, button img, .card img { pointer-events: auto; }
        input, textarea { -webkit-user-select: text; -moz-user-select: text; user-select: text; }

        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            color: #ffffff;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        /* خلفية سوداء ثابتة */
        body {
            background: #050505 !important;
        }
        body::before {
            display: none !important;
        }

        #loader {
            position: fixed; width: 100%; height: 100vh; background: #000;
            z-index: 9999; display: flex; justify-content: center; align-items: center;
            flex-direction: column; transition: opacity 0.8s ease-out;
        }
        #loader[style*="display: none"], #loader[style*="display:none"] {
            pointer-events: none !important; z-index: -1 !important;
        }
        .spinner {
            width: 70px; height: 70px; border: 3px solid transparent;
            border-top: 3px solid var(--main-blue); border-right: 3px solid var(--main-orange);
            border-radius: 50%; animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
            box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
        }
        @keyframes spin { 100% { transform: rotate(360deg); } }

        .promo-bar {
            background: linear-gradient(90deg, #7a2f00, #c46a00, #4a4a4a, #666666, #4a4a4a, #c46a00, #7a2f00);
            background-size: 300% 100%;
            animation: promoBarShift 6s ease-in-out infinite;
            color: #eee; padding: 12px 0; font-weight: bold; font-size: 15px;
            overflow: hidden; white-space: nowrap; position: relative;
            box-shadow: 0 4px 15px rgba(100, 50, 0, 0.5); direction: ltr;
        }
        @keyframes promoBarShift {
            0%   { background-position: 0% 50%;   box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4); }
            50%  { background-position: 100% 50%; box-shadow: 0 4px 15px rgba(160, 160, 160, 0.4); }
            100% { background-position: 0% 50%;   box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4); }
        }
        .promo-text {
            display: inline-block; direction: rtl; animation: scrollText 22s linear infinite; text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        @keyframes scrollText { 0% { transform: translateX(-100vw); } 100% { transform: translateX(100vw); } }

        header { display: none !important; }
        /* إخفاء أي nav خارج القائمة الجانبية فقط */
        body > nav, main > nav { display: none !important; }
        /* روابط القائمة الجانبية يجب أن تكون ظاهرة */
        .side-nav-links { display: flex !important; flex-direction: column !important; gap: 2px !important; }
        .side-menu button.side-link { display: flex !important; }

        /* ===== شريط علوي (App Bar) ===== */
        .app-bar {
            position: sticky; top: 0; z-index: 1000;
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 16px; background: rgba(8,8,8,0.95);
            border-bottom: 1px solid var(--glass-border);
            backdrop-filter: blur(16px);
            transition: margin-right 0.3s ease;
        }
        .app-bar-brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
        .app-bar-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
        .app-bar-title { font-weight: bold; font-size: 15px; color: #fff; line-height: 1.2; }
        .app-bar-title small { display: block; font-size: 11px; color: #888; font-weight: normal; }
        .app-bar-actions { display: flex; align-items: center; gap: 10px; }

        /* جرس الإشعارات الدائري */
        .app-bar-icon-btn {
            position: relative; width: 38px; height: 38px; border-radius: 50%;
            background: #141414; border: 1px solid #2a2a2a; color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 17px; cursor: pointer; padding: 0; transition: 0.2s;
        }
        .app-bar-icon-btn:hover { background: #202020; border-color: var(--main-blue); transform: scale(1.05); }
        .notif-badge {
            position: absolute; top: -3px; right: -3px;
            background: #ff3333; color: #fff; font-size: 10px; font-weight: bold;
            min-width: 16px; height: 16px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            padding: 0 4px; box-shadow: 0 0 6px rgba(255,51,51,0.6);
        }

        /* صورة البروفايل المصغرة مع نقطة الشريحة */
        .app-bar-avatar-wrap {
            position: relative; width: 38px; height: 38px; border-radius: 50%;
            border: 2px solid var(--main-blue); cursor: pointer;
            box-shadow: 0 0 10px rgba(0,210,255,0.25);
            transition: 0.2s; flex-shrink: 0;
        }
        .app-bar-avatar-wrap:hover { transform: scale(1.06); box-shadow: 0 0 14px rgba(0,210,255,0.45); }
        .app-bar-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
        .avatar-tier-dot {
            position: absolute; bottom: -1px; left: -1px; width: 11px; height: 11px;
            border-radius: 50%; background: #c0c0c0; border: 2px solid #080808;
            box-shadow: 0 0 4px rgba(0,0,0,0.8);
        }
        .avatar-tier-dot.tier-silver { background: #c0c0c0; }
        .avatar-tier-dot.tier-gold { background: #ffd700; box-shadow: 0 0 6px #ffd700; }
        .avatar-tier-dot.tier-diamond { background: #00d2ff; box-shadow: 0 0 6px #00d2ff; }
        .avatar-tier-dot.tier-api { background: #ff8c00; box-shadow: 0 0 6px #ff8c00; }

        /* زر الرصيد الحالي مع علامة + */
        .app-bar-balance-btn {
            background: rgba(0,210,255,0.1); border: 1px solid rgba(0,210,255,0.35);
            color: var(--main-blue); padding: 6px 12px; border-radius: 20px;
            font-size: 13px; font-weight: bold; cursor: pointer; white-space: nowrap;
            display: flex; align-items: center; gap: 6px; transition: 0.2s;
        }
        .app-bar-balance-btn:hover {
            background: rgba(0,210,255,0.18); border-color: var(--main-blue);
            box-shadow: 0 0 12px rgba(0,210,255,0.3); transform: translateY(-1px);
        }
        .balance-plus-ico {
            font-size: 11px; font-weight: 900;
            background: var(--main-orange); color: #fff; width: 18px; height: 18px;
            border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
            box-shadow: 0 0 8px rgba(255,140,0,0.6);
        }

        .hamburger {
            width: 40px; height: 40px; border-radius: 12px; border: 1px solid #333;
            background: #151515; display: flex; flex-direction: column;
            align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0;
            transition: 0.2s;
        }
        .hamburger:hover { background: #222; border-color: var(--main-blue); }
        .hamburger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; }
        .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; }
        .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* شريط تنبيه التوثيق العلوي */
        .kyc-alert-bar {
            background: linear-gradient(90deg, rgba(255,140,0,0.15), rgba(255,70,0,0.22));
            border-bottom: 1px solid rgba(255,140,0,0.35);
            padding: 8px 16px; transition: margin-right 0.3s ease;
        }
        .kyc-alert-content {
            display: flex; align-items: center; justify-content: space-between;
            max-width: 1200px; margin: 0 auto; gap: 10px;
        }
        .kyc-alert-text {
            color: #ffcc80; font-size: 13px; font-weight: 500;
            display: flex; align-items: center; gap: 6px;
        }
        .kyc-alert-btn {
            background: var(--main-orange); color: #fff; border: none;
            padding: 4px 14px; border-radius: 14px; font-size: 12px;
            font-weight: bold; cursor: pointer; white-space: nowrap;
            transition: 0.2s; box-shadow: 0 2px 8px rgba(255,140,0,0.4);
        }
        .kyc-alert-btn:hover { background: #ff7700; transform: scale(1.05); }

        /* ===== القائمة الجانبية (Side Menu) ===== */
        .side-menu-overlay {
            display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7);
            z-index: 2000; backdrop-filter: blur(4px);
        }
        .side-menu-overlay.show { display: block; }
        .side-menu {
            position: fixed; top: 0; right: -320px; width: 280px; height: 100%;
            background: #0d0d0d; border-left: 1px solid #222; z-index: 2001;
            transition: right 0.3s ease; padding: 18px 14px; overflow-y: auto;
            display: flex; flex-direction: column;
        }
        .side-menu.open { right: 0; }
        .side-menu-header { position: relative; margin-bottom: 12px; }
        .side-menu-close {
            position: absolute; top: -6px; left: -2px;
            background: none; border: none; color: #888; font-size: 26px;
            cursor: pointer; line-height: 1; padding: 4px; width: auto;
        }
        .side-menu-close:hover { color: #fff; }

        /* بطاقة المستخدم المصغرة في رأس القائمة الجانبية */
        .sidebar-user-card {
            display: flex; align-items: center; gap: 12px;
            padding: 12px; background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px; margin-bottom: 10px; margin-top: 15px;
        }
        .sidebar-user-avatar {
            width: 48px; height: 48px; border-radius: 50%;
            overflow: hidden; border: 2px solid var(--main-blue);
            cursor: pointer; flex-shrink: 0; box-shadow: 0 0 10px rgba(0,210,255,0.25);
        }
        .sidebar-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .sidebar-user-info { flex: 1; min-width: 0; text-align: right; }
        .sidebar-user-name {
            font-size: 14px; font-weight: bold; color: #fff;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .sidebar-user-meta { display: flex; align-items: center; gap: 6px; margin: 3px 0; }
        .sidebar-user-id { font-size: 11px; color: #888; }
        .tier-badge-pill {
            font-size: 10px; font-weight: bold; padding: 2px 7px;
            border-radius: 10px; background: rgba(255, 140, 0, 0.15);
            border: 1px solid rgba(255, 140, 0, 0.4); color: var(--main-orange);
            cursor: pointer; transition: 0.2s; white-space: nowrap;
        }
        .tier-badge-pill:hover { background: rgba(255, 140, 0, 0.3); transform: scale(1.05); }
        .sidebar-user-balance { font-size: 12px; font-weight: bold; color: var(--main-blue); }

        /* الأزرار السريعة الثلاثة */
        .sidebar-quick-actions {
            display: flex; justify-content: space-around; gap: 8px;
            margin-bottom: 10px; padding: 0 2px;
        }
        .sidebar-quick-btn {
            flex: 1; height: 36px; border-radius: 10px;
            background: #141414; border: 1px solid #2a2a2a; color: #ddd;
            font-size: 15px; cursor: pointer; display: flex; align-items: center;
            justify-content: center; transition: 0.2s; padding: 0; width: auto;
        }
        .sidebar-quick-btn:hover {
            background: #202020; border-color: var(--main-blue); color: #fff; transform: translateY(-1px);
        }

        /* زر تبديل العملة */
        .currency-switch-box { margin-bottom: 12px; }
        .currency-toggle-btn {
            width: 100%; display: flex; align-items: center; justify-content: space-between;
            padding: 8px 12px; border-radius: 12px;
            background: rgba(0, 210, 255, 0.06); border: 1px solid rgba(0, 210, 255, 0.25);
            color: #fff; font-size: 12px; cursor: pointer; transition: 0.2s;
        }
        .currency-toggle-btn:hover {
            background: rgba(0, 210, 255, 0.12); border-color: var(--main-blue);
        }
        .currency-active { color: var(--main-blue); font-weight: bold; }
        .currency-switch-ico { font-size: 13px; color: var(--main-orange); }

        /* روابط القائمة */
        .side-nav-links { display: flex; flex-direction: column; gap: 2px; }
        .side-menu a, .side-menu button.side-link {
            display: flex; align-items: center; gap: 12px; width: 100%;
            padding: 11px 12px; border-radius: 12px;
            background: transparent; border: none; color: #ddd; font-size: 14px;
            text-align: right; cursor: pointer; text-decoration: none; transition: 0.2s;
            font-family: inherit; margin: 0;
        }
        .side-menu a:hover, .side-menu button.side-link:hover { background: #1a1a1a; color: var(--main-blue); }
        .side-menu .side-icon { font-size: 18px; width: 24px; text-align: center; }

        /* بانر رئيسي */
        .home-banner {
            margin: 12px 4% 0; border-radius: 18px; overflow: hidden;
            border: 1px solid rgba(0,210,255,0.25); cursor: pointer;
            position: relative; min-height: 120px;
            background: linear-gradient(135deg, #0a1a2e 0%, #0d0d0d 60%, #1a1200 100%);
        }
        .home-banner img {
            width: 100%; height: auto; max-height: 180px; object-fit: cover; display: block;
        }
        .home-banner .banner-fallback-text {
            display: none; flex-direction: column; align-items: center; justify-content: center;
            padding: 28px 16px; text-align: center; gap: 6px;
        }
        .home-banner.banner-fallback .banner-fallback-text { display: flex; }
        .home-banner .banner-fallback-text strong {
            font-size: 20px; color: var(--main-orange);
        }
        .home-banner .banner-fallback-text span { font-size: 13px; color: #aaa; }

        .marquee-bar {
            margin: 14px 4%; padding: 10px 14px; border-radius: 14px;
            background: rgba(255,152,0,0.08); border: 1px solid rgba(255,152,0,0.2);
            overflow: hidden; white-space: nowrap;
        }
        .marquee-bar span {
            display: inline-block; padding-right: 50%;
            animation: marqueeMove 20s linear infinite; color: #ccc; font-size: 13px;
        }
        @keyframes marqueeMove {
            0% { transform: translateX(-30%); }
            100% { transform: translateX(100%); }
        }

        .home-search { margin: 12px 4% 4px; position: relative; }
        .home-search input {
            width: 100%; padding: 14px 16px 14px 44px; border-radius: 16px;
            border: 1px solid #2a2a2a; background: #121212; color: #fff;
            font-size: 14px; outline: none; text-align: right; margin: 0;
        }
        .home-search input:focus { border-color: var(--main-blue); }
        .home-search .search-ico {
            position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
            color: #666; font-size: 16px; pointer-events: none;
        }

        /* ===== بطاقات الأقسام (Home Categories) ===== */
        /* شبكة العرض: 3 أعمدة على الموبايل، 4 أعمدة على شاشات أكبر */
        .home-cats {
            display: grid; grid-template-columns: repeat(3, 1fr);
            gap: 14px 10px; padding: 16px 4% 100px;
        }
        .home-cat {
            background: transparent; border: none; padding: 0;
            text-align: center; cursor: pointer; transition: transform 0.25s ease;
            position: relative; display: flex; flex-direction: column;
            align-items: center; min-height: auto;
        }
        .home-cat:hover { transform: translateY(-4px); }
        /* مربع الصورة 1:1 وحواف دائرية 18px */
        .home-cat .cat-img-box {
            width: 100%; aspect-ratio: 1/1; border-radius: 18px;
            overflow: hidden; position: relative; background: #111;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 4px 14px rgba(0,0,0,0.5);
            display: flex; align-items: center; justify-content: center;
            transition: border-color 0.25s, box-shadow 0.25s;
        }
        .home-cat:hover .cat-img-box {
            border-color: var(--main-blue);
            box-shadow: 0 0 16px rgba(0, 210, 255, 0.35);
        }
        .home-cat .cat-img-box img {
            width: 100%; height: 100%; aspect-ratio: 1/1;
            object-fit: cover; border-radius: 18px; display: block;
        }
        .home-cat .cat-img-box .cat-emoji {
            font-size: 38px; line-height: 1; margin: 0; display: none;
        }
        /* اسم القسم تحت المربع خارج إطار الصورة */
        .home-cat h3 {
            margin: 8px 0 0; font-size: 12px; color: #fff; font-weight: 600;
            display: flex; align-items: center; justify-content: center;
            gap: 4px; text-align: center; line-height: 1.3;
        }
        .home-cat .badge-hot {
            position: absolute; top: 6px; left: 6px; font-size: 9px;
            background: linear-gradient(135deg, #ff9800, #ff4500); color: #fff;
            padding: 2px 6px; border-radius: 8px; z-index: 2;
        }

        /* محفظتي */
        .wallet-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px;
        }
        .wallet-card {
            background: var(--card-bg); border: 1px solid var(--border-color);
            border-radius: 16px; padding: 18px 14px; text-align: center;
        }
        .wallet-card.full { grid-column: 1 / -1; }
        .wallet-card .w-label { color: #888; font-size: 12px; margin-bottom: 8px; }
        .wallet-card .w-value { font-size: 22px; font-weight: bold; color: #fff; }
        .wallet-card .w-value.orange { color: var(--main-orange); }
        .wallet-card .w-value.blue { color: var(--main-blue); }
        .wallet-card .w-value.green { color: #4caf50; }

        /* ===== الشريط السفلي للموبايل (5 أيقونات مع زر رئيسية بارز) ===== */
        .bottom-nav {
            position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
            display: flex; justify-content: space-around; align-items: center;
            padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
            background: rgba(10,10,10,0.96); border-top: 1px solid #222;
            backdrop-filter: blur(16px);
        }
        .bottom-nav .nav-tab {
            flex: 1; background: none; border: none; color: #777; font-size: 11px;
            padding: 4px 2px; cursor: pointer; display: flex; flex-direction: column;
            align-items: center; gap: 3px; transition: 0.2s; margin: 0; width: auto;
        }
        .bottom-nav .nav-tab .nav-ico { font-size: 19px; font-style: normal; }
        .bottom-nav .nav-tab.active, .bottom-nav .nav-tab:hover { color: var(--main-blue); }

        /* الزر الدائري البارز في المنتصف (الرئيسية) */
        .bottom-nav .nav-tab-center {
            position: relative; top: -14px;
        }
        .center-btn-bubble {
            width: 50px; height: 50px; border-radius: 50%;
            background: linear-gradient(135deg, #00d2ff, #ff8c00);
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 4px 18px rgba(0, 210, 255, 0.45), 0 0 10px rgba(255, 140, 0, 0.4);
            border: 3px solid #050505; transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .center-btn-bubble .nav-ico-center {
            font-size: 22px; font-style: normal;
        }
        .bottom-nav .nav-tab-center:hover .center-btn-bubble,
        .bottom-nav .nav-tab-center.active .center-btn-bubble {
            transform: scale(1.08);
            box-shadow: 0 6px 24px rgba(0, 210, 255, 0.65), 0 0 14px rgba(255, 140, 0, 0.6);
        }

        /* ===== زر التواصل العائم المدمج (Floating Action Menu - FAB) ===== */
        .fab-container {
            position: fixed; bottom: 76px; left: 16px; z-index: 1002;
            display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 12px;
        }
        .fab-main-btn {
            width: 48px; height: 48px; border-radius: 50%;
            background: #141414; border: 2px solid var(--main-blue);
            box-shadow: 0 4px 18px rgba(0,0,0,0.7), 0 0 10px rgba(0,210,255,0.3);
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            color: #fff; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            outline: none; padding: 0;
        }
        .fab-main-btn:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(0,210,255,0.5); }
        .fab-dots { font-size: 18px; font-weight: bold; line-height: 1; letter-spacing: 1px; }
        .fab-close-ico { font-size: 18px; font-weight: bold; display: none; }
        .fab-container.open .fab-dots { display: none; }
        .fab-container.open .fab-close-ico { display: block; color: var(--main-orange); }
        .fab-container.open .fab-main-btn {
            border-color: var(--main-orange);
            transform: rotate(90deg);
        }
        .fab-menu {
            display: none; flex-direction: column; gap: 10px; align-items: flex-start;
            animation: fabPopup 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .fab-container.open .fab-menu { display: flex; }
        @keyframes fabPopup {
            from { opacity: 0; transform: translateY(15px) scale(0.9); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .fab-item {
            display: flex; align-items: center; gap: 8px; text-decoration: none;
            background: none; border: none; cursor: pointer; padding: 0;
        }
        .fab-icon {
            width: 42px; height: 42px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 4px 14px rgba(0,0,0,0.6); color: #fff;
            transition: transform 0.2s;
        }
        .fab-item:hover .fab-icon { transform: scale(1.12); }
        .fab-wa { background: #25D366; }
        .fab-tg { background: #0088cc; }
        .fab-about { background: #1a1a1a; border: 1.5px solid var(--main-blue); font-size: 18px; }
        .fab-label {
            background: rgba(18, 18, 18, 0.95); color: #eee;
            padding: 5px 12px; border-radius: 10px; font-size: 12px;
            border: 1px solid #333; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        }

        /* ===== النوافذ المنبثقة العامة (Modals) ===== */
        .modal-backdrop {
            display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8);
            z-index: 10000; backdrop-filter: blur(5px);
            align-items: center; justify-content: center; padding: 16px;
        }
        .modal-backdrop.show { display: flex; }
        .modal-dialog {
            background: #0d0d0d; border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px; width: 100%; max-width: 440px; padding: 22px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.85); direction: rtl; text-align: right;
            position: relative; max-height: 90vh; overflow-y: auto;
        }
        .modal-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 16px; border-bottom: 1px solid #222; padding-bottom: 10px;
        }
        .modal-header h3 { margin: 0; color: #fff; font-size: 17px; }
        .modal-close-btn {
            background: none; border: none; color: #888; font-size: 26px;
            cursor: pointer; line-height: 1; padding: 0; width: auto;
        }
        .modal-close-btn:hover { color: #fff; }
        .tiers-comparison-list { display: flex; flex-direction: column; gap: 10px; }
        .tier-card-item {
            background: #141414; border: 1px solid #252525;
            border-radius: 12px; padding: 12px 14px;
        }
        .tier-card-head {
            display: flex; justify-content: space-between; font-weight: bold;
            color: #fff; font-size: 14px; margin-bottom: 4px;
        }
        .tier-card-head strong { color: var(--main-blue); }
        .tier-card-desc { color: #999; font-size: 12px; line-height: 1.4; }

        /* الشاشات المتوسطة والأكبر */
        @media (min-width: 768px) {
            .home-cats {
                grid-template-columns: repeat(4, 1fr);
                max-width: 920px; margin: 0 auto; padding-bottom: 40px; gap: 18px;
            }
            .home-cat h3 { font-size: 14px; }
        }

        /* ===== تخطيط الكمبيوتر والشاشات الكبيرة (Desktop Layout) ===== */
        @media (min-width: 992px) {
            .side-menu {
                position: fixed !important; top: 0 !important; right: 0 !important;
                width: 280px !important; height: 100vh !important;
                transform: none !important; z-index: 1000 !important;
                border-left: 1px solid #222 !important;
                box-shadow: -4px 0 25px rgba(0,0,0,0.6);
            }
            .side-menu-overlay { display: none !important; }
            .side-menu-close { display: none !important; }
            .hamburger { display: none !important; }
            .bottom-nav { display: none !important; }
            .app-bar, #kyc-alert-bar, main {
                margin-right: 280px !important;
            }
            .fab-container {
                bottom: 24px; left: 24px;
            }
        }
        
        .logo-container {
            position: relative; display: inline-block; width: 150px; height: 150px;
            border-radius: 50%; padding: 4px; background: #000; cursor: pointer;
            transition: 0.5s; box-shadow: 0 0 15px rgba(0,0,0,0.5);
        }
        .logo-container::before, .logo-container::after {
            content: ''; position: absolute; top: -2px; left: -2px; bottom: -2px; right: -2px;
            background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
            background-size: 400%; border-radius: 50%; z-index: -1; animation: rgbBlur 20s linear infinite;
        }
        .logo-container::before { filter: blur(5px); opacity: 0.8; }
        .logo-container::after { filter: blur(15px); opacity: 0.6; }
        .main-logo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
        @keyframes rgbBlur { 0% { background-position: 0 0; } 50% { background-position: 400% 0; } 100% { background-position: 0 0; } }

        .view-section { display: none; animation: fadeInView 0.5s ease; }
        .view-section.active { display: block; }
        @keyframes fadeInView { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .section-title { margin: 40px 10% 30px 0; font-size: 28px; color: var(--main-orange); display: flex; align-items: center; gap: 15px; }
        
        .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 25px; padding: 0 10%; margin-bottom: 50px; }

        /* --- التعديل الجديد للكروت (صورة غلاف متكاملة) --- */
        .card {
            background: var(--card-bg);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 20px 15px;
            text-align: center;
            transition: 0.4s;
            cursor: pointer;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden; /* لمنع خروج الصورة عن حواف الكرت */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end; /* وضع النصوص والأزرار في الأسفل */
            min-height: 220px; /* ارتفاع الكرت ليظهر الغلاف بشكل جميل */
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        /* طبقة التدرج الأسود فوق الصورة لضمان قراءة النصوص */
        .card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.95) 5%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
            z-index: 1;
        }

        /* جعل الصور تملأ الكرت كخلفية (Cover) */
        .card .category-icon, .card .game-logo {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
            z-index: 0;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            margin: 0;
            border-radius: 0;
            filter: none; /* إزالة التأثيرات القديمة */
            box-shadow: none;
        }

        .card:hover { 
            border-color: var(--main-blue); 
            transform: translateY(-8px); 
            box-shadow: 0 10px 25px rgba(0,210,255,0.2); 
        }

        /* زووم احترافي للصورة عند وضع الماوس */
        .card:hover .category-icon, .card:hover .game-logo { 
            transform: scale(1.15); 
        }

        /* رفع النصوص والأزرار لتكون فوق الصورة والتدرج الأسود */
        .card h3, .card .magic-btn {
            position: relative;
            z-index: 2;
        }

        .card h3 { 
            font-size: 16px; 
            margin-bottom: 15px; 
            font-weight: bold; 
            width: 100%; 
            color: #ffffff;
            text-shadow: 0 2px 5px rgba(0,0,0,0.8);
        }

        .magic-btn { background: linear-gradient(135deg, #00d2ff, #0077ff); border: none; color: white; padding: 10px; border-radius: 10px; font-size: 13px; font-weight: bold; cursor: pointer; width: 100%; display: block; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); }

        .back-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); color: white; padding: 10px 20px; border-radius: 12px; cursor: pointer; margin: 0 10% 20px 0; backdrop-filter: blur(5px); }

        .packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; margin-top: 20px; }
        .package-item { background: var(--card-bg); border: 1px solid var(--glass-border); padding: 20px 15px; border-radius: 18px; text-align: center; backdrop-filter: blur(10px); }
        .package-price { display: block; font-weight: bold; color: #fff; margin-bottom: 15px; font-size: 20px; }
        .order-link { background: linear-gradient(135deg, var(--main-orange), #ff4500); color: white; text-decoration: none; padding: 8px 15px; border-radius: 10px; font-size: 13px; font-weight: bold; display: inline-block; }

        .modal { display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(15px); overflow-y: auto; padding-top: 50px; }
        .modal-content { background: #0a0a0a; margin: auto; padding: 30px; border: 1px solid var(--main-blue); width: 90%; max-width: 600px; border-radius: 25px; position: relative; }
        .close-btn { position: absolute; left: 20px; top: 15px; font-size: 30px; color: #888; cursor: pointer; }

        /* ===== نافذة إدخال آيدي اللاعب والباقات المخصصة ===== */
        #player-id-modal {
            display: none; position: fixed; z-index: 3000; inset: 0;
            background: rgba(0,0,0,0.85); backdrop-filter: blur(12px);
            align-items: center; justify-content: center; padding: 20px;
        }
        #player-id-modal.show { display: flex; }
        .pid-box {
            background: linear-gradient(160deg, #111 0%, #0a0a0a 100%);
            border: 1px solid rgba(0,210,255,0.35);
            border-radius: 22px; width: 100%; max-width: 420px;
            padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.6);
            animation: pidFadeIn 0.3s ease;
            position: relative;
        }
        @keyframes pidFadeIn {
            from { opacity: 0; transform: translateY(15px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .pid-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 16px; padding-bottom: 12px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .pid-header-title-wrap {
            display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
        }
        .pid-header-actions {
            display: flex; align-items: center; gap: 6px;
        }
        .pid-title { font-size: 17px; font-weight: bold; color: #fff; margin: 0; }
        .pid-badge {
            background: rgba(255, 140, 0, 0.15); border: 1px solid var(--main-orange);
            color: var(--main-orange); font-size: 12px; font-weight: bold;
            padding: 3px 8px; border-radius: 10px;
        }
        .modal-fav-btn {
            background: transparent; border: none; font-size: 19px;
            cursor: pointer; transition: transform 0.2s, opacity 0.2s;
            padding: 2px 4px; line-height: 1;
        }
        .modal-fav-btn:hover { transform: scale(1.2); }
        .modal-fav-btn.active { filter: drop-shadow(0 0 6px #ff3366); }

        .pid-sub { font-size: 13px; color: #aaa; text-align: center; margin: 8px 0 16px; line-height: 1.5; }
        .pid-info {
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px; padding: 12px 16px; margin-bottom: 16px;
        }
        .pid-info-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
        .pid-info-row:last-child { margin-bottom: 0; }
        .pid-info-label { color: #999; }
        .pid-info-value { color: #fff; font-weight: bold; }
        .pid-info-price { color: var(--main-orange); font-size: 15px; }
        #pid-field-container { margin-bottom: 6px; }
        .pid-label { display: block; font-size: 13px; color: #ccc; margin-bottom: 8px; font-weight: 500; }
        .pid-input {
            width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid #333;
            background: #0d0d0d; color: #fff; font-size: 15px; text-align: center;
            letter-spacing: 0.5px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
        }
        .pid-input:focus { border-color: var(--main-blue); box-shadow: 0 0 10px rgba(0,210,255,0.25); }
        .pid-input.error { border-color: #e53935; }
        .pid-error { color: #e53935; font-size: 12px; text-align: center; min-height: 18px; margin: 4px 0 12px; }
        .pid-btns { display: flex; gap: 10px; }
        .pid-btn {
            flex: 1; padding: 13px; border: none; border-radius: 12px;
            font-weight: bold; font-size: 15px; cursor: pointer; transition: 0.2s;
        }
        .pid-btn-cancel { background: #222; color: #aaa; }
        .pid-btn-cancel:hover { background: #333; color: #fff; }
        .pid-btn-buy {
            background: linear-gradient(135deg, #00d2ff, #0077ff); color: #fff;
        }
        .pid-btn-buy:hover { filter: brightness(1.1); transform: translateY(-1px); }
        .pid-btn-buy:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

        /* ===== نافذة شحن الوحدات الموحدة (Syriatel & MTN) ===== */
        .units-modal-box {
            background: linear-gradient(160deg, #121212 0%, #080808 100%);
            border: 1px solid rgba(0, 210, 255, 0.3);
            box-shadow: 0 20px 50px rgba(0,0,0,0.85), 0 0 30px rgba(0, 210, 255, 0.15);
            border-radius: 22px;
            padding: 24px;
            width: 94%;
            max-width: 440px;
            position: relative;
            animation: pidFadeIn 0.25s ease-out;
            margin: auto;
        }
        .units-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .units-header-title-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .units-modal-icon { font-size: 22px; line-height: 1; }
        .units-modal-title { font-size: 17px; font-weight: bold; color: #fff; margin: 0; }
        .units-header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .units-price-badge {
            background: rgba(255, 140, 0, 0.15);
            border: 1px solid var(--main-orange);
            color: var(--main-orange);
            font-size: 13px;
            font-weight: bold;
            padding: 4px 10px;
            border-radius: 12px;
            letter-spacing: 0.5px;
        }
        .units-form-group {
            margin-bottom: 16px;
        }
        .units-label {
            display: block;
            font-size: 13px;
            color: #ccc;
            margin-bottom: 8px;
            font-weight: 500;
        }
        .units-select-wrap {
            position: relative;
        }
        #units-pkg-select {
            width: 100%;
            padding: 13px 16px;
            border-radius: 12px;
            border: 1px solid rgba(0, 210, 255, 0.3);
            background: #161616;
            color: #fff;
            font-size: 15px;
            font-weight: bold;
            outline: none;
            cursor: pointer;
            transition: 0.2s;
        }
        #units-pkg-select:focus {
            border-color: var(--main-blue);
            box-shadow: 0 0 12px rgba(0, 210, 255, 0.25);
        }
        #units-pkg-select option {
            background: #111;
            color: #fff;
            padding: 8px;
        }
        .units-total-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0, 210, 255, 0.05);
            border: 1px solid rgba(0, 210, 255, 0.15);
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 16px;
        }
        .units-total-label {
            font-size: 14px;
            color: #aaa;
            font-weight: 500;
        }
        .units-total-value {
            font-size: 18px;
            font-weight: bold;
            color: var(--main-blue);
        }
        .units-input {
            width: 100%;
            padding: 13px 16px;
            border-radius: 12px;
            border: 1px solid #333;
            background: #161616;
            color: #fff;
            font-size: 16px;
            outline: none;
            direction: ltr;
            text-align: right;
            letter-spacing: 1px;
            transition: 0.2s;
        }
        .units-input:focus {
            border-color: var(--main-blue);
            box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
        }
        .units-input.error {
            border-color: #e53935;
        }
        .units-phone-hint {
            font-size: 12px;
            color: #888;
            margin-top: 6px;
            line-height: 1.4;
        }
        .units-phone-error {
            font-size: 12px;
            color: #e53935;
            min-height: 18px;
            margin-top: 4px;
            font-weight: 500;
        }
        .units-modal-btns {
            display: flex;
            gap: 10px;
            margin-top: 18px;
        }
        .units-btn {
            flex: 1;
            padding: 13px;
            border: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.2s;
        }
        .units-btn-cancel {
            background: #222;
            color: #aaa;
        }
        .units-btn-cancel:hover {
            background: #333;
            color: #fff;
        }
        .units-btn-buy {
            background: linear-gradient(135deg, #00d2ff, #0077ff);
            color: #fff;
        }
        .units-btn-buy:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
        }
        .units-btn-buy:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        .units-unified-card {
            cursor: pointer;
            transition: transform 0.25s, box-shadow 0.25s;
        }
        .units-unified-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        }
        /* ===== زر الدعم العائم ===== */
        .support-btn {
            position: fixed;
            bottom: 25px;
            left: 25px;
            z-index: 9998;
            display: flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white;
            text-decoration: none;
            padding: 14px 20px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: bold;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            animation: supportPulse 2.5s ease-in-out infinite;
            white-space: nowrap;
        }
        .support-btn:hover {
            transform: scale(1.08) translateY(-3px);
            box-shadow: 0 10px 35px rgba(37, 211, 102, 0.65);
            animation: none;
        }
        .support-btn svg {
            width: 22px;
            height: 22px;
            flex-shrink: 0;
        }
        @keyframes supportPulse {
            0%, 100% { transform: scale(1);    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45); }
            50%       { transform: scale(1.05); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65); }
        }
        @media (max-width: 480px) {
            .support-btn span { display: none; }
            .support-btn { padding: 14px; border-radius: 50%; }
        }

        /* ===== إحصائيات ===== */
        .stats-section { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 40px 10% 10px; }
        .stat-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 28px 35px; text-align: center; backdrop-filter: blur(10px); flex: 1; min-width: 140px; max-width: 200px; transition: 0.3s; }
        .stat-card:hover { border-color: var(--main-blue); transform: translateY(-5px); }
        .stat-number { font-size: 38px; font-weight: 900; color: var(--main-blue); text-shadow: 0 0 20px rgba(0,210,255,0.5); display: block; line-height: 1; }
        .stat-label { color: #aaa; font-size: 13px; margin-top: 8px; display: block; }

        /* ===== كيف يعمل ===== */
        .steps-section { padding: 20px 10% 40px; }
        .steps-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px; }
        .step-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 30px 20px; text-align: center; backdrop-filter: blur(10px); flex: 1; min-width: 180px; max-width: 240px; position: relative; transition: 0.3s; }
        .step-card:hover { border-color: var(--main-orange); transform: translateY(-5px); }
        .step-num { position: absolute; top: -16px; right: 20px; background: linear-gradient(135deg, var(--main-blue), #0055ff); color: #fff; font-size: 13px; font-weight: bold; padding: 5px 14px; border-radius: 20px; }
        .step-icon { font-size: 42px; margin-bottom: 14px; display: block; }
        .step-card h4 { color: #fff; font-size: 16px; margin: 0 0 10px; }
        .step-card p { color: #999; font-size: 13px; margin: 0; line-height: 1.7; }

        /* ===== آراء العملاء ===== */
        .reviews-section { padding: 20px 10% 40px; }
        .reviews-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
        .review-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 25px; backdrop-filter: blur(10px); flex: 1; min-width: 240px; max-width: 340px; transition: 0.3s; }
        .review-card:hover { border-color: var(--main-blue); transform: translateY(-4px); }
        .review-stars { color: #ffc107; font-size: 18px; margin-bottom: 12px; }
        .review-text { color: #ccc; font-size: 14px; line-height: 1.8; margin-bottom: 16px; font-style: italic; }
        .review-author { display: flex; align-items: center; gap: 12px; }
        .review-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--main-blue), #0055ff); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
        .review-name { color: #fff; font-size: 14px; font-weight: bold; }
        .review-game { color: #888; font-size: 12px; }

        /* ===== أسئلة شائعة ===== */
        .faq-section { padding: 20px 10% 60px; }
        .faq-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
        .faq-item { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; backdrop-filter: blur(10px); transition: border-color 0.3s; }
        .faq-item.open { border-color: var(--main-blue); }
        .faq-q { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 15px; font-weight: bold; user-select: none; }
        .faq-q:hover { color: var(--main-blue); }
        .faq-arrow { font-size: 20px; transition: transform 0.3s; color: var(--main-blue); flex-shrink: 0; margin-right: 15px; }
        .faq-item.open .faq-arrow { transform: rotate(180deg); }
        .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; color: #aaa; font-size: 14px; line-height: 1.8; padding: 0 25px; }
        .faq-item.open .faq-a { max-height: 500px; padding: 0 25px 20px; }
        .faq-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 5px; }
        .faq-step { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,0.04); border-radius: 12px; padding: 10px 14px; }
        .faq-step-num { background: linear-gradient(135deg, var(--main-blue), #0055ff); color: #fff; font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
        .faq-step-text { color: #bbb; font-size: 13px; line-height: 1.6; }
        /* ===== زر رأيك ===== */
        .review-submit-btn { display: flex; justify-content: center; margin-top: 30px; }
        .review-submit-btn a { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; text-decoration: none; padding: 14px 30px; border-radius: 50px; font-size: 15px; font-weight: bold; display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 20px rgba(37,211,102,0.4); transition: 0.3s; }
        .review-submit-btn a:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,0.6); }
        .review-avatar img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--main-blue); }

        /* ===== فوتر ===== */
        footer { background: rgba(5,5,5,0.8); border-top: 1px solid var(--glass-border); backdrop-filter: blur(20px); padding: 40px 10% 25px; margin-top: 20px; }
        .footer-grid { display: flex; flex-wrap: wrap; gap: 35px; margin-bottom: 30px; }
        .footer-col { flex: 1; min-width: 180px; }
        .footer-col h4 { color: var(--main-blue); font-size: 15px; margin: 0 0 15px; }
        .footer-col p, .footer-col a { color: #888; font-size: 13px; line-height: 2; text-decoration: none; display: block; transition: 0.2s; }
        .footer-col a:hover { color: var(--main-blue); }
        .footer-social { display: flex; gap: 12px; margin-top: 5px; }
        .social-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; transition: 0.3s; }
        .social-icon:hover { border-color: var(--main-blue); transform: translateY(-3px); }
        .footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 20px; text-align: center; color: #555; font-size: 13px; }
        .footer-bottom span { color: var(--main-blue); }

        /* ===== Scroll to top ===== */
        #scroll-top { position: fixed; bottom: 25px; right: 25px; z-index: 9997; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--main-blue), #0055ff); color: #fff; font-size: 20px; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 5px 20px rgba(0,150,255,0.4); transition: all 0.3s; opacity: 0; }
        #scroll-top.show { display: flex; opacity: 1; }
        #scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,150,255,0.6); }

        /* ===== Toast ===== */
        #toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-20px); background: linear-gradient(135deg, #1a1a1a, #0a0a0a); border: 1px solid var(--main-blue); color: #fff; padding: 14px 28px; border-radius: 14px; font-size: 14px; font-weight: bold; z-index: 9999; opacity: 0; transition: all 0.4s; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 30px rgba(0,210,255,0.3); }
        #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

        /* ===== نص الشعار تحت اللوجو ===== */
        .logo-title { text-align: center; margin-top: 18px; line-height: 1.4; }
        .logo-title-ar {
            font-size: 26px;
            font-weight: 900;
            letter-spacing: 1px;
            background: linear-gradient(135deg, #ff8c00, #c46a00, #e0a040, #ff8c00);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 3s linear infinite;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .logo-title-en {
            font-size: 14px;
            color: #888;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-family: 'Segoe UI', Roboto, sans-serif;
            font-weight: 500;
            display: block;
            margin-top: 4px;
        }
        @keyframes shimmer {
            0% { background-position: 0% center; }
            100% { background-position: 200% center; }
        }
        /* ===== شارة ===== */
        .badge-hot { position: absolute; top: 12px; left: 12px; z-index: 3; background: linear-gradient(135deg, #ff4500, var(--main-orange)); color: #fff; font-size: 11px; font-weight: bold; padding: 4px 10px; border-radius: 20px; box-shadow: 0 3px 10px rgba(255,69,0,0.5); animation: badgePulse 2s ease-in-out infinite; }
        @keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
        /* =============================================
           RESPONSIVE — TABLET & MOBILE
           ============================================= */

        /* Tablet: 768px وأقل */
        @media (max-width: 768px) {
            .section-title { font-size: 22px; margin: 30px 5% 20px; }
            .container { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px; padding: 0 5%; }
            .packages-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
            #game-prices-container, #store-prices-container { padding: 0 5% !important; }
            .back-btn { margin: 0 5% 15px; }
            .steps-grid { flex-direction: column; align-items: center; }
            .step-card { max-width: 100%; width: 100%; }
            .reviews-grid { flex-direction: column; }
            .review-card { max-width: 100%; }
            .faq-section, .reviews-section, .steps-section { padding-left: 5%; padding-right: 5%; }
            .logo-title-ar { font-size: 22px; }
            footer { padding: 30px 5% 20px; }
            .footer-grid { gap: 25px; }
        }

        /* Mobile: 480px وأقل */
        @media (max-width: 480px) {
            nav { padding: 12px 3%; gap: 8px; }
            .nav-links { gap: 8px; }
            .nav-links a { font-size: 13px; }
            header { padding: 20px 15px 5px; }
            .logo-container { width: 110px; height: 110px; }
            .logo-title-ar { font-size: 20px; }
            .logo-title-en { font-size: 12px; letter-spacing: 2px; }
            .section-title { font-size: 18px; margin: 25px 4% 15px; }
            .container { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 4%; margin-bottom: 30px; }
            .card { min-height: 170px; padding: 12px 10px; border-radius: 16px; }
            .card h3 { font-size: 13px; margin-bottom: 10px; }
            .magic-btn { font-size: 12px; padding: 8px; }
            .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            #game-prices-container, #store-prices-container { padding: 0 4% !important; }
            .package-item { padding: 14px 10px; border-radius: 14px; }
            .package-price { font-size: 16px; margin-bottom: 10px; }
            .order-link { padding: 7px 10px; font-size: 12px; }
            .back-btn { margin: 0 4% 12px; font-size: 13px; padding: 8px 14px; }
            .step-card { padding: 25px 15px; }
            .step-icon { font-size: 34px; }
            .step-card h4 { font-size: 14px; }
            .step-card p { font-size: 12px; }
            .review-card { padding: 18px; }
            .review-text { font-size: 13px; }
            .faq-q { font-size: 13px; padding: 15px 18px; }
            .faq-a { font-size: 13px; padding: 0 18px; }
            .faq-item.open .faq-a { padding: 0 18px 15px; }
            .modal-content { padding: 20px 15px; }
            footer { padding: 25px 4% 15px; }
            .footer-grid { flex-direction: column; gap: 20px; }
            .footer-col { min-width: unset; }
            .footer-bottom { font-size: 12px; }
            .support-btn span { display: none; }
            .support-btn { padding: 14px; border-radius: 50%; }
            #scroll-top { bottom: 80px; right: 15px; width: 40px; height: 40px; font-size: 16px; }
            .promo-bar { font-size: 13px; padding: 9px 0; }
            .badge-hot { font-size: 10px; padding: 3px 8px; top: 8px; left: 8px; }
        }

       /* أصغر موبايل: 360px */
        @media (max-width: 360px) {
            .nav-links a { font-size: 11px; }
            .logo-container { width: 95px; height: 95px; }
            .logo-title-ar { font-size: 17px; }
            .container { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 3%; }
        }

        /* ===== شريط التنقل السفلي وواجهة الحساب ===== */
        .bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-border); display: flex; justify-content: space-around; align-items: center; padding: 12px 0; z-index: 9999; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); }
        .nav-tab { color: #888; text-decoration: none; font-size: 13px; font-weight: bold; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; transition: 0.3s; width: 33%; }
        .nav-tab i { font-size: 22px; font-style: normal; }
        .nav-tab.active { color: var(--main-blue); text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); }
        .nav-tab.active i { transform: translateY(-3px); }
        body { padding-bottom: 70px; }
        .support-btn, #scroll-top { bottom: 85px !important; }
        .account-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 25px; backdrop-filter: blur(10px); text-align: right; direction: rtl; max-width: 500px; margin: 0 auto; }
        .account-item { margin-bottom: 15px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
        .account-item span { color: var(--main-blue); font-weight: bold; float: left; }

        /* ===== تنسيق نافذة تسجيل الدخول الجديدة ===== */
        .auth-container {
            max-width: 420px !important;
            padding: 30px !important;
            border-radius: 24px !important;
            background: rgba(10, 10, 10, 0.98) !important;
            border: 1px solid var(--glass-border) !important;
            box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
        }
        .auth-container .modal-title {
            font-size: 20px;
            color: #fff;
            margin-bottom: 20px;
            text-align: center;
            font-weight: bold;
        }
        .input-group {
            margin-bottom: 15px;
            text-align: right;
        }
        .input-group label {
            display: block;
            font-size: 13px;
            color: #aaa;
            margin-bottom: 6px;
        }
        .input-group input {
            width: 100%;
            padding: 12px 15px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            color: #fff;
            outline: none;
            transition: 0.3s;
            text-align: right;
        }
        .input-group input:focus {
            border-color: var(--main-blue);
            box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
        }
        .or-separator {
            text-align: center;
            margin: 18px 0;
            color: #666;
            font-size: 13px;
            position: relative;
        }
        .or-separator::before, .or-separator::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 38%;
            height: 1px;
            background: rgba(255,255,255,0.1);
        }
        .or-separator::before { left: 0; }
        .or-separator::after { right: 0; }
        
        .google-btn {
            width: 100%;
            padding: 12px;
            background: #fff;
            color: #111;
            border: none;
            border-radius: 12px;
            font-weight: bold;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.3s;
            margin-bottom: 15px;
        }
        .google-btn:hover {
            background: #f1f1f1;
            transform: translateY(-2px);
        }
        .google-btn svg {
            margin-left: 8px;
            flex-shrink: 0;
        }
        .auth-switch {
            text-align: center;
            margin-top: 15px;
            font-size: 13px;
            color: #aaa;
        }
        .auth-switch span {
            color: var(--main-blue);
            cursor: pointer;
            font-weight: bold;
        }
        .auth-switch span:hover {
            text-decoration: underline;
        }
        .skip-btn-container {
            text-align: center;
            margin-top: 15px;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 15px;
        }
        .skip-link {
            color: #777;
            font-size: 13px;
            cursor: pointer;
            transition: 0.3s;
        }
        .skip-link:hover {
            color: #fff;
        }

        /* === قسم الملف الشخصي المحسّن === */
        .profile-header {
            background: var(--card-bg);
            border: 1px solid var(--glass-border);
            border-radius: 25px;
            padding: 40px 30px;
            max-width: 500px;
            margin: 0 auto 30px;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
            text-align: center;
            animation: slideDown 0.6s ease;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .profile-picture-container {
            position: relative;
            width: 140px;
            height: 140px;
            margin: 0 auto 25px;
            border-radius: 50%;
            overflow: hidden;
            background: linear-gradient(135deg, var(--main-blue), var(--main-orange));
            padding: 3px;
            cursor: pointer;
            transition: 0.3s;
        }

        .profile-picture-container:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
        }

        .profile-picture-container img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }

        .profile-picture-container::after {
            content: '📷';
            position: absolute;
            bottom: 0;
            right: 0;
            background: var(--main-orange);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            border: 3px solid var(--dark-bg);
            transition: 0.3s;
        }

        .profile-picture-container:hover::after {
            background: var(--main-blue);
            transform: scale(1.1);
        }

        .profile-name {
            font-size: 28px;
            font-weight: bold;
            color: #fff;
            margin: 0 0 8px 0;
            background: linear-gradient(135deg, var(--main-blue), var(--main-orange));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .profile-id {
            font-size: 14px;
            color: #aaa;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        .profile-id-number {
            color: var(--main-orange);
            font-weight: bold;
            font-size: 16px;
        }

        .profile-info-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin: 25px 0;
        }

        .info-card {
            background: rgba(0, 210, 255, 0.05);
            border: 1px solid rgba(0, 210, 255, 0.2);
            border-radius: 15px;
            padding: 18px 12px;
            transition: 0.3s;
        }

        .info-card:hover {
            background: rgba(0, 210, 255, 0.1);
            border-color: var(--main-blue);
            transform: translateY(-3px);
        }

        .info-card.balance {
            background: rgba(255, 140, 0, 0.05);
            border-color: rgba(255, 140, 0, 0.2);
        }

        .info-card.balance:hover {
            background: rgba(255, 140, 0, 0.1);
            border-color: var(--main-orange);
        }

        .info-card-label {
            font-size: 12px;
            color: #aaa;
            text-transform: uppercase;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .info-card-value {
            font-size: 18px;
            font-weight: bold;
            color: #fff;
        }

        .info-card.balance .info-card-value {
            color: var(--main-orange);
            font-size: 20px;
        }

        .profile-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 25px;
        }

        .profile-btn {
            padding: 12px 20px;
            border: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--main-blue), #0099cc);
            color: #fff;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
        }

        .btn-logout {
            background: linear-gradient(135deg, #ff4500, #c40000);
            color: #fff;
        }

        .btn-logout:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
        }

        #image-input {
            display: none;
        }

        .message {
            margin-top: 15px;
            padding: 12px 15px;
            border-radius: 10px;
            font-size: 14px;
            animation: slideUp 0.4s ease;
        }

        .message.success {
            background: rgba(76, 175, 80, 0.2);
            border: 1px solid rgba(76, 175, 80, 0.5);
            color: #4caf50;
        }

        .message.error {
            background: rgba(244, 67, 54, 0.2);
            border: 1px solid rgba(244, 67, 54, 0.5);
            color: #f44336;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .image-upload-hint {
            font-size: 12px;
            color: #aaa;
            margin-top: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid var(--main-blue);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @media (max-width: 600px) {
            .profile-header {
                padding: 25px 20px;
            }

            .profile-name {
                font-size: 22px;
            }

            .profile-info-cards {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .profile-buttons {
                grid-template-columns: 1fr;
            }

            .profile-picture-container {
                width: 120px;
                height: 120px;
            }
        }


/* FX & Deposit Styles */
.fx-glow,.card,.package-item{transition:box-shadow .25s,transform .2s}
.fx-glow:hover,.card:hover,.package-item:hover{box-shadow:0 0 0 1px rgba(0,210,255,.35),0 0 22px rgba(0,210,255,.2)}
/* نيون محيطي للبطاقات والأقسام */
.card{box-shadow:0 0 0 1px rgba(0,210,255,.08),0 4px 20px rgba(0,0,0,.5);}
.card:hover{box-shadow:0 0 0 1px rgba(0,210,255,.4),0 0 28px rgba(0,210,255,.22),0 8px 30px rgba(0,0,0,.55);transform:translateY(-4px);}
.package-item{box-shadow:0 0 0 1px rgba(255,140,0,.08);}
.package-item:hover{box-shadow:0 0 0 1px rgba(255,140,0,.4),0 0 22px rgba(255,140,0,.2);}
.app-bar{box-shadow:0 2px 18px rgba(0,210,255,.08);}
.home-cat{box-shadow:0 2px 14px rgba(0,0,0,.4);}
.home-cat:hover{box-shadow:0 0 0 1px rgba(0,210,255,.35),0 0 22px rgba(0,210,255,.18);transform:translateY(-4px);}
/* أزرار الشراء لمعان */
.magic-btn{box-shadow:0 0 10px rgba(0,210,255,.18);}
.magic-btn:hover{box-shadow:0 0 18px rgba(0,210,255,.4);}
/* fx-pop وripple */
.fx-pop{animation:fxp .28s}@keyframes fxp{40%{transform:scale(.94)}70%{transform:scale(1.04)}}
.fx-rip{position:absolute;border-radius:50%;background:rgba(255,255,255,.35);transform:scale(0);animation:fxr .55s ease-out;pointer-events:none}
@keyframes fxr{to{transform:scale(3.2);opacity:0}}
.magic-btn,.pid-btn-buy,.dep-submit,.dep-copy,.nav-tab{position:relative;overflow:hidden}
.magic-btn::after,.pid-btn-buy::after,.dep-submit::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);animation:fxs 2.8s infinite;pointer-events:none}
@keyframes fxs{to{left:130%}}
.pk-soon{opacity:.45;filter:grayscale(.6)}
.pk-soon-badge{display:inline-block;margin-top:8px;padding:6px 12px;border-radius:999px;background:rgba(255,140,0,.15);color:#ff8c00;font-weight:800;font-size:13px}
.ord-reply{background:rgba(0,210,255,.1);border:1px dashed #00d2ff66;color:#00d2ff;padding:8px 10px;border-radius:10px;margin-top:8px;font-size:13px;white-space:pre-wrap;word-break:break-all;user-select:all}
.dep-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-bottom:16px}
.dep-card,.dep-form{background:#0a0b0e;border:1px solid #00d2ff33;border-radius:16px;padding:16px;text-align:center}
.dep-card h3,.dep-form h3{margin:0 0 10px;color:#00d2ff}
.dep-qr{width:100%;max-width:230px;border-radius:12px;background:#fff;cursor:zoom-in}
.dep-code{margin:10px 0;padding:10px;background:#050505;border-radius:10px;color:#ff8c00;font-size:12.5px;word-break:break-all;user-select:all}
.dep-copy,.dep-submit{width:100%;border:0;border-radius:12px;padding:12px;font-weight:800;font-size:14px;cursor:pointer;color:#fff;background:linear-gradient(135deg,#00d2ff,#0077ff)}
.dep-submit{background:linear-gradient(135deg,#ff8c00,#ff5e00);margin-top:12px}.dep-submit:disabled{opacity:.6}
.dep-note{display:block;margin-top:8px;color:#aaa}
.dep-form{text-align:right;margin-bottom:18px}.dep-form label{display:block;margin:12px 0 6px;color:#ccc;font-size:13px}
.dep-form input[type=number],.dep-form input[type=file]{width:100%;box-sizing:border-box;padding:11px;border-radius:10px;border:1px solid #262931;background:#14161b;color:#fff}
.dep-sel{display:flex;gap:8px}.dep-sel button{flex:1;padding:10px;border-radius:10px;border:1px solid #262931;background:#14161b;color:#aaa;font-weight:700;cursor:pointer}
.dep-sel button.on{border-color:#00d2ff;color:#00d2ff;box-shadow:0 0 12px rgba(0,210,255,.3)}
.dep-prev{max-width:100%;max-height:200px;border-radius:10px;margin-top:10px}
.dep-h{color:#fff;margin:18px 0 10px}.dep-empty{text-align:center;color:#888;padding:14px}
.dep-row{background:#0a0b0e;border:1px solid;border-radius:12px;padding:12px 14px;margin-bottom:10px}
.dep-row-top{display:flex;justify-content:space-between}.dep-row-st{font-weight:800;margin:6px 0}
.dep-reason{background:rgba(242,69,61,.12);color:#f2453d;padding:7px 10px;border-radius:8px;font-size:13px;margin-bottom:6px}
.dep-row small{color:#777}
.dep-zoom{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;padding:14px}.dep-zoom img{max-width:100%;max-height:100%;border-radius:12px;background:#fff}

/* ==================================================
   التطوير الخامس: تصميم كود الشحن + وسائل الإيداع + المودال + الأكورديون
   ================================================== */

/* 1. بطاقة كود الشحن الفوري (Voucher Card) */
.voucher-card {
    background: #0a0b0e;
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 28px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}
.voucher-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.voucher-card-icon {
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 14px;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}
.voucher-card-title {
    margin: 0 0 4px;
    color: var(--main-blue);
    font-size: 18px;
    font-weight: 800;
}
.voucher-card-sub {
    margin: 0;
    color: #999;
    font-size: 13px;
}
.voucher-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 540px) {
    .voucher-input-group {
        flex-direction: column;
    }
    .voucher-submit-btn {
        width: 100% !important;
    }
}
.voucher-input {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    background: #050505;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.voucher-input:focus {
    border-color: var(--main-blue);
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.3);
}
.voucher-submit-btn {
    white-space: nowrap;
    padding: 13px 26px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #00d2ff, #0077ff) !important;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* 2. شبكة وسائل الإيداع المباشر (بطاقتان فقط) */
.dep-methods-section {
    margin-top: 10px;
}
.dep-methods-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dep-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.dep-action-card {
    background: #0a0b0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.dep-action-card:hover {
    border-color: var(--main-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.18);
}
.dep-card-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.15);
    color: var(--accent-orange);
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 140, 0, 0.3);
}
.dep-card-icon {
    font-size: 48px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.dep-card-title {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 8px;
}
.dep-card-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 18px;
    min-height: 40px;
}
.dep-card-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #00d2ff, #0077ff) !important;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* 3. نافذة تفاصيل وطريقة الإيداع المنبثقة (Modal) */
.dep-modal-dialog {
    max-width: 460px !important;
}
.dep-modal-body {
    padding-top: 6px;
}
.dep-modal-qr-wrap {
    text-align: center;
    margin-bottom: 16px;
}
.dep-modal-qr-wrap .dep-qr {
    max-width: 200px;
    border-radius: 14px;
    background: #fff;
    padding: 8px;
    cursor: zoom-in;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    transition: transform 0.2s;
}
.dep-modal-qr-wrap .dep-qr:hover {
    transform: scale(1.03);
}
.dep-modal-qr-hint {
    color: var(--main-blue);
    font-size: 12px;
    margin-top: 6px;
}
.dep-modal-address-wrap {
    background: #050505;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.dep-modal-address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.dep-modal-label {
    color: #aaa;
    font-size: 12.5px;
    font-weight: 600;
}
.dep-copy-mini-btn {
    background: rgba(0, 210, 255, 0.15);
    color: var(--main-blue);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.dep-copy-mini-btn:hover {
    background: var(--main-blue);
    color: #000;
}
.dep-modal-code-display {
    color: var(--accent-orange);
    font-size: 13.5px;
    font-weight: 800;
    word-break: break-all;
    user-select: all;
    font-family: monospace;
    line-height: 1.4;
    text-align: left;
}
.dep-modal-note {
    background: rgba(255, 140, 0, 0.08);
    border: 1px dashed rgba(255, 140, 0, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
    color: #ffaa33;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.dep-modal-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dep-modal-input-group label {
    display: block;
    color: #ccc;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
}
.dep-modal-input-group input[type="number"],
.dep-modal-input-group input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid #262931;
    background: #14161b;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.dep-modal-input-group input[type="number"]:focus {
    border-color: var(--main-blue);
}
.dep-submit-modal-btn {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 13px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ff8c00, #ff5e00) !important;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* 4. صفحة دفعاتي المستقلة بنظام الأكورديون (Accordion) */
.payments-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dep-accordion-empty {
    text-align: center;
    background: #0a0b0e;
    border: 1px dashed #222;
    border-radius: 18px;
    padding: 40px 20px;
    margin-top: 10px;
}
.dep-accordion-item {
    background: #0a0b0e;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    border: 1px solid;
}
.dep-accordion-item.status-approved {
    border-color: rgba(34, 197, 94, 0.45);
}
.dep-accordion-item.status-approved:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}
.dep-accordion-item.status-pending {
    border-color: rgba(255, 140, 0, 0.45);
}
.dep-accordion-item.status-pending:hover {
    border-color: #ff8c00;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.15);
}
.dep-accordion-item.status-rejected {
    border-color: rgba(239, 68, 68, 0.45);
}
.dep-accordion-item.status-rejected:hover {
    border-color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

/* رأس الأكورديون (Header) */
.dep-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s;
}
.dep-accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}
.dep-acc-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dep-acc-icon {
    font-size: 26px;
    line-height: 1;
}
.dep-acc-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dep-acc-method {
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}
.dep-acc-date-mini {
    color: #777;
    font-size: 11.5px;
}
.dep-acc-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dep-acc-amount {
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    direction: ltr;
}
.dep-acc-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.badge-approved {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.badge-pending {
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
    border: 1px solid rgba(255, 140, 0, 0.35);
}
.badge-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.dep-acc-chevron {
    font-size: 11px;
    color: #888;
    transition: transform 0.3s ease;
    margin-right: 4px;
}
.dep-accordion-item.open .dep-acc-chevron {
    transform: rotate(180deg);
    color: var(--main-blue);
}

/* محتوى الأكورديون القابل للفتح والطي (Body) */
.dep-accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.dep-accordion-item.open .dep-accordion-body {
    max-height: 500px;
    opacity: 1;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.dep-acc-rows {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 18px;
    margin-bottom: 14px;
}
.dep-acc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.dep-acc-row-label {
    color: #888;
    font-size: 12.5px;
}
.dep-acc-row-val {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
}
.dep-acc-op-id {
    color: var(--main-blue);
    font-family: monospace;
    font-size: 12px;
}
.dep-acc-val-price {
    color: var(--accent-orange);
    font-weight: 800;
}

/* صندوق رد الإدارة */
.dep-acc-reply-box {
    background: #050505;
    border: 1px dashed rgba(0, 210, 255, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
}
.dep-accordion-item.status-rejected .dep-acc-reply-box {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.35);
}
.dep-acc-reply-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--main-blue);
    margin-bottom: 4px;
}
.dep-accordion-item.status-rejected .dep-acc-reply-title {
    color: #ef4444;
}
.dep-acc-reply-text {
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
    word-break: break-word;
}
.dep-acc-reply-box.no-reply .dep-acc-reply-text {
    color: #666;
    font-style: italic;
}