   .library-header {
        text-align: center;
        padding: 60px 20px;
        background: linear-gradient(to bottom, rgba(13, 110, 253, 0.1), transparent);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        margin-bottom: 40px;
    }

    .library-header h1 {
        font-size: 3rem;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 15px;
        color: #fff;
    }

    .library-header h1 span { color: var(--primary, #0d6efd); }
    .library-header p { color: #aaa; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

    .section-title {
        font-size: 1.5rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .section-title::before { content: ''; width: 4px; height: 20px; background: var(--primary, #0d6efd); border-radius: 2px; }

    /* גריד משחקים */
    .hubs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 60px;
    }

    .hub-card {
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 12px;
        overflow: hidden;
        text-decoration: none;
        transition: 0.3s;
        position: relative;
        display: block;
    }

    .hub-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary, #0d6efd);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
.hubs-grid a, 
.hubs-grid img {
    -webkit-user-drag: none; /* מבטל את משיכת התמונה בכרום וספארי */
    user-drag: none;
    user-select: none; /* מונע סימון כחול של טקסט בטעות בזמן גרירה */
}
    .hub-bg {
    height: 120px;
    width: 100%;           /* חשוב כדי שהתמונה תמתח לרוחב המלא */
    object-fit: cover;     /* מחליף את background-size: cover */
    object-position: center; /* מחליף את background-position: center */
    display: block;        /* כדי לוודא שאין ריווח תחתון מיותר של תמונות */
}
    .hub-bg::after {
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(to top, #111, transparent);
    }

    .hub-info { padding: 20px; text-align: center; position: relative; z-index: 2; margin-top: -30px; }
    .hub-title { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0; }
    .hub-explore { display: inline-block; margin-top: 10px; font-size: 0.85rem; color: var(--primary, #0d6efd); font-weight: bold; }

    /* גריד מדריכים אחרונים */
    .guides-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
        margin-bottom: 60px;
    }

    .guide-card {
        background: rgba(0,0,0,0.3);
        border-radius: 12px;
        overflow: hidden;
        text-decoration: none;
        border: 1px solid rgba(255,255,255,0.05);
        transition: 0.3s;
        display: flex;
        flex-direction: column;
    }

    .guide-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }

    .guide-thumb { height: 160px; position: relative; background: #111; }
    .guide-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: 0.3s; }
    .guide-card:hover .guide-thumb img { opacity: 1; transform: scale(1.05); }

    .hub-badge {
        position: absolute; top: 10px; right: 10px;
        padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: bold; color: #fff;
        z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,0.5);
        text-shadow: 0px 2px 5px rgba(0, 0, 0, 3);
    }

    .guide-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
    .guide-title { font-size: 1.1rem; color: #fff; font-weight: 700; margin: 0 0 10px 0; line-height: 1.4; }
    .guide-meta { font-size: 0.8rem; color: #888; margin-top: auto; display: flex; justify-content: space-between; }
    @media (max-width: 768px) {
    .hubs-grid {
        display: flex; /* מעבר לפלקס במקום גריד */
        flex-wrap: nowrap; /* מכריח את כל הכרטיסיות להישאר בשורה אחת */
        overflow-x: auto; /* מוסיף גלילה אופקית */
        overflow-y: hidden;
        gap: 15px;
        padding-bottom: 15px; /* מרווח כדי שפס הגלילה לא יסתיר את התוכן */
        scroll-snap-type: x mandatory; /* אפקט של "הצמדה" חלקה לכל קוביה בעת גלילה */
        -webkit-overflow-scrolling: touch; /* תמיכה בגלילה חלקה במכשירי אפל */
    }

    .hub-card {
        flex: 0 0 80%; /* כל משחק יתפוס 80% מהמסך, כדי שהמשתמש יראה שקצה המשחק הבא מציץ וצריך לגלול */
        scroll-snap-align: center; /* ממורכז אוטומטית בסיום הגלילה */
    }

    /* עיצוב עדין לפס הגלילה (אופציונלי, כדי שלא יראה כמו פס גלילה של חלונות 98) */
    .hubs-grid::-webkit-scrollbar {
        height: 6px;
    }
    .hubs-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    .hubs-grid::-webkit-scrollbar-thumb {
        background: var(--primary, #0d6efd); 
        border-radius: 10px;
    }
}