    
    /* --- Global Animations --- */
    /* --- Global Animations --- */
    @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
    @keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
    @keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

    /* --- Top Game Portals --- */
    .game-portals-container {
        padding: 20px 0;
        background: linear-gradient(to bottom, #050508, #0f0f14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: relative; overflow: hidden;
        animation: fadeInUp 0.8s ease-out 0.2s backwards;
    }

    .portals-label {
        text-align: center; font-family: 'Rubik', sans-serif; font-size: 0.75rem;
        font-weight: 700; letter-spacing: 2px; color: var(--text-muted);
        margin-bottom: 15px; opacity: 0.7;
    }

    .portals-wrapper { display: flex; justify-content: center; gap: 15px; padding: 0 5%; flex-wrap: wrap; }

    /* 1. הקונטיינר הראשי - רק קליפה, בלי פילטרים ובלי תמונת רקע */
    .game-portal {
    position: relative; width: 180px; height: 80px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    /* overflow: hidden;  <--- מחקתי את השורה הזו */
    border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease;
    opacity: 0; animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
    
    .game-portal:nth-child(1) { animation-delay: 0.1s; }
    .game-portal:nth-child(2) { animation-delay: 0.2s; }
    .game-portal:nth-child(3) { animation-delay: 0.3s; }
    .game-portal:nth-child(4) { animation-delay: 0.4s; }
    .game-portal:nth-child(5) { animation-delay: 0.5s; }
    .game-portal:nth-child(6) { animation-delay: 0.6s; }

    .game-portal:hover { transform: translateY(-3px); border-color: var(--theme); box-shadow: 0 5px 15px rgba(var(--theme), 0.3); }
    .game-portal.locked { cursor: not-allowed; }

    /* 2. שכבת הרקע - היא היחידה שמקבלת את השחור לבן */
    .portal-bg {
        position: absolute; inset: 0;
        background-size: cover; background-position: center;
        z-index: 1; transition: 0.3s ease;
    }
    .game-portal.locked .portal-bg {
        filter: grayscale(1) brightness(0.4);
        -webkit-filter: grayscale(1) brightness(0.4);
    }
.site-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 18px 0 8px;
    margin: 0;
    letter-spacing: 0.5px;
}
.site-main-title span {
    color: var(--primary);
}
    /* 3. שכבת הכהות */
    .portal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); z-index: 2; transition: 0.3s; }
    .game-portal:hover .portal-overlay { background: rgba(0,0,0,0); }

    /* 4. התוכן הפנימי - צף מעל הרקע האפור */
    .portal-content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; transition: 0.3s; }

    .portal-name {
        font-family: 'Rubik', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff;
        text-transform: uppercase; letter-spacing: 0.5px; text-shadow: 0 2px 5px rgba(0,0,0,1);
    }

    .portal-status {
        font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.9);
        display: flex; align-items: center; gap: 4px; background: rgba(0,0,0,0.6);
        padding: 1px 6px; border-radius: 4px; backdrop-filter: blur(2px); margin-bottom: 2px;
    }
    .status-dot { width: 5px; height: 5px; background-color: #00ff00; border-radius: 50%; box-shadow: 0 0 5px var(--theme); }

    /* גלגל שיניים - מעל הכל */
    .admin-quick-edit {
        position: absolute; top: 6px; left: 6px; z-index: 20;
        background: rgba(0, 0, 0, 0.8); width: 26px; height: 26px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        border: 2px solid var(--theme); color: #fff; cursor: pointer; pointer-events: auto;
        font-size: 0.8rem; transition: 0.2s;
    }
    .admin-quick-edit:hover { background: var(--theme); color: #000; transform: rotate(45deg); }

    /* כפתור דרוש מנהל */
    .manager-needed-btn {
        position: absolute; bottom: -10px; z-index: 20;
        background-color: #bd205a; color: #FFF;
        font-size: 0.65rem; font-weight: 900; padding: 2px 8px; border-radius: 4px;
        text-transform: uppercase; cursor: pointer; pointer-events: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.5); animation: pulseBtn 2s infinite;
    }

    @keyframes pulseBtn {
        0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--theme), 0.7); }
        70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(var(--theme), 0); }
        100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--theme), 0); }
    }

    .coming-soon-badge {
        font-size: 0.7rem; color: #ccc; margin-top: 4px;
        background: rgba(0,0,0,0.5); padding: 2px 8px; border-radius: 4px;
    }

    /* --- Hero Slider --- */
    .hero-section { 
        margin-bottom: 30px; 
        animation: fadeInUp 0.8s ease-out 0.2s backwards;
        height: 500px; border-radius: 16px; overflow: hidden; position: relative; 
        border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    }
    .slider-container { width: 100%; height: 100%; position: relative; }
    
    .hero-slide {
        position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease-in-out;
        display: flex; align-items: flex-end; padding: 50px; text-decoration: none;
        pointer-events: none; z-index: 1;
    }
    .hero-slide.active { opacity: 1; pointer-events: auto; z-index: 2; }

    .slide-bg {
        position: absolute; inset: 0; background-size: cover; background-position: center;
        transition: transform 6s ease;
    }
    .hero-slide.active .slide-bg { transform: scale(1.05); } 
    
    .slide-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(0deg, #050508 0%, rgba(5,5,8,0.9) 25%, transparent 100%);
    }
    
    .slide-content { position: relative; z-index: 3; max-width: 100%; transform: translateY(20px); transition: 0.5s; opacity: 0; }
    .hero-slide.active .slide-content { transform: translateY(0); opacity: 1; transition-delay: 0.2s; }

    .slide-badges { display: flex; gap: 10px; margin-bottom: 15px; }
    .hub-badge { background: var(--slide-color); color: #000; padding: 4px 12px; border-radius: 4px; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; }
    .date-badge { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); color: #ccc; padding: 4px 12px; border-radius: 4px; font-size: 0.85rem; }

    .slide-title { 
        font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 20px; 
        text-shadow: 0 5px 20px rgba(0,0,0,1); color: #fff; font-family: 'Rubik';
    }
    .slide-cta { font-weight: 700; color: var(--slide-color); display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }

    .slider-controls { position: absolute; bottom: 30px; left: 50px; z-index: 10; display: flex; align-items: center; gap: 20px; }
    .control-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
    .control-btn:hover { background: var(--primary); }
    .slider-dots { display: flex; gap: 8px; }
    .dot { width: 8px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; }
    .dot.active { background: var(--primary); transform: scale(1.3); }

    /* --- Trending Strip (NEW) --- */
    .trending-section {
        margin-bottom: 50px;
        background: rgba(255, 255, 255, 0.02);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        height: 44px;
        display: flex; align-items: center;
        overflow: hidden;
    }
    .news-ticker-container {
        display: flex; align-items: center; background: #0f1014;
        border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a;
        height: 50px; overflow: hidden; width: 100%; font-family: 'Heebo', sans-serif;
    }
    .ticker-label {
        background: linear-gradient(90deg, #ff0055, #ff0088); color: white; padding: 0 20px;
        height: 100%; display: flex; align-items: center; font-weight: bold; font-size: 14px;
        z-index: 2; box-shadow: 4px 0 10px rgba(0,0,0,0.5); white-space: nowrap;
    }
    .ticker-label .icon { margin-left: 8px; }
    .ticker-wrap {
        flex-grow: 1; overflow: hidden; position: relative; height: 100%; display: flex; align-items: center;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
.ticker-move { 
    display: inline-block; 
    white-space: nowrap; 
    /* מסירים את ה-padding-right שהוסיף את המרווח הריק */
    padding-right: 0; 
    animation: ticker 100s linear infinite; 
}

@keyframes ticker { 
    0% { transform: translateX(100%); } 
    /* נעצר ב-50% כי יש לנו שני סטים של תוכן */
    3% { transform: translateX(90%); } 
    100% { transform: translateX(-0%); } 
}    .ticker-move:hover { animation-play-state: paused; }
    .ticker-item { display: inline-block; padding: 0 2rem; font-size: 15px; color: #e0e0e0; position: relative; padding-right: 1.2rem; }
    .ticker-item::after { content: "•"; position: absolute; top: 5px; left: 0; color: #ff0055; font-size: 28px; line-height: 15px; }
    .trending-item { color: #ccc; text-decoration: none; transition: 0.2s; }
    .trending-item:hover { color: var(--primary); }

    /* --- General News Mosaic Grid (NEW) --- */
    .general-news-section { margin-bottom: 80px; }
    .section-header { margin-bottom: 30px; animation: slideInRight 0.8s ease-out 0.2s backwards; border-right: 4px solid var(--primary); padding-right: 15px; }
    .sec-title { font-size: 2rem; font-weight: 800; font-family: 'Rubik'; line-height: 1; }
    
    .news-grid-main {
        display: grid; grid-template-columns: 1fr; gap: 20px;
        animation: fadeInDown 0.8s ease-out 0.2s backwards;
    }

    @media (min-width: 992px) {
        .news-grid-main { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
        .main-news-card.featured-card { grid-column: span 2; grid-row: span 2; }
        .main-news-card.featured-card .card-img-wrap { height: 100%; position: absolute; inset: 0; z-index: 1; }
        .main-news-card.featured-card .card-body {
            position: absolute; bottom: 0; left: 0; width: 100%; z-index: 2;
            background: linear-gradient(to top, rgba(0,0,0,0.95), transparent 90%);
            padding: 30px; justify-content: flex-end;
        }
        .main-news-card.featured-card .card-title { font-size: 1.8rem; text-shadow: 0 2px 10px #000; margin-bottom: 5px; }
        .main-news-card.featured-card:hover img { transform: scale(1.05); }
    }

    .main-news-card {
        background: var(--bg-card); border-radius: 12px; overflow: hidden;
        border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column;
        transition: 0.3s; position: relative; height: 100%;
    }
    .main-news-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
    .card-img-wrap { height: 150px; position: relative; overflow: hidden; width: 100%; }
    .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
    .card-hub-tag {
        position: absolute; top: 10px; right: 10px; padding: 4px 10px;
        font-size: 0.7rem; font-weight: 800; color: #fff; border-radius: 4px;
        text-transform: uppercase; box-shadow: 0 2px 10px rgba(0,0,0,0.5); z-index: 3;
        text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7);
    }
    .card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
    .card-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; color: #e0e0e0; flex-grow: 1; }
    .card-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: #888; margin-top: auto; padding-top: 10px; }

    /* --- Hub Strips --- */
    .hub-strip {
        margin-bottom: 60px; padding: 25px; border-radius: 16px;
        background: linear-gradient(90deg, #0a0a0f 0%, #111116 100%);
        border-right: 4px solid var(--strip-color); position: relative; overflow: hidden;
    }
    .hub-strip::before { content: ''; position: absolute; inset: 0; background: var(--strip-color); opacity: 0.03; pointer-events: none; }
    .strip-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; position: relative; z-index: 2; }
    .strip-title-group { display: flex; align-items: center; gap: 15px; }
    .strip-icon { width: 40px; height: 40px; border-radius: 50%; background-size: cover; border: 2px solid var(--strip-color); }
    .strip-title { font-family: 'Rubik'; font-size: 1.8rem; font-weight: 800; text-transform: uppercase; color: #fff; margin: 0; }
    
    .strip-btn {
        background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1);
        padding: 8px 20px; border-radius: 50px; font-weight: bold; font-size: 0.9rem;
        transition: 0.3s; display: flex; align-items: center; gap: 8px;
    }
    .strip-btn:hover { background: var(--strip-color); border-color: var(--strip-color); color: #000; box-shadow: 0 0 15px var(--strip-color); }

    .strip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; position: relative; z-index: 2; }
    .strip-card {
        background: rgba(0,0,0,0.3); border-radius: 10px; overflow: hidden;
        transition: 0.3s; border: 1px solid transparent; display: flex; flex-direction: column;
    }
    .strip-card:hover { transform: translateY(-5px); border-color: var(--strip-color); background: rgba(255,255,255,0.02); }
    .strip-card-img { height: 130px; width: 100%; overflow: hidden; }
    .strip-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
    .strip-card:hover img { transform: scale(1.1); }
    .strip-card-content { padding: 12px; }
    .strip-card-title { font-size: 0.95rem; font-weight: 600; color: #ddd; margin-bottom: 5px; line-height: 1.3; }
    .strip-card-date { font-size: 0.75rem; color: #666; display: flex; align-items: center; gap: 5px; }

    /* --- Mobile Optimization --- */
    @media (max-width: 768px) {
        .main-content-wrapper { padding: 0 15px !important; }
        .game-portals-container { padding: 10px 0; }
        .portals-wrapper {
            display: flex; flex-wrap: nowrap !important; overflow-x: auto;
            justify-content: flex-start !important; gap: 12px; padding: 10px 15px; 
            -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
            scrollbar-width: none; -ms-overflow-style: none; 
        }
        .portals-wrapper::-webkit-scrollbar { display: none; }
        .game-portal { flex: 0 0 160px; width: 160px; height: 75px; margin-bottom: 0; }
        
        .hero-section { height: 60vh; max-height: 400px; border-radius: 12px; }
        .hero-slide { padding: 20px; align-items: flex-end; }
        .slide-content { transform: translateY(0); opacity: 1; width: 100%; }
        .slide-title { font-size: 1.8rem; line-height: 1.1; margin-bottom: 10px; }
        .slider-controls { left: 20px; bottom: 20px; transform: scale(0.9); }
        .slide-cta { font-size: 0.9rem; }

        .trending-label { padding: 0 12px; font-size: 0.8rem; }
        .ticker-item { font-size: 0.9rem; }
        
        .news-grid-main { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 15px; }
        .main-news-card.featured-card .card-img-wrap { height: 220px; }
        
        .hub-strip { padding: 15px; border-radius: 12px; margin-bottom: 30px; }
        .strip-header { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 15px; }
        .strip-title { font-size: 1.4rem; }
        .strip-btn { width: auto; padding: 6px 14px; font-size: 0.8rem; }
        .strip-btn span { display: none; }
        .strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .strip-card { background: rgba(255,255,255,0.03); }
        .strip-card-img { height: 100px; }
        .strip-card-title { font-size: 0.85rem; line-height: 1.3; height: 2.6em; overflow: hidden; }
        .strip-card-date { font-size: 0.7rem; }
    }
    /* --- SEO & Accessibility --- */
.sr-only { 
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; 
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; 
}

.home-seo-text {
    max-width: 800px; margin: 60px auto 40px; text-align: center;
    padding: 30px; background: rgba(255, 255, 255, 0.02);
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05);
}
.home-seo-text h2 {
    font-size: 1.5rem; color: #fff; margin-bottom: 15px; font-family: 'Rubik';
}
.home-seo-text p {
    color: #aaa; font-size: 0.95rem; line-height: 1.6;
}
.home-seo-text a {
    color: var(--primary); text-decoration: none; font-weight: bold;
}
.home-seo-text a:hover { text-decoration: underline; }
.site-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 18px 0 8px;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: scaleIn 2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8S forwards;
}
.site-main-title span {
    color: var(--primary);
}