/* ===============================================
   MINIMAL FUTURISTIC HEADER
   Ultra-thin, sci-fi inspired header design
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&display=swap');

/* ========== FUTURISTIC HEADER ========== */
.main-header {
    background: linear-gradient(90deg, 
        rgba(10, 10, 15, 0.95) 0%, 
        rgba(15, 15, 25, 0.98) 50%, 
        rgba(10, 10, 15, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
    height: 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 1px 0 rgba(0, 255, 127, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.4);
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 127, 0.6) 20%, 
        rgba(0, 255, 127, 0.8) 50%, 
        rgba(0, 255, 127, 0.6) 80%, 
        transparent 100%
    );
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.header-container {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* ========== FUTURISTIC NAVIGATION ========== */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'JetBrains Mono', monospace;
}

.nav-btn {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    position: relative;
    font-family: inherit;
}

.nav-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00FF7F, transparent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 8px rgba(0, 255, 127, 0.4);
}

.nav-btn:hover::before {
    width: 100%;
}

.nav-btn.active {
    color: #00FF7F;
    text-shadow: 0 0 12px rgba(0, 255, 127, 0.6);
}

.nav-btn.active::before {
    width: 100%;
    background: #00FF7F;
    box-shadow: 0 0 4px rgba(0, 255, 127, 0.8);
}


.nav-separator {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
    font-size: 10px;
}

/* ========== FUTURISTIC RIGHT SECTION ========== */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'JetBrains Mono', monospace;
}

/* ========== MICRO INDICATORS ========== */
.live-stats {
    display: flex;
    gap: 16px;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.live-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: rgba(0, 255, 127, 0.08);
    border: 1px solid rgba(0, 255, 127, 0.2);
    border-radius: 2px;
    transition: all 0.2s ease;
}

.live-stats span:hover {
    background: rgba(0, 255, 127, 0.15);
    border-color: rgba(0, 255, 127, 0.4);
    box-shadow: 0 0 8px rgba(0, 255, 127, 0.2);
}

.live-stats span::before {
    content: attr(data-label);
    font-size: 8px;
    opacity: 0.6;
    text-transform: uppercase;
}

/* ========== FUTURISTIC STATUS ========== */
.site-status {
    font-size: 9px;
    color: #00FF7F;
    font-weight: 500;
    background: linear-gradient(90deg, 
        rgba(0, 255, 127, 0.1) 0%, 
        rgba(0, 255, 127, 0.2) 50%, 
        rgba(0, 255, 127, 0.1) 100%
    );
    padding: 4px 8px;
    border-radius: 2px;
    border: 1px solid rgba(0, 255, 127, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.site-status::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #00FF7F;
    border-radius: 50%;
    display: inline-block;
    animation: quantumPulse 2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(0, 255, 127, 0.8);
}

.site-status::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%
    );
    animation: hologramSweep 3s ease-in-out infinite;
}

@keyframes quantumPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 4px rgba(0, 255, 127, 0.8);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
        box-shadow: 0 0 12px rgba(0, 255, 127, 1);
    }
}

@keyframes hologramSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* ========== HOLOGRAPHIC EFFECTS ========== */
.main-header:hover {
    box-shadow: 
        0 1px 0 rgba(0, 255, 127, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 255, 127, 0.1);
}

.main-header:hover::before {
    animation-duration: 1.5s;
}

/* ========== QUANTUM DATA FLOW ========== */
.live-stats span #header-lobbies,
.live-stats span #header-users {
    font-weight: 500;
    color: #00FF7F;
    text-shadow: 0 0 4px rgba(0, 255, 127, 0.4);
    transition: all 0.2s ease;
}

.live-stats span #header-lobbies:hover,
.live-stats span #header-users:hover {
    text-shadow: 0 0 8px rgba(0, 255, 127, 0.8);
}