/* D:\CVS GAMES\Django\cvsgames_site\android_app\static\android_app\css\android_style.css */
@import url("components/_android_app_ratings_style.css");
/*

   ====================================================================
   تنسيقات CSS الخاصة بنظام ألعاب/تطبيقات الأندرويد
   ====================================================================
   هذا الملف مخصص لأي تنسيقات فريدة لواجهة نظام الأندرويد،
   أو لتجاوز التنسيقات العامة من ملفات core/static/core/css/
*/

/* مثال: إذا أردت أن تكون أزرار "تحميل التطبيق" بلون مختلف قليلاً في نظام الأندرويد */
.android-game-detail .download-button {
    background-color: #FF9800; /* لون برتقالي مثلاً */
}

/* مثال: إذا أردت تعديل حجم عناصر الشبكة في صفحات الأندرويد */
.android-games-grid .game-item {
    width: calc(33.33% - 20px); /* 3 عناصر في السطر بدلاً من 5 مثلاً */
}

/* هنا يمكنك إضافة أي تنسيقات خاصة بأسماء التصنيفات الجديدة إذا كان لها فئات CSS فريدة */
/* مثلاً:
.categories a[href*="android-rpg"] {
    color: #4CAF50;
}
*/

/* Media Queries خاصة بواجهة الأندرويد إذا لزم الأمر */
@media (max-width: 768px) {
    .android-games-grid .game-item {
        width: calc(50% - 15px);
    }
}

/* تنسيقات زر التحميل */
.download-button {
    display: inline-block; /* يظهر كزر */
    background-color: #FF9800; /* لون برتقالي (زر التحميل في Android) */
    color: #fff; /* نص أبيض */
    padding: 15px 30px; /* حشو داخلي كبير */
    border-radius: 8px; /* حواف دائرية */
    text-decoration: none; /* إزالة الخط السفلي */
    font-size: 1.2em; /* حجم خط أكبر */
    margin-top: 20px; /* مسافة علوية */
    text-align: center; /* توسيط النص */
    transition: background-color 0.3s ease; /* انتقال ناعم للخلفية */
}

.download-button:hover {
    background-color: #FB8C00; /* لون أغمق عند التمرير */
}

/* تنسيقات الوضع المضيء لزر التحميل هذا */
body.light-theme .download-button {
    background-color: #03DAC6; /* لون فيروزي في الوضع المضيء */
}

body.light-theme .download-button:hover {
    background-color: #018786;
}

.icon-slide-item {
    flex: 0 0 auto; /* يمنع الانكماش ويأخذ حجمه المحدد */
    width: 120px;   /* عرض ثابت للأيقونة (مثل صورة 2.jpg) */
    margin: 0 7px; /* مسافة 10 بكسل بين كل أيقونة */
    background-color: transparent; /* خلفية شفافة (أو #333 حسب رغبتك) */
    border-radius: 12px;
    overflow: hidden;
    text-align: right; /* محاذاة النص لليمين */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
    direction: rtl; /* إعادة اتجاه النص العربي */
}

/* تنسيق الصورة داخل الأيقونة (هذا هو الجزء الأهم) */
.icon-slide-item img {
    width: 100%;    /* العرض 100% (أي 120px) */
    height: 120px;  /* ارتفاع 120px لجعلها مربعة تماماً */
    object-fit: cover; /* يقص الصور الكبيرة لتناسب المربع */
    border-radius: 22px; /* حواف دائرية جداً (مثل صورة 2.jpg) */
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.icon-slide-item:hover {
    transform: translateY(-3px); /* تأثير الرفع عند التمرير */
    box-shadow: 0 0px 20px rgb(255, 0, 0);
}

.icon-slide-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* تنسيق عنوان التطبيق تحت الأيقونة */
.icon-slide-item h3 {
    color: #f0f0f0;
    font-size: 0.9em; /* خط أصغر */
    padding: 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* إضافة "..." للاسم الطويل */
    margin: 0 0 4px 0;
    text-align: center; /* توسيط العنوان */
}

/* تنسيق الفئة (اختياري) */
.icon-slide-item span {
    font-size: 0.8em;
    color: #a0a0a0;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* في الوضع المضيء */
body.light-theme .icon-slide-item h3 {
    color: #333;
}
body.light-theme .icon-slide-item span {
    color: #777;
}

/* ========================================================== */
/* == الخطوة 4: تنسيقات الشبكة الرئيسية (لطلبك رقم 3) == */
/* ========================================================== */
/* هذا الكود يستهدف الشبكات الرئيسية في صفحات الأندرويد فقط 
  ويجعلها أصغر من سلايدرات الأيقونات (التي حددناها بـ 120px).
*/

/* استهداف حاويات الشبكة في صفحة قائمة الأندرويد الرئيسية وصفحة الفئة */
.android-games-grid .grid-container,
.android-category-games-grid .grid-container {
    /* تغيير حجم الأعمدة ليكون أصغر (90px) */
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    gap: 10px !important; /* تقليل المسافة بين العناصر */
    padding-bottom: 30px !important;
}
.game-item:hover {
    transform: translateY(-5px); /* رفع العنصر للأعلى */
    /* استخدام متغير اللون البنفسجي الخاص بالأندرويد للظل */
    box-shadow: 0 6px 15px rgba(var(--android-glow-rgb), 0.3);
    z-index: 2;
}
/* استهداف العناصر داخل تلك الشبكات */
.android-games-grid .game-item,
.android-category-games-grid .game-item {
    padding: 5px !important; /* تقليل الحشو الداخلي */
    min-width: 90px !important;
    margin-bottom: -20px !important;
    position: relative;
    z-index: 1;
}

/* استهداف الصور داخل عناصر الشبكة الرئيسية */
.game-item img,
.android-category-games-grid .game-item img {
    width: 100% !important;   /* العرض 100% (أي 90px) */
    height: 90px !important;  /* ارتفاع 90px (مربع وأصغر من السلايدر) */
    object-fit: cover !important;
    border-radius: 16px !important; /* حواف دائرية */
    margin-bottom: 5px !important;
    margin-left: 0 !important; /* إزالة الهامش الأيسر من games_grid.css */
}

/* استهداف العناوين داخل عناصر الشبكة الرئيسية */
.android-games-grid .game-item h3,
.android-category-games-grid .game-item h3 {
    font-size: 0.8em !important; /* خط أصغر */
    padding: 0 2px !important;
}

.android-search-results-grid .grid-container {
    /* تغيير حجم الأعمدة ليكون 120px (نفس حجم سلايدر الأيقونات) */
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 10px !important; /* نفس المسافة في سلايدر الأيقونات */
    padding-bottom: 30px !important;
}

/* 2. استهداف العناصر داخل شبكة نتائج البحث */
.android-search-results-grid .game-item {
    padding: 5px !important;
    min-width: 120px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0s 0.1s ease; /* تحديث الانتقال */
    margin-bottom: -20px !important; 
    position: relative;
    z-index: 1;
}

/* 3. استهداف الصور داخل عناصر شبكة نتائج البحث */
.android-search-results-grid .game-item img {
    width: 100% !important;   /* العرض 100% (أي 120px) */
    height: 120px !important; /* ارتفاع 120px (مربع) */
    object-fit: cover !important;
    border-radius: 22px !important; /* نفس حواف سلايدر الأيقونات */
    margin-bottom: 8px !important;
    margin-left: 0 !important; /* إزالة الهامش الأيسر من games_grid.css */
}

/* 4. استهداف العناوين داخل عناصر شبكة نتائج البحث */
.android-search-results-grid .game-item h3 {
    font-size: 0.9em !important; /* نفس خط سلايدر الأيقونات */
    padding: 0 3px !important;
    text-align: center !important; /* توسيط العنوان */
}
.android-search-results-grid .game-item:hover {
    transform: translateY(-5px); /* رفع العنصر للأعلى */
    box-shadow: 0 6px 15px rgba(var(--android-glow-rgb), 0.3);
    z-index: 2;
}

.android-games-grid .load-more-button,
.android-category-games-grid .load-more-button,
.android-search-results-grid .load-more-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: bold;
    color: #f0f0f0;
    /* استخدام لون الخلفية البنفسجي المميز */
    background-color: rgba(var(--android-glow-rgb), 0.2); 
    border: 1px solid rgba(var(--android-glow-rgb), 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* ✅ الطلب الرئيسي: إنزال الزر للأسفل قليلاً */
    /* لقد أضفنا -20px هامش سفلي للعناصر، 
      لذا نحتاج إلى هامش علوي أكبر لتعويض ذلك وإضافة مسافة.
      جرب 40px (20px للتعويض + 20px مسافة إضافية).
    */
    margin-top: 40px !important; 
    margin-bottom: 20px !important; /* إضافة هامش سفلي أيضاً */
}

.android-games-grid .load-more-button:hover,
.android-category-games-grid .load-more-button:hover,
.android-search-results-grid .load-more-button:hover {
    background-color: rgba(var(--android-glow-rgb), 0.4);
    border-color: rgba(var(--android-glow-rgb), 0.8);
    color: #ffffff;
    transform: translateY(-3px); /* تأثير رفع بسيط عند التمرير */
    box-shadow: 0 4px 10px rgba(var(--android-glow-rgb), 0.2);
}

/* الوضع المضيء */
body.light-theme .android-games-grid .load-more-button,
body.light-theme .android-category-games-grid .load-more-button,
body.light-theme .android-search-results-grid .load-more-button {
    background-color: #f0f2f5;
    border-color: #d0d0d0;
    color: #333;
}

body.light-theme .android-games-grid .load-more-button:hover,
body.light-theme .android-category-games-grid .load-more-button:hover,
body.light-theme .android-search-results-grid .load-more-button:hover {
    background-color: #e4e6eb;
    border-color: #b0b0b0;
    color: #111;
}

.game-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.title-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}
.header-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.game-header h2 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: none; /* إلغاء أي transform سابق قد يؤثر على المحاذاة */
}
.game-header .favorite-button {
    flex-shrink: 0;
    margin-left: 15px; /* أو margin-right: 0; margin-left: auto; حسب الحاجة */
    margin-right: 0;
}

/* ========================================================
   تنسيقات زر "إرسال تحديث" وحاوية الأزرار
   ======================================================== */

/* 1. تنسيق الحاوية التي تجمع زر التحديث وزر المفضلة */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* مسافة بين الزرين */
}

/* 2. تنسيق زر التحديث (أزرق ومميز) */
.action-button.update-btn {
    background-color: #2196F3; /* لون أزرق */
    color: white;
    border: 1px solid #1E88E5;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* مسافة بين الأيقونة والنص */
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* تأثير التمرير (Hover) */
.action-button.update-btn:hover {
    background-color: #1976D2; /* أزرق أغمق */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.4);
}

/* أيقونة داخل الزر */
.update-btn i {
    font-size: 1.1em;
}

/* 3. دعم الوضع المضيء */
body.light-theme .action-button.update-btn {
    background-color: #007bff;
    border-color: #0069d9;
}
body.light-theme .action-button.update-btn:hover {
    background-color: #0056b3;
}

/* D:\CVS GAMES\Django\cvsgames_site\android_app\static\android_app\css\android_style.css */
@import url("components/_android_app_ratings_style.css");

/* ====================================================================
   تنسيقات CSS الخاصة بنظام ألعاب/تطبيقات الأندرويد
   ==================================================================== */

/* تخصيص ألوان الأزرار للأندرويد */
.android-game-detail .download-button {
    background-color: #FF9800;
}

/* تخصيص حجم الشبكة */
.android-games-grid .game-item {
    width: calc(33.33% - 20px);
}

/* تنسيقات زر التحميل العام */
.download-button {
    display: inline-block;
    background-color: #FF9800;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    margin-top: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #FB8C00;
}

/* الوضع المضيء لزر التحميل */
body.light-theme .download-button {
    background-color: #03DAC6;
}
body.light-theme .download-button:hover {
    background-color: #018786;
}

/* تنسيق عنصر الأيقونة في السلايدر (الافتراضي للكمبيوتر) */
.icon-slide-item {
    flex: 0 0 auto;
    width: 120px;
    margin: 0 7px;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    text-align: right;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
    direction: rtl;
}

.icon-slide-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.icon-slide-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0px 20px rgb(255, 0, 0);
}

.icon-slide-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.icon-slide-item h3 {
    color: #f0f0f0;
    font-size: 0.9em;
    padding: 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 4px 0;
    text-align: center;
}

.icon-slide-item span {
    font-size: 0.8em;
    color: #a0a0a0;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.light-theme .icon-slide-item h3 { color: #333; }
body.light-theme .icon-slide-item span { color: #777; }

/* تنسيقات الشبكة (Grid) */
.android-games-grid .grid-container,
.android-category-games-grid .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    gap: 10px !important;
    padding-bottom: 30px !important;
}

.android-games-grid .game-item,
.android-category-games-grid .game-item {
    padding: 5px !important;
    min-width: 90px !important;
    margin-bottom: -20px !important;
    position: relative;
    z-index: 1;
}

.android-games-grid .game-item img,
.android-category-games-grid .game-item img {
    width: 100% !important;
    height: 90px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
}

.android-games-grid .game-item h3,
.android-category-games-grid .game-item h3 {
    font-size: 0.8em !important;
    padding: 0 2px !important;
}

/* تنسيقات أزرار التحميل الإضافية */
.android-games-grid .load-more-button,
.android-category-games-grid .load-more-button,
.android-search-results-grid .load-more-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: bold;
    color: #f0f0f0;
    background-color: rgba(159, 80, 255, 0.2); 
    border: 1px solid rgba(159, 80, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 40px !important; 
    margin-bottom: 20px !important;
}

/* تنسيقات الهيدر */
.game-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.title-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}
.header-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.game-header h2 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: none;
}
.game-header .favorite-button {
    flex-shrink: 0;
    margin-left: 15px;
    margin-right: 0;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.action-button.update-btn {
    background-color: #2196F3;
    color: white;
    border: 1px solid #1E88E5;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* D:\CVS GAMES\Django\cvsgames_site\android_app\static\android_app\css\android_style.css */
@import url("components/_android_app_ratings_style.css");

/* ====================================================================
   تنسيقات CSS الخاصة بنظام ألعاب/تطبيقات الأندرويد
   ==================================================================== */

/* تخصيص ألوان الأزرار للأندرويد */
.android-game-detail .download-button {
    background-color: #FF9800;
}

/* تخصيص حجم الشبكة */
.android-games-grid .game-item {
    width: calc(33.33% - 20px);
}

/* تنسيقات زر التحميل العام */
.download-button {
    display: inline-block;
    background-color: #FF9800;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    margin-top: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #FB8C00;
}

/* الوضع المضيء لزر التحميل */
body.light-theme .download-button {
    background-color: #03DAC6;
}
body.light-theme .download-button:hover {
    background-color: #018786;
}

/* تنسيق عنصر الأيقونة في السلايدر (الافتراضي للكمبيوتر) */
.icon-slide-item {
    flex: 0 0 auto;
    width: 120px;
    margin: 0 7px;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    text-align: right;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
    direction: rtl;
}

.icon-slide-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.icon-slide-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0px 20px rgb(255, 0, 0);
}

.icon-slide-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.icon-slide-item h3 {
    color: #f0f0f0;
    font-size: 0.9em;
    padding: 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 4px 0;
    text-align: center;
}

.icon-slide-item span {
    font-size: 0.8em;
    color: #a0a0a0;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.light-theme .icon-slide-item h3 { color: #333; }
body.light-theme .icon-slide-item span { color: #777; }

/* تنسيقات الشبكة (Grid) */
.android-games-grid .grid-container,
.android-category-games-grid .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    gap: 10px !important;
    padding-bottom: 30px !important;
}

.android-games-grid .game-item,
.android-category-games-grid .game-item {
    padding: 5px !important;
    min-width: 90px !important;
    margin-bottom: -20px !important;
    position: relative;
    z-index: 1;
}

.android-games-grid .game-item img,
.android-category-games-grid .game-item img {
    width: 100% !important;
    height: 90px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
}

.android-games-grid .game-item h3,
.android-category-games-grid .game-item h3 {
    font-size: 0.8em !important;
    padding: 0 2px !important;
}

/* تنسيقات أزرار التحميل الإضافية */
.android-games-grid .load-more-button,
.android-category-games-grid .load-more-button,
.android-search-results-grid .load-more-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: bold;
    color: #f0f0f0;
    background-color: rgba(159, 80, 255, 0.2); 
    border: 1px solid rgba(159, 80, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 40px !important; 
    margin-bottom: 20px !important;
}

/* تنسيقات الهيدر */
.game-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.title-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}
.header-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.game-header h2 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: none;
}
.game-header .favorite-button {
    flex-shrink: 0;
    margin-left: 15px;
    margin-right: 0;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.action-button.update-btn {
    background-color: #2196F3;
    color: white;
    border: 1px solid #1E88E5;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ====================================================================
   📱 إصلاحات الجوال النهائية (Super Compact Mode - تقريب المسافات)
   استبدل كل شيء في نهاية ملف android_style.css بهذا الجزء
   ==================================================================== */

@media (max-width: 768px) {

    /* =======================================================
       1. السلايدر الأول (Hero): كما هو
       ======================================================= */
    .game-slider-section.first-of-type {
        padding: 0 !important;
        margin-bottom: 5px !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .game-slider-section.first-of-type .slider-container {
        padding: 0 5px !important;
    }

    .game-slider-section.first-of-type .icon-slide-item {
        width: calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
        margin: 0 5px !important;
        display: block !important;
        background: transparent !important;
    }

    .game-slider-section.first-of-type .icon-slide-item img {
        width: 100% !important;
        height: 150px !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.4) !important;
    }

    .game-slider-section.first-of-type .icon-slide-item h3 {
        margin-top: 8px !important;
        font-size: 0.9em !important;
        color: #fff !important;
    }
    
    .game-slider-section.first-of-type .icon-slide-item span {
        display: block !important;
        font-size: 0.75em !important;
        color: #aaa !important;
    }


    /* =======================================================
       2. باقي السلايدرات (Icons): تقريب شديد
       ======================================================= */
    
    /* استهداف القسم الخارجي */
    .game-slider-section:not(.first-of-type) {
        padding: 0 !important; 
        /* ✅ إلغاء الهامش السفلي تماماً لتقريب السلايدر التالي */
        margin: 0 !important; 
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* ضبط العنوان: تقليل المسافات حوله لأقصى حد */
    .game-slider-section:not(.first-of-type) h2 {
        padding-right: 10px !important;
        margin-top: 10px !important;    /* مسافة صغيرة من العنصر السابق */
        margin-bottom: 2px !important;  /* ملاصق للأيقونات تحته */
        font-size: 0.95em !important;   /* تصغير الخط */
        color: #eee !important;
        line-height: 1 !important;
    }

    /* ضبط الحاويات الداخلية */
    .game-slider-section:not(.first-of-type) .slider-container,
    .game-slider-section:not(.first-of-type) .slider-wrapper {
        padding: 0 5px !important;
        gap: 0 !important;
        height: auto !important;
        margin-bottom: -0px /* مسافة صغيرة جداً أسفل السحب */
    }

    /* تنسيق العنصر الواحد (الأيقونة) */
    .game-slider-section:not(.first-of-type) .icon-slide-item {
        width: calc(25% - 8px) !important;
        min-width: calc(25% - 8px) !important;
        margin: 0 4px !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* الصورة: مربعة */
    .game-slider-section:not(.first-of-type) .icon-slide-item img {
        width: 100% !important;
        height: 100px !important; /* مربع */
        border-radius: 22px !important; /* Squircle */
        object-fit: cover !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
    }

    /* العنوان: صغير ومحكم */
    .game-slider-section:not(.first-of-type) .icon-slide-item h3 {
        font-size: 0.65em !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
        color: #ccc !important;
        line-height: 1.1 !important;
    }

    .game-slider-section:not(.first-of-type) .icon-slide-item span {
        display: none !important;
    }
    
    .slider-prev-btn, .slider-next-btn {
        display: none !important;
    }
    
    /* شبكة الألعاب في القائمة */
    .android-games-grid .game-item {
        width: calc(50% - 15px);
    }
}