/* ====================================================================
   🎨 Discord-Inspired Design Tokens & System Variables
   ==================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* الخلفيات الأساسية المستوحاة من Discord */
    --bg-black: #08090D;
    --bg-primary: #0B0D12;
    --bg-secondary: #111318;
    --bg-card: #151821;
    --bg-card-hover: #1B1E2A;
    --bg-interactive: #1E2330;
    --bg-interactive-hover: #262C3D;

    /* ألوان Discord والهوية */
    --blurple: #5865F2;
    --blurple-hover: #4752C4;
    --blurple-glow: rgba(88, 101, 242, 0.35);
    --blurple-subtle: rgba(88, 101, 242, 0.12);

    /* ألوان الحالة */
    --color-green: #10B981;
    --color-green-glow: rgba(16, 185, 129, 0.3);
    --color-yellow: #F59E0B;
    --color-red: #EF4444;
    --color-red-glow: rgba(239, 68, 68, 0.3);
    --color-cyan: #06B6D4;
    --color-purple: #9146FF;

    /* النصوص */
    --text-white: #FFFFFF;
    --text-normal: #DBDEE1;
    --text-muted: #949BA4;
    --text-dim: #64748B;

    /* الحدود والظلال */
    --border-light: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-blurple: rgba(88, 101, 242, 0.4);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px var(--blurple-glow);

    /* الخطوط */
    --font-ar: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* الحواف والتحولات */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.18s ease;
    --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

    --sidebar-width: 270px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-normal);
    font-family: var(--font-ar);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    overflow-x: hidden;
}

/* شريط تمرير أنيق مستوحى من Discord */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #1e222d;
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: #2b3040;
}
