/* ======================================================================
   محفظتي dz – التصميم الزجاجي الاحترافي (Glassmorphism)
   الإصدار 3.0 (متوافق مع index.html النهائي)
   ----------------------------------------------------------------------
   الألوان الأساسية:
     - الرئيسي: #00845B (أخضر غامق)
     - الثانوي: #FFD700 (ذهبي للإبراز)
     - الخلفية: تدرجات خضراء مع كرات ضبابية
   التأثيرات:
     - زجاجي (backdrop-filter: blur)
     - تدرجات وانسيابية
     - تحولات ناعمة (transitions)
   ====================================================================== */

/* ===================================================================
   1. إعادة ضبط عامة وتحديد الخطوط
   =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tahoma', 'Segoe UI', -apple-system, system-ui, sans-serif;
}

/* ===================================================================
   2. الخلفية الرئيسية للصفحة (تدرجات خضراء)
   =================================================================== */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(145deg, #006d4b 0%, #00845B 40%, #00a36b 100%);
    position: relative;
    overflow-x: hidden;
    margin: 0;
}

/* ===================================================================
   3. الكرات الضبابية (Blobs) – خلفية متحركة
   =================================================================== */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 0;
    animation: floatBlob 14s infinite alternate ease-in-out;
    pointer-events: none; /* تمنع التفاعل معها */
}

/* توزيع الكرات بأحجام وألوان مختلفة */
.bg-blob:nth-child(1) {
    width: 450px;
    height: 450px;
    background: #FFD700;
    top: -120px;
    right: -120px;
    opacity: 0.3;
    animation-duration: 16s;
}
.bg-blob:nth-child(2) {
    width: 550px;
    height: 550px;
    background: #004d33;
    bottom: -180px;
    left: -180px;
    animation-duration: 20s;
    animation-delay: 2s;
    opacity: 0.25;
}
.bg-blob:nth-child(3) {
    width: 350px;
    height: 350px;
    background: #b38f00;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 22s;
    animation-delay: 4s;
    opacity: 0.15;
}
.bg-blob:nth-child(4) {
    width: 280px;
    height: 280px;
    background: #ffaa00;
    top: 15%;
    left: 5%;
    opacity: 0.12;
    animation-duration: 22s;
    animation-delay: 1s;
}
.bg-blob:nth-child(5) {
    width: 400px;
    height: 400px;
    background: #00bb77;
    bottom: 10%;
    right: 5%;
    opacity: 0.18;
    animation-duration: 18s;
    animation-delay: 3s;
}
.bg-blob:nth-child(6) {
    width: 200px;
    height: 200px;
    background: #ffd700;
    top: 60%;
    left: 60%;
    opacity: 0.10;
    animation-duration: 25s;
    animation-delay: 5s;
}

/* حركة الكرات */
@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -35px) scale(1.12);
    }
}

/* ===================================================================
   4. الحاوية الرئيسية (زجاجية)
   =================================================================== */
.app-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-radius: 52px;
    padding: 28px 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    min-height: 620px;
}

/* ===================================================================
   5. الشاشات (Screens) – كل شاشة تظهر وتختفي
   =================================================================== */
.screen {
    display: none;
    flex-direction: column;
    gap: 22px;
    animation: fadeSlide 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.screen.active {
    display: flex;
}

/* حركة ظهور الشاشات */
@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   6. رأس الشاشة (Brand Header) – الشعار والعنوان
   =================================================================== */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.brand-header .logo-image {
    max-height: 72px;
    width: auto;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.20));
    transition: transform 0.3s ease;
}
.brand-header .logo-image:hover {
    transform: scale(1.04);
}
.brand-header h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
    margin: 0;
}
.brand-header .brand-tagline {
    color: rgba(255, 255, 255, 0.70);
    font-size: 15px;
    margin-top: -4px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ===================================================================
   7. الحقول (Input Groups)
   =================================================================== */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.input-group label {
    color: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.input-group input {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}
.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.input-group input:focus {
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
}
/* تخصيص حقل كود الدعوة في التسجيل */
.input-group input[dir="ltr"] {
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ===================================================================
   8. الأزرار (Buttons) – جميع الأنواع
   =================================================================== */
.btn {
    padding: 16px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.4px;
    user-select: none;
    width: 100%;
}
.btn:active {
    transform: scale(0.96);
}
.btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* الزر الرئيسي (ذهبي) */
.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #f5c400 100%);
    color: #003d29;
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(255, 215, 0, 0.50);
}

/* الزر الثانوي (شفاف بحدود) */
.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

/* زر Google */
.btn-google {
    background: rgba(255, 255, 255, 0.95);
    color: #222222;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    gap: 12px;
}
.btn-google:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}
.btn-google svg {
    flex-shrink: 0;
}

/* زر النجاح (أخضر) */
.btn-success {
    background: rgba(0, 132, 91, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(0, 200, 150, 0.25);
}
.btn-success:hover {
    background: #00845B;
    transform: translateY(-2px);
}

/* زر الخطر (أحمر) */
.btn-danger {
    background: rgba(200, 50, 50, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 100, 100, 0.20);
}
.btn-danger:hover {
    background: rgba(220, 60, 60, 0.90);
    transform: translateY(-2px);
}

/* زر صغير (للإجراءات الثانوية) */
.btn-small {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 40px;
    background: rgba(255, 215, 0, 0.18);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #FFD700;
    font-weight: 600;
    width: auto;
    display: inline-flex;
}
.btn-small:hover {
    background: rgba(255, 215, 0, 0.32);
    transform: translateY(-1px);
}

/* ===================================================================
   9. الفاصل (Divider) بين الخيارات
   =================================================================== */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.30);
    font-size: 13px;
    margin: 2px 0;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}
.divider span {
    flex-shrink: 0;
}

/* ===================================================================
   10. ملاحظة قانونية (أسفل الشاشات)
   =================================================================== */
.legal-note {
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    text-align: center;
    margin-top: 4px;
    line-height: 1.5;
}

/* ===================================================================
   11. لوحة التحكم (Dashboard) – الرأس
   =================================================================== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dashboard-header .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dashboard-header .user-info .user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    background: #ffffff;
    padding: 4px;
    object-fit: cover;
}
.dashboard-header .user-info span {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}
.dashboard-header .logout-btn {
    font-size: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: 0.3s;
}
.dashboard-header .logout-btn:hover {
    background: rgba(255, 60, 60, 0.20);
    color: #ff7a7a;
    border-color: rgba(255, 60, 60, 0.20);
}

/* ===================================================================
   12. بطاقة الرصيد (Balance Card)
   =================================================================== */
.balance-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 28px 20px 24px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.20);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.balance-card label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
}
.balance-card .amount {
    color: #FFD700;
    font-size: 54px;
    font-weight: 900;
    margin-top: 4px;
    text-shadow: 0 4px 24px rgba(255, 215, 0, 0.18);
    display: block;
    line-height: 1.2;
}
.balance-card .sub-amount {
    color: rgba(255, 255, 255, 0.30);
    font-size: 14px;
    display: block;
    margin-top: 2px;
}

/* ===================================================================
   13. مربع كود الدعوة (Referral Box)
   =================================================================== */
.referral-box {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px 16px 16px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 215, 0, 0.18);
    text-align: center;
}
.referral-box label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
.referral-box .code {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 6px;
    background: rgba(0, 0, 0, 0.18);
    padding: 12px 10px;
    border-radius: 14px;
    margin: 6px 0;
    direction: ltr;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}
.referral-box .code.inactive {
    color: rgba(255, 255, 255, 0.30);
    font-size: 18px;
    letter-spacing: 1px;
    font-family: 'Tahoma', sans-serif;
    font-weight: 400;
}
.referral-box .referral-hint {
    color: rgba(255, 255, 255, 0.30);
    font-size: 12px;
    margin-top: 6px;
}
.referral-box .btn-small {
    margin-top: 4px;
}

/* ===================================================================
   14. شبكة الأزرار السريعة (Action Grid)
   =================================================================== */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.action-grid .btn {
    font-size: 15px;
    padding: 18px 10px;
    flex-direction: column;
    gap: 4px;
    border-radius: 26px;
}
.action-grid .btn small {
    font-weight: 400;
    font-size: 12px;
    opacity: 0.70;
}

/* ===================================================================
   15. رسائل الحالة (Toasts)
   =================================================================== */
.toast-message {
    padding: 14px 18px;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
    font-size: 15px;
}
.toast-message.success {
    border-color: rgba(0, 200, 80, 0.40);
    background: rgba(0, 200, 80, 0.12);
    color: #b9f6ca;
}
.toast-message.error {
    border-color: rgba(255, 60, 0, 0.40);
    background: rgba(255, 60, 0, 0.12);
    color: #ff9a80;
}
.toast-message.info {
    border-color: rgba(255, 215, 0, 0.30);
    background: rgba(255, 215, 0, 0.08);
    color: #ffe082;
}

/* ===================================================================
   16. مؤشر التحميل (Spinner)
   =================================================================== */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border-top-color: #FFD700;
    animation: spin 0.85s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    flex-shrink: 0;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.btn .spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* ===================================================================
   17. شريط التنقل السفلي (Bottom Navigation)
   =================================================================== */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 4px;
}
.bottom-nav .nav-item {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bottom-nav .nav-item:hover {
    color: rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.05);
}
.bottom-nav .nav-item.active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.10);
}

/* ===================================================================
   18. شاشة الملف الشخصي (Profile)
   =================================================================== */
.profile-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 28px 20px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-card .profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #FFD700;
    background: #ffffff;
    margin: 0 auto 14px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile-card .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-card h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 4px;
}
.profile-card p {
    color: rgba(255, 255, 255, 0.60);
    font-size: 15px;
    margin: 6px 0;
    line-height: 1.6;
}
.profile-card p span {
    color: #FFD700;
    font-weight: 600;
}

/* ===================================================================
   19. شاشة الإعدادات (Settings)
   =================================================================== */
.settings-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 20px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.setting-item:last-child {
    border-bottom: none;
}
.setting-item span {
    color: rgba(255, 255, 255, 0.80);
    font-size: 16px;
    font-weight: 500;
}
.setting-item .btn-small {
    font-size: 13px;
    padding: 6px 18px;
}

/* مفتاح التبديل (Switch) */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    transition: 0.3s;
    border-radius: 34px;
}
.switch .slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
}
.switch input:checked + .slider {
    background: #FFD700;
}
.switch input:checked + .slider::before {
    transform: translateX(22px);
}

/* ===================================================================
   20. شاشة الإشعارات (Notifications)
   =================================================================== */
.notifications-list {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.notification-item .notif-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFD700;
    margin-top: 6px;
    flex-shrink: 0;
}
.notification-item div {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.5;
}
.notification-item div strong {
    color: #ffffff;
    font-weight: 700;
}
.notification-item div small {
    color: rgba(255, 255, 255, 0.40);
    font-size: 12px;
}

/* ===================================================================
   21. شاشة سجل المعاملات (History)
   =================================================================== */
.history-list {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    flex-wrap: wrap;
}
.history-item span:first-child {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 600;
    font-size: 15px;
    flex: 1;
}
.history-item span:nth-child(2) {
    color: #FFD700;
    font-weight: 700;
    font-size: 16px;
    margin: 0 12px;
}
.history-item small {
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    width: 100%;
    margin-top: 4px;
}

/* ===================================================================
   22. شاشة المساعدة (Help / FAQ)
   =================================================================== */
.help-content {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 20px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.help-content h3 {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 18px;
    text-align: center;
}
.help-content .faq-item {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.help-content .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.help-content .faq-item strong {
    color: #ffffff;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}
.help-content .faq-item p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================================================
   23. تحسينات الاستجابة للشاشات الصغيرة (Responsive)
   =================================================================== */
@media (max-width: 480px) {
    .app-container {
        padding: 20px 16px;
        border-radius: 36px;
        max-width: 100%;
    }
    .balance-card .amount {
        font-size: 40px;
    }
    .brand-header h1 {
        font-size: 24px;
    }
    .brand-header .logo-image {
        max-height: 60px;
    }
    .action-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .action-grid .btn {
        flex-direction: row;
        justify-content: center;
        padding: 16px;
    }
    .action-grid .btn small {
        display: inline;
        font-size: 12px;
        margin-right: 6px;
    }
    .bottom-nav .nav-item {
        font-size: 12px;
        padding: 6px 10px;
    }
    .bottom-nav .nav-item span {
        display: none;
    }
    .dashboard-header .user-info span {
        font-size: 16px;
    }
    .referral-box .code {
        font-size: 24px;
        letter-spacing: 4px;
    }
}

/* ===================================================================
   24. دعم الشاشات الكبيرة (اختياري)
   =================================================================== */
@media (min-width: 768px) {
    .app-container {
        max-width: 460px;
        padding: 32px 28px;
    }
    .balance-card .amount {
        font-size: 62px;
    }
}

/* ===================================================================
   25. فئة مساعدة لإخفاء العناصر (عند الحاجة)
   =================================================================== */
.hidden {
    display: none !important;
}

/* ===================================================================
   26. تخصيص رسائل التفعيل لكود الدعوة في لوحة التحكم
   =================================================================== */
.referral-box .code.inactive {
    color: rgba(255, 255, 255, 0.30);
    font-size: 18px;
    letter-spacing: 1px;
    font-family: 'Tahoma', sans-serif;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.10);
}
.referral-box .code.inactive + .btn-small {
    display: none; /* إخفاء زر النسخ عندما يكون الكود غير مفعل */
}

/* ===================================================================
   27. تخصيص شاشة الترحيب (Splash Screen) إضافات
   =================================================================== */
#splash-screen .splash-logo-wrapper {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
    0% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    }
    100% {
        box-shadow: 0 20px 80px rgba(255, 215, 0, 0.25), 0 20px 60px rgba(0, 0, 0, 0.35);
    }
}

/* ===================================================================
   28. نهاية الملف – جميع الأنماط جاهزة للاستخدام
   =================================================================== */