.header {
    background: rgba(18, 18, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item a i {
    font-size: 1.1rem;
    color: var(--primary);
}

.nav-item a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logout-btn {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 77, 77, 0.3);
}

.logout-btn:hover {
    background: #ff4d4d;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-user-info {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .header {
        padding: 0.75rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(18, 18, 24, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 2rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item a {
        font-size: 1.2rem;
        width: 100%;
    }

    .nav-toggle {
        display: block;
    }

    .user-info {
        display: none; /* Hidden in mobile header, can be moved inside menu */
    }
    
    .nav-menu .mobile-user-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: auto;
        padding-top: 2rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}