        :root { 
            --sadeem-bg: #0d0211; 
            --royal-gold: linear-gradient(135deg, #c5a059 0%, #f1d38e 50%, #b38b47 100%);
            --soft-gold: #c5a059;
            --glass: rgba(255, 255, 255, 0.03);
            --border-gold: rgba(197, 160, 89, 0.2);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        body { 
            font-family: 'Tajawal', sans-serif; 
            background: var(--sadeem-bg);
            color: #f5f1eb; margin: 0; line-height: 1.6; overflow-x: hidden;
        }

        /* --- Header --- */
        header { 
            background: rgba(13, 2, 17, 0.95); backdrop-filter: blur(15px);
            padding: 12px 5%; display: flex; justify-content: space-between; align-items: center;
            border-bottom: 1px solid var(--border-gold); position: sticky; top: 0; z-index: 1000;
        }
        
        .brand { display: flex; flex-direction: column; text-decoration: none; }
        .brand .top { font-family: 'Cinzel', serif; color: var(--soft-gold); letter-spacing: 2px; font-size: 1.2rem; font-weight: 700; }
        .brand .sub { color: #fff; font-size: 0.6rem; opacity: 0.6; letter-spacing: 1px; text-align: center; }

        .nav-links-desktop { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
        .nav-links-desktop a { text-decoration: none; color: #dfb6b2; font-size: 0.95rem; transition: var(--transition); font-weight: 500; }
        .nav-links-desktop a:hover { color: var(--soft-gold); text-shadow: 0 0 8px rgba(197, 160, 89, 0.4); }

        .menu-btn { background: none; border: none; color: var(--soft-gold); font-size: 1.5rem; cursor: pointer; display: none; }

        /* --- Sidebar --- */
        .sidebar {
            position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
            background: #14051a; border-left: 1px solid var(--border-gold);
            z-index: 2000; transition: var(--transition); display: flex; flex-direction: column;
            box-shadow: -10px 0 30px rgba(0,0,0,0.9);
        }
        .sidebar.active { right: 0; }
        .sidebar-header { padding: 25px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-gold); }
        .sidebar ul { list-style: none; padding: 20px 0; margin: 0; }
        .sidebar ul li a { text-decoration: none; color: #f5f1eb; display: flex; align-items: center; gap: 15px; padding: 12px 20px; transition: var(--transition); }
        .sidebar ul li a:hover { background: rgba(197, 160, 89, 0.1); color: var(--soft-gold); }

        .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1500; display: none; }
        .overlay.active { display: block; }

        /* --- About Section --- */
        .about-agatha {
            padding: 40px 5%; display: flex; align-items: center; gap: 40px;
            background: linear-gradient(to left, rgba(197, 160, 89, 0.05), transparent);
            margin: 40px 5%; border-radius: 24px; border: 1px solid var(--border-gold);
        }
        .about-img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 3px solid var(--soft-gold); }

        /* --- Progress Bar --- */
        .progress-container { max-width: 800px; margin: 20px auto; padding: 0 5%; text-align: center; }
        .progress-bar-bg { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; overflow: hidden; border: 1px solid var(--border-gold); }
        .progress-bar-fill { height: 100%; background: var(--royal-gold); transition: width 1.5s ease; }

        /* --- Book Grid --- */
        .book-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 25px; padding: 30px 5%; 
        }

        .book-card { 
            background: var(--glass); border: 1px solid var(--border-gold); 
            border-radius: 15px; padding: 15px; transition: var(--transition); 
            text-align: center; display: flex; flex-direction: column;
        }
        .book-card:hover { transform: translateY(-10px); border-color: var(--soft-gold); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }

        .cover-container { border-radius: 10px; overflow: hidden; aspect-ratio: 2/3; margin-bottom: 12px; }
        .cover-container img { width: 100%; height: 100%; object-fit: cover; }

        .book-title { font-family: 'Amiri', serif; font-size: 1.1rem; color: var(--soft-gold); margin: 10px 0; min-height: 2.4em; line-height: 1.3; }
        .download-stats { font-size: 0.8rem; color: var(--soft-gold); opacity: 0.8; margin-bottom: 15px; }

        .btn-royal {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            padding: 10px; border: 1px solid var(--soft-gold); border-radius: 8px;
            text-decoration: none; color: var(--soft-gold); font-size: 0.85rem; transition: var(--transition);
        }
        .btn-royal:hover { background: var(--soft-gold); color: #000; font-weight: bold; }

        /* --- Source Section --- */
        .source-notice { margin: 50px 5% 30px; }
        .source-container {
            max-width: 900px; margin: 0 auto;
            background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, rgba(197, 160, 89, 0.03) 100%);
            border: 1px solid var(--border-gold); border-radius: 20px; padding: 30px;
            display: flex; gap: 20px; align-items: flex-start; backdrop-filter: blur(10px);
        }
        .source-icon { flex-shrink: 0; width: 50px; height: 50px; background: rgba(197, 160, 89, 0.15); border: 2px solid var(--soft-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--soft-gold); font-size: 1.5rem; }
        .source-content h4 { font-family: 'Amiri', serif; color: var(--soft-gold); font-size: 1.3rem; margin: 0 0 10px 0; }
        .source-content p { font-size: 0.9rem; margin: 0; opacity: 0.9; }
        .source-content a { color: var(--soft-gold); text-decoration: none; font-weight: bold; }

        /* --- Footer --- */
        .legal-footer { padding: 40px 5%; background: rgba(5, 1, 7, 0.8); border-top: 1px solid var(--border-gold); text-align: center; margin-top: 50px; }

        /* --- Responsive --- */
        @media (max-width: 1024px) { .book-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (max-width: 768px) {
            .nav-links-desktop { display: none; }
            .menu-btn { display: block; }
            .about-agatha { flex-direction: column; text-align: center; }
            .book-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 15px 3%; }
            .source-container { flex-direction: column; align-items: center; text-align: center; }
        }
