        /* نفس خطوط وألوان لوحة الإدارة */
        body {
            background-color: #111;
            color: #fff;
            font-family: Arial, sans-serif;
            direction: rtl;
            margin: 0;
            padding: 0;
        }
        a {
            color: gold;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
        header.admin-header {
            background-color: #222;
            color: white;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: bold;
            font-size: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.7);
        }
    
        h1 {
            font-size: 28px;
            margin-bottom: 15px;
            color: gold;
        }
        img.poster {
            width: 100%;
            max-width: 300px;
            border-radius: 10px;
            margin-bottom: 20px;
            box-shadow: 0 0 10px gold;
        }
        p.description {
            font-size: 16px;
            line-height: 1.7;
            margin-bottom: 20px;
            color: #ccc;
        }
        strong {
            color: gold;
        }
        .info-line {
            margin-bottom: 10px;
            font-size: 16px;
            color: #ddd;
        }
        /* زر السيرفرات */
        .server-buttons {
            margin: 20px 0 10px;
            text-align: center;
        }
        .server-buttons button {
            background-color: #222;
            border: 1.5px solid gold;
            color: gold;
            padding: 10px 18px;
            margin: 0 6px 10px 0;
            cursor: pointer;
            border-radius: 8px;
            font-weight: bold;
            transition: background-color 0.3s, color 0.3s;
        }
        .server-buttons button.active,
        .server-buttons button:hover {
            background-color: gold;
            color: #111;
        }
        /* iframe الفيديو */
        .video-player {
            display: none;
            margin: 0 auto 30px;
            max-widths: 850px;
            border-radius: 12px;
            box-shadow: 0 0 20px gold;
        }
        .video-player iframe {
            width: 100%;
            height: 480px;
            border-radius: 12px;
            border: none;
        }
        /* روابط التحميل */
        .download-links {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-bottom: 25px;
        }
        .download-links a {
            background-color: gold;
            color: #111;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .download-links a:hover {
            background-color: #b8860b;
        }
        /* حلقات أخرى */
        ul.related-list {
            list-style: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
        ul.related-list li {
            background-color: #222;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: bold;
            box-shadow: 0 0 8px rgba(0,0,0,0.6);
            transition: background-color 0.3s;
        }
        ul.related-list li:hover {
            background-color: gold;
            color: #111;
        }
        ul.related-list li a {
            color: inherit;
            text-decoration: none;
        }
        /* استجابة */
        @media (max-width: 768px) {
            .video-player iframe {
                height: 270px;
            }
            .server-buttons button {
                margin-bottom: 8px;
                padding: 8px 14px;
                font-size: 14px;
            }
            .download-links a {
                padding: 8px 14px;
                font-size: 14px;
            }
        }
        .admin-sidebar {
    position: fixed;
    top: 60px;
    right: -290px;
    width: 250px;
    height: calc(100% - 60px);
    background-color: #222;
    overflow-y: auto;
    padding: 20px;
    transition: right 0.3s;
    z-index: 999;
}

.admin-sidebar.show {
    right: 0;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-sidebar ul li {
    margin-bottom: 15px;
}

.admin-sidebar ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.admin-sidebar ul li a:hover {
    background-color: #b06c07;
}

.toggle-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}





.admin-header {
    top: 0;
    right: 0;
    left: 0;
    height: 60px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.left-section {
    display: flex;
    align-items: center;
    gap: 15px; /* مسافة بين ☰ و MigaMex */
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.toggle-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}
.admin-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 60px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

/* مربع البحث في المنتصف */
.search-form.desktop-search {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    background: #333;
    border-radius: 6px;
    overflow: hidden;
}

.search-form input {
    border: none;
    padding: 8px 10px;
    background: transparent;
    color: white;
    width: 100%;
    outline: none;
}

.search-form button {
    background: gold;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #111;
    font-weight: bold;
}

/* معلومات المستخدم + زر البحث */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.username {
    color: gold;
    font-weight: bold;
    text-decoration: none;
}

/* البحث للموبايل */
.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

/* مربع بحث منبثق للموبايل */
.mobile-search-box {
    display: none;
    background-color: #1e1e1e;
    padding: 10px 15px;
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 998;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.mobile-search-box form {
    display: flex;
    gap: 10px;
}

.mobile-search-box input {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    outline: none;
}

.mobile-search-box button {
    background-color: gold;
    color: #111;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* إخفاء على الجوال وإظهار على الكمبيوتر والعكس */
@media (max-width: 768px) {
    .search-form.desktop-search {
        display: none;
    }

    .mobile-search-toggle {
        display: inline-block;
    }
}

.site-footer {
    text-align: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.site-footer p {
    margin: 0;
}
