/* ... public\css\pages\game_home.css ... */
/* ... (הקוד הקיים של הוידאו והאנימציות ללא שינוי) ... */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.5s ease-in-out; /* הארכתי קצת לחצי שנייה שיהיה נעים */
    opacity: 1;
    
}

.hero-video.video-ended {
    opacity: 0;

    /* לא צריך pointer-events: none כאן, כי הוידאו מתחת לתוכן בכל מקרה */
}

@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    .hero-section {
        /* שימוש במשתנה המתוקן */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
.hero-section{
position:relative;
overflow:hidden;
z-index: 1;
}

.hero-bg {
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:-1;
}
.hero-content {
    /* הוספתי פה מיקום יחסי ו-z-index כדי להבטיח שהתוכן והטקסטים יופיעו מעל התמונה והוידאו */
    position: relative; 
    z-index: 2; 

    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    transform: translateY(0);
    top: -151px;
}

body.player-active .hero-content {
    opacity: 0;
    transform: translateY(-150px); 
    pointer-events: none; 
}

.hero-news-card { transition: all 0.5s ease; }
body.player.active .hero-news-card { opacity: 0; transform: translateX(-100px); pointer-events: none; }

@keyframes heroEntrance {
    0% { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-content h1, .hero-content .sub-text, .hero-content .cta-btn {
    opacity: 0; 
    animation: heroEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content h1 { animation-delay: 7s; }
.hero-content .sub-text { animation-delay: 7.3s; }
.hero-content .cta-btn { animation-delay: 7.6s; }

body.player-active .hero-content h1,
body.player-active .hero-content .sub-text,
body.player-active .hero-content .cta-btn {
    transition: opacity 0.3s ease;
    opacity: 0 !important;
    animation: none;
}

/* =========================================
   מסכי חסימה / תחזוקה / בקרוב (Game Hubs)
   ========================================= */

.maintenance-overlay {
    /* תופס את כל המסך וחוסם הכל */
    position: fixed; 
    inset: 0; 
    z-index: 99999; 
    
    /* יישור מרכזי מושלם */
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    
    background-color: #050508;
    background-size: cover;
    background-position: center;
}

/* אפקט טשטוש (Blur) לרקע של המשחק מאחורה */
@supports (backdrop-filter: blur(10px)) {
    .maintenance-overlay::before {
        content: '';
        position: absolute;
        inset: 0;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1;
    }
}

/* הקופסה המרכזית - אפקט זכוכית גיימרית */
.m-content-box {
    position: relative;
    z-index: 2;
    max-width: 650px; 
    width: 90%;
    
    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    padding: 60px 40px; 
    border-radius: 24px;
    
    /* גבולות עדינים למראה תלת מימדי */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    
    /* צללית שחורה עמוקה + הילה עדינה בצבע המשחק */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 
                0 0 40px rgba(var(--primary-rgb), 0.15);
                
    text-align: center; 
    color: #fff;
    
    /* אנימציית ריחוף עדינה */
    animation: boxFloat 6s ease-in-out infinite alternate;
}

/* אייקון מרכזי */
.m-icon { 
    font-size: 5rem; 
    color: var(--primary); 
    margin-bottom: 25px; 
    filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.4));
}

.m-pulse { 
    animation: pulseGlow 2s infinite; 
}

/* כותרת ראשית */
.m-title { 
    font-family: 'Teko', 'Heebo', sans-serif; 
    font-size: 4.5rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    margin: 0 0 5px 0; 
    line-height: 1;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

/* תת כותרת (בצבע המשחק) */
.m-subtitle { 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: var(--primary); 
    margin-bottom: 25px; 
    letter-spacing: 0.5px;
}

/* טקסט תיאור */
.m-desc { 
    font-size: 1.15rem; 
    color: #b8b8b8; 
    margin: 0 auto 35px; 
    max-width: 90%; 
    line-height: 1.6; 
}

/* אזור הכפתורים */
.m-actions { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.m-btn { 
    padding: 14px 35px; 
    background: rgba(255, 255, 255, 0.05); 
    color: #fff; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 1.1rem;
    border-radius: 12px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
}

.m-btn:hover { 
    background: var(--primary); 
    color: #000; 
    border-color: var(--primary); 
    transform: translateY(-4px); 
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* כפתור דיסקורד מיוחד */
.m-btn.discord { 
    background: #5865F2; 
    border-color: #5865F2; 
    color: #fff;
}
.m-btn.discord:hover { 
    background: #4752C4; 
    border-color: #4752C4; 
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.4); 
    color: #fff;
}

/* פס התקדמות (למצב "בקרוב") */
.hype-bar-container { 
    width: 100%; 
    height: 8px; 
    background: rgba(0, 0, 0, 0.5); 
    border-radius: 20px; 
    margin: 25px 0; 
    overflow: hidden; 
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.hype-bar-fill { 
    height: 100%; 
    width: 85%; /* כאן אתה שולט באחוז המילוי דרך ה-HTML */
    background: var(--primary); 
    border-radius: 20px; 
    position: relative;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.6);
}

/* אפקט ברק רץ על פס ההתקדמות */
.hype-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite linear;
}

/* =========================================
   אנימציות
   ========================================= */
@keyframes pulseGlow { 
    0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.3)); } 
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(var(--primary-rgb), 0.8)); } 
    100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.3)); } 
}

@keyframes boxFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.hub-seo-main {
    text-align: center;
    margin-bottom: 40px;
}

.hub-seo-main p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 10px auto 0;
}

.hub-seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.hub-seo-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-top: 2px solid var(--primary);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: right;
}

.hub-seo-icon {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.hub-seo-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.hub-seo-card p {
    color: #777;
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

.hub-seo-card a {
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hub-seo-grid { grid-template-columns: 1fr; }
}