
    /* --- Animations --- */
    @keyframes heroBackgroundZoom { from { transform: scale(1.1); filter: blur(5px); } to { transform: scale(1); filter: blur(0); } }
    @keyframes fadeInUpFloating { from { opacity: 0; transform: translate(-50%, 100px); } to { opacity: 1; transform: translate(-50%, 0); } }
    @keyframes pulse-live { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 60, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(255, 0, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 60, 0); } }
    @keyframes fadeSlideIn { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
    @keyframes spin-loader { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    @keyframes pulse-logo { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }

    body, html { margin: 0; padding: 0;  background: #000; font-family: 'Heebo', sans-serif; }

    .streamer-hub-container { position: relative; width: 100%; height: 100vh; overflow: hidden; }

    /* --- Backgrounds --- */
    .hub-bg { position: absolute; inset: 0; background-image: url('/img/streamers/streamers.jpg'); background-size: cover; background-position: center; z-index: 1; animation: heroBackgroundZoom 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
    .grid-overlay { position: absolute; inset: 0; z-index: 2; background-image: linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
    .dark-overlay { position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, #000 120%); }

    /* --- Main Text --- */
    .hub-content { position: absolute; top: 12%; right: 5%; z-index: 10; text-align: right; color: white; max-width: 650px; transition: all 0.5s ease; }
    body.player-active .hub-content { opacity: 0; transform: translateY(-20px); pointer-events: none; } /* הסתרת טקסט כשהנגן פעיל */

    .main-title { font-family: 'Teko', sans-serif; opacity: 0;  animation: fadeSlideIn 1s ease-out 0.5s forwards; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 0.8; margin: 0; text-transform: uppercase; }
    .main-title span { color: transparent; -webkit-text-stroke: 1px var(--hub-primary); text-shadow: 0 0 15px var(--hub-primary); }
    .sub-heading { font-size: 2rem;  opacity: 0;  animation: fadeSlideIn 1s ease-out 0.7s forwards; font-weight: 700; color: #fff; margin-top: 10px; }
    .description { font-size: 1.1rem; opacity: 0;  animation: fadeSlideIn 1s ease-out 0.9s forwards; color: #ccc; border-right: 3px solid var(--hub-primary); padding-right: 15px; margin: 15px 0; background: linear-gradient(90deg, rgba(0,0,0,0.6), transparent); }
    .cta-btn { display: inline-block;opacity: 0;    animation: fadeSlideIn 1s ease-out 1.1s forwards; padding: 10px 30px; background: rgba(0, 243, 255, 0.1); border: 1px solid var(--hub-primary); color: var(--hub-primary); text-decoration: none; font-weight: bold; transition: 0.3s; margin-top: 15px; }
    .cta-btn:hover { background: var(--hub-primary); color: #000; box-shadow: 0 0 20px var(--hub-primary); }

    /* --- BIG PLAYER CONTAINER --- */
    .big-player-wrapper {
        position: absolute;
        top: 130px;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        width: 78%; 
        max-width: 1200px;
        height: calc(100vh - 350px);
        min-height: 400px;
        background: #000;
        border: 1px solid var(--hub-primary);
        box-shadow: 0 0 50px rgba(0, 243, 255, 0.15);
        border-radius: 16px;
        z-index: 40;
        opacity: 0;
        pointer-events: none;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex; flex-direction: column; overflow: hidden;
    }

    .big-player-wrapper.active {
        opacity: 1; pointer-events: all;
        transform: translateX(-50%) scale(1);
        top: 26px; /* הנגן עולה למעלה */
    }

    .close-player-btn {
        position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.7); color: white; border: 1px solid rgba(255,255,255,0.2); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; z-index: 100; display: flex; align-items: center; justify-content: center; font-weight: bold; transition: 0.2s;
    }
    .close-player-btn:hover { background: #ff003c; border-color: #ff003c; }


    /* --- Floating Streamer Bar --- */
    .floating-bar-container {
        position: absolute;
        bottom: 14vh; 
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1600px;
        height: 246px; 
        z-index: 50;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-top: 1px solid rgba(0, 243, 255, 0.3);
        border-radius: 24px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
        display: flex; flex-direction: column; justify-content: center; padding: 15px 25px;
        opacity: 0;
        animation: fadeInUpFloating 1.5s ease-out 0.5s forwards;
        transform-origin: bottom center; 
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* כיווץ הבר כשהנגן פעיל */
    body.player-active .floating-bar-container {
        height: 140px; 
        bottom: 12vh;
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(255,255,255,0.1);
        width: 85%;
    }

    .bar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #fff; transition: all 0.3s; }
    body.player-active .bar-header { display: none; } /* הסתרת כותרת במצב נגן */

    .live-indicator { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }
    .live-dot { width: 8px; height: 8px; background: #ff003c; border-radius: 50%; box-shadow: 0 0 10px #ff003c; animation: pulse-live 2s infinite; }

    .cards-scroller { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 5px; padding-top: 5px; scroll-behavior: smooth; scrollbar-width: none; height: 100%; align-items: center; }
    .cards-scroller::-webkit-scrollbar { display: none; }

    /* --- Streamer Cards --- */
    .streamer-card {
        flex: 0 0 auto;
        width: 280px; height: 200px; 
        background: rgba(20, 20, 30, 0.6);
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px;
        display: flex; flex-direction: column; overflow: hidden; 
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        text-decoration: none; position: relative;
    }
    .streamer-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 243, 255, 0.15); border-color: rgba(0, 243, 255, 0.4); }
    
    .card-thumbnail-container { width: 100%; height: 120px; position: relative; background: #000; transition: all 0.5s ease; }
    .live-preview-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.3s; }
    
    .card-bottom-info { flex: 1;FLEX-DIRECTION: row-reverse; display: flex; align-items: center; padding: 10px 15px; gap: 12px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); justify-content: right; transition: all 0.3s ease; opacity: 1; }
    .s-avatar-small { width: 45px; height: 45px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); }
    .s-info { display: flex; flex-direction: column; line-height: 1.2; text-align: right; } 
    .s-name { color: #fff; font-weight: 600; font-size: 0.95rem; }
    .s-game { color: #888; font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px;}
    .s-viewers { color: var(--hub-primary); font-size: 0.75rem; margin-top: 2px; font-weight: 500;}

    /* --- Player Active Card Styles --- */
    body.player-active .streamer-card { width: 160px; height: 90px; border-radius: 8px; margin-top: 0; }
    body.player-active .streamer-card:hover { transform: scale(1.05); }
    body.player-active .card-thumbnail-container { height: 100%; }
    body.player-active .card-bottom-info { opacity: 0; height: 0; padding: 0; overflow: hidden; }
    
    /* שם הסטרימר על התמונה כשהרשימה קטנה */
    body.player-active .streamer-card::after {
        content: attr(data-name);
        position: absolute; bottom: 0; left: 0; right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
        color: white; font-size: 0.8rem; font-weight: bold; text-align: center; padding: 5px 2px; pointer-events: none;
    }

    /* כרטיס פעיל */
    body.player-active .streamer-card.active-stream { border: 2px solid #ff003c; filter: brightness(0.6); cursor: default; }
    body.player-active .streamer-card.active-stream::before {
        content: 'PLAYING'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        font-size: 0.7rem; background: #ff003c; padding: 2px 6px; border-radius: 4px; z-index: 10; font-weight: bold;
    }

    /* --- Loader Animation Styles --- */
    .player-loading-overlay {
        position: absolute; inset: 0; background: #000; z-index: 50; 
        display: flex; align-items: center; justify-content: center;
        transition: opacity 0.5s ease; opacity: 0; pointer-events: none;
    }
    .player-loading-overlay.visible { opacity: 1; pointer-events: all; }
    .loader-content { position: relative; display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; }
    .loader-spinner {
        position: absolute; width: 100%; height: 100%;
        border: 3px solid rgba(255, 255, 255, 0.1); border-top: 3px solid var(--hub-primary); border-right: 3px solid var(--hub-primary);
        border-radius: 50%; animation: spin-loader 1s linear infinite; box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    }
    .loader-logo-img { width: 60px; height: auto; z-index: 2; animation: pulse-logo 2s infinite ease-in-out; }
.streamer-hub-container { overflow: hidden; } /* רק הcontainer, לא ה-body! */
body, html { overflow: auto; } /* תתקן את זה */

.streamers-seo-text {
    background: #050508;
    padding: 60px 5%;
    position: relative;
    z-index: 10;
}
.streamers-seo-text .seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.streamers-seo-text .seo-main {
    grid-column: span 3;
    text-align: center;
    margin-bottom: 10px;
}
.streamers-seo-text .seo-main h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.streamers-seo-text .seo-main h2 span { color: var(--hub-primary); }
.streamers-seo-text .seo-main p { color: #888; font-size: 0.95rem; line-height: 1.8; max-width: 700px; margin: 0 auto; }
.streamers-seo-text .seo-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,243,255,0.1);
    border-top: 2px solid var(--hub-primary);
    border-radius: 12px;
    padding: 24px 20px;
}
.streamers-seo-text .seo-card .icon { font-size: 1.5rem; margin-bottom: 12px; color: var(--hub-primary); }
.streamers-seo-text .seo-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.streamers-seo-text .seo-card p { color: #777; font-size: 0.88rem; line-height: 1.7; margin: 0; }
.streamers-seo-text .seo-card a { color: var(--hub-primary); text-decoration: none; }
@media (max-width: 768px) {
    .streamers-seo-text .seo-grid { grid-template-columns: 1fr; }
    .streamers-seo-text .seo-main { grid-column: span 1; }
}
